@skaile/forge-brand 0.2.0 → 0.4.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 +30 -0
- package/README.md +135 -13
- 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 +35 -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/palettes/PalettePicker.vue +80 -0
- package/src/palettes/palettes.css +470 -0
- package/src/palettes/palettes.ts +93 -0
- package/src/palettes/tabler.ts +333 -0
- package/src/tailwind-preset.ts +45 -41
- package/src/tokens.json +122 -66
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tabler for the forge apps without touching their markup: every Lucide icon the forge packages
|
|
3
|
+
* and apps name (`i-lucide-*`, `lucide:*`) is aliased onto its Tabler counterpart through
|
|
4
|
+
* @nuxt/icon's `aliases`, and Tabler's 2px stroke is drawn at 1.75. Spread into `app.config.ts`:
|
|
5
|
+
*
|
|
6
|
+
* icon: { aliases: tablerIconAliases, customize: tablerIconCustomize }
|
|
7
|
+
*
|
|
8
|
+
* The app needs `@iconify-json/tabler` installed. A Lucide name missing here keeps rendering Lucide;
|
|
9
|
+
* new code names Tabler icons directly (`i-tabler-*`).
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
/** Lucide name -> Tabler name. */
|
|
13
|
+
export const LUCIDE_TO_TABLER: Readonly<Record<string, string>> = {
|
|
14
|
+
'a-arrow-down': 'arrow-down',
|
|
15
|
+
'alert-triangle': 'alert-triangle',
|
|
16
|
+
'align-left': 'align-left',
|
|
17
|
+
'app-window': 'app-window',
|
|
18
|
+
archive: 'archive',
|
|
19
|
+
'arrow-down': 'arrow-down',
|
|
20
|
+
'arrow-down-to-line': 'arrow-down-to-arc',
|
|
21
|
+
'arrow-left': 'arrow-left',
|
|
22
|
+
'arrow-right': 'arrow-right',
|
|
23
|
+
'arrow-right-left': 'arrows-right-left',
|
|
24
|
+
'arrow-up': 'arrow-up',
|
|
25
|
+
'arrow-up-from-line': 'arrow-up-from-arc',
|
|
26
|
+
'arrow-up-right': 'arrow-up-right',
|
|
27
|
+
'audio-lines': 'wave-sine',
|
|
28
|
+
'audio-waveform': 'waveform',
|
|
29
|
+
badge: 'badge',
|
|
30
|
+
'badge-check': 'rosette-discount-check',
|
|
31
|
+
ban: 'ban',
|
|
32
|
+
bell: 'bell',
|
|
33
|
+
'between-horizontal-end': 'arrows-move-horizontal',
|
|
34
|
+
'between-vertical-end': 'arrows-vertical',
|
|
35
|
+
blocks: 'blocks',
|
|
36
|
+
bold: 'bold',
|
|
37
|
+
book: 'book',
|
|
38
|
+
'book-a': 'book-2',
|
|
39
|
+
'book-marked': 'book-filled',
|
|
40
|
+
'book-open': 'book',
|
|
41
|
+
'bookmark-plus': 'bookmark-plus',
|
|
42
|
+
bot: 'robot',
|
|
43
|
+
box: 'box',
|
|
44
|
+
braces: 'braces',
|
|
45
|
+
brackets: 'brackets',
|
|
46
|
+
brain: 'brain',
|
|
47
|
+
briefcase: 'briefcase',
|
|
48
|
+
bug: 'bug',
|
|
49
|
+
calendar: 'calendar',
|
|
50
|
+
'calendar-clock': 'calendar-clock',
|
|
51
|
+
'calendar-plus': 'calendar-plus',
|
|
52
|
+
captions: 'badge-cc',
|
|
53
|
+
'chart-column': 'chart-column',
|
|
54
|
+
check: 'check',
|
|
55
|
+
'check-check': 'checks',
|
|
56
|
+
'chef-hat': 'chef-hat',
|
|
57
|
+
'chevron-down': 'chevron-down',
|
|
58
|
+
'chevron-right': 'chevron-right',
|
|
59
|
+
'chevron-up': 'chevron-up',
|
|
60
|
+
'chevrons-down-up': 'fold',
|
|
61
|
+
'chevrons-up-down': 'arrows-up-down',
|
|
62
|
+
circle: 'circle',
|
|
63
|
+
'circle-alert': 'alert-circle',
|
|
64
|
+
'circle-arrow-right': 'circle-arrow-right',
|
|
65
|
+
'circle-check': 'circle-check',
|
|
66
|
+
'circle-dashed': 'circle-dashed',
|
|
67
|
+
'circle-dot': 'circle-dot',
|
|
68
|
+
'circle-ellipsis': 'dots-circle-horizontal',
|
|
69
|
+
'circle-help': 'help-circle',
|
|
70
|
+
'circle-minus': 'circle-minus',
|
|
71
|
+
'circle-play': 'circle-play',
|
|
72
|
+
'circle-x': 'circle-x',
|
|
73
|
+
'clipboard-check': 'clipboard-check',
|
|
74
|
+
'clipboard-paste': 'clipboard-text',
|
|
75
|
+
clock: 'clock',
|
|
76
|
+
cloud: 'cloud',
|
|
77
|
+
'cloud-check': 'cloud-check',
|
|
78
|
+
'cloud-off': 'cloud-off',
|
|
79
|
+
'cloud-upload': 'cloud-upload',
|
|
80
|
+
code: 'code',
|
|
81
|
+
'code-2': 'code',
|
|
82
|
+
compass: 'compass',
|
|
83
|
+
component: 'components',
|
|
84
|
+
copy: 'copy',
|
|
85
|
+
'corner-down-right': 'corner-down-right',
|
|
86
|
+
'corner-up-left': 'corner-up-left',
|
|
87
|
+
cpu: 'cpu',
|
|
88
|
+
database: 'database',
|
|
89
|
+
download: 'download',
|
|
90
|
+
ellipsis: 'dots',
|
|
91
|
+
'ellipsis-vertical': 'dots-vertical',
|
|
92
|
+
eraser: 'eraser',
|
|
93
|
+
'external-link': 'external-link',
|
|
94
|
+
eye: 'eye',
|
|
95
|
+
'eye-off': 'eye-off',
|
|
96
|
+
file: 'file',
|
|
97
|
+
'file-archive': 'file-zip',
|
|
98
|
+
'file-audio': 'file-music',
|
|
99
|
+
'file-code': 'file-code',
|
|
100
|
+
'file-code-2': 'file-code-2',
|
|
101
|
+
'file-cog': 'file-settings',
|
|
102
|
+
'file-diff': 'file-diff',
|
|
103
|
+
'file-down': 'file-download',
|
|
104
|
+
'file-image': 'photo',
|
|
105
|
+
'file-input': 'file-import',
|
|
106
|
+
'file-json': 'json',
|
|
107
|
+
'file-output': 'file-export',
|
|
108
|
+
'file-pen': 'file-pencil',
|
|
109
|
+
'file-pen-line': 'file-pencil',
|
|
110
|
+
'file-plus': 'file-plus',
|
|
111
|
+
'file-search': 'file-search',
|
|
112
|
+
'file-stack': 'file-stack',
|
|
113
|
+
'file-symlink': 'file-symlink',
|
|
114
|
+
'file-text': 'file-text',
|
|
115
|
+
'file-type': 'file-type-txt',
|
|
116
|
+
'file-up': 'file-upload',
|
|
117
|
+
'file-video': 'video',
|
|
118
|
+
'file-x': 'file-x',
|
|
119
|
+
files: 'files',
|
|
120
|
+
film: 'movie',
|
|
121
|
+
filter: 'filter',
|
|
122
|
+
'filter-x': 'filter-x',
|
|
123
|
+
fingerprint: 'fingerprint',
|
|
124
|
+
flame: 'flame',
|
|
125
|
+
'flask-conical': 'flask',
|
|
126
|
+
focus: 'focus',
|
|
127
|
+
folder: 'folder',
|
|
128
|
+
'folder-down': 'folder-down',
|
|
129
|
+
'folder-input': 'folder-up',
|
|
130
|
+
'folder-kanban': 'layout-kanban',
|
|
131
|
+
'folder-open': 'folder-open',
|
|
132
|
+
'folder-plus': 'folder-plus',
|
|
133
|
+
'folder-search': 'folder-search',
|
|
134
|
+
'folder-tree': 'sitemap',
|
|
135
|
+
gavel: 'gavel',
|
|
136
|
+
ghost: 'ghost',
|
|
137
|
+
'git-branch': 'git-branch',
|
|
138
|
+
'git-compare': 'git-compare',
|
|
139
|
+
'git-fork': 'git-fork',
|
|
140
|
+
'git-merge': 'git-merge',
|
|
141
|
+
globe: 'globe',
|
|
142
|
+
'graduation-cap': 'school',
|
|
143
|
+
'grip-vertical': 'grip-vertical',
|
|
144
|
+
hammer: 'hammer',
|
|
145
|
+
'hard-drive': 'device-floppy',
|
|
146
|
+
'hard-drive-download': 'cloud-download',
|
|
147
|
+
hash: 'hash',
|
|
148
|
+
heading: 'heading',
|
|
149
|
+
'heading-1': 'h-1',
|
|
150
|
+
'heading-2': 'h-2',
|
|
151
|
+
'heading-3': 'h-3',
|
|
152
|
+
'heading-4': 'h-4',
|
|
153
|
+
'heading-5': 'h-5',
|
|
154
|
+
'heading-6': 'h-6',
|
|
155
|
+
'help-circle': 'help-circle',
|
|
156
|
+
history: 'history',
|
|
157
|
+
home: 'home',
|
|
158
|
+
hourglass: 'hourglass',
|
|
159
|
+
house: 'home',
|
|
160
|
+
image: 'photo',
|
|
161
|
+
'image-plus': 'photo-plus',
|
|
162
|
+
inbox: 'inbox',
|
|
163
|
+
'indent-increase': 'indent-increase',
|
|
164
|
+
info: 'info-circle',
|
|
165
|
+
italic: 'italic',
|
|
166
|
+
'key-round': 'key',
|
|
167
|
+
languages: 'language',
|
|
168
|
+
layers: 'stack-2',
|
|
169
|
+
'layout-dashboard': 'layout-dashboard',
|
|
170
|
+
'layout-grid': 'layout-grid',
|
|
171
|
+
'layout-panel-left': 'layout-sidebar-left-expand',
|
|
172
|
+
'layout-template': 'template',
|
|
173
|
+
library: 'library',
|
|
174
|
+
lightbulb: 'bulb',
|
|
175
|
+
link: 'link',
|
|
176
|
+
'link-2': 'link',
|
|
177
|
+
list: 'list',
|
|
178
|
+
'list-checks': 'list-check',
|
|
179
|
+
'list-filter': 'filter',
|
|
180
|
+
'list-ordered': 'list-numbers',
|
|
181
|
+
'list-plus': 'list',
|
|
182
|
+
'list-tree': 'list-tree',
|
|
183
|
+
loader: 'loader',
|
|
184
|
+
'loader-2': 'loader-2',
|
|
185
|
+
'loader-circle': 'loader-2',
|
|
186
|
+
lock: 'lock',
|
|
187
|
+
'lock-open': 'lock-open',
|
|
188
|
+
'log-out': 'logout',
|
|
189
|
+
map: 'map',
|
|
190
|
+
menu: 'menu',
|
|
191
|
+
merge: 'git-merge',
|
|
192
|
+
'message-circle': 'message-circle',
|
|
193
|
+
'message-circle-question': 'message-circle-question',
|
|
194
|
+
'message-circle-reply': 'message-reply',
|
|
195
|
+
'message-square': 'message',
|
|
196
|
+
'message-square-plus': 'message-plus',
|
|
197
|
+
'message-square-text': 'message-2',
|
|
198
|
+
'messages-square': 'messages',
|
|
199
|
+
mic: 'microphone',
|
|
200
|
+
'mic-off': 'microphone-off',
|
|
201
|
+
minus: 'minus',
|
|
202
|
+
monitor: 'device-desktop',
|
|
203
|
+
moon: 'moon',
|
|
204
|
+
'mouse-pointer-click': 'click',
|
|
205
|
+
music: 'music',
|
|
206
|
+
network: 'network',
|
|
207
|
+
'notebook-pen': 'notebook',
|
|
208
|
+
package: 'package',
|
|
209
|
+
'package-plus': 'package',
|
|
210
|
+
'paint-bucket': 'paint',
|
|
211
|
+
paintbrush: 'brush',
|
|
212
|
+
palette: 'palette',
|
|
213
|
+
'panel-left-close': 'layout-sidebar-left-collapse',
|
|
214
|
+
'panel-left-open': 'layout-sidebar-left-expand',
|
|
215
|
+
'panel-right': 'layout-sidebar-right',
|
|
216
|
+
'panel-right-open': 'layout-sidebar-right-expand',
|
|
217
|
+
'panels-left-right': 'layout-columns',
|
|
218
|
+
pause: 'pause',
|
|
219
|
+
'pen-line': 'pencil',
|
|
220
|
+
'pen-tool': 'vector-bezier',
|
|
221
|
+
pencil: 'pencil',
|
|
222
|
+
pilcrow: 'pilcrow',
|
|
223
|
+
pin: 'pin',
|
|
224
|
+
'pin-off': 'pinned-off',
|
|
225
|
+
play: 'play',
|
|
226
|
+
plug: 'plug',
|
|
227
|
+
'plug-zap': 'plug-connected',
|
|
228
|
+
plus: 'plus',
|
|
229
|
+
'plus-circle': 'circle-plus',
|
|
230
|
+
podcast: 'microphone-2',
|
|
231
|
+
presentation: 'presentation',
|
|
232
|
+
puzzle: 'puzzle',
|
|
233
|
+
quote: 'quote',
|
|
234
|
+
'redo-2': 'arrow-forward-up',
|
|
235
|
+
'refresh-cw': 'refresh',
|
|
236
|
+
replace: 'replace',
|
|
237
|
+
rocket: 'rocket',
|
|
238
|
+
'rotate-ccw': 'rotate-2',
|
|
239
|
+
'rotate-cw': 'rotate-clockwise',
|
|
240
|
+
route: 'route',
|
|
241
|
+
ruler: 'ruler',
|
|
242
|
+
save: 'device-floppy',
|
|
243
|
+
scale: 'scale',
|
|
244
|
+
scan: 'scan',
|
|
245
|
+
scissors: 'scissors',
|
|
246
|
+
'scroll-text': 'file-text',
|
|
247
|
+
search: 'search',
|
|
248
|
+
'search-x': 'search-off',
|
|
249
|
+
send: 'send',
|
|
250
|
+
'separator-horizontal': 'separator-horizontal',
|
|
251
|
+
server: 'server',
|
|
252
|
+
'server-cog': 'server-cog',
|
|
253
|
+
'server-off': 'server-off',
|
|
254
|
+
settings: 'settings',
|
|
255
|
+
'settings-2': 'settings-2',
|
|
256
|
+
share: 'share',
|
|
257
|
+
'share-2': 'share-2',
|
|
258
|
+
shield: 'shield',
|
|
259
|
+
'shield-alert': 'shield-exclamation',
|
|
260
|
+
'shield-check': 'shield-check',
|
|
261
|
+
'shield-question': 'shield-question',
|
|
262
|
+
shrink: 'arrows-minimize',
|
|
263
|
+
'skip-forward': 'skip-forward',
|
|
264
|
+
'sliders-horizontal': 'adjustments-horizontal',
|
|
265
|
+
smile: 'mood-smile',
|
|
266
|
+
sparkles: 'sparkles',
|
|
267
|
+
speech: 'speakerphone',
|
|
268
|
+
'spell-check': 'text-spellcheck',
|
|
269
|
+
split: 'arrows-split',
|
|
270
|
+
square: 'square',
|
|
271
|
+
'square-arrow-out-down-right': 'arrow-down-right',
|
|
272
|
+
'square-check': 'square-check',
|
|
273
|
+
'square-code': 'code',
|
|
274
|
+
'square-play': 'play',
|
|
275
|
+
stamp: 'rubber-stamp',
|
|
276
|
+
star: 'star',
|
|
277
|
+
stethoscope: 'stethoscope',
|
|
278
|
+
'sticky-note': 'note',
|
|
279
|
+
strikethrough: 'strikethrough',
|
|
280
|
+
sun: 'sun',
|
|
281
|
+
'swatch-book': 'color-swatch',
|
|
282
|
+
table: 'table',
|
|
283
|
+
'table-2': 'table',
|
|
284
|
+
'table-columns-split': 'table-column',
|
|
285
|
+
'table-properties': 'table-options',
|
|
286
|
+
'table-rows-split': 'table-row',
|
|
287
|
+
terminal: 'terminal',
|
|
288
|
+
text: 'text-caption',
|
|
289
|
+
'text-cursor-input': 'cursor-text',
|
|
290
|
+
'text-quote': 'quote',
|
|
291
|
+
'text-select': 'text-wrap',
|
|
292
|
+
timer: 'clock-hour-4',
|
|
293
|
+
trash: 'trash',
|
|
294
|
+
'trash-2': 'trash',
|
|
295
|
+
'triangle-alert': 'alert-triangle',
|
|
296
|
+
underline: 'underline',
|
|
297
|
+
'undo-2': 'arrow-back-up',
|
|
298
|
+
unlink: 'unlink',
|
|
299
|
+
unlock: 'lock-open',
|
|
300
|
+
upload: 'upload',
|
|
301
|
+
'upload-cloud': 'cloud-upload',
|
|
302
|
+
user: 'user',
|
|
303
|
+
'user-cog': 'user-cog',
|
|
304
|
+
'user-minus': 'user-minus',
|
|
305
|
+
'user-pen': 'user-edit',
|
|
306
|
+
'user-plus': 'user-plus',
|
|
307
|
+
'user-x': 'user-x',
|
|
308
|
+
users: 'users',
|
|
309
|
+
video: 'video',
|
|
310
|
+
'volume-2': 'volume-2',
|
|
311
|
+
'wand-sparkles': 'wand',
|
|
312
|
+
wifi: 'wifi',
|
|
313
|
+
'wifi-off': 'wifi-off',
|
|
314
|
+
workflow: 'sitemap',
|
|
315
|
+
wrench: 'tool',
|
|
316
|
+
x: 'x',
|
|
317
|
+
zap: 'bolt',
|
|
318
|
+
'zoom-in': 'zoom-in',
|
|
319
|
+
'zoom-out': 'zoom-out',
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
/** @nuxt/icon `aliases`: both spellings of each Lucide name (`lucide-x` from `i-lucide-x`, `lucide:x`). */
|
|
323
|
+
export const tablerIconAliases: Record<string, string> = Object.fromEntries(
|
|
324
|
+
Object.entries(LUCIDE_TO_TABLER).flatMap(([lucide, tabler]) => [
|
|
325
|
+
[`lucide-${lucide}`, `tabler:${tabler}`],
|
|
326
|
+
[`lucide:${lucide}`, `tabler:${tabler}`],
|
|
327
|
+
]),
|
|
328
|
+
)
|
|
329
|
+
|
|
330
|
+
/** @nuxt/icon `customize`: outline icons (Tabler, a leftover Lucide) at a 1.75 stroke, the forge weight. */
|
|
331
|
+
export function tablerIconCustomize(content: string): string {
|
|
332
|
+
return content.replaceAll('stroke-width="2"', 'stroke-width="1.75"')
|
|
333
|
+
}
|
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
|
}
|