@ponchia/ui 0.6.3 → 0.6.4

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ponchia/ui",
3
- "version": "0.6.3",
3
+ "version": "0.6.4",
4
4
  "type": "module",
5
5
  "description": "CSS-first design system for interfaces that explain themselves — works in HTML, every framework, and PDF, no component runtime. A standard component set plus an opt-in analytical & report layer (annotations, legends, connectors, data-viz, report grammar). Monochrome with one rationed accent, re-skinnable from one --accent knob. Zero runtime dependencies.",
6
6
  "keywords": [
@@ -65,6 +65,8 @@
65
65
  "docs/stability.md",
66
66
  "docs/usage.md",
67
67
  "docs/reporting.md",
68
+ "docs/dots.md",
69
+ "docs/glyphs.md",
68
70
  "docs/mermaid.md",
69
71
  "docs/d2.md",
70
72
  "docs/vega.md",
@@ -291,6 +293,8 @@
291
293
  "./docs/stability.md": "./docs/stability.md",
292
294
  "./docs/usage.md": "./docs/usage.md",
293
295
  "./docs/reporting.md": "./docs/reporting.md",
296
+ "./docs/dots.md": "./docs/dots.md",
297
+ "./docs/glyphs.md": "./docs/glyphs.md",
294
298
  "./docs/mermaid.md": "./docs/mermaid.md",
295
299
  "./docs/d2.md": "./docs/d2.md",
296
300
  "./docs/vega.md": "./docs/vega.md",
package/tokens/skins.js CHANGED
@@ -38,22 +38,35 @@ export const skins = {
38
38
  'amber-crt': {
39
39
  label: 'Amber CRT',
40
40
  // Phosphor amber. Dark+saturated in light theme (AA under a white label),
41
- // bright with a warm bloom in dark theme (the classic CRT glow).
42
- light: { '--accent': 'oklch(52% 0.11 67deg)' },
43
- dark: { '--accent': 'oklch(82% 0.15 82deg)', '--dotmatrix-glow': '0.4em' },
41
+ // bright with a warm bloom in dark theme (the classic CRT glow). The glow
42
+ // and a deeper --pulse breath (`--dotmatrix-pulse-min`) are the Tier-3
43
+ // "display expression" knobs the colorway is allowed to re-point.
44
+ light: { '--accent': 'oklch(52% 0.11 67deg)', '--dotmatrix-pulse-min': '0.35' },
45
+ dark: {
46
+ '--accent': 'oklch(82% 0.15 82deg)',
47
+ '--dotmatrix-glow': '0.4em',
48
+ '--dotmatrix-pulse-min': '0.3',
49
+ },
44
50
  },
45
51
  'phosphor-green': {
46
52
  label: 'Phosphor Green',
47
- // P1-phosphor green. Same light=dark-ink / dark=bright-glow split.
48
- light: { '--accent': 'oklch(52% 0.13 150deg)' },
49
- dark: { '--accent': 'oklch(84% 0.19 150deg)', '--dotmatrix-glow': '0.4em' },
53
+ // P1-phosphor green. Same light=dark-ink / dark=bright-glow split, with the
54
+ // same deeper phosphor breath as Amber CRT.
55
+ light: { '--accent': 'oklch(52% 0.13 150deg)', '--dotmatrix-pulse-min': '0.35' },
56
+ dark: {
57
+ '--accent': 'oklch(84% 0.19 150deg)',
58
+ '--dotmatrix-glow': '0.4em',
59
+ '--dotmatrix-pulse-min': '0.3',
60
+ },
50
61
  },
51
62
  'e-ink': {
52
63
  label: 'E-ink',
53
64
  // The opposite move: drop the hue almost entirely → a near-monochrome
54
- // ink/paper accent, no glow. The most restrained look in the set.
55
- light: { '--accent': 'oklch(34% 0.012 250deg)' },
56
- dark: { '--accent': 'oklch(84% 0.008 250deg)' },
65
+ // ink/paper accent, no glow. The most restrained look in the set — and the
66
+ // --reveal scan snaps on instantly (`--dotmatrix-reveal-step: 0ms`), since
67
+ // e-ink panels don't sweep, they flip.
68
+ light: { '--accent': 'oklch(34% 0.012 250deg)', '--dotmatrix-reveal-step': '0ms' },
69
+ dark: { '--accent': 'oklch(84% 0.008 250deg)', '--dotmatrix-reveal-step': '0ms' },
57
70
  },
58
71
  };
59
72