aboutsummaryrefslogtreecommitdiff
path: root/src/styles/colours.css
Commit message (Collapse)AuthorAgeFilesLines
* style(nav): add --base0011-strong for grounded glass on nav surfacesFuwn25 hours1-0/+2
| | | | | | | | | | | | | | | | | The existing --base0011 glass tint is #ffffff80 / #0c0c0c80 (50% alpha), which is unusually transparent for floating UI. The desktop header and the mobile hamburger sit over scrolling content, so the content bleeds through and reads as distracting. Introduces --base0011-strong at #ffffffcc / #0c0c0ccc (80% alpha) for floating chrome. The backdrop blur still has enough content to soften, but the surface now reads as grounded rather than barely-present. Applied to: desktop .header background, mobile toggle background and hover, mobile open panel background. Other glass cards (CommandPalette dropdown, Dropdown component content, tooltips, hover covers) keep the softer --base0011 since they sit over relatively static surfaces and the see-through effect there is not distracting.
* style(colours.css): Run formatterFuwn5 days1-12/+12
|
* refactor(colours): tokenise card shadows and scrimsFuwn5 days1-0/+11
| | | | | | | | | | | Introduce --shadow-card, --shadow-card-emphasized, --shadow-cta, --scrim, --scrim-soft, and --scrim-banner. Migrate 14 inline literals (card.css, input.css, Notification, MediaRoulette, the two Landing CTA buttons, the popup overlay, the palette and roulette scrims, three identity banners, the user profile cover art shadow) onto the tokens, with light/dark adaptation handled by the existing prefers-color-scheme blocks instead of duplicated inline. Two single-use Landing demo-focus values stay inline.
* perf(transitions): narrow the universal * selectorFuwn5 days1-1/+13
| | | | | | | | | Replace the * { transition: color/bg/border/shadow } rule with a :where() list of the surfaces that actually receive state changes (anchors, buttons, form controls, cards, details/summary, role=button, role=menuitem, role=option). Every element no longer pays the transition (especially box-shadow, the costly one) on theme switch or parent re-paint.
* refactor(motion): introduce easing/duration tokensFuwn12 days1-4/+4
| | | | Add --ease-out-quart, --ease-in-out-quart, --duration-fast, --duration-slow in motion.css and migrate the global anchor, header, and theme-switch transitions to use them. Establishes a shared motion vocabulary for future polish.
* chore(biome): drop formatter style overridesFuwn2026-03-011-43/+43
|
* format: Apply Prettier formattingFuwn2026-01-221-2/+5
|
* format: Apply Prettier formattingFuwn2025-12-151-5/+2
|
* style: Reformat using latest formattingFuwn2025-06-111-2/+5
|
* chore(prettier): use spaces instead of tabsFuwn2024-10-091-40/+40
|
* feat(css): global colour transitionFuwn2024-03-171-0/+5
|
* refactor(styles): move out to srcFuwn2024-01-231-0/+43