Skip to content

fix(webapp): mobile menu separator + light theme polish#720

Merged
camathieu merged 2 commits intomasterfrom
fix/mobile-menu-separator
Mar 28, 2026
Merged

fix(webapp): mobile menu separator + light theme polish#720
camathieu merged 2 commits intomasterfrom
fix/mobile-menu-separator

Conversation

@camathieu
Copy link
Copy Markdown
Member

@camathieu camathieu commented Mar 27, 2026

Description

Two small UI polish fixes for the webapp.

Commits

  • 11059d7 fix(webapp): remove extra separator in mobile menu when auth is disabled

    • The v-if on the trailing <hr> in the mobile drawer included showThemePicker || showLanguagePicker, rendering a stray separator below Language when auth was off
    • Each picker block already has its own leading separator — the trailing one is only needed when there are auth items below it
    • Fix: narrow condition to isFeatureEnabled('authentication') only
  • 7de55fb fix(webapp): brighten and cool light theme surface palette

    • The light theme used warm mid-grays (#f5f5f5) for both page and header backgrounds, giving a slightly dingy feel
    • Shift all surface tokens one step lighter and cooler without going full white

Changes

  • webapp/src/components/AppHeader.vue: Remove spurious separator after Language picker when auth is disabled
  • webapp/public/themes/light.css: Nudge surface palette lighter and cooler
Token Before After
surface-950 (page bg) #f5f5f5 #fafafa
surface-900 (header bg) #f5f5f5 #f7f9fb
surface-800 (cards/inputs) #f9f9f9 #fdfdfd
surface-700 (borders) #d1d5db #d9dde5
file-row:hover #f0f1f3 #f1f3f6

Testing

  • Verified both fixes visually with a running server
  • All 234 frontend unit tests pass (make test-frontend)
  • Lint clean (make lint)

@camathieu camathieu changed the title fix(webapp): remove extra separator in mobile menu when auth is disabled fix(webapp): mobile menu separator + light theme polish Mar 27, 2026
ca.mathieu added 2 commits March 27, 2026 22:36
The trailing hr in the mobile navigation drawer was rendered whenever
the theme or language pickers were visible, regardless of whether auth was
enabled. Since each picker block already includes its own leading separator,
the trailing one is only needed when there are auth items below it.

Fix: narrow the v-if to isFeatureEnabled('authentication') only.
The light theme backgrounds were using warm mid-grays (#f5f5f5) for
both the page and header, making the UI feel slightly dingy. Shift
all surface tokens a step lighter and cooler without going full white:

- surface-950 (page bg):     #f5f5f5 → #fafafa
- surface-900 (header bg):   #f5f5f5 → #f7f9fb
- surface-800 (cards/inputs): #f9f9f9 → #fdfdfd
- surface-700 (borders):     #d1d5db → #d9dde5
- file-row hover:            #f0f1f3 → #f1f3f6
@camathieu camathieu force-pushed the fix/mobile-menu-separator branch from 7de55fb to 157b937 Compare March 27, 2026 21:36
@camathieu camathieu merged commit 190729f into master Mar 28, 2026
8 checks passed
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