Skip to content

feat(header): globe for the language, theme in the footer, system theme by default - #97

Merged
datlechin merged 1 commit into
mainfrom
feat/header-slim
Oct 10, 2026
Merged

datlechin merged 1 commit into
mainfrom
feat/header-slim

Conversation

@datlechin

@datlechin datlechin commented Oct 10, 2026 •

Copy link
Copy Markdown
Member
  • Header right side goes from 5 items to 4: globe · GitHub 6.2k · Account · Download.
  • Language: a 40px globe button named "Language: English", opening the same menu. The footer keeps the full menu with the endonym.
  • Theme: removed from the header. It stays in the footer bar and the mobile menu.
  • Theme default: system instead of light, in the shared head-theme.blade.php and lib/theme.ts. A stored choice still wins. Ships together with TableProApp/license#112, which carries the same two files.
  • GitHub now shows whenever the desktop row does, not only from 1280px.
  • WIDE_HEADER_LOCALES: es and fr only (was de, es, fr, it, pt-BR). Widths re-measured in Chromium with GitHub at its widest. German is exactly 960 of 960.
  • Design docs, CLAUDE.md and shared-file hashes updated.

Why: in a rendered survey of 40 sites, all 7 sites with a theme control follow the OS by default and most keep it out of the header. Language stays at the top as a globe, because W3C, NN/g and USWDS ask for a visible control there and this site never redirects by language.

@datlechin
datlechin merged commit 875620b into main Oct 10, 2026
4 checks passed
@datlechin
datlechin deleted the feat/header-slim branch October 10, 2026 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant