Skip to content

fix(ui): match Queen's menu type, icon strokes, brand mark and dark theme - #77

Merged
albertovincenzi merged 1 commit into
masterfrom
fix/shell-type-and-brand
Oct 24, 2026
Merged

albertovincenzi merged 1 commit into
masterfrom
fix/shell-type-and-brand

Conversation

@albertovincenzi

Copy link
Copy Markdown
Collaborator

Summary

Gate's menus and top bar did not look like Queen's and Traceflow's. Two causes, both fixed here.

1. The shell took Gate's body type. ui/src/shell.css is synced from Queen's app/src/shell.css (queen-mq/queen#143):

  • the sidebar, the top bar and the rail's tooltips set Queen's type in rem, instead of Gate's 13px body with its looser line;
  • the icons get one stroke: nav 1.5px, top bar 1.6px, search 1.8px;
  • the brand mark hangs from the top of the header, so the wordmark letters share one baseline with Queen's and Traceflow's.

2. Gate's own values in ui/src/style.css:

  • the wordmark is 39px (--brand-height), where its letters are as tall as Queen's;
  • the dark theme takes Queen's dark values, as the light theme already takes its light ones. Gate's own darks were a warmer, lighter brown, so the shared shell looked different in Gate's dark theme.

Order

Merge queen-mq/queen#143 first. Until then, npm run sync:shell -- --check reports a difference from Queen's master. smartpricing/traceflow#11 carries the same shell.css.

Test plan

  • npm run build and npm test in ui/ (25 pass, including the shell hash test)
  • Gate beside Queen in light and dark: same menu type, icon strokes, wordmark height and dark grounds

…heme

src/shell.css is synced from Queen's app/src/shell.css (queen-mq/queen#143):
the sidebar, the top bar and the rail's tooltips set their own type instead
of taking Gate's 13px body, the icons get one stroke, and the brand mark
hangs from the top of the header.

style.css:
- the wordmark is 39px, where its letters are as tall as Queen's;
- the dark theme takes Queen's dark values, as the light theme already
  takes its light ones; Gate's own darks were a warmer, lighter brown.
@albertovincenzi
albertovincenzi merged commit 49dc371 into master Oct 24, 2026
2 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