@leitware/composables 1.3.3 → 1.5.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/README.md +54 -6
- package/dist/presets/brutalist.css +5 -1
- package/dist/presets/default.css +4 -0
- package/dist/presets/editorial-grid.css +329 -0
- package/dist/presets/signal-pop.css +4 -0
- package/dist/styles.css +1 -1
- package/dist/tailwind.css +8 -0
- package/package.json +2 -1
- package/rules/composables.md +9 -7
- package/skills/use-composables/references/public-api.md +7 -2
- package/skills/use-composables/references/semantic-utilities.md +2 -0
- package/src/_internal/ai-elements/chain-of-thought.tsx +1 -1
- package/src/_internal/badge.tsx +2 -2
- package/src/_internal/button.tsx +1 -1
- package/src/_internal/calendar.tsx +1 -1
- package/src/_internal/checkbox.tsx +1 -1
- package/src/_internal/combobox.tsx +3 -3
- package/src/_internal/command.tsx +3 -3
- package/src/_internal/dropdown-menu.tsx +2 -2
- package/src/_internal/dropzone.tsx +3 -3
- package/src/_internal/field.tsx +2 -2
- package/src/_internal/grid-overlay.tsx +2 -2
- package/src/_internal/input-group.tsx +1 -1
- package/src/_internal/input.tsx +1 -1
- package/src/_internal/layout-bento.tsx +1 -1
- package/src/_internal/marker.tsx +1 -1
- package/src/_internal/radio-group.tsx +2 -2
- package/src/_internal/resizable.tsx +1 -1
- package/src/_internal/select.tsx +5 -2
- package/src/_internal/sidebar.tsx +2 -2
- package/src/_internal/switch.tsx +1 -1
- package/src/_internal/tabs.tsx +2 -2
- package/src/_internal/textarea.tsx +1 -1
- package/src/_internal/tooltip.tsx +1 -1
- package/src/index.ts +4 -0
- package/src/opinionated/blocks/content.tsx +247 -0
- package/src/opinionated/blocks/features.tsx +242 -0
- package/src/opinionated/blocks/heroes.tsx +711 -0
- package/src/opinionated/blocks/index.ts +4 -0
- package/src/opinionated/blocks/shared.tsx +185 -0
- package/src/opinionated/button.tsx +2 -0
- package/src/opinionated/collapsible.tsx +1 -1
- package/src/opinionated/form-calendar-popover.tsx +1 -1
- package/src/opinionated/form-checkbox.tsx +1 -1
- package/src/opinionated/form-combobox.tsx +1 -1
- package/src/opinionated/form-date-of-birth.tsx +1 -1
- package/src/opinionated/form-dropzone.tsx +1 -1
- package/src/opinionated/form-input-group.tsx +1 -1
- package/src/opinionated/form-input.tsx +1 -1
- package/src/opinionated/form-multi-combobox.tsx +1 -1
- package/src/opinionated/form-multi-dropzone.tsx +1 -1
- package/src/opinionated/form-radiogroup.tsx +1 -1
- package/src/opinionated/form-select.tsx +1 -1
- package/src/opinionated/form-slider.tsx +1 -1
- package/src/opinionated/form-switch.tsx +1 -1
- package/src/opinionated/form-textarea.tsx +1 -1
- package/src/opinionated/token-config-panel/color-editor.tsx +1 -1
- package/src/opinionated/token-config-panel/json-import-export.tsx +1 -1
- package/src/opinionated/window-frame.tsx +57 -0
- package/src/styles/presets/brutalist.css +5 -1
- package/src/styles/presets/default.css +4 -0
- package/src/styles/presets/editorial-grid.css +329 -0
- package/src/styles/presets/signal-pop.css +4 -0
- package/src/styles/presets-data/brutalist.ts +5 -1
- package/src/styles/presets-data/default.ts +4 -0
- package/src/styles/presets-data/editorial-grid.ts +281 -0
- package/src/styles/presets-data/index.ts +9 -0
- package/src/styles/presets-data/signal-pop.ts +4 -0
- package/src/styles/tokens/components.css +1 -0
- package/src/styles/tokens/registry.ts +15 -1
- package/src/styles/tokens/semantic-utilities.css +8 -0
- package/src/styles/tokens/semantic.css +5 -1
- package/src/styles/tokens/tailwind-color-adapter.css +3 -1
- package/src/styles/tokens/tailwind-public-utilities.css +8 -0
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
import { defaultPreset, defaultPresetDark } from './default'
|
|
2
|
+
|
|
3
|
+
/** Flat editorial surfaces, visible grid lines, and vivid signal blocks. */
|
|
4
|
+
export const editorialGrid: Record<string, string> = {
|
|
5
|
+
...defaultPreset,
|
|
6
|
+
|
|
7
|
+
'--bg-default': '#F7F7F3',
|
|
8
|
+
'--bg-inverse': '#111111',
|
|
9
|
+
'--bg-muted': '#EFEFEB',
|
|
10
|
+
'--bg-surface-default': '#F7F7F3',
|
|
11
|
+
'--bg-surface-popover': '#FFFFFF',
|
|
12
|
+
'--bg-surface-accent': '#EFEFEB',
|
|
13
|
+
'--bg-surface-field': '#E7E7E1',
|
|
14
|
+
'--bg-surface-info': '#EEF6FF',
|
|
15
|
+
'--bg-surface-success': '#EEFAF1',
|
|
16
|
+
'--bg-surface-warning': '#FFF9E8',
|
|
17
|
+
'--bg-surface-critical': '#FFF0EF',
|
|
18
|
+
'--bg-surface-emphasis': '#EEF6FF',
|
|
19
|
+
'--bg-surface-inverse': '#1A1A1A',
|
|
20
|
+
'--bg-surface-transparent': '#00000008',
|
|
21
|
+
'--bg-overlay': '#00000099',
|
|
22
|
+
'--bg-surface-brand': '#ECFFF2',
|
|
23
|
+
'--bg-surface-brand-2': '#FFFBEA',
|
|
24
|
+
'--bg-surface-brand-3': '#EEF6FF',
|
|
25
|
+
'--bg-surface-brand-4': '#F5F0FF',
|
|
26
|
+
'--bg-surface-brand-5': '#FFF1EF',
|
|
27
|
+
'--bg-surface-hover': '#ECECE7',
|
|
28
|
+
'--bg-fill-default': '#F7F7F3',
|
|
29
|
+
'--bg-fill-primary': '#111111',
|
|
30
|
+
'--bg-fill-brand': '#21E36B',
|
|
31
|
+
'--bg-fill-brand-2': '#FFE14A',
|
|
32
|
+
'--bg-fill-brand-3': '#58A7F8',
|
|
33
|
+
'--bg-fill-brand-4': '#A77AF3',
|
|
34
|
+
'--bg-fill-brand-5': '#FF7D73',
|
|
35
|
+
'--bg-fill-info': '#58A7F8',
|
|
36
|
+
'--bg-fill-success': '#21E36B',
|
|
37
|
+
'--bg-fill-warning': '#FFE14A',
|
|
38
|
+
'--bg-fill-critical': '#FF6B63',
|
|
39
|
+
'--bg-fill-emphasis': '#3C8EE6',
|
|
40
|
+
'--bg-fill-transparent': '#00000008',
|
|
41
|
+
'--bg-fill-secondary': '#EFEFEB',
|
|
42
|
+
'--bg-fill-secondary-inverse': '#FFFFFF',
|
|
43
|
+
'--text-default': '#111111',
|
|
44
|
+
'--text-secondary': '#555550',
|
|
45
|
+
'--text-muted': '#777770',
|
|
46
|
+
'--text-disabled': '#B7B7B0',
|
|
47
|
+
'--text-inverse': '#FFFFFF',
|
|
48
|
+
'--text-on-fill-primary': '#FFFFFF',
|
|
49
|
+
'--text-on-fill-brand': '#111111',
|
|
50
|
+
'--text-on-fill-secondary': '#111111',
|
|
51
|
+
'--text-on-surface-accent': '#111111',
|
|
52
|
+
'--text-info': '#163A5C',
|
|
53
|
+
'--text-success': '#124A29',
|
|
54
|
+
'--text-warning': '#594500',
|
|
55
|
+
'--text-critical': '#6A1B18',
|
|
56
|
+
'--text-emphasis': '#123B66',
|
|
57
|
+
'--text-brand': '#0F5D2D',
|
|
58
|
+
'--text-brand-2': '#5A4900',
|
|
59
|
+
'--text-brand-3': '#164B7A',
|
|
60
|
+
'--text-brand-4': '#4D287E',
|
|
61
|
+
'--text-brand-5': '#7A2E28',
|
|
62
|
+
'--text-link': '#111111',
|
|
63
|
+
'--icon-default': '#111111',
|
|
64
|
+
'--icon-secondary': '#555550',
|
|
65
|
+
'--icon-disabled': '#CFCFC8',
|
|
66
|
+
'--icon-inverse': '#FFFFFF',
|
|
67
|
+
'--icon-info': '#2C7FD3',
|
|
68
|
+
'--icon-success': '#159447',
|
|
69
|
+
'--icon-warning': '#B98D00',
|
|
70
|
+
'--icon-critical': '#D44E46',
|
|
71
|
+
'--icon-emphasis': '#2C7FD3',
|
|
72
|
+
'--icon-brand': '#159447',
|
|
73
|
+
'--icon-brand-2': '#C4A300',
|
|
74
|
+
'--icon-brand-3': '#3C8EE6',
|
|
75
|
+
'--icon-brand-4': '#8155CC',
|
|
76
|
+
'--icon-brand-5': '#DF5E55',
|
|
77
|
+
'--border-default': '#C9C9C2',
|
|
78
|
+
'--border-secondary': '#DDDDD7',
|
|
79
|
+
'--border-input': '#BDBDB6',
|
|
80
|
+
'--border-tertiary': '#9D9D96',
|
|
81
|
+
'--border-disabled': '#DDDDD7',
|
|
82
|
+
'--border-inverse': '#4A4A46',
|
|
83
|
+
'--border-focus': '#111111',
|
|
84
|
+
'--border-brand': '#21E36B',
|
|
85
|
+
'--border-brand-2': '#FFE14A',
|
|
86
|
+
'--border-brand-3': '#58A7F8',
|
|
87
|
+
'--border-brand-4': '#A77AF3',
|
|
88
|
+
'--border-brand-5': '#FF7D73',
|
|
89
|
+
'--border-info': '#80BAF4',
|
|
90
|
+
'--border-success': '#62D98A',
|
|
91
|
+
'--border-warning': '#F1D35F',
|
|
92
|
+
'--border-critical': '#F3A09A',
|
|
93
|
+
'--border-emphasis': '#6EADEC',
|
|
94
|
+
'--chart-1': '#21E36B',
|
|
95
|
+
'--chart-2': '#58A7F8',
|
|
96
|
+
'--chart-3': '#FFE14A',
|
|
97
|
+
'--chart-4': '#A77AF3',
|
|
98
|
+
'--chart-5': '#FF7D73',
|
|
99
|
+
'--spacing': '0.25rem',
|
|
100
|
+
'--border-width-base': '0.0625rem',
|
|
101
|
+
'--radius': '0.125rem',
|
|
102
|
+
'--font-size-base': '1rem',
|
|
103
|
+
'--leading-base': '1.3',
|
|
104
|
+
'--letter-spacing-base': '0em',
|
|
105
|
+
'--opacity-disabled': '0.45',
|
|
106
|
+
'--shadow-offset-y': '0px',
|
|
107
|
+
'--shadow-blur': '0px',
|
|
108
|
+
'--shadow-spread': '0px',
|
|
109
|
+
'--shadow-base-color': '#00000000',
|
|
110
|
+
'--container-sm': '576px',
|
|
111
|
+
'--container-md': '768px',
|
|
112
|
+
'--container-lg': '1056px',
|
|
113
|
+
'--container-xl': '1248px',
|
|
114
|
+
'--container-2xl': '1440px',
|
|
115
|
+
'--dropdown-offset': '4',
|
|
116
|
+
'--overlay-offset': '4',
|
|
117
|
+
'--font-sans': '"Inter Variable", sans-serif',
|
|
118
|
+
'--font-heading': '"Inter Variable", sans-serif',
|
|
119
|
+
'--font-brand': '"Bricolage Grotesque Variable", sans-serif',
|
|
120
|
+
|
|
121
|
+
// Sidebar roles are independent of the semantic aliases.
|
|
122
|
+
'--sidebar-background': '#F7F7F3',
|
|
123
|
+
'--sidebar-foreground': '#111111',
|
|
124
|
+
'--sidebar-primary': '#111111',
|
|
125
|
+
'--sidebar-primary-foreground': '#FFFFFF',
|
|
126
|
+
'--sidebar-accent': '#EFEFEB',
|
|
127
|
+
'--sidebar-accent-foreground': '#111111',
|
|
128
|
+
'--sidebar-border': '#C9C9C2',
|
|
129
|
+
'--sidebar-ring': '#111111',
|
|
130
|
+
|
|
131
|
+
// Flat cells and restrained interactions.
|
|
132
|
+
'--button-radius': 'var(--radius)',
|
|
133
|
+
'--card-radius': 'var(--radius)',
|
|
134
|
+
'--card-padding': 'calc(var(--spacing) * 6)',
|
|
135
|
+
'--input-radius': 'var(--radius)',
|
|
136
|
+
'--input-height': 'calc(var(--spacing) * 10)',
|
|
137
|
+
'--badge-radius': 'var(--radius)',
|
|
138
|
+
'--hover-shadow': 'none',
|
|
139
|
+
'--hover-transform': 'none',
|
|
140
|
+
'--active-scale': '1',
|
|
141
|
+
'--motion-duration-fast': '100ms',
|
|
142
|
+
'--motion-duration-normal': '150ms',
|
|
143
|
+
'--motion-duration-slow': '200ms',
|
|
144
|
+
'--motion-duration-color': '100ms',
|
|
145
|
+
'--motion-duration-interaction': '100ms',
|
|
146
|
+
'--motion-duration-disclosure': '150ms',
|
|
147
|
+
'--motion-duration-overlay': '150ms',
|
|
148
|
+
'--heading-font-weight': '700',
|
|
149
|
+
'--hero-font-size': 'var(--text-6xl)',
|
|
150
|
+
'--hero-font-weight': '700',
|
|
151
|
+
'--section-title-font-weight': '700',
|
|
152
|
+
'--card-title-font-weight': '600',
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export const editorialGridDark: Record<string, string> = {
|
|
156
|
+
...defaultPresetDark,
|
|
157
|
+
|
|
158
|
+
'--bg-default': '#111111',
|
|
159
|
+
'--bg-inverse': '#F7F7F3',
|
|
160
|
+
'--bg-muted': '#191918',
|
|
161
|
+
'--bg-surface-default': '#111111',
|
|
162
|
+
'--bg-surface-popover': '#191918',
|
|
163
|
+
'--bg-surface-accent': '#1E1E1C',
|
|
164
|
+
'--bg-surface-field': '#262624',
|
|
165
|
+
'--bg-surface-info': '#132332',
|
|
166
|
+
'--bg-surface-success': '#14251A',
|
|
167
|
+
'--bg-surface-warning': '#2A2412',
|
|
168
|
+
'--bg-surface-critical': '#2B1716',
|
|
169
|
+
'--bg-surface-emphasis': '#15243A',
|
|
170
|
+
'--bg-surface-inverse': '#F7F7F3',
|
|
171
|
+
'--bg-surface-transparent': '#FFFFFF0D',
|
|
172
|
+
'--bg-overlay': '#000000B2',
|
|
173
|
+
'--bg-surface-brand': '#12301D',
|
|
174
|
+
'--bg-surface-brand-2': '#332E10',
|
|
175
|
+
'--bg-surface-brand-3': '#16293A',
|
|
176
|
+
'--bg-surface-brand-4': '#281E3B',
|
|
177
|
+
'--bg-surface-brand-5': '#35201E',
|
|
178
|
+
'--bg-surface-hover': '#20201E',
|
|
179
|
+
'--bg-fill-default': '#111111',
|
|
180
|
+
'--bg-fill-primary': '#F7F7F3',
|
|
181
|
+
'--bg-fill-brand': '#21E36B',
|
|
182
|
+
'--bg-fill-brand-2': '#FFE14A',
|
|
183
|
+
'--bg-fill-brand-3': '#58A7F8',
|
|
184
|
+
'--bg-fill-brand-4': '#A77AF3',
|
|
185
|
+
'--bg-fill-brand-5': '#FF7D73',
|
|
186
|
+
'--bg-fill-info': '#58A7F8',
|
|
187
|
+
'--bg-fill-success': '#21E36B',
|
|
188
|
+
'--bg-fill-warning': '#FFE14A',
|
|
189
|
+
'--bg-fill-critical': '#FF7D73',
|
|
190
|
+
'--bg-fill-emphasis': '#58A7F8',
|
|
191
|
+
'--bg-fill-transparent': '#FFFFFF0D',
|
|
192
|
+
'--bg-fill-secondary': '#1E1E1C',
|
|
193
|
+
'--bg-fill-secondary-inverse': '#111111',
|
|
194
|
+
'--text-default': '#F7F7F3',
|
|
195
|
+
'--text-secondary': '#B8B8B1',
|
|
196
|
+
'--text-muted': '#8F8F89',
|
|
197
|
+
'--text-disabled': '#5E5E59',
|
|
198
|
+
'--text-inverse': '#111111',
|
|
199
|
+
'--text-on-fill-primary': '#111111',
|
|
200
|
+
'--text-on-fill-brand': '#111111',
|
|
201
|
+
'--text-on-fill-secondary': '#F7F7F3',
|
|
202
|
+
'--text-on-surface-accent': '#F7F7F3',
|
|
203
|
+
'--text-info': '#A7D0F7',
|
|
204
|
+
'--text-success': '#8BE5A9',
|
|
205
|
+
'--text-warning': '#F3D866',
|
|
206
|
+
'--text-critical': '#F3A19B',
|
|
207
|
+
'--text-emphasis': '#A8CFF6',
|
|
208
|
+
'--text-brand': '#7AE89E',
|
|
209
|
+
'--text-brand-2': '#E8D35B',
|
|
210
|
+
'--text-brand-3': '#7DB7F5',
|
|
211
|
+
'--text-brand-4': '#B79AF0',
|
|
212
|
+
'--text-brand-5': '#F39B94',
|
|
213
|
+
'--text-link': '#F7F7F3',
|
|
214
|
+
'--icon-default': '#F7F7F3',
|
|
215
|
+
'--icon-secondary': '#B8B8B1',
|
|
216
|
+
'--icon-disabled': '#5E5E59',
|
|
217
|
+
'--icon-inverse': '#111111',
|
|
218
|
+
'--icon-info': '#58A7F8',
|
|
219
|
+
'--icon-success': '#21E36B',
|
|
220
|
+
'--icon-warning': '#FFE14A',
|
|
221
|
+
'--icon-critical': '#FF7D73',
|
|
222
|
+
'--icon-emphasis': '#58A7F8',
|
|
223
|
+
'--icon-brand': '#21E36B',
|
|
224
|
+
'--icon-brand-2': '#FFE14A',
|
|
225
|
+
'--icon-brand-3': '#58A7F8',
|
|
226
|
+
'--icon-brand-4': '#A77AF3',
|
|
227
|
+
'--icon-brand-5': '#FF7D73',
|
|
228
|
+
'--border-default': '#3B3B37',
|
|
229
|
+
'--border-secondary': '#2C2C29',
|
|
230
|
+
'--border-input': '#4A4A45',
|
|
231
|
+
'--border-tertiary': '#5A5A54',
|
|
232
|
+
'--border-disabled': '#2C2C29',
|
|
233
|
+
'--border-inverse': '#B8B8B1',
|
|
234
|
+
'--border-focus': '#F7F7F3',
|
|
235
|
+
'--border-brand': '#21E36B',
|
|
236
|
+
'--border-brand-2': '#FFE14A',
|
|
237
|
+
'--border-brand-3': '#58A7F8',
|
|
238
|
+
'--border-brand-4': '#A77AF3',
|
|
239
|
+
'--border-brand-5': '#FF7D73',
|
|
240
|
+
'--border-info': '#3D7CB8',
|
|
241
|
+
'--border-success': '#2E9B53',
|
|
242
|
+
'--border-warning': '#A98F2C',
|
|
243
|
+
'--border-critical': '#A6554F',
|
|
244
|
+
'--border-emphasis': '#4C89C7',
|
|
245
|
+
'--chart-1': '#21E36B',
|
|
246
|
+
'--chart-2': '#58A7F8',
|
|
247
|
+
'--chart-3': '#FFE14A',
|
|
248
|
+
'--chart-4': '#A77AF3',
|
|
249
|
+
'--chart-5': '#FF7D73',
|
|
250
|
+
|
|
251
|
+
'--sidebar-background': '#111111',
|
|
252
|
+
'--sidebar-foreground': '#F7F7F3',
|
|
253
|
+
'--sidebar-primary': '#F7F7F3',
|
|
254
|
+
'--sidebar-primary-foreground': '#111111',
|
|
255
|
+
'--sidebar-accent': '#1E1E1C',
|
|
256
|
+
'--sidebar-accent-foreground': '#F7F7F3',
|
|
257
|
+
'--sidebar-border': '#3B3B37',
|
|
258
|
+
'--sidebar-ring': '#F7F7F3',
|
|
259
|
+
|
|
260
|
+
'--spacing': '0.25rem',
|
|
261
|
+
'--border-width-base': '0.0625rem',
|
|
262
|
+
'--radius': '0.125rem',
|
|
263
|
+
'--font-size-base': '1rem',
|
|
264
|
+
'--leading-base': '1.3',
|
|
265
|
+
'--letter-spacing-base': '0em',
|
|
266
|
+
'--opacity-disabled': '0.45',
|
|
267
|
+
'--shadow-offset-y': '0px',
|
|
268
|
+
'--shadow-blur': '0px',
|
|
269
|
+
'--shadow-spread': '0px',
|
|
270
|
+
'--shadow-base-color': '#00000000',
|
|
271
|
+
'--container-sm': '576px',
|
|
272
|
+
'--container-md': '768px',
|
|
273
|
+
'--container-lg': '1056px',
|
|
274
|
+
'--container-xl': '1248px',
|
|
275
|
+
'--container-2xl': '1440px',
|
|
276
|
+
'--dropdown-offset': '4',
|
|
277
|
+
'--overlay-offset': '4',
|
|
278
|
+
'--font-sans': '"Inter Variable", sans-serif',
|
|
279
|
+
'--font-heading': '"Inter Variable", sans-serif',
|
|
280
|
+
'--font-brand': '"Bricolage Grotesque Variable", sans-serif',
|
|
281
|
+
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { defaultPreset, defaultPresetDark } from './default'
|
|
2
2
|
import { brutalist, brutalistDark } from './brutalist'
|
|
3
3
|
import { signalPop, signalPopDark } from './signal-pop'
|
|
4
|
+
import { editorialGrid, editorialGridDark } from './editorial-grid'
|
|
4
5
|
|
|
5
6
|
export { defaultPreset, defaultPresetDark } from './default'
|
|
6
7
|
export { brutalist, brutalistDark } from './brutalist'
|
|
7
8
|
export { signalPop, signalPopDark } from './signal-pop'
|
|
9
|
+
export { editorialGrid, editorialGridDark } from './editorial-grid'
|
|
8
10
|
|
|
9
11
|
export interface PresetDefinition {
|
|
10
12
|
name: string
|
|
@@ -38,6 +40,13 @@ export const presetDefinitions = [
|
|
|
38
40
|
light: signalPop,
|
|
39
41
|
dark: signalPopDark,
|
|
40
42
|
},
|
|
43
|
+
{
|
|
44
|
+
name: 'editorial-grid',
|
|
45
|
+
label: 'Editorial Grid',
|
|
46
|
+
description: 'Flat editorial grid, visible rules, and vivid signals.',
|
|
47
|
+
light: editorialGrid,
|
|
48
|
+
dark: editorialGridDark,
|
|
49
|
+
},
|
|
41
50
|
] satisfies PresetDefinition[]
|
|
42
51
|
|
|
43
52
|
export const presetDefinitionsByName = Object.fromEntries(
|
|
@@ -22,6 +22,7 @@ export const signalPop: Record<string, string> = {
|
|
|
22
22
|
'--bg-surface-default': '#FFFFFFFF',
|
|
23
23
|
'--bg-surface-popover': '#FFFFFFFF',
|
|
24
24
|
'--bg-surface-accent': '#FF8BD3FF',
|
|
25
|
+
'--bg-surface-field': '#E8EEF2FF',
|
|
25
26
|
'--bg-surface-info': '#D7F0FAFF',
|
|
26
27
|
'--bg-surface-success': '#DEF6D8FF',
|
|
27
28
|
'--bg-surface-warning': '#FFE8B5FF',
|
|
@@ -57,6 +58,7 @@ export const signalPop: Record<string, string> = {
|
|
|
57
58
|
'--text-disabled': '#B9BDC6FF',
|
|
58
59
|
'--text-inverse': '#F9FAF2FF',
|
|
59
60
|
'--text-on-fill-primary': '#FFFFFFFF',
|
|
61
|
+
'--text-on-fill-brand': '#FFFFFFFF',
|
|
60
62
|
'--text-on-fill-secondary': '#050507FF',
|
|
61
63
|
'--text-on-surface-accent': '#0B0B0FFF',
|
|
62
64
|
'--text-info': '#064864FF',
|
|
@@ -197,6 +199,7 @@ export const signalPopDark: Record<string, string> = {
|
|
|
197
199
|
'--bg-surface-default': '#050507FF',
|
|
198
200
|
'--bg-surface-popover': '#050507FF',
|
|
199
201
|
'--bg-surface-accent': '#351026FF',
|
|
202
|
+
'--bg-surface-field': '#17191FFF',
|
|
200
203
|
'--bg-surface-info': '#073348FF',
|
|
201
204
|
'--bg-surface-success': '#0B3017FF',
|
|
202
205
|
'--bg-surface-warning': '#342602FF',
|
|
@@ -232,6 +235,7 @@ export const signalPopDark: Record<string, string> = {
|
|
|
232
235
|
'--text-disabled': '#5B606AFF',
|
|
233
236
|
'--text-inverse': '#050507FF',
|
|
234
237
|
'--text-on-fill-primary': '#FFFFFFFF',
|
|
238
|
+
'--text-on-fill-brand': '#FFFFFFFF',
|
|
235
239
|
'--text-on-fill-secondary': '#050507FF',
|
|
236
240
|
'--text-on-surface-accent': '#F7F8F2FF',
|
|
237
241
|
'--text-info': '#9FDEF2FF',
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
--input-radius: var(--radius-md);
|
|
31
31
|
--input-height: calc(var(--spacing) * 7);
|
|
32
32
|
--badge-radius: var(--radius-4xl);
|
|
33
|
+
--grid-overlay-color: color-mix(in srgb, var(--text-default) 6%, transparent);
|
|
33
34
|
|
|
34
35
|
/* ── Motion ────────────────────────────────────────────────────────── */
|
|
35
36
|
--motion-duration-fast: 100ms;
|
|
@@ -45,6 +45,12 @@ export const semanticColorTokens: SemanticColorToken[] = [
|
|
|
45
45
|
category: 'bg',
|
|
46
46
|
label: 'surface-accent',
|
|
47
47
|
},
|
|
48
|
+
{
|
|
49
|
+
cssVar: '--bg-surface-field',
|
|
50
|
+
reference: '{neutral.500}',
|
|
51
|
+
category: 'bg',
|
|
52
|
+
label: 'surface-field',
|
|
53
|
+
},
|
|
48
54
|
{ cssVar: '--bg-surface-info', reference: '{sky.100}', category: 'bg', label: 'surface-info' },
|
|
49
55
|
{
|
|
50
56
|
cssVar: '--bg-surface-success',
|
|
@@ -202,6 +208,12 @@ export const semanticColorTokens: SemanticColorToken[] = [
|
|
|
202
208
|
category: 'text',
|
|
203
209
|
label: 'on-fill-primary',
|
|
204
210
|
},
|
|
211
|
+
{
|
|
212
|
+
cssVar: '--text-on-fill-brand',
|
|
213
|
+
reference: '{base.black}',
|
|
214
|
+
category: 'text',
|
|
215
|
+
label: 'on-fill-brand',
|
|
216
|
+
},
|
|
205
217
|
{
|
|
206
218
|
cssVar: '--text-on-fill-secondary',
|
|
207
219
|
reference: '{neutral.1000}',
|
|
@@ -332,7 +344,7 @@ export const tailwindColorAliases: TailwindColorAlias[] = [
|
|
|
332
344
|
{ cssVar: '--color-stroke', target: '--border-default' },
|
|
333
345
|
{ cssVar: '--color-field', target: '--border-secondary' },
|
|
334
346
|
{ cssVar: '--color-focus', target: '--border-focus' },
|
|
335
|
-
{ cssVar: '--color-
|
|
347
|
+
{ cssVar: '--color-fill-critical', target: '--bg-fill-critical' },
|
|
336
348
|
{ cssVar: '--color-sidebar-stroke', target: '--border-default' },
|
|
337
349
|
{ cssVar: '--color-chart-1', target: '--chart-1' },
|
|
338
350
|
{ cssVar: '--color-chart-2', target: '--chart-2' },
|
|
@@ -351,6 +363,7 @@ export const tailwindColorAliases: TailwindColorAlias[] = [
|
|
|
351
363
|
{ cssVar: '--color-brand-5', target: '--text-brand-5' },
|
|
352
364
|
{ cssVar: '--color-surface-success', target: '--bg-surface-success' },
|
|
353
365
|
{ cssVar: '--color-surface-warning', target: '--bg-surface-warning' },
|
|
366
|
+
{ cssVar: '--color-surface-field', target: '--bg-surface-field' },
|
|
354
367
|
{ cssVar: '--color-surface-critical', target: '--bg-surface-critical' },
|
|
355
368
|
{ cssVar: '--color-surface-info', target: '--bg-surface-info' },
|
|
356
369
|
{ cssVar: '--color-surface-emphasis', target: '--bg-surface-emphasis' },
|
|
@@ -359,6 +372,7 @@ export const tailwindColorAliases: TailwindColorAlias[] = [
|
|
|
359
372
|
{ cssVar: '--color-surface-brand-3', target: '--bg-surface-brand-3' },
|
|
360
373
|
{ cssVar: '--color-surface-brand-4', target: '--bg-surface-brand-4' },
|
|
361
374
|
{ cssVar: '--color-surface-brand-5', target: '--bg-surface-brand-5' },
|
|
375
|
+
{ cssVar: '--color-surface-hover', target: '--bg-surface-hover' },
|
|
362
376
|
{ cssVar: '--color-icon-success', target: '--icon-success' },
|
|
363
377
|
{ cssVar: '--color-icon-warning', target: '--icon-warning' },
|
|
364
378
|
{ cssVar: '--color-icon-critical', target: '--icon-critical' },
|
|
@@ -33,6 +33,10 @@
|
|
|
33
33
|
background-color: var(--bg-surface-accent);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
+
.bg-surface-field {
|
|
37
|
+
background-color: var(--bg-surface-field);
|
|
38
|
+
}
|
|
39
|
+
|
|
36
40
|
.bg-surface-info {
|
|
37
41
|
background-color: var(--bg-surface-info);
|
|
38
42
|
}
|
|
@@ -173,6 +177,10 @@
|
|
|
173
177
|
color: var(--text-on-fill-primary);
|
|
174
178
|
}
|
|
175
179
|
|
|
180
|
+
.text-on-fill-brand {
|
|
181
|
+
color: var(--text-on-fill-brand);
|
|
182
|
+
}
|
|
183
|
+
|
|
176
184
|
.text-on-fill-secondary {
|
|
177
185
|
color: var(--text-on-fill-secondary);
|
|
178
186
|
}
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
--bg-surface-default: #f8f8f8ff;
|
|
27
27
|
--bg-surface-popover: #f8f8f8ff;
|
|
28
28
|
--bg-surface-accent: #efefefff;
|
|
29
|
+
--bg-surface-field: #2e2e2eff;
|
|
29
30
|
--bg-surface-info: #e8f0f8ff;
|
|
30
31
|
--bg-surface-success: #e8f4e8ff;
|
|
31
32
|
--bg-surface-warning: #fbf4e0ff;
|
|
@@ -63,6 +64,7 @@
|
|
|
63
64
|
--text-disabled: #aaaaaaff;
|
|
64
65
|
--text-inverse: #f8f8f8ff;
|
|
65
66
|
--text-on-fill-primary: #f8f8f8ff;
|
|
67
|
+
--text-on-fill-brand: #0a0a0aff;
|
|
66
68
|
--text-on-fill-secondary: #0a0a0aff;
|
|
67
69
|
--text-on-surface-accent: #0a0a0aff;
|
|
68
70
|
--text-info: #001e5eff;
|
|
@@ -157,12 +159,13 @@
|
|
|
157
159
|
--bg-surface-default: #0a0a0aff;
|
|
158
160
|
--bg-surface-popover: #0a0a0aff;
|
|
159
161
|
--bg-surface-accent: #141414ff;
|
|
162
|
+
--bg-surface-field: #888888ff;
|
|
160
163
|
--bg-surface-info: #0a1828ff;
|
|
161
164
|
--bg-surface-success: #0a180aff;
|
|
162
165
|
--bg-surface-warning: #1e1406ff;
|
|
163
166
|
--bg-surface-critical: #1e0a0aff;
|
|
164
167
|
--bg-surface-emphasis: #0a0a1eff;
|
|
165
|
-
--bg-surface-inverse: #
|
|
168
|
+
--bg-surface-inverse: #888888ff;
|
|
166
169
|
--bg-surface-transparent: #ffffff10;
|
|
167
170
|
--bg-overlay: var(--overlays-black-alpha-800);
|
|
168
171
|
--bg-surface-brand: #0a1e08ff;
|
|
@@ -194,6 +197,7 @@
|
|
|
194
197
|
--text-disabled: #444444ff;
|
|
195
198
|
--text-inverse: #0a0a0aff;
|
|
196
199
|
--text-on-fill-primary: #0a0a0aff;
|
|
200
|
+
--text-on-fill-brand: #0a0a0aff;
|
|
197
201
|
--text-on-fill-secondary: #f0f0f0ff;
|
|
198
202
|
--text-on-surface-accent: #f0f0f0ff;
|
|
199
203
|
--text-info: #99bbffff;
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
--color-stroke: var(--border-default);
|
|
42
42
|
--color-field: var(--border-secondary);
|
|
43
43
|
--color-focus: var(--border-focus);
|
|
44
|
-
--color-
|
|
44
|
+
--color-fill-critical: var(--bg-fill-critical);
|
|
45
45
|
--color-sidebar-stroke: var(--border-default);
|
|
46
46
|
--color-chart-1: var(--chart-1);
|
|
47
47
|
--color-chart-2: var(--chart-2);
|
|
@@ -60,6 +60,7 @@
|
|
|
60
60
|
--color-brand-5: var(--text-brand-5);
|
|
61
61
|
--color-surface-success: var(--bg-surface-success);
|
|
62
62
|
--color-surface-warning: var(--bg-surface-warning);
|
|
63
|
+
--color-surface-field: var(--bg-surface-field);
|
|
63
64
|
--color-surface-critical: var(--bg-surface-critical);
|
|
64
65
|
--color-surface-info: var(--bg-surface-info);
|
|
65
66
|
--color-surface-emphasis: var(--bg-surface-emphasis);
|
|
@@ -68,6 +69,7 @@
|
|
|
68
69
|
--color-surface-brand-3: var(--bg-surface-brand-3);
|
|
69
70
|
--color-surface-brand-4: var(--bg-surface-brand-4);
|
|
70
71
|
--color-surface-brand-5: var(--bg-surface-brand-5);
|
|
72
|
+
--color-surface-hover: var(--bg-surface-hover);
|
|
71
73
|
--color-icon-success: var(--icon-success);
|
|
72
74
|
--color-icon-warning: var(--icon-warning);
|
|
73
75
|
--color-icon-critical: var(--icon-critical);
|
|
@@ -31,6 +31,10 @@
|
|
|
31
31
|
background-color: var(--bg-surface-accent);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
@utility bg-surface-field {
|
|
35
|
+
background-color: var(--bg-surface-field);
|
|
36
|
+
}
|
|
37
|
+
|
|
34
38
|
@utility bg-surface-info {
|
|
35
39
|
background-color: var(--bg-surface-info);
|
|
36
40
|
}
|
|
@@ -171,6 +175,10 @@
|
|
|
171
175
|
color: var(--text-on-fill-primary);
|
|
172
176
|
}
|
|
173
177
|
|
|
178
|
+
@utility text-on-fill-brand {
|
|
179
|
+
color: var(--text-on-fill-brand);
|
|
180
|
+
}
|
|
181
|
+
|
|
174
182
|
@utility text-on-fill-secondary {
|
|
175
183
|
color: var(--text-on-fill-secondary);
|
|
176
184
|
}
|