eidotter 0.46.1 → 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/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 +100 -98
- package/dist/eidotter.css +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.es.js +689 -599
- package/dist/index.umd.js +1 -1
- 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 +9 -3
- package/src/styles/dos-utilities.css +13 -3
- package/src/styles/shadcn.css +37 -2
- package/src/styles/theme.amber-paper.css +5 -1
- package/src/styles/theme.dos-86.css +79 -0
- package/src/styles/{theme.amber-mono.css → theme.pure-amber.css} +1 -1
- package/src/styles/tokens.css +44 -2
- package/tailwind.preset.cjs +4 -2
package/src/styles/tokens.css
CHANGED
|
@@ -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) */
|
|
@@ -166,21 +167,45 @@
|
|
|
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
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
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). */
|
|
@@ -190,6 +215,23 @@
|
|
|
190
215
|
--effect-web-power-brightness-warmup-mid: 0.6; /** Warmup-mid brightness (web-only). */
|
|
191
216
|
--effect-web-power-duration-off: 0.4s; /** Web-only power-off animation duration. Apple platforms have own timing curves. */
|
|
192
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. */
|
|
193
235
|
--motion-duration-warmup: 0.4s; /** phosphor-warmup — CRT ignition brightness flicker on hover entry. Matches var(--duration-slow) at the Button call site. */
|
|
194
236
|
--motion-duration-energize: 0.15s; /** phosphor-energize — brightness flash on press / check. */
|
|
195
237
|
--motion-duration-blink: 1s; /** blink — cursor / indicator blink cycle (paired with the stepped easing). */
|
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\"",
|