@skaile/brand 0.4.0 → 0.4.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/css/theme.css +23 -17
- package/src/tokens.json +4 -4
package/package.json
CHANGED
package/src/css/theme.css
CHANGED
|
@@ -25,18 +25,20 @@
|
|
|
25
25
|
--color-scheme: light;
|
|
26
26
|
|
|
27
27
|
/* Core palette */
|
|
28
|
-
/*
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
/* Light lifts its panels off the page; dark sets them into it. The two
|
|
29
|
+
directions are deliberate and were chosen against renders of both: on a
|
|
30
|
+
dark ground a panel reads as a recess, on a light one it reads as a card,
|
|
31
|
+
and forcing one rule onto both gave light a set of grey wells. What the
|
|
32
|
+
themes do share is temperature — every grey here has zero saturation, as
|
|
33
|
+
the platform's dark design does. */
|
|
34
|
+
--background: hsl(0 0% 94%);
|
|
34
35
|
--foreground: hsl(0 0% 11%);
|
|
35
|
-
--card: hsl(0 0%
|
|
36
|
+
--card: hsl(0 0% 100%);
|
|
36
37
|
--card-foreground: hsl(0 0% 11%);
|
|
37
|
-
/* Level with the
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
/* Level with the panel, not with the page: a popover floats above the page,
|
|
39
|
+
so it takes the panel's surface. Card and popover being the same white is
|
|
40
|
+
deliberate and is what stock shadcn light does — not one of them left
|
|
41
|
+
un-bumped. */
|
|
40
42
|
--popover: hsl(0 0% 100%);
|
|
41
43
|
--popover-foreground: hsl(0 0% 11%);
|
|
42
44
|
--primary: hsl(267 100% 50%);
|
|
@@ -55,12 +57,16 @@
|
|
|
55
57
|
--border: hsl(0 0% 86%);
|
|
56
58
|
--input: hsl(0 0% 86%);
|
|
57
59
|
--ring: hsl(267 100% 50%);
|
|
58
|
-
/* Below the
|
|
59
|
-
|
|
60
|
+
/* Below the page, so an active tab rises out of the strip and meets the
|
|
61
|
+
panel it belongs to. */
|
|
60
62
|
--tab-bar: hsl(0 0% 89%);
|
|
61
63
|
/* The surface a panel's own content sinks into — the file viewer beside the
|
|
62
|
-
tree.
|
|
63
|
-
|
|
64
|
+
tree. One step below the panel, which here leaves it between the panel and
|
|
65
|
+
the page rather than below both, as in dark.
|
|
66
|
+
It happens to share 96% with --secondary/--muted/--accent above. That is a
|
|
67
|
+
coincidence of this ramp, not a coupling: those three style UI elements,
|
|
68
|
+
this one is a depth. Moving it need not move them. */
|
|
69
|
+
--surface-sunken: hsl(0 0% 96%);
|
|
64
70
|
|
|
65
71
|
/* Skaile-specific */
|
|
66
72
|
--color-success: hsl(161.4 93.5% 30.4%);
|
|
@@ -69,7 +75,7 @@
|
|
|
69
75
|
--color-warning-foreground: hsl(0 0% 11%);
|
|
70
76
|
--color-ai-accent: hsl(37.7 92.1% 50.2%);
|
|
71
77
|
--color-primary-bright: hsl(267 100% 63%);
|
|
72
|
-
--color-surface: hsl(0 0%
|
|
78
|
+
--color-surface: hsl(0 0% 100%);
|
|
73
79
|
|
|
74
80
|
/* Chart palette */
|
|
75
81
|
--chart-1: hsl(267 100% 50%);
|
|
@@ -80,8 +86,8 @@
|
|
|
80
86
|
|
|
81
87
|
/* Sidebar */
|
|
82
88
|
/* Tied to the page, as dark ties it. The sidebar is chrome, not a panel, so
|
|
83
|
-
it takes the ground the panels sit
|
|
84
|
-
--sidebar: hsl(0 0%
|
|
89
|
+
it takes the ground the panels sit on. */
|
|
90
|
+
--sidebar: hsl(0 0% 94%);
|
|
85
91
|
--sidebar-foreground: hsl(0 0% 11%);
|
|
86
92
|
--sidebar-primary: hsl(267 100% 50%);
|
|
87
93
|
--sidebar-primary-foreground: hsl(0 0% 100%);
|
package/src/tokens.json
CHANGED
|
@@ -34,15 +34,15 @@
|
|
|
34
34
|
"text-dim": "#777777"
|
|
35
35
|
},
|
|
36
36
|
"platform-light": {
|
|
37
|
-
"background": "hsl(0 0%
|
|
37
|
+
"background": "hsl(0 0% 94%)",
|
|
38
38
|
"tab-bar": "hsl(0 0% 89%)",
|
|
39
|
-
"card": "hsl(0 0%
|
|
39
|
+
"card": "hsl(0 0% 100%)",
|
|
40
40
|
"popover": "hsl(0 0% 100%)",
|
|
41
|
-
"surface": "hsl(0 0%
|
|
41
|
+
"surface": "hsl(0 0% 100%)",
|
|
42
42
|
"secondary": "hsl(0 0% 96%)",
|
|
43
43
|
"muted": "hsl(0 0% 96%)",
|
|
44
44
|
"accent": "hsl(0 0% 96%)",
|
|
45
|
-
"surface-sunken": "hsl(0 0%
|
|
45
|
+
"surface-sunken": "hsl(0 0% 96%)",
|
|
46
46
|
"foreground": "hsl(0 0% 11%)",
|
|
47
47
|
"muted-foreground": "hsl(0 0% 40%)",
|
|
48
48
|
"border": "hsl(0 0% 86%)",
|