Files
Rosea/packages/ui/src/tokens.css
T

63 lines
1.7 KiB
CSS

/* @domi/ui, vendored in packages/domi-ui (CPAL-1.0, see its NOTICE): its tokens, base and components, before Rosea's
own. Not its fonts: Rosea keeps her system faces (below). */
@import '@domi/ui/tokens.css';
@import '@domi/ui/base.css';
@import '@domi/ui/components.css';
/*
* Design tokens. Placeholders until docs/ART.md sets the palette: they exist so
* components reference tokens from the first commit, never raw colours.
* System fonts only: nothing is fetched from a CDN (CLAUDE.md §4).
*/
:root {
color-scheme: light dark;
--paper: #fbf6f1;
--ink: #2b2324;
--ink-soft: #6b5d5e;
--rose: #b4485e;
--font-body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
--font-display: Georgia, 'Times New Roman', serif;
/* Rosea keeps her system faces inside the shared controls too (@domi/ui INTEGRATE.md §0.4; the font is Mark's
open question in its PALETTE.md). */
--domi-font-hand: var(--font-body);
--domi-font-book: var(--font-display);
--space-1: 0.25rem;
--space-2: 0.5rem;
--space-3: 1rem;
--space-4: 1.5rem;
}
@media (prefers-color-scheme: dark) {
:root {
--paper: #1d1819;
--ink: #f1e8e6;
--ink-soft: #b8a9a8;
--rose: #e8899b;
}
}
html,
body {
margin: 0;
background: var(--paper);
color: var(--ink);
font-family: var(--font-body);
line-height: 1.5;
/* Android Chrome paints a blue box behind a touched control (seen on a real tablet,
2026-11-17); our controls show their own pressed and focus states instead. */
-webkit-tap-highlight-color: transparent;
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}