Skip to content

Synchronize custom logos with the document theme - #1126

Open
dreamerlyq-arch wants to merge 1 commit into
mainfrom
codex/theme-logo-page-transition
Open

dreamerlyq-arch wants to merge 1 commit into
mainfrom
codex/theme-logo-page-transition

Conversation

@dreamerlyq-arch

Copy link
Copy Markdown
Contributor

Summary

  • Renders both configured custom-logo variants and uses the document theme class to select the visible asset.
  • Prevents the desktop sidebar and mobile header from selecting the light-logo asset while the rendered document is in a dark theme during hydration.
  • Keeps the shared logo behavior consistent across desktop and mobile layouts.
  • Disables the initial page-transition hidden state so a hydration failure cannot leave the whole route visually blank on first paint.

Validation

  • pnpm --filter @degov/web lint
  • git diff --check

@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

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