@skaile/brand 0.1.0 → 0.3.0

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,10 +1,12 @@
1
1
  {
2
2
  "name": "@skaile/brand",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
4
  "description": "Skaile brand: design tokens, CSS custom properties, Tailwind preset, and brand assets",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
7
- "publishConfig": { "access": "public" },
7
+ "publishConfig": {
8
+ "access": "public"
9
+ },
8
10
  "exports": {
9
11
  ".": "./src/index.ts",
10
12
  "./tokens": "./src/tokens.json",
@@ -13,12 +15,21 @@
13
15
  "./tailwind-preset": "./src/tailwind-preset.ts",
14
16
  "./assets/*": "./assets/*"
15
17
  },
16
- "files": ["src", "assets", "!src/**/*.test.ts"],
18
+ "files": [
19
+ "src",
20
+ "assets",
21
+ "!src/**/*.test.ts"
22
+ ],
17
23
  "scripts": {
18
24
  "typecheck": "tsc --noEmit",
19
- "test": "vitest run"
25
+ "test": "vitest run",
26
+ "changeset": "changeset",
27
+ "version": "changeset version",
28
+ "release": "changeset publish"
20
29
  },
21
30
  "devDependencies": {
31
+ "@changesets/changelog-github": "^0.7.0",
32
+ "@changesets/cli": "^2.27.0",
22
33
  "typescript": "^5.9.3",
23
34
  "vitest": "^3.2.4"
24
35
  }
package/src/css/brand.css CHANGED
@@ -21,9 +21,7 @@
21
21
  --color-text-muted: #a1a1aa;
22
22
  --color-text-dim: #777777;
23
23
 
24
- /* brand — signature orange → magenta → purple gradient */
25
- --color-brand-orange: #ff5d01;
26
- --color-brand-pink: #d8377e;
24
+ /* brand — mono-violet on dark */
27
25
  --color-brand: #7300ff;
28
26
  --color-brand-purple: #1b1a3f;
29
27
 
@@ -62,18 +60,7 @@
62
60
  --color-user-7-border: #ca4ea9;
63
61
 
64
62
  /* ── gradients ──────────────────────────────────────────────────────── */
65
- --gradient-brand: linear-gradient(
66
- 135deg,
67
- var(--color-brand-orange) 0%,
68
- var(--color-brand-pink) 50%,
69
- var(--color-brand) 100%
70
- );
71
- --gradient-brand-soft: linear-gradient(
72
- 135deg,
73
- rgba(255, 93, 1, 0.18) 0%,
74
- rgba(216, 55, 126, 0.18) 50%,
75
- rgba(188, 82, 238, 0.18) 100%
76
- );
63
+ /* ambient page backdrop only — not a brand mark */
77
64
  --gradient-fade-bg: radial-gradient(
78
65
  71.92% 191.69% at 50% 50%,
79
66
  var(--color-brand-purple) 0%,
package/src/css/theme.css CHANGED
@@ -4,7 +4,7 @@
4
4
  * Source of truth: tokens.json (from brand design in Figma)
5
5
  *
6
6
  * Usage:
7
- * @import '@skaile/theme/css';
7
+ * @import '@skaile/brand/theme.css';
8
8
  *
9
9
  * Provides light and dark mode via .light / .dark classes on <html>.
10
10
  * Falls back to light mode on :root.
@@ -23,7 +23,12 @@
23
23
  --color-scheme: light;
24
24
 
25
25
  /* Core palette */
26
- --background: hsl(210 40% 98%);
26
+ /* The page sits below the panel, not level with it: the redesign sets each
27
+ panel as a block on this ground (platform ui-redesign.md 5.2), and a card
28
+ two points of lightness from its background is not a block. Dark separates
29
+ the two by ~34% relative lightness; this is the same step, not the same
30
+ absolute distance. */
31
+ --background: hsl(214 32% 94%);
27
32
  --foreground: hsl(222 47% 11%);
28
33
  --card: hsl(0 0% 100%);
29
34
  --card-foreground: hsl(222 47% 11%);
@@ -39,9 +44,14 @@
39
44
  --accent-foreground: hsl(222 47% 11%);
40
45
  --destructive: hsl(0 72.2% 50.6%);
41
46
  --destructive-foreground: hsl(0 0% 100%);
42
- --border: hsl(214 32% 91%);
43
- --input: hsl(214 32% 91%);
47
+ /* Darker than it was, and forced rather than chosen: at 91% these were
48
+ brighter than the page above, so every border dissolved into the ground. */
49
+ --border: hsl(214 28% 86%);
50
+ --input: hsl(214 28% 86%);
44
51
  --ring: hsl(267 100% 50%);
52
+ /* The strip the tab bar sits on, behind the page, so an active tab rises out
53
+ of it and meets the panel below. */
54
+ --tab-bar: hsl(214 32% 89%);
45
55
 
46
56
  /* Skaile-specific */
47
57
  --color-success: hsl(161.4 93.5% 30.4%);
@@ -60,13 +70,15 @@
60
70
  --chart-5: hsl(161.4 93.5% 30.4%);
61
71
 
62
72
  /* Sidebar */
63
- --sidebar: hsl(0 0% 100%);
73
+ /* Tied to the page, as dark already ties it. Left at white it reads as one
74
+ more panel, which is the one thing the sidebar is not. */
75
+ --sidebar: hsl(214 32% 94%);
64
76
  --sidebar-foreground: hsl(222 47% 11%);
65
77
  --sidebar-primary: hsl(267 100% 50%);
66
78
  --sidebar-primary-foreground: hsl(0 0% 100%);
67
79
  --sidebar-accent: hsl(267 100% 97%);
68
80
  --sidebar-accent-foreground: hsl(267 100% 50%);
69
- --sidebar-border: hsl(214 32% 91%);
81
+ --sidebar-border: hsl(214 28% 86%);
70
82
  --sidebar-ring: hsl(267 100% 50%);
71
83
 
72
84
  /* Typography */
@@ -119,6 +131,8 @@
119
131
  --border: #2e303a;
120
132
  --input: #2e303a;
121
133
  --ring: #7300ff;
134
+ /* See the light block: the strip behind the page that the tab bar sits on. */
135
+ --tab-bar: #0e1015;
122
136
 
123
137
  /* Skaile-specific */
124
138
  --color-success: hsl(160.1 84.1% 39.4%);
package/src/tokens.json CHANGED
@@ -2,8 +2,7 @@
2
2
  "brand": {
3
3
  "purple": "#7300ff",
4
4
  "purple_bright": "#9b40ff",
5
- "purple_soft": "#bc52ee",
6
- "gradient": { "from": "#ff5d01", "via": "#d8377e", "to": "#7300ff" }
5
+ "purple_soft": "#bc52ee"
7
6
  },
8
7
  "fonts": {
9
8
  "heading": "Plus Jakarta Sans",
@@ -26,6 +25,7 @@
26
25
  },
27
26
  "platform-dark": {
28
27
  "background": "#13151a",
28
+ "tab-bar": "#0e1015",
29
29
  "card": "#1a1c22",
30
30
  "popover": "#1a1c22",
31
31
  "surface": "#23262d",