Skip to content

docs(themes): the heading tokens, and setting capitals in both places - #351

Merged
mrramam merged 1 commit into
jherforth:mainfrom
mrramam:docs/theme-heading-tokens
Oct 28, 2026
Merged

mrramam merged 1 commit into
jherforth:mainfrom
mrramam:docs/theme-heading-tokens

Conversation

@mrramam

@mrramam mrramam commented Oct 28, 2026

Copy link
Copy Markdown
Collaborator

Why

The theme guide's token table leaves out --hg-heading-transform and --hg-heading-letter-spacing, and doesn't say that capitals take two settings. mui.headingTransform covers core widgets (MUI). --hg-heading-transform covers plugins (CSS). Since #348, buttons default to sentence case and plugins share the widget header, so a theme that sets only one gets core and plugin headers that don't match.

What changes

docs/guides/theme-development.md only:

  • Both tokens in the §3 table.
  • A short "Headings in capitals" section: set both to the same value, as Starship does.

The theme guide's token table left out --hg-heading-transform and
--hg-heading-letter-spacing, and nothing said that mui.headingTransform and
--hg-heading-transform cover different halves: core widgets are MUI, plugins
are CSS. Since jherforth#348, buttons default to sentence case and plugins share the
widget header, so a theme that sets only one gets core and plugin headers
that don't match.
@mrramam
mrramam merged commit fe1e255 into jherforth:main Oct 28, 2026
3 checks passed
@mrramam
mrramam deleted the docs/theme-heading-tokens branch October 28, 2026 19:29
@github-project-automation github-project-automation Bot moved this from Backlog to Done in HomeGlow Kanban Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant