Skip to content

Sync app theme from UA and fix VPLocalNav on scroll#1106

Merged
twosugar merged 1 commit into
mainfrom
style/app-style
Jun 22, 2026
Merged

Sync app theme from UA and fix VPLocalNav on scroll#1106
twosugar merged 1 commit into
mainfrom
style/app-style

Conversation

@twosugar

Copy link
Copy Markdown
Collaborator
  • Whale app: read lbtheme/<mode> from UA on mount and override isDark before the first sync, so initial render matches the app shell's theme.
  • VPLocalNav: pin to fixed position below AppNav and only reveal after scrolling past --vp-nav-height; previously it sat at top: 0 and was occluded by AppNav, or scrolled with content.

- Whale app: read `lbtheme/<mode>` from UA on mount and override
  `isDark` before the first sync, so initial render matches the app
  shell's theme.
- VPLocalNav: pin to fixed position below AppNav and only reveal
  after scrolling past `--vp-nav-height`; previously it sat at
  `top: 0` and was occluded by AppNav, or scrolled with content.
@twosugar twosugar merged commit 4b6c056 into main Jun 22, 2026
2 checks passed
@twosugar twosugar deleted the style/app-style branch June 22, 2026 11:51
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