@akcelik/strct 2.0.0 → 2.0.1

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": "@akcelik/strct",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "UIStruct — a standalone Angular component library with a tokenised, multi-palette theme system, built for datacenter / infrastructure management UIs.",
5
5
  "author": "Serkan Akcelik <serkan.akcelik@gmail.com>",
6
6
  "license": "MIT",
@@ -30,7 +30,10 @@
30
30
  // Stacking ladder + overlay backdrop: scheme-independent, so they live on
31
31
  // :root instead of the per-scheme blocks. Values preserve the historical
32
32
  // hard-coded stacking order; components derive sub-layers with calc() offsets.
33
+ // Typography lives here too — fonts are palette- and theme-independent.
33
34
  :root {
35
+ --font: 'DM Sans', -apple-system, system-ui, sans-serif;
36
+ --mono: 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;
34
37
  --backdrop: rgba(0, 0, 0, 0.5);
35
38
  --z-base: 1;
36
39
  --z-raised: 5;
@@ -45,8 +48,6 @@
45
48
  }
46
49
 
47
50
  [data-palette='arctic'][data-theme='dark'] {
48
- --font: 'DM Sans', -apple-system, system-ui, sans-serif;
49
- --mono: 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;
50
51
  --bg-0: #0e1015;
51
52
  /* Categorical data palette (FR-CHART-15): fixed slot order per palette
52
53
  (the CVD-safety mechanism), slot 1 tracks the accent hue at data-grade