mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-03 18:41:28 +08:00
The settings column was invented rather than borrowed, and it showed. Measuring it against `SidebarShell` — the same kind of element, on screen in the same app, all day — the differences were all in the wrong direction: - No icons at all, so a 23-row column was a wall of text with nothing to aim at while scanning. Every page already declares an icon in `settings-nav.ts`; none of them were being drawn. - Rows a half-step tighter and smaller than the app's (12.5px/py-1.5/md against 13.5px/py-2/lg), which read as cramped rather than compact. - The active row tinted with `--muted`; the app uses `--accent`. - Idle rows in `--muted-foreground` while group labels were medium-weight at 70% — so the labels were heavier than the pages under them and the hierarchy read upside down. Group labels now match the "Recents" heading: 11.5px, normal weight, 60%. Also two measurements off the rest of Settings. The radius scale had five tiers with `rounded-2xl` used exactly once outside the tour overlay, so the status strip joins the `xl` tier and the scale is four clean steps. And the overview's title was 24px where every other settings page is 22px. Shadows were counted too and left alone: all seven are on controls — a toggle knob, segmented-control selection, a tooltip — not stacked on cards, which is the pattern worth removing.