@nsaa/tokens 0.1.0-alpha.0 → 0.1.0-alpha.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 +1 -1
- package/src/shadcn.json +38 -38
package/package.json
CHANGED
package/src/shadcn.json
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$description": "shadcn/ui base colour 'neutral' (cssVarsV4) and radius, copied 1:1 from ui.shadcn.com/r/colors/neutral.json on 2026-10-28 (MIT). Decision #84: every component mimics shadcn base-nova 1:1 until the Nsaa feel layer is added. Emitted as plain shadcn variables (--background, --primary, ...) plus --nsaa-shadcn-* copies.",
|
|
3
|
-
"style": "base-nova",
|
|
4
|
-
"$changes": "Light destructive L 0.577 -> 0.565 (#96): shadcn's text-destructive/90 on white is 4.496:1; #E30002 gives 4.67:1, white text on it 4.92:1. Then 0.565 -> 0.52 (#120, browser axe): text-destructive on bg-destructive/10 (destructive Button and Badge) was 4.12:1; #D20000 gives 4.68:1, white on it 5.6:1. Light muted-foreground L 0.556 -> 0.54 (#105): shadcn's 4.34:1 on muted becomes 4.64:1 (5.06:1 on white). Everything else 1:1.",
|
|
5
|
-
"radius": "0.625rem",
|
|
6
|
-
"light": {
|
|
7
|
-
"background": "oklch(1 0 0)", "foreground": "oklch(0.145 0 0)",
|
|
8
|
-
"card": "oklch(1 0 0)", "card-foreground": "oklch(0.145 0 0)",
|
|
9
|
-
"popover": "oklch(1 0 0)", "popover-foreground": "oklch(0.145 0 0)",
|
|
10
|
-
"primary": "oklch(0.205 0 0)", "primary-foreground": "oklch(0.985 0 0)",
|
|
11
|
-
"secondary": "oklch(0.97 0 0)", "secondary-foreground": "oklch(0.205 0 0)",
|
|
12
|
-
"muted": "oklch(0.97 0 0)", "muted-foreground": "oklch(0.54 0 0)",
|
|
13
|
-
"accent": "oklch(0.97 0 0)", "accent-foreground": "oklch(0.205 0 0)",
|
|
14
|
-
"destructive": "oklch(0.52 0.245 27.325)",
|
|
15
|
-
"border": "oklch(0.922 0 0)", "input": "oklch(0.922 0 0)", "ring": "oklch(0.708 0 0)",
|
|
16
|
-
"chart-1": "oklch(0.87 0 0)", "chart-2": "oklch(0.556 0 0)", "chart-3": "oklch(0.439 0 0)", "chart-4": "oklch(0.371 0 0)", "chart-5": "oklch(0.269 0 0)",
|
|
17
|
-
"sidebar": "oklch(0.985 0 0)", "sidebar-foreground": "oklch(0.145 0 0)",
|
|
18
|
-
"sidebar-primary": "oklch(0.205 0 0)", "sidebar-primary-foreground": "oklch(0.985 0 0)",
|
|
19
|
-
"sidebar-accent": "oklch(0.97 0 0)", "sidebar-accent-foreground": "oklch(0.205 0 0)",
|
|
20
|
-
"sidebar-border": "oklch(0.922 0 0)", "sidebar-ring": "oklch(0.708 0 0)"
|
|
21
|
-
},
|
|
22
|
-
"dark": {
|
|
23
|
-
"background": "oklch(0.145 0 0)", "foreground": "oklch(0.985 0 0)",
|
|
24
|
-
"card": "oklch(0.205 0 0)", "card-foreground": "oklch(0.985 0 0)",
|
|
25
|
-
"popover": "oklch(0.205 0 0)", "popover-foreground": "oklch(0.985 0 0)",
|
|
26
|
-
"primary": "oklch(0.922 0 0)", "primary-foreground": "oklch(0.205 0 0)",
|
|
27
|
-
"secondary": "oklch(0.269 0 0)", "secondary-foreground": "oklch(0.985 0 0)",
|
|
28
|
-
"muted": "oklch(0.269 0 0)", "muted-foreground": "oklch(0.708 0 0)",
|
|
29
|
-
"accent": "oklch(0.269 0 0)", "accent-foreground": "oklch(0.985 0 0)",
|
|
30
|
-
"destructive": "oklch(0.704 0.191 22.216)",
|
|
31
|
-
"border": "oklch(1 0 0 / 10%)", "input": "oklch(1 0 0 / 15%)", "ring": "oklch(0.556 0 0)",
|
|
32
|
-
"chart-1": "oklch(0.87 0 0)", "chart-2": "oklch(0.556 0 0)", "chart-3": "oklch(0.439 0 0)", "chart-4": "oklch(0.371 0 0)", "chart-5": "oklch(0.269 0 0)",
|
|
33
|
-
"sidebar": "oklch(0.205 0 0)", "sidebar-foreground": "oklch(0.985 0 0)",
|
|
34
|
-
"sidebar-primary": "oklch(0.488 0.243 264.376)", "sidebar-primary-foreground": "oklch(0.985 0 0)",
|
|
35
|
-
"sidebar-accent": "oklch(0.269 0 0)", "sidebar-accent-foreground": "oklch(0.985 0 0)",
|
|
36
|
-
"sidebar-border": "oklch(1 0 0 / 10%)", "sidebar-ring": "oklch(0.556 0 0)"
|
|
37
|
-
}
|
|
38
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$description": "shadcn/ui base colour 'neutral' (cssVarsV4) and radius, copied 1:1 from ui.shadcn.com/r/colors/neutral.json on 2026-10-28 (MIT). Decision #84: every component mimics shadcn base-nova 1:1 until the Nsaa feel layer is added. Emitted as plain shadcn variables (--background, --primary, ...) plus --nsaa-shadcn-* copies.",
|
|
3
|
+
"style": "base-nova",
|
|
4
|
+
"$changes": "Light destructive L 0.577 -> 0.565 (#96): shadcn's text-destructive/90 on white is 4.496:1; #E30002 gives 4.67:1, white text on it 4.92:1. Then 0.565 -> 0.52 (#120, browser axe): text-destructive on bg-destructive/10 (destructive Button and Badge) was 4.12:1; #D20000 gives 4.68:1, white on it 5.6:1. Light muted-foreground L 0.556 -> 0.54 (#105): shadcn's 4.34:1 on muted becomes 4.64:1 (5.06:1 on white). Everything else 1:1.",
|
|
5
|
+
"radius": "0.625rem",
|
|
6
|
+
"light": {
|
|
7
|
+
"background": "oklch(1 0 0)", "foreground": "oklch(0.145 0 0)",
|
|
8
|
+
"card": "oklch(1 0 0)", "card-foreground": "oklch(0.145 0 0)",
|
|
9
|
+
"popover": "oklch(1 0 0)", "popover-foreground": "oklch(0.145 0 0)",
|
|
10
|
+
"primary": "oklch(0.205 0 0)", "primary-foreground": "oklch(0.985 0 0)",
|
|
11
|
+
"secondary": "oklch(0.97 0 0)", "secondary-foreground": "oklch(0.205 0 0)",
|
|
12
|
+
"muted": "oklch(0.97 0 0)", "muted-foreground": "oklch(0.54 0 0)",
|
|
13
|
+
"accent": "oklch(0.97 0 0)", "accent-foreground": "oklch(0.205 0 0)",
|
|
14
|
+
"destructive": "oklch(0.52 0.245 27.325)",
|
|
15
|
+
"border": "oklch(0.922 0 0)", "input": "oklch(0.922 0 0)", "ring": "oklch(0.708 0 0)",
|
|
16
|
+
"chart-1": "oklch(0.87 0 0)", "chart-2": "oklch(0.556 0 0)", "chart-3": "oklch(0.439 0 0)", "chart-4": "oklch(0.371 0 0)", "chart-5": "oklch(0.269 0 0)",
|
|
17
|
+
"sidebar": "oklch(0.985 0 0)", "sidebar-foreground": "oklch(0.145 0 0)",
|
|
18
|
+
"sidebar-primary": "oklch(0.205 0 0)", "sidebar-primary-foreground": "oklch(0.985 0 0)",
|
|
19
|
+
"sidebar-accent": "oklch(0.97 0 0)", "sidebar-accent-foreground": "oklch(0.205 0 0)",
|
|
20
|
+
"sidebar-border": "oklch(0.922 0 0)", "sidebar-ring": "oklch(0.708 0 0)"
|
|
21
|
+
},
|
|
22
|
+
"dark": {
|
|
23
|
+
"background": "oklch(0.145 0 0)", "foreground": "oklch(0.985 0 0)",
|
|
24
|
+
"card": "oklch(0.205 0 0)", "card-foreground": "oklch(0.985 0 0)",
|
|
25
|
+
"popover": "oklch(0.205 0 0)", "popover-foreground": "oklch(0.985 0 0)",
|
|
26
|
+
"primary": "oklch(0.922 0 0)", "primary-foreground": "oklch(0.205 0 0)",
|
|
27
|
+
"secondary": "oklch(0.269 0 0)", "secondary-foreground": "oklch(0.985 0 0)",
|
|
28
|
+
"muted": "oklch(0.269 0 0)", "muted-foreground": "oklch(0.708 0 0)",
|
|
29
|
+
"accent": "oklch(0.269 0 0)", "accent-foreground": "oklch(0.985 0 0)",
|
|
30
|
+
"destructive": "oklch(0.704 0.191 22.216)",
|
|
31
|
+
"border": "oklch(1 0 0 / 10%)", "input": "oklch(1 0 0 / 15%)", "ring": "oklch(0.556 0 0)",
|
|
32
|
+
"chart-1": "oklch(0.87 0 0)", "chart-2": "oklch(0.556 0 0)", "chart-3": "oklch(0.439 0 0)", "chart-4": "oklch(0.371 0 0)", "chart-5": "oklch(0.269 0 0)",
|
|
33
|
+
"sidebar": "oklch(0.205 0 0)", "sidebar-foreground": "oklch(0.985 0 0)",
|
|
34
|
+
"sidebar-primary": "oklch(0.488 0.243 264.376)", "sidebar-primary-foreground": "oklch(0.985 0 0)",
|
|
35
|
+
"sidebar-accent": "oklch(0.269 0 0)", "sidebar-accent-foreground": "oklch(0.985 0 0)",
|
|
36
|
+
"sidebar-border": "oklch(1 0 0 / 10%)", "sidebar-ring": "oklch(0.556 0 0)"
|
|
37
|
+
}
|
|
38
|
+
}
|