Scaffold CommiTea: yarn workspaces, Electron shell, core label schema, design system
- apps/desktop: electron-vite + React + Tailwind mapped onto design tokens (preflight off; tokens/base.css owns the reset); boots to a Reginald placeholder proving fonts/tokens/core wiring - packages/core: pure TS; gitea label schema (est/*, p/*, deadline/hard) with pessimistic conflict resolution + 15 unit tests - docs/design: full design handoff (tokens, 16 component contracts, interactive 14-screen prototype, Reginald voice rules) - docs/PLAN.md: product plan (purity rule, pm-state repo, deterministic scheduler + Monte Carlo, directive log) - Deliberate deviation from novelpad stack: no ElectricSQL/PGlite — local store is a rebuildable cache over gitea REST/webhooks (better-sqlite3 in main process, arriving in P1) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
37
docs/design/tokens/base.css
Normal file
37
docs/design/tokens/base.css
Normal file
@@ -0,0 +1,37 @@
|
||||
/* CommiTea base element styles. */
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font: var(--text-body);
|
||||
color: var(--text-body);
|
||||
background: var(--surface-app);
|
||||
-webkit-font-smoothing: antialiased;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--accent-text);
|
||||
text-decoration: none;
|
||||
border-bottom: 1px solid var(--line-2);
|
||||
transition: border-color var(--duration-fast) var(--ease-out);
|
||||
}
|
||||
a:hover {
|
||||
color: var(--accent-hover);
|
||||
border-bottom-color: var(--jade);
|
||||
}
|
||||
|
||||
::selection {
|
||||
background: var(--spruce-2);
|
||||
color: var(--ink-1);
|
||||
}
|
||||
|
||||
code, kbd {
|
||||
font: var(--text-data);
|
||||
}
|
||||
|
||||
:focus-visible {
|
||||
outline: 2px solid var(--focus-ring);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
Reference in New Issue
Block a user