[repo] Workspace: Scaffold Phase 0 with schema, engine, content, ui and the PWA shell
pnpm + turbo workspace with the commands from CLAUDE.md §3. The contracts from §6 as JSON Schemas with generated types; localDay as the one place a day is computed; the forbidden-word list shared by lint:copy and the library validator, with 13 negative fixtures; a Svelte 5 PWA shell built under /Rosea/ with a meta CSP. E2E and offline suites run against the built bundle; the offline one closes the server rather than emulating. Analysis: .agents/features/phase0-workspace.md
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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;
|
||||
|
||||
--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;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
animation-duration: 0.01ms !important;
|
||||
animation-iteration-count: 1 !important;
|
||||
transition-duration: 0.01ms !important;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user