eidotter 0.32.0 → 0.33.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/package.json +2 -1
- package/src/styles/shadcn.css +35 -0
- package/src/styles/theme.light.css +88 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eidotter",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A DOS Themed Design System",
|
|
6
6
|
"main": "./dist/index.umd.js",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"./themes/cga-mode4-p0.css": "./src/styles/theme.cga-mode4-p0.css",
|
|
33
33
|
"./themes/cga-mode4-p1.css": "./src/styles/theme.cga-mode4-p1.css",
|
|
34
34
|
"./themes/cga-mode5.css": "./src/styles/theme.cga-mode5.css",
|
|
35
|
+
"./themes/light.css": "./src/styles/theme.light.css",
|
|
35
36
|
"./icons": {
|
|
36
37
|
"types": "./dist/icons/published.d.ts",
|
|
37
38
|
"import": "./dist/icons/published.js"
|
package/src/styles/shadcn.css
CHANGED
|
@@ -221,3 +221,38 @@
|
|
|
221
221
|
--chart-4: 180 100% 50%;
|
|
222
222
|
--chart-5: 38 100% 98%;
|
|
223
223
|
}
|
|
224
|
+
|
|
225
|
+
[data-theme="light"], .theme-light {
|
|
226
|
+
--background: 40 37% 97%;
|
|
227
|
+
--foreground: 33 17% 10%;
|
|
228
|
+
--card: 42 30% 92%;
|
|
229
|
+
--card-foreground: 33 17% 10%;
|
|
230
|
+
--popover: 42 30% 92%;
|
|
231
|
+
--popover-foreground: 33 17% 10%;
|
|
232
|
+
--primary: 41 100% 50%;
|
|
233
|
+
--primary-foreground: 33 17% 10%;
|
|
234
|
+
--secondary: 41 25% 87%;
|
|
235
|
+
--secondary-foreground: 33 17% 10%;
|
|
236
|
+
--muted: 42 30% 92%;
|
|
237
|
+
--muted-foreground: 39 8% 40%;
|
|
238
|
+
--accent: 41 100% 50%;
|
|
239
|
+
--accent-foreground: 33 17% 10%;
|
|
240
|
+
--destructive: 0 100% 33%;
|
|
241
|
+
--destructive-foreground: 0 0% 100%;
|
|
242
|
+
--border: 40 18% 80%;
|
|
243
|
+
--input: 40 18% 80%;
|
|
244
|
+
--ring: 34 100% 30%;
|
|
245
|
+
--sidebar: 40 37% 97%;
|
|
246
|
+
--sidebar-foreground: 33 17% 10%;
|
|
247
|
+
--sidebar-primary: 41 100% 50%;
|
|
248
|
+
--sidebar-primary-foreground: 33 17% 10%;
|
|
249
|
+
--sidebar-accent: 42 30% 92%;
|
|
250
|
+
--sidebar-accent-foreground: 33 17% 10%;
|
|
251
|
+
--sidebar-border: 40 18% 80%;
|
|
252
|
+
--sidebar-ring: 34 100% 30%;
|
|
253
|
+
--chart-1: 41 100% 50%;
|
|
254
|
+
--chart-2: 39 8% 40%;
|
|
255
|
+
--chart-3: 34 100% 30%;
|
|
256
|
+
--chart-4: 41 100% 50%;
|
|
257
|
+
--chart-5: 33 17% 10%;
|
|
258
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
[data-theme="light"], .theme-light {
|
|
6
|
+
--color-cga-black: #020003; /** Amber monochrome - darkest */
|
|
7
|
+
--color-cga-blue: #2c1203; /** Amber monochrome */
|
|
8
|
+
--color-cga-green: #411f06; /** Amber monochrome */
|
|
9
|
+
--color-cga-cyan: #552d0a; /** Amber monochrome */
|
|
10
|
+
--color-cga-red: #65360c; /** Amber monochrome */
|
|
11
|
+
--color-cga-magenta: #713e0d; /** Amber monochrome */
|
|
12
|
+
--color-cga-brown: #5f340e; /** Amber monochrome */
|
|
13
|
+
--color-cga-light-gray: #b87c1a; /** Amber monochrome */
|
|
14
|
+
--color-cga-dark-gray: #010103; /** Amber monochrome - near black */
|
|
15
|
+
--color-cga-bright-blue: #c38a23; /** Amber monochrome */
|
|
16
|
+
--color-cga-bright-green: #cb9529; /** Amber monochrome */
|
|
17
|
+
--color-cga-bright-cyan: #d4a030; /** Amber monochrome */
|
|
18
|
+
--color-cga-bright-red: #dca934; /** Amber monochrome */
|
|
19
|
+
--color-cga-bright-magenta: #ddb030; /** Amber monochrome */
|
|
20
|
+
--color-cga-yellow: #e5b936; /** Amber monochrome - accent */
|
|
21
|
+
--color-cga-white: #ba8225; /** Amber monochrome */
|
|
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.5); /** Amber glow at 50% opacity */
|
|
26
|
+
--color-cga-red-glow: rgba(255, 85, 85, 0.5); /** Red glow at 50% opacity */
|
|
27
|
+
--color-cga-green-glow: rgba(85, 255, 85, 0.5); /** Green glow at 50% opacity */
|
|
28
|
+
--color-cga-cyan-glow: rgba(85, 255, 255, 0.5); /** Cyan glow at 50% opacity */
|
|
29
|
+
--color-cga-magenta-glow: rgba(255, 85, 255, 0.5); /** Magenta glow at 50% opacity */
|
|
30
|
+
--color-cga-blue-glow: rgba(85, 85, 255, 0.5); /** Blue glow at 50% opacity */
|
|
31
|
+
--color-cga-white-glow: rgba(255, 245, 224, 0.5); /** 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-primary: #1f1b16; /** Warm near-black body text (~13:1 on bg.primary). */
|
|
44
|
+
--color-semantic-text-secondary: #1f1b16; /** Dark text for amber/light fills. */
|
|
45
|
+
--color-semantic-text-accent: #9a5700; /** Deep-amber accent text (readable on light, ~5:1). */
|
|
46
|
+
--color-semantic-text-disabled: #a8a096; /** Disabled text/icon. */
|
|
47
|
+
--color-semantic-text-muted: #6e685d; /** Muted supplementary text (~5.5:1 on bg.primary). */
|
|
48
|
+
--color-semantic-text-tertiary: #6e685d; /** Third-emphasis text; same as muted on light. */
|
|
49
|
+
--color-semantic-text-brand: #9a5700; /** Brand-amber TEXT on light — darkened to amberDim range; phosphor #FFB000 fails AA on white (~1.9:1), this is ~5:1. */
|
|
50
|
+
--color-semantic-text-brand-bright: #7a4500; /** Brand emphasis text (hover/active peaks) on light — darker still. */
|
|
51
|
+
--color-semantic-text-on-brand: #1f1b16; /** Text/icon on an amber brand fill (dark on amber). */
|
|
52
|
+
--color-semantic-text-error: #aa0000; /** Honest red error text (~5.9:1 on white). */
|
|
53
|
+
--color-semantic-text-warning: #8a5a00; /** Amber/brown warning text, readable on light. */
|
|
54
|
+
--color-semantic-text-success: #007a00; /** Green success text, darkened for AA on white. */
|
|
55
|
+
--color-semantic-text-info: #006688; /** Cyan/blue info text, darkened for AA on white. */
|
|
56
|
+
--color-semantic-text-white: #ffffff; /** Light foreground for dark/functional fills (white-on-red, etc.). */
|
|
57
|
+
--color-semantic-background-primary: #faf8f4; /** Warm near-white page surface. */
|
|
58
|
+
--color-semantic-background-secondary: #f0ece3; /** Card/raised surface. */
|
|
59
|
+
--color-semantic-background-tertiary: #e7e2d7; /** Third surface level. */
|
|
60
|
+
--color-semantic-background-accent: #ffb000; /** Amber accent fill — pair with dark on-brand text. */
|
|
61
|
+
--color-semantic-background-brand: #ffb000; /** Amber brand fill (e.g. primary button) — pair with text.onBrand. */
|
|
62
|
+
--color-semantic-background-brand-bright: #e09a00; /** Brand emphasis fill (hover/active) — a deeper amber so it reads against amber on light. */
|
|
63
|
+
--color-semantic-background-brand-dim: #fbefd3; /** Dim amber surface (low-emphasis fills/headers) on light. */
|
|
64
|
+
--color-semantic-background-error: #aa0000; /** Honest red fill — pair with white foreground. */
|
|
65
|
+
--color-semantic-background-success: #007a00; /** Green fill — pair with white foreground. */
|
|
66
|
+
--color-semantic-border-default: #d6d0c4; /** Default light warm-gray border. */
|
|
67
|
+
--color-semantic-border-focus: #9a5700; /** Focus ring — deep amber, visible on light. */
|
|
68
|
+
--color-semantic-border-hover: #b6ae9f; /** Hover border emphasis. */
|
|
69
|
+
--color-semantic-border-disabled: #e2dcd1; /** Disabled border. */
|
|
70
|
+
--color-semantic-border-brand: #cc8a00; /** Amber brand border on light. */
|
|
71
|
+
--color-semantic-border-brand-bright: #9a5700; /** Brand emphasis border (hover/active/selected). */
|
|
72
|
+
--color-semantic-border-brand-dim: #e8d9b5; /** Dim amber border. */
|
|
73
|
+
--color-semantic-border-error: #aa0000; /** Honest red border. */
|
|
74
|
+
--color-semantic-border-success: #007a00; /** Green border. */
|
|
75
|
+
--color-semantic-link-default: #006688; /** Link — darkened cyan/blue, AA on white. */
|
|
76
|
+
--color-semantic-link-hover: #004c66; /** Link hover. */
|
|
77
|
+
--color-semantic-link-active: #9a5700; /** Link active — amber. */
|
|
78
|
+
--color-semantic-link-visited: #7a3cc0; /** Visited — violet (matches the AI-marker light gradient). */
|
|
79
|
+
--color-semantic-status-success: #007a00; /** Status success (AA on white). */
|
|
80
|
+
--color-semantic-status-warning: #8a5a00; /** Status warning (amber/brown on light). */
|
|
81
|
+
--color-semantic-status-error: #aa0000; /** Status error. */
|
|
82
|
+
--color-semantic-status-info: #006688; /** Status info. */
|
|
83
|
+
--color-semantic-alert-info: #e6f0f5; /** Light info alert surface. */
|
|
84
|
+
--color-semantic-alert-success: #e7f2e7; /** Light success alert surface. */
|
|
85
|
+
--color-semantic-alert-warning: #fbf0d6; /** Light warning alert surface. */
|
|
86
|
+
--color-semantic-alert-error: #fbe7e7; /** Light error alert surface. */
|
|
87
|
+
--color-semantic-glow-error: rgba(170, 0, 0, 0.35); /** Subtle red error glow on light. */
|
|
88
|
+
}
|