@skaile/forge-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/CHANGELOG.md +39 -0
- package/README.md +92 -11
- package/assets/identity.md +56 -137
- package/assets/logo/LICENSE-NOTE.md +3 -0
- package/assets/logo/favicon.svg +1 -0
- package/assets/logo/forge-icon.svg +1 -0
- package/assets/logo/forge-lockup-dark.svg +1 -0
- package/assets/logo/forge-lockup-light.svg +1 -0
- package/assets/logo/forge-mark.svg +1 -0
- package/package.json +26 -5
- package/src/css/app.css +18 -18
- package/src/css/brand.css +4 -10
- package/src/css/fonts.css +19 -0
- package/src/css/nuxt-ui.css +36 -22
- package/src/css/theme.css +223 -150
- package/src/tailwind-preset.ts +45 -41
- package/src/tokens.json +122 -66
package/src/tailwind-preset.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Forge brand Tailwind CSS preset.
|
|
3
3
|
*
|
|
4
|
-
* Provides the
|
|
5
|
-
* CSS custom properties. Works with Tailwind
|
|
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:
|
|
21
|
-
foreground:
|
|
22
|
-
card: { DEFAULT:
|
|
23
|
-
popover: { DEFAULT:
|
|
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:
|
|
26
|
-
foreground:
|
|
27
|
-
bright:
|
|
26
|
+
DEFAULT: 'var(--primary)',
|
|
27
|
+
foreground: 'var(--primary-foreground)',
|
|
28
|
+
bright: 'var(--color-primary-bright)',
|
|
28
29
|
},
|
|
29
|
-
secondary: { DEFAULT:
|
|
30
|
-
muted: { DEFAULT:
|
|
31
|
-
accent: { DEFAULT:
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
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:
|
|
42
|
-
2:
|
|
43
|
-
3:
|
|
44
|
-
4:
|
|
45
|
-
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:
|
|
49
|
-
foreground:
|
|
50
|
-
primary:
|
|
51
|
-
|
|
52
|
-
accent:
|
|
53
|
-
|
|
54
|
-
border:
|
|
55
|
-
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: [
|
|
60
|
-
serif: [
|
|
61
|
-
mono: [
|
|
62
|
-
heading: [
|
|
63
|
-
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:
|
|
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": "
|
|
9
|
-
"body": "
|
|
10
|
-
"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": "
|
|
38
|
-
"tab-bar": "
|
|
39
|
-
"tab-active": "
|
|
40
|
-
"tab-active-foreground": "
|
|
41
|
-
"card": "
|
|
42
|
-
"popover": "
|
|
43
|
-
"surface": "
|
|
44
|
-
"secondary": "
|
|
45
|
-
"muted": "
|
|
46
|
-
"accent": "
|
|
47
|
-
"surface-sunken": "
|
|
48
|
-
"foreground": "
|
|
49
|
-
"muted-foreground": "
|
|
50
|
-
"border": "
|
|
51
|
-
"primary": "
|
|
52
|
-
"primary-
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
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": "
|
|
60
|
-
"control-surface-hover": "
|
|
61
|
-
"control-selected": "
|
|
62
|
-
"control-icon": "
|
|
63
|
-
"content-border": "
|
|
64
|
-
"sidebar-foreground": "
|
|
65
|
-
"sidebar-primary": "
|
|
66
|
-
"sidebar-primary-foreground": "
|
|
67
|
-
"sidebar-accent-foreground": "
|
|
68
|
-
"sidebar-border": "
|
|
69
|
-
"sidebar-ring": "
|
|
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": "#
|
|
73
|
-
"tab-bar": "#
|
|
123
|
+
"background": "#252421",
|
|
124
|
+
"tab-bar": "#1f1e1c",
|
|
74
125
|
"tab-active": "#ffffff",
|
|
75
|
-
"tab-active-foreground": "
|
|
76
|
-
"card": "#
|
|
77
|
-
"popover": "#
|
|
78
|
-
"surface": "#
|
|
79
|
-
"secondary": "#
|
|
80
|
-
"muted": "#
|
|
81
|
-
"accent": "#
|
|
82
|
-
"surface-sunken": "#
|
|
83
|
-
"foreground": "#
|
|
84
|
-
"muted-foreground": "#
|
|
85
|
-
"border": "#
|
|
86
|
-
"primary": "#
|
|
87
|
-
"primary-
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
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": "#
|
|
95
|
-
"control-surface-hover": "#
|
|
96
|
-
"control-selected": "#
|
|
97
|
-
"control-icon": "#
|
|
98
|
-
"content-border": "#
|
|
99
|
-
"sidebar-foreground": "#
|
|
100
|
-
"sidebar-primary": "#
|
|
101
|
-
"sidebar-primary-foreground": "#
|
|
102
|
-
"sidebar-accent-foreground": "#
|
|
103
|
-
"sidebar-border": "#
|
|
104
|
-
"sidebar-ring": "#
|
|
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
|
}
|