aboutsummaryrefslogtreecommitdiff
path: root/src/styles/normalise.css
Commit message (Collapse)AuthorAgeFilesLines
* feat(a11y): rename Disable Page Transitions to Reduce MotionHEADmainFuwn20 hours1-0/+9
| | | | | | | | | | | | | | | | | | | | | The setting previously only gated the fly slide in Root.svelte. Renaming the label to "Reduce motion" sets the expectation that it acts as a force-on for the browser's prefers-reduced-motion: reduce across the board, so the setting's scope is broadened to match. Storage key (displayDisableAnimations) stays the same so existing user preferences carry over. Only the i18n label and behavior scope change. Adds a reducesMotion() helper that combines the media query with the setting. View Transitions, Lenis init, and the details JS animation now all bypass via this helper. A reactive $: toggles html.reduce-motion on the root element based on the setting; the normalise.css bandaid that already collapsed animations under prefers-reduced-motion is duplicated under that class so every CSS animation and transition (Svelte fly, dropdown panels, hamburger morph, header scroll-hide, the global :where transitions) snaps to 0.01ms when the setting is on.
* style(a11y): round the focus-visible ringFuwn5 days1-0/+1
| | | | | | Add border-radius: 4px to the global :focus-visible rule so the ring looks consistent on bare anchors and header items, not just on elements that already carry their own radius.
* feat(a11y): respect prefers-reduced-motionFuwn5 days1-0/+11
| | | | | | | Add a global reduced-motion media query that collapses animation and transition durations and disables smooth scroll. Skip Lenis init when the same preference is set so the JS-driven smooth scroll falls back to the browser default, which the spec already honours.
* fix(a11y): restore focus-visible ringFuwn5 days1-1/+6
| | | | | | | Replace `a:focus { outline: none }` with `:focus { outline: none }` + `:focus-visible { outline: 2px solid var(--base0D); outline-offset: 2px }` so keyboard users see focus on every interactive element while mouse clicks stay clean.
* chore(biome): drop formatter style overridesFuwn2026-03-011-8/+8
|
* chore(biome): enable css formattingFuwn2026-03-011-1/+1
|
* feat(List): Add media rouletteFuwn2026-01-231-0/+9
|
* chore(prettier): use spaces instead of tabsFuwn2024-10-091-7/+7
|
* refactor(styles): move out to srcFuwn2024-01-231-0/+23