Skip to content

refactor(ui): unify the app sidebar styling - #43

Merged
gnacho merged 1 commit into
mainfrom
refactor/ui-unified-sidebars
Nov 8, 2026
Merged

gnacho merged 1 commit into
mainfrom
refactor/ui-unified-sidebars

Conversation

@gnacho

@gnacho gnacho commented Nov 8, 2026

Copy link
Copy Markdown
Owner

Why

The two app-owned sidebars looked like two different products: different background, row metrics, label styles, hover and bottom actions.

What changed

  • Menu background: var(--oc-role-surface-container), which is #f6f8fa in the light theme, so it also follows dark mode instead of pinning a hex.
  • Rows: 6px x 8px padding, 8px radius, 14px font, 8px gap, 16px icons in both apps. Active row uses var(--oc-role-secondary-container), hover uses var(--oc-role-surface-container-highest), the same state layer as the host navigation.
  • Section labels: 11px, weight 600, uppercase, 0.05em tracking, on-surface-variant, same insets.
  • Bottom actions: both sidebars now end with the same quiet rows (transparent, no accent). In News, "News settings" stopped being a second accent button and "Keyboard shortcuts" stopped being an icon-only button.
  • Notes: the top bar that only displayed the app name is gone, so the app starts with the columns like News does. Its sidebar toggle moved into the note list header, which is always visible, so the collapse feature still works.

The primary button at the top of each menu is untouched.

Verification

Checked on a running OpenCloud 9.0.0 instance with a headless browser:

Notes News
sidebar background rgb(246, 248, 250) rgb(246, 248, 250)
nav row 6px 8px, radius 8px, 14px 6px 8px, radius 8px, 14px
active row rgb(207, 230, 241) rgb(207, 230, 241)
section label 11px 11px
bottom row 6px 8px, radius 8px, 14px 6px 8px, radius 8px, 14px

The Notes top bar no longer exists in the DOM and the sidebar toggle renders in the list header.

@gnacho
gnacho merged commit 916d594 into main Nov 8, 2026
@gnacho
gnacho deleted the refactor/ui-unified-sidebars branch November 8, 2026 14:38
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