eidotter 0.46.0 → 0.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -5
- package/dist/components/Brand/components/Wordmark.d.ts +2 -1
- package/dist/components/Brand/components/Wordmark.js +3 -2
- package/dist/components/CalendarHeatmap/components/CalendarHeatmap.d.ts +2 -2
- package/dist/components/CalendarHeatmap/components/CalendarHeatmap.js +2 -2
- package/dist/components/ChecklistRow/components/ChecklistRow.d.ts +1 -1
- package/dist/components/ChecklistRow/components/ChecklistRow.js +1 -1
- package/dist/components/CopyButton/components/CopyButton.d.ts +1 -1
- package/dist/components/CopyButton/components/CopyButton.js +1 -1
- package/dist/components/DisplayMenu/components/DisplayMenu.d.ts +8 -5
- package/dist/components/DisplayMenu/components/DisplayMenu.js +69 -10
- package/dist/components/EmptyState/components/EmptyState.d.ts +1 -1
- package/dist/components/EmptyState/components/EmptyState.js +1 -1
- package/dist/components/Gauge/components/Gauge.js +1 -1
- package/dist/components/HoldToComplete/components/HoldToComplete.d.ts +1 -1
- package/dist/components/HoldToComplete/components/HoldToComplete.js +1 -1
- package/dist/components/LedgerRow/components/LedgerRow.d.ts +1 -1
- package/dist/components/LedgerRow/components/LedgerRow.js +1 -1
- package/dist/components/ProgressRing/components/ProgressRing.d.ts +1 -1
- package/dist/components/ProgressRing/components/ProgressRing.js +1 -1
- package/dist/components/RetroEffects/components/RetroEffects.d.ts +54 -0
- package/dist/components/RetroEffects/components/RetroEffects.js +124 -4
- package/dist/components/RetroEffects/components/index.d.ts +1 -1
- package/dist/components/RetroEffects/index.d.ts +1 -1
- package/dist/components/SectionHeading/components/SectionHeading.d.ts +1 -1
- package/dist/components/SectionHeading/components/SectionHeading.js +2 -2
- package/dist/components/Stat/components/Stat.js +1 -1
- package/dist/components/registry.d.ts +12 -1
- package/dist/components/registry.js +101 -98
- package/dist/eidotter.css +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.es.js +731 -603
- package/dist/index.umd.js +3 -3
- package/dist/terminal/cga-amber.json +94 -0
- package/dist/terminal/cga-mode4-p0.json +94 -0
- package/dist/terminal/cga-mode4-p1.json +94 -0
- package/dist/terminal/cga-mode5.json +94 -0
- package/dist/terminal/dos-86.json +94 -0
- package/dist/utils/displayTheme.d.ts +32 -4
- package/dist/utils/displayTheme.js +33 -7
- package/guidelines/README.md +14 -2
- package/guidelines/components.md +9 -0
- package/guidelines/design-principles.md +1 -0
- package/guidelines/figma-architecture.md +1 -2
- package/guidelines/terminal-target.md +44 -0
- package/llms.txt +19 -19
- package/migrations/0.47.0.md +209 -0
- package/migrations/README.md +2 -0
- package/package.json +12 -6
- package/src/styles/dos-utilities.css +13 -3
- package/src/styles/shadcn.css +37 -2
- package/src/styles/theme.amber-paper.css +11 -7
- package/src/styles/theme.cga-amber.css +7 -7
- package/src/styles/theme.cga-mode4-p0.css +7 -7
- package/src/styles/theme.cga-mode4-p1.css +7 -7
- package/src/styles/theme.cga-mode5.css +7 -7
- package/src/styles/theme.dos-86.css +79 -0
- package/src/styles/theme.light.css +7 -7
- package/src/styles/{theme.amber-mono.css → theme.pure-amber.css} +8 -8
- package/src/styles/tokens.css +65 -23
- package/tailwind.preset.cjs +4 -2
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
--color-cga-amber: #00ffff;
|
|
23
23
|
--color-cga-amber-bright: #fffcf7;
|
|
24
24
|
--color-cga-amber-dim: #00ffff;
|
|
25
|
-
--color-cga-amber-glow: rgba(0, 255, 255, 0.
|
|
26
|
-
--color-cga-red-glow: rgba(255, 85, 85, 0.
|
|
27
|
-
--color-cga-green-glow: rgba(85, 255, 85, 0.
|
|
28
|
-
--color-cga-cyan-glow: rgba(85, 255, 255, 0.
|
|
29
|
-
--color-cga-magenta-glow: rgba(255, 85, 255, 0.
|
|
30
|
-
--color-cga-blue-glow: rgba(85, 85, 255, 0.
|
|
31
|
-
--color-cga-white-glow: rgba(255, 245, 224, 0.
|
|
25
|
+
--color-cga-amber-glow: rgba(0, 255, 255, 0.5019607843137255);
|
|
26
|
+
--color-cga-red-glow: rgba(255, 85, 85, 0.5019607843137255); /** Red glow at 50% opacity */
|
|
27
|
+
--color-cga-green-glow: rgba(85, 255, 85, 0.5019607843137255); /** Green glow at 50% opacity */
|
|
28
|
+
--color-cga-cyan-glow: rgba(85, 255, 255, 0.5019607843137255); /** Cyan glow at 50% opacity */
|
|
29
|
+
--color-cga-magenta-glow: rgba(255, 85, 255, 0.5019607843137255); /** Magenta glow at 50% opacity */
|
|
30
|
+
--color-cga-blue-glow: rgba(85, 85, 255, 0.5019607843137255); /** Blue glow at 50% opacity */
|
|
31
|
+
--color-cga-white-glow: rgba(255, 245, 224, 0.5019607843137255); /** Warm white glow at 50% opacity */
|
|
32
32
|
--color-cga-true-green: #00aa00; /** True CGA green — functional success / in-range. */
|
|
33
33
|
--color-cga-true-red: #aa0000; /** True CGA red — functional error / out-of-range. */
|
|
34
34
|
--color-cga-true-cyan: #00aaaa; /** True CGA cyan — functional info / sensor. */
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
[data-theme="dos-86"], .theme-dos-86 {
|
|
6
|
+
--color-cga-black: #050300; /** The DOS-86 terminal screen: warm near-black, about 3% amber (as in cga-amber). Pure Amber's ground is #020003. */
|
|
7
|
+
--color-cga-blue: #0000aa; /** CGA blue. */
|
|
8
|
+
--color-cga-green: #00aa00; /** CGA green. Success fill, added lines. */
|
|
9
|
+
--color-cga-cyan: #00aaaa; /** CGA cyan. Info text. */
|
|
10
|
+
--color-cga-red: #aa0000; /** CGA red. Destructive fill (white text on it). Too dark for text on the ground. */
|
|
11
|
+
--color-cga-magenta: #aa00aa; /** CGA magenta. */
|
|
12
|
+
--color-cga-brown: #5f340e; /** Pure Amber's brown, kept: visited links use it. */
|
|
13
|
+
--color-cga-light-gray: #b87c1a; /** Pure Amber's warm tan-amber, kept: secondary and muted text. The DOS-86 terminal's amberSoft. */
|
|
14
|
+
--color-cga-dark-gray: #010103; /** Pure Amber's near-black, kept: secondary surface. */
|
|
15
|
+
--color-cga-bright-blue: #5555ff; /** CGA bright blue. */
|
|
16
|
+
--color-cga-bright-green: #55ff55; /** CGA bright green. Success text, border and status. */
|
|
17
|
+
--color-cga-bright-cyan: #55ffff; /** CGA bright cyan. */
|
|
18
|
+
--color-cga-bright-red: #ff5555; /** CGA bright red. Error text, border and status (CGA red #AA0000 is too dark to read on the ground). */
|
|
19
|
+
--color-cga-bright-magenta: #ff55ff; /** CGA bright magenta. */
|
|
20
|
+
--color-cga-yellow: #ffff55; /** CGA yellow. Warning; lemon enough to stand apart from amber text. */
|
|
21
|
+
--color-cga-white: #fffcf7; /** Warm off-white (about 2% amber), as in cga-amber. */
|
|
22
|
+
--color-cga-amber: #ffb000; /** P3 phosphor amber (602nm) */
|
|
23
|
+
--color-cga-amber-bright: #fdca9f; /** P3 phosphor amber bright */
|
|
24
|
+
--color-cga-amber-dim: #9a5700; /** P3 phosphor amber dim */
|
|
25
|
+
--color-cga-amber-glow: rgba(255, 176, 0, 0.5019607843137255); /** Amber glow at 50% opacity */
|
|
26
|
+
--color-cga-red-glow: rgba(255, 85, 85, 0.5019607843137255); /** Red glow at 50% opacity */
|
|
27
|
+
--color-cga-green-glow: rgba(85, 255, 85, 0.5019607843137255); /** Green glow at 50% opacity */
|
|
28
|
+
--color-cga-cyan-glow: rgba(85, 255, 255, 0.5019607843137255); /** Cyan glow at 50% opacity */
|
|
29
|
+
--color-cga-magenta-glow: rgba(255, 85, 255, 0.5019607843137255); /** Magenta glow at 50% opacity */
|
|
30
|
+
--color-cga-blue-glow: rgba(85, 85, 255, 0.5019607843137255); /** Blue glow at 50% opacity */
|
|
31
|
+
--color-cga-white-glow: rgba(255, 245, 224, 0.5019607843137255); /** Warm white glow at 50% opacity */
|
|
32
|
+
--color-cga-true-green: #00aa00; /** True CGA green — functional success / in-range. */
|
|
33
|
+
--color-cga-true-red: #aa0000; /** True CGA red — functional error / out-of-range. */
|
|
34
|
+
--color-cga-true-cyan: #00aaaa; /** True CGA cyan — functional info / sensor. */
|
|
35
|
+
--color-cga-true-white: #ffffff; /** True CGA white — theme-invariant light foreground for functional fills (white-on-red destructive, white-on-green success). #FFFFFF on cga-true.red #AA0000 is ~5.9:1 (passes WCAG AA). DMNC-922. */
|
|
36
|
+
--color-cga-true-red-bright: #ff5555; /** True CGA bright red — theme-invariant. The readable-as-TEXT-on-dark red (#FF5555 on the #020003 CRT bg passes AA, where the solid #AA0000 is only ~2.3:1). Use for error TEXT/icons on dark; use the solid `red` for fills. DMNC-922. */
|
|
37
|
+
--color-semantic-text-ai-draft: #ff1a8c; /** AI-drafted prose, not yet revised by human — Signalnoise hot pink. Brand-locked hex: same value across all themes so the AI marker is unmissable regardless of palette. Lives in base (T1) so all themes inherit it; the rest of color.semantic.* lives in web.tokens.json (T2). */
|
|
38
|
+
--color-semantic-text-ai-draft-glow: rgba(255, 26, 140, 0.5); /** Phosphor halo around AI-drafted prose. 50% rgba of the aiDraft hex; brand-locked alongside it. Used in text-shadow only; no Tailwind utility. */
|
|
39
|
+
--color-semantic-text-ai-gradient-from: #ff1a8c; /** AI-marker gradient start on amber/dark themes (Signalnoise pink). Static two-stop magenta gradient ('AI writer' style — no animation) clipped to the text in provenance.css; brand-locked; no Tailwind utility (DMNC-946). */
|
|
40
|
+
--color-semantic-text-ai-gradient-to: #ff55ff; /** AI-marker gradient end on amber/dark themes (bright magenta). Static, brand-locked. Gradient-only; no Tailwind utility (DMNC-946). */
|
|
41
|
+
--color-semantic-text-ai-gradient-from-light: #c0228a; /** AI-marker gradient start under light themes ([data-theme=light]/.light) — deep magenta, contrast on white. Static, brand-locked. Gradient-only; no Tailwind utility (DMNC-946). */
|
|
42
|
+
--color-semantic-text-ai-gradient-to-light: #7a3cc0; /** AI-marker gradient end under light themes — violet, contrast on white. Static, brand-locked. Gradient-only; no Tailwind utility (DMNC-946). */
|
|
43
|
+
--color-semantic-text-accent: #e5b936; /** Pure Amber's accent yellow (its color.cga.yellow), kept as a value because color.cga.yellow is the honest warning yellow here. Accent text is not a functional colour. */
|
|
44
|
+
--color-semantic-background-error: #d00000; /** DMNC-1643 (PR E): the critical and destructive fill, Dom's pick. A deliberate non-CGA value, like the four lighter signal steps: a pure red with margin above the 3:1 a graphical object needs, 3.61:1 on the screen #050300 and 3.66:1 on the card surface #010103, with text.white (#FFFFFF) on it at 5.70:1. CGA red #AA0000 is 2.66:1 on the screen; #B90000 is the minimum that passes (3.00:1). Pure Amber uses amberDim here. */
|
|
45
|
+
--color-semantic-border-hover: #e5b936; /** Pure Amber's hover yellow (its color.cga.yellow), kept as a value; see text.accent. */
|
|
46
|
+
--color-semantic-alert-info: #0a1828; /** DMNC-1643: dark blue alert ground, as in cga-amber. */
|
|
47
|
+
--color-semantic-alert-success: #122010; /** DMNC-1643: dark green alert ground; the DOS-86 added-line fill. */
|
|
48
|
+
--color-semantic-alert-warning: #352800; /** DMNC-1643: dark yellow alert ground, as in cga-amber. */
|
|
49
|
+
--color-semantic-alert-error: #430500; /** DMNC-1643: dark red alert ground; the DOS-86 removed-line fill. */
|
|
50
|
+
--focus-ring-color: #e5b936; /** Pure Amber's focus-ring yellow (its color.cga.yellow), kept as a value so the keyboard focus ring looks as it does today; color.cga.yellow is the warning yellow here. */
|
|
51
|
+
--typography-font-family-primary: var(--typography-font-family-body); /** DMNC-1643 PR F: the component text family points at the body face (JetBrains Mono Nerd Font) under dos-86, so all non-heading text renders in it. Headings, display numbers and the brand read typography.fontFamily.heading, which stays the display face; Terminal and CommandPrompt read it too and keep the bitmap face. A var() reference rather than a token alias to typography.fontFamily.body: theme builds see only base + theme tokens, and the var keeps a consumer's override of the body family in effect. */
|
|
52
|
+
--color-semantic-text-primary: var(--color-cga-amber);
|
|
53
|
+
--color-semantic-text-secondary: var(--color-cga-light-gray); /** DMNC-1494: visible de-emphasised tone on dark backgrounds. For dark text on an amber fill use `text.onAccent`. */
|
|
54
|
+
--color-semantic-text-on-accent: var(--color-cga-black); /** DMNC-1494: dark text/icon sitting on an accent (amber) fill. */
|
|
55
|
+
--color-semantic-text-on-light: var(--color-cga-black); /** DMNC-1494: near-black text/icon for an unfilled element sitting on a light surface (e.g. Nav modern links). Near-black in every theme. */
|
|
56
|
+
--color-semantic-text-disabled: var(--color-cga-amber-dim);
|
|
57
|
+
--color-semantic-text-muted: var(--color-cga-light-gray);
|
|
58
|
+
--color-semantic-text-success: var(--color-cga-bright-green); /** DMNC-1643: honest green (#55FF55), the DOS-86 success role. */
|
|
59
|
+
--color-semantic-text-error: var(--color-cga-bright-red); /** DMNC-1643: honest red (#FF5555), the DOS-86 error role. */
|
|
60
|
+
--color-semantic-text-warning: var(--color-cga-yellow); /** DMNC-1643: honest yellow (#FFFF55), the DOS-86 warning role. Pure Amber inherits amber here. */
|
|
61
|
+
--color-semantic-text-info: var(--color-cga-cyan); /** DMNC-1643: honest cyan (#00AAAA), the DOS-86 info role. */
|
|
62
|
+
--color-semantic-background-primary: var(--color-cga-black);
|
|
63
|
+
--color-semantic-background-secondary: var(--color-cga-dark-gray);
|
|
64
|
+
--color-semantic-background-accent: var(--color-cga-amber);
|
|
65
|
+
--color-semantic-border-default: var(--color-cga-amber);
|
|
66
|
+
--color-semantic-border-focus: var(--color-cga-amber);
|
|
67
|
+
--color-semantic-border-disabled: var(--color-cga-amber-dim);
|
|
68
|
+
--color-semantic-border-success: var(--color-cga-bright-green); /** DMNC-1643: honest green border, the DOS-86 success role. */
|
|
69
|
+
--color-semantic-border-error: var(--color-cga-bright-red); /** DMNC-1643: honest red border, the DOS-86 error role. */
|
|
70
|
+
--color-semantic-link-default: var(--color-cga-amber);
|
|
71
|
+
--color-semantic-link-hover: var(--color-cga-amber-bright);
|
|
72
|
+
--color-semantic-link-active: var(--color-cga-amber-dim);
|
|
73
|
+
--color-semantic-link-visited: var(--color-cga-brown);
|
|
74
|
+
--color-semantic-status-success: var(--color-cga-bright-green); /** DMNC-1643: the DOS-86 success role. */
|
|
75
|
+
--color-semantic-status-warning: var(--color-cga-yellow); /** DMNC-1643: the DOS-86 warning role. */
|
|
76
|
+
--color-semantic-status-error: var(--color-cga-bright-red); /** DMNC-1643: the DOS-86 error role. */
|
|
77
|
+
--color-semantic-status-info: var(--color-cga-cyan); /** DMNC-1643: the DOS-86 info role. */
|
|
78
|
+
--color-semantic-glow-error: var(--color-cga-red-glow); /** DMNC-1643: honest red destructive hover-glow. Pure Amber uses amber here. */
|
|
79
|
+
}
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
--color-cga-amber: #ffb000; /** P3 phosphor amber (602nm) */
|
|
23
23
|
--color-cga-amber-bright: #fdca9f; /** P3 phosphor amber bright */
|
|
24
24
|
--color-cga-amber-dim: #9a5700; /** P3 phosphor amber dim */
|
|
25
|
-
--color-cga-amber-glow: rgba(255, 176, 0, 0.
|
|
26
|
-
--color-cga-red-glow: rgba(255, 85, 85, 0.
|
|
27
|
-
--color-cga-green-glow: rgba(85, 255, 85, 0.
|
|
28
|
-
--color-cga-cyan-glow: rgba(85, 255, 255, 0.
|
|
29
|
-
--color-cga-magenta-glow: rgba(255, 85, 255, 0.
|
|
30
|
-
--color-cga-blue-glow: rgba(85, 85, 255, 0.
|
|
31
|
-
--color-cga-white-glow: rgba(255, 245, 224, 0.
|
|
25
|
+
--color-cga-amber-glow: rgba(255, 176, 0, 0.5019607843137255); /** Amber glow at 50% opacity */
|
|
26
|
+
--color-cga-red-glow: rgba(255, 85, 85, 0.5019607843137255); /** Red glow at 50% opacity */
|
|
27
|
+
--color-cga-green-glow: rgba(85, 255, 85, 0.5019607843137255); /** Green glow at 50% opacity */
|
|
28
|
+
--color-cga-cyan-glow: rgba(85, 255, 255, 0.5019607843137255); /** Cyan glow at 50% opacity */
|
|
29
|
+
--color-cga-magenta-glow: rgba(255, 85, 255, 0.5019607843137255); /** Magenta glow at 50% opacity */
|
|
30
|
+
--color-cga-blue-glow: rgba(85, 85, 255, 0.5019607843137255); /** Blue glow at 50% opacity */
|
|
31
|
+
--color-cga-white-glow: rgba(255, 245, 224, 0.5019607843137255); /** Warm white glow at 50% opacity */
|
|
32
32
|
--color-cga-true-green: #00aa00; /** True CGA green — functional success / in-range. */
|
|
33
33
|
--color-cga-true-red: #aa0000; /** True CGA red — functional error / out-of-range. */
|
|
34
34
|
--color-cga-true-cyan: #00aaaa; /** True CGA cyan — functional info / sensor. */
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Do not edit directly, this file was auto-generated.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
[data-theme="amber-mono"], .theme-amber-mono {
|
|
5
|
+
[data-theme="pure-amber"], [data-theme="amber-mono"], .theme-pure-amber, .theme-amber-mono {
|
|
6
6
|
--color-cga-black: #020003; /** Amber monochrome - darkest */
|
|
7
7
|
--color-cga-blue: #2c1203; /** Amber monochrome */
|
|
8
8
|
--color-cga-green: #411f06; /** Amber monochrome */
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
--color-cga-amber: #ffb000; /** P3 phosphor amber (602nm) */
|
|
23
23
|
--color-cga-amber-bright: #fdca9f; /** P3 phosphor amber bright */
|
|
24
24
|
--color-cga-amber-dim: #9a5700; /** P3 phosphor amber dim */
|
|
25
|
-
--color-cga-amber-glow: rgba(255, 176, 0, 0.
|
|
26
|
-
--color-cga-red-glow: rgba(255, 85, 85, 0.
|
|
27
|
-
--color-cga-green-glow: rgba(85, 255, 85, 0.
|
|
28
|
-
--color-cga-cyan-glow: rgba(85, 255, 255, 0.
|
|
29
|
-
--color-cga-magenta-glow: rgba(255, 85, 255, 0.
|
|
30
|
-
--color-cga-blue-glow: rgba(85, 85, 255, 0.
|
|
31
|
-
--color-cga-white-glow: rgba(255, 245, 224, 0.
|
|
25
|
+
--color-cga-amber-glow: rgba(255, 176, 0, 0.5019607843137255); /** Amber glow at 50% opacity */
|
|
26
|
+
--color-cga-red-glow: rgba(255, 85, 85, 0.5019607843137255); /** Red glow at 50% opacity */
|
|
27
|
+
--color-cga-green-glow: rgba(85, 255, 85, 0.5019607843137255); /** Green glow at 50% opacity */
|
|
28
|
+
--color-cga-cyan-glow: rgba(85, 255, 255, 0.5019607843137255); /** Cyan glow at 50% opacity */
|
|
29
|
+
--color-cga-magenta-glow: rgba(255, 85, 255, 0.5019607843137255); /** Magenta glow at 50% opacity */
|
|
30
|
+
--color-cga-blue-glow: rgba(85, 85, 255, 0.5019607843137255); /** Blue glow at 50% opacity */
|
|
31
|
+
--color-cga-white-glow: rgba(255, 245, 224, 0.5019607843137255); /** Warm white glow at 50% opacity */
|
|
32
32
|
--color-cga-true-green: #00aa00; /** True CGA green — functional success / in-range. */
|
|
33
33
|
--color-cga-true-red: #aa0000; /** True CGA red — functional error / out-of-range. */
|
|
34
34
|
--color-cga-true-cyan: #00aaaa; /** True CGA cyan — functional info / sensor. */
|
package/src/styles/tokens.css
CHANGED
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
--color-cga-amber: #ffb000; /** P3 phosphor amber (602nm) */
|
|
23
23
|
--color-cga-amber-bright: #fdca9f; /** P3 phosphor amber bright */
|
|
24
24
|
--color-cga-amber-dim: #9a5700; /** P3 phosphor amber dim */
|
|
25
|
-
--color-cga-amber-glow: rgba(255, 176, 0, 0.
|
|
26
|
-
--color-cga-red-glow: rgba(255, 85, 85, 0.
|
|
27
|
-
--color-cga-green-glow: rgba(85, 255, 85, 0.
|
|
28
|
-
--color-cga-cyan-glow: rgba(85, 255, 255, 0.
|
|
29
|
-
--color-cga-magenta-glow: rgba(255, 85, 255, 0.
|
|
30
|
-
--color-cga-blue-glow: rgba(85, 85, 255, 0.
|
|
31
|
-
--color-cga-white-glow: rgba(255, 245, 224, 0.
|
|
25
|
+
--color-cga-amber-glow: rgba(255, 176, 0, 0.5019607843137255); /** Amber glow at 50% opacity */
|
|
26
|
+
--color-cga-red-glow: rgba(255, 85, 85, 0.5019607843137255); /** Red glow at 50% opacity */
|
|
27
|
+
--color-cga-green-glow: rgba(85, 255, 85, 0.5019607843137255); /** Green glow at 50% opacity */
|
|
28
|
+
--color-cga-cyan-glow: rgba(85, 255, 255, 0.5019607843137255); /** Cyan glow at 50% opacity */
|
|
29
|
+
--color-cga-magenta-glow: rgba(255, 85, 255, 0.5019607843137255); /** Magenta glow at 50% opacity */
|
|
30
|
+
--color-cga-blue-glow: rgba(85, 85, 255, 0.5019607843137255); /** Blue glow at 50% opacity */
|
|
31
|
+
--color-cga-white-glow: rgba(255, 245, 224, 0.5019607843137255); /** Warm white glow at 50% opacity */
|
|
32
32
|
--color-cga-true-green: #00aa00; /** True CGA green — functional success / in-range. */
|
|
33
33
|
--color-cga-true-red: #aa0000; /** True CGA red — functional error / out-of-range. */
|
|
34
34
|
--color-cga-true-cyan: #00aaaa; /** True CGA cyan — functional info / sensor. */
|
|
@@ -44,7 +44,8 @@
|
|
|
44
44
|
--color-semantic-alert-success: #122010; /** Warm dark green for success alerts */
|
|
45
45
|
--color-semantic-alert-warning: #352800; /** Dark amber for warning alerts */
|
|
46
46
|
--color-semantic-alert-error: #430500; /** Warm dark red for error alerts */
|
|
47
|
-
--typography-font-family-primary: 'Perfect DOS VGA 437', monospace; /** Perfect DOS VGA 437 by Zeh Fernando (free-for-any-use; ships with bundled LICENSE.txt). Pixel-perfect-vector TTF — every glyph outline is axis-aligned, scales cleanly to any size. The `monospace` fallback preserves DOS aesthetic on @font-face failure. Used for display/heading tiers (dos-hero, dos-h1…h5). */
|
|
47
|
+
--typography-font-family-primary: 'Perfect DOS VGA 437', monospace; /** Perfect DOS VGA 437 by Zeh Fernando (free-for-any-use; ships with bundled LICENSE.txt). Pixel-perfect-vector TTF — every glyph outline is axis-aligned, scales cleanly to any size. The `monospace` fallback preserves DOS aesthetic on @font-face failure. Used for display/heading tiers (dos-hero, dos-h1…h5). Since DMNC-1643 it is the component text family (`font-dos`, Tailwind and component CSS) rather than the heading family: a theme may point it at the body face (dos-86 does), while headings read `heading`. */
|
|
48
|
+
--typography-font-family-heading: 'Perfect DOS VGA 437', monospace; /** Heading family (DMNC-1643): real headings (h1-h6, .dos-hero, .dos-h1…h5, SectionHeading, PageShell and PageSection titles, DosWindow and DosDialog strip titles, LegalPage h1/h2), display numbers (Stat, Gauge and VitalsStrip values) and the brand wordmark. Always the display face, in every theme; Terminal and CommandPrompt also read it for their bitmap face. `src/styles/heading-family.test.ts` lists every allowed use. Tailwind utility `font-dos-heading`. */
|
|
48
49
|
--typography-font-family-body: 'JetBrains Mono Nerd Font', monospace; /** JetBrains Mono Nerd Font (OFL-1.1; ships with bundled JetBrainsMonoNerdFont_OFL.txt). Multi-weight monospace body font — includes Nerd Font glyph extensions (powerline, devicons, language logos) for terminal-aesthetic UIs alongside pixelarticons. Ships as four per-weight woff2 files (Regular/Medium/SemiBold/Bold). Used for body/prose tiers (dos-body, dos-body-lg, dos-caption, dos-micro). Use fontWeight.body-* tokens for real weight variation (DMNC-885). */
|
|
49
50
|
--typography-font-family-fallback: monospace; /** Bare `monospace` stack — fail-loud diagnostic counterpart to `primary`. Compose with `primary` when consumers want strict Perfect-DOS-or-nothing rendering. */
|
|
50
51
|
--typography-font-size-text-base: 1rem; /** 16px — body floor (DOS VGA native 9x16 cell) for body text, labels and controls (DMNC-1579). Named exceptions: em-relative secondary glyphs that scale with their parent (CalendarHeatmap day labels 0.6em, ProgressRing centre label 0.5em, Stat/VitalsStrip unit suffix 0.5em of the display-size value) */
|
|
@@ -125,12 +126,12 @@
|
|
|
125
126
|
--shadow-glow-sm-white: 0px 0px 10px 0px #FFFFFF80; /** Small white phosphor glow */
|
|
126
127
|
--shadow-glow-md-white: 0px 0px 20px 0px #FFFFFF80; /** Medium white phosphor glow */
|
|
127
128
|
--shadow-glow-lg-white: 0px 0px 30px 0px #FFFFFF80; /** Large white phosphor glow */
|
|
128
|
-
--duration-instant:
|
|
129
|
-
--duration-fast:
|
|
130
|
-
--duration-normal:
|
|
131
|
-
--duration-slow:
|
|
132
|
-
--duration-power-off:
|
|
133
|
-
--duration-power-on:
|
|
129
|
+
--duration-instant: 0s;
|
|
130
|
+
--duration-fast: 0.1s;
|
|
131
|
+
--duration-normal: 0.2s;
|
|
132
|
+
--duration-slow: 0.4s;
|
|
133
|
+
--duration-power-off: 0.4s; /** CRT power-off animation */
|
|
134
|
+
--duration-power-on: 0.6s; /** CRT power-on animation (phosphor warm-up) */
|
|
134
135
|
--opacity-0: 0; /** Fully transparent */
|
|
135
136
|
--opacity-10: 0.1; /** Subtle hover overlays */
|
|
136
137
|
--opacity-25: 0.25; /** Light overlays */
|
|
@@ -161,26 +162,50 @@
|
|
|
161
162
|
--effects-crt-background: #060300; /** Dark warm-black for CRT screen (not pure black) */
|
|
162
163
|
--dimension-placeholder: 0px; /** Placeholder so the file is non-empty and parses. Remove when actual T3 tokens land. */
|
|
163
164
|
--effect-phosphor-intensity: 1; /** Overall phosphor brightness multiplier (0–1). Web: --retro-intensity CSS var; Apple: SwiftUI colorEffect shader uniform / Metal float. */
|
|
164
|
-
--effect-phosphor-persistence:
|
|
165
|
+
--effect-phosphor-persistence: 0.2s; /** How long a glow lingers after change (50–800ms). Web: animation duration on glow fade; Apple: SwiftUI .easeOut animation duration or SKShader trailing uniform. Phase 0i Niels-derived (time-based segmentation). */
|
|
165
166
|
--effect-phosphor-glow-radius: 40px; /** Tight phosphor glow around lit pixels (8–120px). Web: box-shadow inset blur; Apple: SwiftUI .shadow(radius:) or CIBloom input radius. Note: Apple/web don't use identical units — see Phase 0i unit-conversion note. */
|
|
166
167
|
--effect-phosphor-bloom-radius: 80px; /** Soft phosphor halation extending outward (20–200px). Web: outer box-shadow inset blur; Apple: CIBloom larger pass. */
|
|
167
168
|
--effect-phosphor-bloom-intensity: 0.5; /** Phosphor halation visibility (0–1). Web: bloom layer opacity; Apple: CIBloom input intensity. */
|
|
168
169
|
--effect-phosphor-focus-blur: 0px; /** Slight defocus from imperfect electron beam convergence (0–4px). Default 0 = perfectly focused. Phase 0i Niels-derived (oscilloscope FOCUS knob). Web: backdrop filter blur; Apple: CIGaussianBlur input radius. */
|
|
170
|
+
--effect-phosphor-sampled-tight-radius: 1.6px; /** Glow sampled from the rendered picture: tight glow around lit pixels (DMNC-1643, the DOS-86 terminal theme's GLOW_RADIUS). Web: feGaussianBlur stdDeviation of the RetroEffects glowMode="sampled" SVG filter on the html element; Apple: layerEffect shader sample radius. */
|
|
171
|
+
--effect-phosphor-sampled-tight-intensity: 0.35; /** Strength of the sampled tight glow (0–1), screen-blended over the picture. Web: feComponentTransfer slope; Apple: shader weight. 0 on the light grounds (light, amber-paper), where a screen glow would wash ink out. */
|
|
172
|
+
--effect-phosphor-sampled-halo-radius: 4.5px; /** Glow sampled from the rendered picture: soft halation further out (DMNC-1643, the DOS-86 terminal theme's BLOOM_RADIUS). Web: feGaussianBlur stdDeviation; Apple: layerEffect shader sample radius. */
|
|
173
|
+
--effect-phosphor-sampled-halo-intensity: 0.22; /** Strength of the sampled halation (0–1). Web: feComponentTransfer slope; Apple: shader weight. 0 on the light grounds. */
|
|
169
174
|
--effect-scanline-intensity: 0.6; /** Scanline visibility (0–1). Web: scanline overlay opacity; Apple: SwiftUI shader UV-based dark-stripe modulation. */
|
|
170
175
|
--effect-scanline-line-pitch: 4px; /** Distance between scanlines (2–8px). Web: gradient repeat distance; Apple: shader UV period. */
|
|
171
|
-
--effect-scanline-scroll-period:
|
|
176
|
+
--effect-scanline-scroll-period: 9s; /** Scanline drift cycle (2000–30000ms; 0 to disable). Web: animation duration; Apple: shader time-uniform multiplier. */
|
|
172
177
|
--effect-flicker-intensity: 0.04; /** Flicker visibility (0–0.1). Web: flicker layer opacity; Apple: shader sine-wave modulation amplitude. */
|
|
173
|
-
--effect-flicker-period:
|
|
178
|
+
--effect-flicker-period: 0.5s; /** Flicker cycle (333–1000ms; >=333ms = 3Hz max for WCAG 2.3.1). Hard floor at 333ms enforced by build-time transform. Web: animation duration; Apple: time-uniform period. */
|
|
174
179
|
--effect-vignette-intensity: 1; /** Vignette visibility (0–1). Web: glow layer opacity; Apple: shader corner-darkening modulation. */
|
|
175
|
-
--effect-vignette-spread: 0.2; /** Vignette spread as fraction of viewport (0–0.5). Web:
|
|
180
|
+
--effect-vignette-spread: 0.2; /** Vignette spread as fraction of viewport (0–0.5). Web: not wired yet, the CSS inner stop is effect.web.vignette.inner-stop (the two scales differ); Apple: shader UV-distance threshold. */
|
|
181
|
+
--effect-mask-intensity: 0; /** Aperture grille visibility (0–0.1). Default 0 = off. Web: grille overlay opacity; Apple: shader per-column channel attenuation. */
|
|
182
|
+
--effect-preset-long-reading-scanline-intensity: 0.2; /** Long-reading scanline visibility. */
|
|
183
|
+
--effect-preset-long-reading-scanline-line-pitch: 3px; /** Long-reading scanline pitch. */
|
|
184
|
+
--effect-preset-long-reading-scanline-scroll-period: 0s; /** Long-reading scanlines hold still (0 = no drift). */
|
|
185
|
+
--effect-preset-long-reading-flicker-intensity: 0; /** Long-reading flicker: none. */
|
|
186
|
+
--effect-preset-long-reading-mask-intensity: 0.06; /** Long-reading aperture grille: faint. */
|
|
187
|
+
--effect-preset-long-reading-vignette-intensity: 0.22; /** Long-reading vignette visibility. */
|
|
188
|
+
--effect-preset-long-reading-vignette-spread: 0.2; /** Long-reading vignette spread. */
|
|
189
|
+
--effect-preset-long-reading-phosphor-bloom-intensity: 0.22; /** Long-reading phosphor halation visibility (applies when the bloom layer is on). */
|
|
190
|
+
--effect-preset-long-reading-phosphor-sampled-tight-radius: 1.6px; /** Long-reading sampled tight glow radius (applies under glowMode="sampled"). */
|
|
191
|
+
--effect-preset-long-reading-phosphor-sampled-tight-intensity: 0.35; /** Long-reading sampled tight glow strength. */
|
|
192
|
+
--effect-preset-long-reading-phosphor-sampled-halo-radius: 4.5px; /** Long-reading sampled halation radius. */
|
|
193
|
+
--effect-preset-long-reading-phosphor-sampled-halo-intensity: 0.22; /** Long-reading sampled halation strength. */
|
|
176
194
|
--effect-web-scanline-line-width: 1px; /** Thin-line width in scanline gradient (web-only — Apple shader uses UV-fraction). */
|
|
177
195
|
--effect-web-scanline-scroll-distance: 12px; /** How far scanline overlay drifts before looping (web-only — Apple uses time-based UV scrolling). */
|
|
178
196
|
--effect-web-flicker-steps: 4; /** CSS steps() discretization (web-only — Apple shader is continuous). */
|
|
179
197
|
--effect-web-flicker-intensity-static: 0.03; /** Non-animated reduced-motion fallback opacity (web-only — Apple uses runtime accessibilityDisplayShouldReduceMotion flag, not a token). */
|
|
198
|
+
--effect-web-flicker-swing: 0.5; /** Flicker keyframe swing as a fraction of effect.flicker.intensity: the opacity runs from intensity × (1 − swing) to intensity × (1 + swing) (web-only). */
|
|
180
199
|
--effect-web-bloom-fade-stop: 0.6; /** CSS radial-gradient stop where bloom transparency begins (web-only — CIBloom has no gradient-stop equivalent). */
|
|
181
200
|
--effect-web-vignette-gradient-extent-x: 120; /** CSS radial-gradient ellipse X size in % (web-only). */
|
|
182
201
|
--effect-web-vignette-gradient-extent-y: 100; /** CSS radial-gradient ellipse Y size in % (web-only). */
|
|
183
202
|
--effect-web-vignette-transition-edge: 0.8; /** Outer-edge gradient stop where deepest vignette begins (web-only). */
|
|
203
|
+
--effect-web-vignette-inner-stop: 0.5; /** Gradient stop where the vignette starts to darken; the screen inside it is untouched (web-only). */
|
|
204
|
+
--effect-web-vignette-glow-blur: 200px; /** Blur of the inset phosphor glow around the screen edge (web-only). */
|
|
205
|
+
--effect-web-mask-stripe-width: 1px; /** Width of one aperture grille stripe; red, green and blue repeat every three stripes (web-only). */
|
|
206
|
+
--effect-web-mask-red: #ff0000; /** Aperture grille red stripe: the phosphor primary, not a palette colour, so themes never remap it (web-only). */
|
|
207
|
+
--effect-web-mask-green: #00ff00; /** Aperture grille green stripe (web-only). */
|
|
208
|
+
--effect-web-mask-blue: #0000ff; /** Aperture grille blue stripe (web-only). */
|
|
184
209
|
--effect-web-power-scale-pre-collapse: 0.95; /** CSS transform: scale() start during power-off (web-only). */
|
|
185
210
|
--effect-web-power-scale-collapse-line: 0.005; /** Thin horizontal line mid-state during collapse (web-only). */
|
|
186
211
|
--effect-web-power-blur-collapse: 2px; /** CSS filter: blur() during collapse (web-only). */
|
|
@@ -188,11 +213,28 @@
|
|
|
188
213
|
--effect-web-power-blur-warmup-mid: 2px; /** Warmup-mid blur (web-only). */
|
|
189
214
|
--effect-web-power-brightness-warmup-start: 0.3; /** Warmup-start CSS filter: brightness() (web-only). */
|
|
190
215
|
--effect-web-power-brightness-warmup-mid: 0.6; /** Warmup-mid brightness (web-only). */
|
|
191
|
-
--effect-web-power-duration-off:
|
|
192
|
-
--effect-web-power-duration-on:
|
|
193
|
-
--
|
|
194
|
-
--
|
|
195
|
-
--
|
|
216
|
+
--effect-web-power-duration-off: 0.4s; /** Web-only power-off animation duration. Apple platforms have own timing curves. */
|
|
217
|
+
--effect-web-power-duration-on: 0.6s; /** Web-only power-on animation duration. */
|
|
218
|
+
--effect-web-power-scale-warmup-line: 0.02; /** Thin horizontal line mid-state during power-on (web-only). */
|
|
219
|
+
--effect-web-power-opacity-warmup-mid: 0.8; /** Power-on mid-state opacity, the phosphor warming up (web-only). */
|
|
220
|
+
--effect-web-power-duration-fade-off: 0.2s; /** Reduced-motion power-off: opacity fade instead of the collapse (web-only). */
|
|
221
|
+
--effect-web-power-duration-fade-on: 0.3s; /** Reduced-motion power-on: opacity fade instead of the warm-up (web-only). */
|
|
222
|
+
--effect-web-boot-panel-duration: 0.3s; /** Raster open: how long the two cover panels take to collapse to their edges. */
|
|
223
|
+
--effect-web-boot-panel-delay: 0.14s; /** Raster open delay after mount, while the ignition line stretches. */
|
|
224
|
+
--effect-web-boot-line-height: 2px; /** Thickness of the ignition line. */
|
|
225
|
+
--effect-web-boot-line-glow-tight-blur: 8px; /** Ignition line inner glow blur. */
|
|
226
|
+
--effect-web-boot-line-glow-tight-spread: 2px; /** Ignition line inner glow spread. */
|
|
227
|
+
--effect-web-boot-line-glow-wide-blur: 28px; /** Ignition line outer glow blur. */
|
|
228
|
+
--effect-web-boot-line-glow-wide-spread: 8px; /** Ignition line outer glow spread. */
|
|
229
|
+
--effect-web-boot-line-duration: 0.42s; /** Ignition line: stretch, hold, fade. */
|
|
230
|
+
--effect-web-boot-glow-duration: 0.65s; /** Warm phosphor wash, the full length of the boot sequence. */
|
|
231
|
+
--effect-web-boot-glow-peak-opacity: 0.55; /** Warm phosphor wash at its peak (times --retro-intensity). */
|
|
232
|
+
--effect-web-boot-glow-extent-x: 80; /** Warm wash radial-gradient ellipse X size in %. */
|
|
233
|
+
--effect-web-boot-glow-extent-y: 60; /** Warm wash radial-gradient ellipse Y size in %. */
|
|
234
|
+
--effect-web-boot-glow-fade-stop: 0.7; /** Warm wash gradient stop where it reaches transparent. */
|
|
235
|
+
--motion-duration-warmup: 0.4s; /** phosphor-warmup — CRT ignition brightness flicker on hover entry. Matches var(--duration-slow) at the Button call site. */
|
|
236
|
+
--motion-duration-energize: 0.15s; /** phosphor-energize — brightness flash on press / check. */
|
|
237
|
+
--motion-duration-blink: 1s; /** blink — cursor / indicator blink cycle (paired with the stepped easing). */
|
|
196
238
|
--motion-easing-warmup: ease-out; /** phosphor-warmup easing. */
|
|
197
239
|
--motion-easing-energize: ease-out; /** phosphor-energize easing (runs forwards). */
|
|
198
240
|
--motion-easing-blink: step-end; /** blink easing — hard step, no interpolation (terminal cursor). */
|
package/tailwind.preset.cjs
CHANGED
|
@@ -111,8 +111,10 @@ const preset = {
|
|
|
111
111
|
},
|
|
112
112
|
"fontFamily": {
|
|
113
113
|
"dos": [
|
|
114
|
-
"\"Perfect DOS VGA 437\""
|
|
115
|
-
|
|
114
|
+
"var(--typography-font-family-primary, \"Perfect DOS VGA 437\", monospace)"
|
|
115
|
+
],
|
|
116
|
+
"dos-heading": [
|
|
117
|
+
"var(--typography-font-family-heading, \"Perfect DOS VGA 437\", monospace)"
|
|
116
118
|
],
|
|
117
119
|
"dos-body": [
|
|
118
120
|
"\"JetBrains Mono Nerd Font\"",
|