@skaile/forge-brand 0.2.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.
@@ -1,8 +1,9 @@
1
1
  /**
2
- * Skaile Tailwind CSS preset.
2
+ * Forge brand Tailwind CSS preset.
3
3
  *
4
- * Provides the Skaile color palette as Tailwind theme extensions using
5
- * CSS custom properties. Works with Tailwind CSS v3 and v4.
4
+ * Provides the forge brand palette (ink, ember, warm stone) and fonts as
5
+ * Tailwind theme extensions using CSS custom properties. Works with Tailwind
6
+ * CSS v3 and v4.
6
7
  *
7
8
  * Usage (Tailwind v3 config):
8
9
  * import { skaileTailwindPreset } from '@skaile/forge-brand/tailwind-preset'
@@ -17,54 +18,57 @@ export const skaileTailwindPreset = {
17
18
  theme: {
18
19
  extend: {
19
20
  colors: {
20
- background: "var(--background)",
21
- foreground: "var(--foreground)",
22
- card: { DEFAULT: "var(--card)", foreground: "var(--card-foreground)" },
23
- popover: { DEFAULT: "var(--popover)", foreground: "var(--popover-foreground)" },
21
+ background: 'var(--background)',
22
+ foreground: 'var(--foreground)',
23
+ card: { DEFAULT: 'var(--card)', foreground: 'var(--card-foreground)' },
24
+ popover: { DEFAULT: 'var(--popover)', foreground: 'var(--popover-foreground)' },
24
25
  primary: {
25
- DEFAULT: "var(--primary)",
26
- foreground: "var(--primary-foreground)",
27
- bright: "var(--color-primary-bright)",
26
+ DEFAULT: 'var(--primary)',
27
+ foreground: 'var(--primary-foreground)',
28
+ bright: 'var(--color-primary-bright)',
28
29
  },
29
- secondary: { DEFAULT: "var(--secondary)", foreground: "var(--secondary-foreground)" },
30
- muted: { DEFAULT: "var(--muted)", foreground: "var(--muted-foreground)" },
31
- accent: { DEFAULT: "var(--accent)", foreground: "var(--accent-foreground)" },
32
- destructive: { DEFAULT: "var(--destructive)", foreground: "var(--destructive-foreground)" },
33
- success: { DEFAULT: "var(--color-success)", foreground: "var(--color-success-foreground)" },
34
- warning: { DEFAULT: "var(--color-warning)", foreground: "var(--color-warning-foreground)" },
35
- border: "var(--border)",
36
- input: "var(--input)",
37
- ring: "var(--ring)",
38
- surface: "var(--color-surface)",
39
- "ai-accent": "var(--color-ai-accent)",
30
+ secondary: { DEFAULT: 'var(--secondary)', foreground: 'var(--secondary-foreground)' },
31
+ muted: { DEFAULT: 'var(--muted)', foreground: 'var(--muted-foreground)' },
32
+ accent: { DEFAULT: 'var(--accent)', foreground: 'var(--accent-foreground)' },
33
+ ember: { DEFAULT: 'var(--ember)', foreground: 'var(--ember-foreground)' },
34
+ destructive: { DEFAULT: 'var(--destructive)', foreground: 'var(--destructive-foreground)' },
35
+ success: { DEFAULT: 'var(--color-success)', foreground: 'var(--color-success-foreground)' },
36
+ warning: { DEFAULT: 'var(--color-warning)', foreground: 'var(--color-warning-foreground)' },
37
+ info: { DEFAULT: 'var(--color-info)', foreground: 'var(--color-info-foreground)' },
38
+ border: 'var(--border)',
39
+ input: 'var(--input)',
40
+ ring: 'var(--ring)',
41
+ surface: 'var(--color-surface)',
42
+ 'ai-accent': 'var(--color-ai-accent)',
40
43
  chart: {
41
- 1: "var(--chart-1)",
42
- 2: "var(--chart-2)",
43
- 3: "var(--chart-3)",
44
- 4: "var(--chart-4)",
45
- 5: "var(--chart-5)",
44
+ 1: 'var(--chart-1)',
45
+ 2: 'var(--chart-2)',
46
+ 3: 'var(--chart-3)',
47
+ 4: 'var(--chart-4)',
48
+ 5: 'var(--chart-5)',
46
49
  },
47
50
  sidebar: {
48
- DEFAULT: "var(--sidebar)",
49
- foreground: "var(--sidebar-foreground)",
50
- primary: "var(--sidebar-primary)",
51
- "primary-foreground": "var(--sidebar-primary-foreground)",
52
- accent: "var(--sidebar-accent)",
53
- "accent-foreground": "var(--sidebar-accent-foreground)",
54
- border: "var(--sidebar-border)",
55
- ring: "var(--sidebar-ring)",
51
+ DEFAULT: 'var(--sidebar)',
52
+ foreground: 'var(--sidebar-foreground)',
53
+ primary: 'var(--sidebar-primary)',
54
+ 'primary-foreground': 'var(--sidebar-primary-foreground)',
55
+ accent: 'var(--sidebar-accent)',
56
+ 'accent-foreground': 'var(--sidebar-accent-foreground)',
57
+ border: 'var(--sidebar-border)',
58
+ ring: 'var(--sidebar-ring)',
56
59
  },
57
60
  },
58
61
  fontFamily: {
59
- sans: ["var(--font-sans)"],
60
- serif: ["var(--font-serif)"],
61
- mono: ["var(--font-mono)"],
62
- heading: ["var(--font-heading)"],
63
- body: ["var(--font-body)"],
62
+ sans: ['var(--font-sans)'],
63
+ serif: ['var(--font-serif)'],
64
+ mono: ['var(--font-mono)'],
65
+ heading: ['var(--font-heading)'],
66
+ body: ['var(--font-body)'],
67
+ display: ['var(--font-display)'],
64
68
  },
65
69
  borderRadius: {
66
- DEFAULT: "var(--radius)",
70
+ DEFAULT: 'var(--radius)',
67
71
  },
68
72
  },
69
73
  },
70
- };
74
+ }
package/src/tokens.json CHANGED
@@ -1,13 +1,18 @@
1
1
  {
2
2
  "brand": {
3
+ "ink": "#1c1a19",
4
+ "ink_dark": "#f5f3f1",
5
+ "ember": "#c33d01",
6
+ "ember_dark": "#f6835f",
3
7
  "purple": "#7300ff",
4
8
  "purple_bright": "#9b40ff",
5
9
  "purple_soft": "#bc52ee"
6
10
  },
7
11
  "fonts": {
8
- "heading": "Plus Jakarta Sans",
9
- "body": "Inter",
10
- "mono": "JetBrains Mono"
12
+ "heading": "Geist",
13
+ "body": "Geist",
14
+ "mono": "Geist Mono",
15
+ "display": "Cal Sans"
11
16
  },
12
17
  "radius": {
13
18
  "sm": "4px",
@@ -21,6 +26,47 @@
21
26
  "warning": "#f59e0b",
22
27
  "error": "#ef4444"
23
28
  },
29
+ "scales": {
30
+ "ink": {
31
+ "50": "#fbfaf9",
32
+ "100": "#f5f3f1",
33
+ "200": "#e8e6e3",
34
+ "300": "#d6d4d1",
35
+ "400": "#a7a4a1",
36
+ "500": "#777471",
37
+ "600": "#575552",
38
+ "700": "#423f3c",
39
+ "800": "#2d2b29",
40
+ "900": "#1c1a19",
41
+ "950": "#100f0e"
42
+ },
43
+ "ember-light": {
44
+ "50": "#fff4f1",
45
+ "100": "#ffe7df",
46
+ "200": "#ffcebf",
47
+ "300": "#ffaa90",
48
+ "400": "#ff754a",
49
+ "500": "#f5510d",
50
+ "600": "#c33d01",
51
+ "700": "#9e2f00",
52
+ "800": "#7e2401",
53
+ "900": "#651b00",
54
+ "950": "#481000"
55
+ },
56
+ "ember-dark": {
57
+ "50": "#fef2ee",
58
+ "100": "#fce1d9",
59
+ "200": "#fbc6b6",
60
+ "300": "#faa58b",
61
+ "400": "#f6835f",
62
+ "500": "#f86f43",
63
+ "600": "#d8582f",
64
+ "700": "#b84a25",
65
+ "800": "#983d20",
66
+ "900": "#78321c",
67
+ "950": "#5d2919"
68
+ }
69
+ },
24
70
  "palettes": {
25
71
  "marketing-dark": {
26
72
  "bg": "#13151a",
@@ -34,74 +80,84 @@
34
80
  "text-dim": "#777777"
35
81
  },
36
82
  "platform-light": {
37
- "background": "hsl(0 0% 94%)",
38
- "tab-bar": "hsl(0 0% 91%)",
39
- "tab-active": "hsl(0 0% 100%)",
40
- "tab-active-foreground": "hsl(0 0% 11%)",
41
- "card": "hsl(0 0% 100%)",
42
- "popover": "hsl(0 0% 100%)",
43
- "surface": "hsl(0 0% 100%)",
44
- "secondary": "hsl(0 0% 96%)",
45
- "muted": "hsl(0 0% 96%)",
46
- "accent": "hsl(0 0% 88%)",
47
- "surface-sunken": "hsl(0 0% 96%)",
48
- "foreground": "hsl(0 0% 11%)",
49
- "muted-foreground": "hsl(0 0% 40%)",
50
- "border": "hsl(0 0% 86%)",
51
- "primary": "hsl(267 100% 50%)",
52
- "primary-bright": "hsl(267 100% 63%)",
53
- "ring": "hsl(267 100% 50%)",
54
- "sidebar": "hsl(0 0% 89%)",
55
- "sidebar-accent": "hsl(0 0% 96%)",
56
- "tab-inactive": "hsl(0 0% 82%)",
57
- "tab-inactive-hover": "hsl(0 0% 87%)",
83
+ "background": "#f1f0ed",
84
+ "tab-bar": "#e9e8e5",
85
+ "tab-active": "#ffffff",
86
+ "tab-active-foreground": "#171614",
87
+ "card": "#ffffff",
88
+ "popover": "#ffffff",
89
+ "surface": "#ffffff",
90
+ "secondary": "#f6f5f2",
91
+ "muted": "#f6f5f2",
92
+ "accent": "#e1e0dd",
93
+ "surface-sunken": "#f6f5f2",
94
+ "foreground": "#171614",
95
+ "muted-foreground": "#686662",
96
+ "border": "#dddbd7",
97
+ "primary": "#1c1a19",
98
+ "primary-foreground": "#ffffff",
99
+ "primary-bright": "#1c1a19",
100
+ "ember": "#c33d01",
101
+ "ember-foreground": "#ffffff",
102
+ "info": "#005eff",
103
+ "warning": "#986600",
104
+ "ring": "#c33d01",
105
+ "sidebar": "#e4e3e0",
106
+ "sidebar-accent": "#f6f5f2",
107
+ "tab-inactive": "#d3d1cd",
108
+ "tab-inactive-hover": "#dfdedb",
58
109
  "tab-unread": "#005eff",
59
- "control-surface": "hsl(0 0% 82%)",
60
- "control-surface-hover": "hsl(0 0% 76%)",
61
- "control-selected": "hsl(0 0% 100%)",
62
- "control-icon": "hsl(0 0% 45%)",
63
- "content-border": "hsl(0 0% 82%)",
64
- "sidebar-foreground": "hsl(0 0% 11%)",
65
- "sidebar-primary": "hsl(267 100% 50%)",
66
- "sidebar-primary-foreground": "hsl(0 0% 100%)",
67
- "sidebar-accent-foreground": "hsl(0 0% 11%)",
68
- "sidebar-border": "hsl(0 0% 86%)",
69
- "sidebar-ring": "hsl(267 100% 50%)"
110
+ "control-surface": "#d3d1cd",
111
+ "control-surface-hover": "#c4c2be",
112
+ "control-selected": "#ffffff",
113
+ "control-icon": "#75736f",
114
+ "content-border": "#d3d1cd",
115
+ "sidebar-foreground": "#171614",
116
+ "sidebar-primary": "#1c1a19",
117
+ "sidebar-primary-foreground": "#ffffff",
118
+ "sidebar-accent-foreground": "#171614",
119
+ "sidebar-border": "#dddbd7",
120
+ "sidebar-ring": "#c33d01"
70
121
  },
71
122
  "platform-dark": {
72
- "background": "#242424",
73
- "tab-bar": "#1f1e1e",
123
+ "background": "#252421",
124
+ "tab-bar": "#1f1e1c",
74
125
  "tab-active": "#ffffff",
75
- "tab-active-foreground": "hsl(0 0% 11%)",
76
- "card": "#1a1919",
77
- "popover": "#2f2f2f",
78
- "surface": "#2f2f2f",
79
- "secondary": "#2f2f2f",
80
- "muted": "#2f2f2f",
81
- "accent": "#4a4a4a",
82
- "surface-sunken": "#161515",
83
- "foreground": "#f5f5f5",
84
- "muted-foreground": "#a1a1a1",
85
- "border": "#323131",
86
- "primary": "#7300ff",
87
- "primary-bright": "#9b40ff",
88
- "ring": "#7300ff",
89
- "sidebar": "#161515",
90
- "sidebar-accent": "#1f1f1f",
91
- "tab-inactive": "#3e3e3e",
92
- "tab-inactive-hover": "#4a4a4a",
126
+ "tab-active-foreground": "#171614",
127
+ "card": "#1a1917",
128
+ "popover": "#302f2c",
129
+ "surface": "#302f2c",
130
+ "secondary": "#302f2c",
131
+ "muted": "#302f2c",
132
+ "accent": "#4c4a46",
133
+ "surface-sunken": "#161513",
134
+ "foreground": "#f5f5f3",
135
+ "muted-foreground": "#a3a19d",
136
+ "border": "#33312e",
137
+ "primary": "#f5f3f1",
138
+ "primary-foreground": "#0e0e0d",
139
+ "primary-bright": "#f5f3f1",
140
+ "ember": "#f6835f",
141
+ "ember-foreground": "#0e0e0d",
142
+ "info": "#71a3ff",
143
+ "warning": "#f0b135",
144
+ "ring": "#f6835f",
145
+ "sidebar": "#161513",
146
+ "sidebar-accent": "#201f1c",
147
+ "tab-inactive": "#403e3b",
148
+ "tab-inactive-hover": "#4c4a46",
93
149
  "tab-unread": "#005eff",
94
- "control-surface": "#323131",
95
- "control-surface-hover": "#3e3e3e",
96
- "control-selected": "#484747",
97
- "control-icon": "#7a7a7a",
98
- "content-border": "#3e3e3e",
99
- "sidebar-foreground": "#f5f5f5",
100
- "sidebar-primary": "#7300ff",
101
- "sidebar-primary-foreground": "#ffffff",
102
- "sidebar-accent-foreground": "#f5f5f5",
103
- "sidebar-border": "#323131",
104
- "sidebar-ring": "#7300ff"
150
+ "control-surface": "#33312e",
151
+ "control-surface-hover": "#403e3b",
152
+ "control-selected": "#494744",
153
+ "control-icon": "#7c7a76",
154
+ "content-border": "#403e3b",
155
+ "sidebar-foreground": "#f5f5f3",
156
+ "sidebar-primary": "#f5f3f1",
157
+ "sidebar-primary-foreground": "#0e0e0d",
158
+ "sidebar-accent-foreground": "#f5f5f3",
159
+ "sidebar-border": "#33312e",
160
+ "sidebar-ring": "#f6835f"
105
161
  }
106
162
  }
107
163
  }