@rcnr/theme 4.0.2 → 4.0.3

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.
Files changed (2) hide show
  1. package/index.css +10 -10
  2. package/package.json +1 -1
package/index.css CHANGED
@@ -20,21 +20,21 @@
20
20
  --font-sans: "Geist", ui-sans-serif, system-ui, sans-serif;
21
21
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;
22
22
 
23
- --color-brand: #7ec8c8;
24
- --color-brand-dark: #5a9ea5;
25
- --color-brand-glow: rgba(126, 200, 200, 0.15);
23
+ /* Theme-aware: these reference CSS vars that change in [data-theme="light"] */
24
+ --color-brand: var(--rcnr-accent);
25
+ --color-brand-dark: var(--rcnr-accent-muted);
26
+ --color-brand-glow: var(--rcnr-accent-dim);
26
27
 
27
- --color-amber: #E8B84D;
28
- --color-amber-hover: #F0C870;
28
+ --color-amber: var(--rcnr-cta);
29
+ --color-amber-hover: var(--rcnr-cta-hover);
29
30
 
30
31
  --color-rose: #FB7185;
31
32
 
32
- --color-surface: #1c2028;
33
- --color-surface-light: #22262f;
34
- --color-surface-lighter: #2c3340;
35
- --color-midnight: #111418;
33
+ --color-surface: var(--rcnr-surface);
34
+ --color-surface-light: var(--rcnr-surface2);
35
+ --color-surface-lighter: var(--rcnr-border);
36
+ --color-midnight: var(--rcnr-bg);
36
37
 
37
- /* Theme-aware text utilities: text-fg, text-fg-muted, text-fg-dim */
38
38
  --color-fg: var(--rcnr-text);
39
39
  --color-fg-muted: var(--rcnr-text2);
40
40
  --color-fg-dim: var(--rcnr-text3);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rcnr/theme",
3
- "version": "4.0.2",
3
+ "version": "4.0.3",
4
4
  "description": "RCNR design system: CSS tokens, shared React components (header, footer, subnav), glass cards, buttons, grid",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",