@talogic/react 0.0.0-stage → 0.6.2
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 +106 -2
- package/app/app-shell.component.d.ts +66 -0
- package/app/command-shortcut.hook.d.ts +21 -0
- package/app/filter-bar.component.d.ts +38 -0
- package/app/form-section.component.d.ts +21 -0
- package/app/index.d.ts +14 -0
- package/app/page-header.component.d.ts +20 -0
- package/app/records-table.component.d.ts +38 -0
- package/app/sparkline.algorithm.d.ts +11 -0
- package/app/stat-card.component.d.ts +28 -0
- package/class-names/class-names.algorithm.d.ts +8 -0
- package/class-names/index.d.ts +1 -0
- package/desktop/flow-node.component.d.ts +25 -0
- package/desktop/index.d.ts +12 -0
- package/desktop/inspector.component.d.ts +29 -0
- package/desktop/status-bar.component.d.ts +17 -0
- package/desktop/timeline-lanes.component.d.ts +43 -0
- package/desktop/timeline.algorithm.d.ts +22 -0
- package/desktop/title-bar.component.d.ts +24 -0
- package/fonts.css +4 -0
- package/index.d.ts +17 -0
- package/index.js +3495 -0
- package/index.js.map +1 -0
- package/mobile/bottom-nav.component.d.ts +23 -0
- package/mobile/capture-frame.component.d.ts +30 -0
- package/mobile/index.d.ts +6 -0
- package/mobile/record-button.component.d.ts +24 -0
- package/package.json +63 -4
- package/product/index.d.ts +8 -0
- package/product/product-catalogue.content.d.ts +16 -0
- package/product/product-logo.component.d.ts +17 -0
- package/product/product-switcher.component.d.ts +21 -0
- package/product/sidebar-brand.component.d.ts +18 -0
- package/status/index.d.ts +6 -0
- package/status/run-status.contract.d.ts +7 -0
- package/status/run-status.mapper.d.ts +18 -0
- package/status/status-badge.component.d.ts +14 -0
- package/talogic-react.css +2 -0
- package/timecode/index.d.ts +1 -0
- package/timecode/timecode.mapper.d.ts +17 -0
- package/tokens/apca-contrast.algorithm.d.ts +23 -0
- package/tokens/hue-fill.style.d.ts +6 -0
- package/tokens/index.d.ts +12 -0
- package/tokens/logo-color.algorithm.d.ts +21 -0
- package/tokens/palette.style.d.ts +6 -0
- package/tokens/product-hue.policy.d.ts +15 -0
- package/tokens/theme-attributes.mapper.d.ts +18 -0
- package/tokens/theme-root.component.d.ts +15 -0
- package/tokens/theme.contract.d.ts +34 -0
- package/tokens.css +949 -0
- package/ui/active-indicator/active-indicator.hook.d.ts +11 -0
- package/ui/active-indicator/active-indicator.recipe.d.ts +5 -0
- package/ui/active-indicator/index.d.ts +2 -0
- package/ui/avatar/avatar.component.d.ts +23 -0
- package/ui/avatar/index.d.ts +1 -0
- package/ui/badge/badge.component.d.ts +14 -0
- package/ui/badge/badge.recipe.d.ts +12 -0
- package/ui/badge/index.d.ts +4 -0
- package/ui/button/button.component.d.ts +16 -0
- package/ui/button/button.recipe.d.ts +11 -0
- package/ui/button/index.d.ts +4 -0
- package/ui/choice/checkbox.component.d.ts +11 -0
- package/ui/choice/index.d.ts +5 -0
- package/ui/choice/radio-group.component.d.ts +17 -0
- package/ui/choice/slider.component.d.ts +10 -0
- package/ui/choice/switch.component.d.ts +9 -0
- package/ui/choice/toggle-group.component.d.ts +17 -0
- package/ui/feedback/alert.component.d.ts +41 -0
- package/ui/feedback/empty-state.component.d.ts +19 -0
- package/ui/feedback/index.d.ts +8 -0
- package/ui/feedback/progress.component.d.ts +9 -0
- package/ui/feedback/skeleton.component.d.ts +8 -0
- package/ui/feedback/spinner.component.d.ts +10 -0
- package/ui/feedback/toaster.component.d.ts +10 -0
- package/ui/field/control.recipe.d.ts +5 -0
- package/ui/field/field-control.hook.d.ts +26 -0
- package/ui/field/field.component.d.ts +22 -0
- package/ui/field/index.d.ts +10 -0
- package/ui/field/input.component.d.ts +13 -0
- package/ui/field/label.component.d.ts +9 -0
- package/ui/field/select.component.d.ts +43 -0
- package/ui/field/textarea.component.d.ts +8 -0
- package/ui/index.d.ts +11 -0
- package/ui/layout/accordion.component.d.ts +30 -0
- package/ui/layout/card.component.d.ts +43 -0
- package/ui/layout/index.d.ts +7 -0
- package/ui/layout/kbd.component.d.ts +8 -0
- package/ui/layout/resizable.component.d.ts +23 -0
- package/ui/layout/scroll-area.component.d.ts +16 -0
- package/ui/layout/separator.component.d.ts +9 -0
- package/ui/layout/table.component.d.ts +50 -0
- package/ui/menu/command.component.d.ts +72 -0
- package/ui/menu/context-menu.component.d.ts +39 -0
- package/ui/menu/dropdown-menu.component.d.ts +57 -0
- package/ui/menu/index.d.ts +6 -0
- package/ui/menu/menu.recipe.d.ts +13 -0
- package/ui/navigation/breadcrumb.component.d.ts +45 -0
- package/ui/navigation/index.d.ts +11 -0
- package/ui/navigation/menu-icon.component.d.ts +18 -0
- package/ui/navigation/menubar.component.d.ts +48 -0
- package/ui/navigation/navigation-menu.component.d.ts +39 -0
- package/ui/navigation/pagination.component.d.ts +20 -0
- package/ui/navigation/stepper.component.d.ts +28 -0
- package/ui/navigation/tabs.component.d.ts +39 -0
- package/ui/overlay/alert-dialog.component.d.ts +42 -0
- package/ui/overlay/dialog.component.d.ts +48 -0
- package/ui/overlay/drawer.component.d.ts +29 -0
- package/ui/overlay/index.d.ts +9 -0
- package/ui/overlay/overlay.recipe.d.ts +18 -0
- package/ui/overlay/popover.component.d.ts +15 -0
- package/ui/overlay/sheet.component.d.ts +31 -0
- package/ui/overlay/tooltip.component.d.ts +20 -0
- package/ui/sidebar/index.d.ts +11 -0
- package/ui/sidebar/sidebar-context.hook.d.ts +29 -0
- package/ui/sidebar/sidebar-group.component.d.ts +26 -0
- package/ui/sidebar/sidebar-item.component.d.ts +35 -0
- package/ui/sidebar/sidebar-sheet.component.d.ts +25 -0
- package/ui/sidebar/sidebar.component.d.ts +80 -0
- package/ui/sidebar/sidebar.recipe.d.ts +8 -0
- package/web/cta-band.component.d.ts +20 -0
- package/web/faq.component.d.ts +19 -0
- package/web/feature-grid.component.d.ts +22 -0
- package/web/hero.component.d.ts +20 -0
- package/web/how-it-works.component.d.ts +22 -0
- package/web/index.d.ts +20 -0
- package/web/mobile-menu.component.d.ts +25 -0
- package/web/pricing-table.component.d.ts +37 -0
- package/web/product-card.component.d.ts +20 -0
- package/web/site-footer.component.d.ts +25 -0
- package/web/site-header.component.d.ts +32 -0
package/tokens.css
ADDED
|
@@ -0,0 +1,949 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Talogic design tokens for Tailwind CSS v4 and shadcn/ui.
|
|
3
|
+
*
|
|
4
|
+
* Consumers that run Tailwind import this file after Tailwind itself:
|
|
5
|
+
* @import "tailwindcss";
|
|
6
|
+
* @import "@talogic/react/tokens.css";
|
|
7
|
+
* @source "../node_modules/@talogic/react";
|
|
8
|
+
* The fonts are a separate import, @talogic/react/fonts.css, resolved by the consumer's bundler.
|
|
9
|
+
*
|
|
10
|
+
* Switches, all on any element (usually <html>):
|
|
11
|
+
* .dark dark theme
|
|
12
|
+
* data-product="pargic" the product's accent (talogic, pargic, daygic, ingic, loregic, loomgic)
|
|
13
|
+
* data-hue="pink" any family hue; wins over data-product on the same element
|
|
14
|
+
* .d-web .d-app .d-desk .d-mob control density for the surface
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
@custom-variant dark (&:where(.dark, .dark *));
|
|
18
|
+
|
|
19
|
+
/* Family palette: 12 hues x 11 steps with the same OKLCH lightness per step. Replaces the default Tailwind colours. */
|
|
20
|
+
@theme static {
|
|
21
|
+
--color-*: initial;
|
|
22
|
+
--color-white: #ffffff;
|
|
23
|
+
--color-black: #000000;
|
|
24
|
+
--color-ink: #14121a;
|
|
25
|
+
/* red · H 25 */
|
|
26
|
+
--color-red-50: #fef4f3;
|
|
27
|
+
--color-red-100: #fee9e7;
|
|
28
|
+
--color-red-200: #fed2cd;
|
|
29
|
+
--color-red-300: #ffb0a9;
|
|
30
|
+
--color-red-400: #fb817a;
|
|
31
|
+
--color-red-500: #e15955;
|
|
32
|
+
--color-red-600: #c43f3e;
|
|
33
|
+
--color-red-700: #a12f2f;
|
|
34
|
+
--color-red-800: #7c2524;
|
|
35
|
+
--color-red-900: #581b1a;
|
|
36
|
+
--color-red-950: #371210;
|
|
37
|
+
/* orange · H 50 */
|
|
38
|
+
--color-orange-50: #fff4ef;
|
|
39
|
+
--color-orange-100: #feeadf;
|
|
40
|
+
--color-orange-200: #ffd4bc;
|
|
41
|
+
--color-orange-300: #ffb48a;
|
|
42
|
+
--color-orange-400: #f58b4b;
|
|
43
|
+
--color-orange-500: #d96604;
|
|
44
|
+
--color-orange-600: #b65400;
|
|
45
|
+
--color-orange-700: #934302;
|
|
46
|
+
--color-orange-800: #723302;
|
|
47
|
+
--color-orange-900: #532301;
|
|
48
|
+
--color-orange-950: #351502;
|
|
49
|
+
/* amber · H 78 */
|
|
50
|
+
--color-amber-50: #fcf6ec;
|
|
51
|
+
--color-amber-100: #fcecd5;
|
|
52
|
+
--color-amber-200: #f8d9aa;
|
|
53
|
+
--color-amber-300: #efbe72;
|
|
54
|
+
--color-amber-400: #de9d16;
|
|
55
|
+
--color-amber-500: #b78006;
|
|
56
|
+
--color-amber-600: #996a03;
|
|
57
|
+
--color-amber-700: #7c5500;
|
|
58
|
+
--color-amber-800: #604102;
|
|
59
|
+
--color-amber-900: #452e01;
|
|
60
|
+
--color-amber-950: #2c1c00;
|
|
61
|
+
/* lime · H 125 */
|
|
62
|
+
--color-lime-50: #f4f9ee;
|
|
63
|
+
--color-lime-100: #e9f3da;
|
|
64
|
+
--color-lime-200: #d3e7b4;
|
|
65
|
+
--color-lime-300: #b7d484;
|
|
66
|
+
--color-lime-400: #95bb46;
|
|
67
|
+
--color-lime-500: #769c03;
|
|
68
|
+
--color-lime-600: #628202;
|
|
69
|
+
--color-lime-700: #4e6801;
|
|
70
|
+
--color-lime-800: #3b5001;
|
|
71
|
+
--color-lime-900: #2a3900;
|
|
72
|
+
--color-lime-950: #192400;
|
|
73
|
+
/* green · H 155 */
|
|
74
|
+
--color-green-50: #effaf2;
|
|
75
|
+
--color-green-100: #ddf6e4;
|
|
76
|
+
--color-green-200: #baecca;
|
|
77
|
+
--color-green-300: #8bdda8;
|
|
78
|
+
--color-green-400: #4bc680;
|
|
79
|
+
--color-green-500: #01a760;
|
|
80
|
+
--color-green-600: #028b4f;
|
|
81
|
+
--color-green-700: #02703f;
|
|
82
|
+
--color-green-800: #02572f;
|
|
83
|
+
--color-green-900: #013e20;
|
|
84
|
+
--color-green-950: #012712;
|
|
85
|
+
/* teal · H 180 */
|
|
86
|
+
--color-teal-50: #edfaf7;
|
|
87
|
+
--color-teal-100: #d6f7ef;
|
|
88
|
+
--color-teal-200: #abeee0;
|
|
89
|
+
--color-teal-300: #6bdfca;
|
|
90
|
+
--color-teal-400: #02c6ae;
|
|
91
|
+
--color-teal-500: #01a38f;
|
|
92
|
+
--color-teal-600: #098777;
|
|
93
|
+
--color-teal-700: #046d5f;
|
|
94
|
+
--color-teal-800: #025449;
|
|
95
|
+
--color-teal-900: #003c34;
|
|
96
|
+
--color-teal-950: #022620;
|
|
97
|
+
/* cyan · H 210 */
|
|
98
|
+
--color-cyan-50: #ecfafc;
|
|
99
|
+
--color-cyan-100: #d5f5fc;
|
|
100
|
+
--color-cyan-200: #a7ebf8;
|
|
101
|
+
--color-cyan-300: #63dbef;
|
|
102
|
+
--color-cyan-400: #00c0d7;
|
|
103
|
+
--color-cyan-500: #059eb1;
|
|
104
|
+
--color-cyan-600: #058393;
|
|
105
|
+
--color-cyan-700: #046a77;
|
|
106
|
+
--color-cyan-800: #03515c;
|
|
107
|
+
--color-cyan-900: #023a42;
|
|
108
|
+
--color-cyan-950: #02242a;
|
|
109
|
+
/* sky · H 237 */
|
|
110
|
+
--color-sky-50: #eff8ff;
|
|
111
|
+
--color-sky-100: #def2ff;
|
|
112
|
+
--color-sky-200: #bde4fe;
|
|
113
|
+
--color-sky-300: #89d1fe;
|
|
114
|
+
--color-sky-400: #2cb7fd;
|
|
115
|
+
--color-sky-500: #0997d5;
|
|
116
|
+
--color-sky-600: #017db2;
|
|
117
|
+
--color-sky-700: #026590;
|
|
118
|
+
--color-sky-800: #034d70;
|
|
119
|
+
--color-sky-900: #003752;
|
|
120
|
+
--color-sky-950: #002235;
|
|
121
|
+
/* blue · H 265 */
|
|
122
|
+
--color-blue-50: #f3f7ff;
|
|
123
|
+
--color-blue-100: #e7efff;
|
|
124
|
+
--color-blue-200: #cfdeff;
|
|
125
|
+
--color-blue-300: #adc7ff;
|
|
126
|
+
--color-blue-400: #82a8fe;
|
|
127
|
+
--color-blue-500: #5886f2;
|
|
128
|
+
--color-blue-600: #426dd7;
|
|
129
|
+
--color-blue-700: #3357b1;
|
|
130
|
+
--color-blue-800: #274387;
|
|
131
|
+
--color-blue-900: #1c3060;
|
|
132
|
+
--color-blue-950: #111e3b;
|
|
133
|
+
/* violet · H 293 */
|
|
134
|
+
--color-violet-50: #f7f6fe;
|
|
135
|
+
--color-violet-100: #efecfe;
|
|
136
|
+
--color-violet-200: #dfd8fe;
|
|
137
|
+
--color-violet-300: #c9bdfe;
|
|
138
|
+
--color-violet-400: #af98fe;
|
|
139
|
+
--color-violet-500: #9274e8;
|
|
140
|
+
--color-violet-600: #7b5bcd;
|
|
141
|
+
--color-violet-700: #6347a9;
|
|
142
|
+
--color-violet-800: #4c3781;
|
|
143
|
+
--color-violet-900: #36285c;
|
|
144
|
+
--color-violet-950: #211939;
|
|
145
|
+
/* purple · H 318 */
|
|
146
|
+
--color-purple-50: #fbf4fe;
|
|
147
|
+
--color-purple-100: #f9e8fe;
|
|
148
|
+
--color-purple-200: #f2d0fd;
|
|
149
|
+
--color-purple-300: #e5b1f6;
|
|
150
|
+
--color-purple-400: #d28ae8;
|
|
151
|
+
--color-purple-500: #b666ce;
|
|
152
|
+
--color-purple-600: #9c4db4;
|
|
153
|
+
--color-purple-700: #7f3c93;
|
|
154
|
+
--color-purple-800: #622e71;
|
|
155
|
+
--color-purple-900: #452150;
|
|
156
|
+
--color-purple-950: #2b1531;
|
|
157
|
+
/* pink · H 350 */
|
|
158
|
+
--color-pink-50: #fef3f8;
|
|
159
|
+
--color-pink-100: #ffe7f1;
|
|
160
|
+
--color-pink-200: #fecee4;
|
|
161
|
+
--color-pink-300: #feaad1;
|
|
162
|
+
--color-pink-400: #f080b8;
|
|
163
|
+
--color-pink-500: #d4599b;
|
|
164
|
+
--color-pink-600: #b94082;
|
|
165
|
+
--color-pink-700: #973069;
|
|
166
|
+
--color-pink-800: #742651;
|
|
167
|
+
--color-pink-900: #531b39;
|
|
168
|
+
--color-pink-950: #331123;
|
|
169
|
+
|
|
170
|
+
/* Labels: the ink or white label that reads best on each family colour (APCA). */
|
|
171
|
+
/* generated:labels: written by npm run tokens:labels from the APCA rule; do not edit by hand */
|
|
172
|
+
--color-on-red-50: #14121a;
|
|
173
|
+
--color-on-red-100: #14121a;
|
|
174
|
+
--color-on-red-200: #14121a;
|
|
175
|
+
--color-on-red-300: #14121a;
|
|
176
|
+
--color-on-red-400: #14121a;
|
|
177
|
+
--color-on-red-500: #ffffff;
|
|
178
|
+
--color-on-red-600: #ffffff;
|
|
179
|
+
--color-on-red-700: #ffffff;
|
|
180
|
+
--color-on-red-800: #ffffff;
|
|
181
|
+
--color-on-red-900: #ffffff;
|
|
182
|
+
--color-on-red-950: #ffffff;
|
|
183
|
+
--color-on-orange-50: #14121a;
|
|
184
|
+
--color-on-orange-100: #14121a;
|
|
185
|
+
--color-on-orange-200: #14121a;
|
|
186
|
+
--color-on-orange-300: #14121a;
|
|
187
|
+
--color-on-orange-400: #14121a;
|
|
188
|
+
--color-on-orange-500: #ffffff;
|
|
189
|
+
--color-on-orange-600: #ffffff;
|
|
190
|
+
--color-on-orange-700: #ffffff;
|
|
191
|
+
--color-on-orange-800: #ffffff;
|
|
192
|
+
--color-on-orange-900: #ffffff;
|
|
193
|
+
--color-on-orange-950: #ffffff;
|
|
194
|
+
--color-on-amber-50: #14121a;
|
|
195
|
+
--color-on-amber-100: #14121a;
|
|
196
|
+
--color-on-amber-200: #14121a;
|
|
197
|
+
--color-on-amber-300: #14121a;
|
|
198
|
+
--color-on-amber-400: #14121a;
|
|
199
|
+
--color-on-amber-500: #ffffff;
|
|
200
|
+
--color-on-amber-600: #ffffff;
|
|
201
|
+
--color-on-amber-700: #ffffff;
|
|
202
|
+
--color-on-amber-800: #ffffff;
|
|
203
|
+
--color-on-amber-900: #ffffff;
|
|
204
|
+
--color-on-amber-950: #ffffff;
|
|
205
|
+
--color-on-lime-50: #14121a;
|
|
206
|
+
--color-on-lime-100: #14121a;
|
|
207
|
+
--color-on-lime-200: #14121a;
|
|
208
|
+
--color-on-lime-300: #14121a;
|
|
209
|
+
--color-on-lime-400: #14121a;
|
|
210
|
+
--color-on-lime-500: #ffffff;
|
|
211
|
+
--color-on-lime-600: #ffffff;
|
|
212
|
+
--color-on-lime-700: #ffffff;
|
|
213
|
+
--color-on-lime-800: #ffffff;
|
|
214
|
+
--color-on-lime-900: #ffffff;
|
|
215
|
+
--color-on-lime-950: #ffffff;
|
|
216
|
+
--color-on-green-50: #14121a;
|
|
217
|
+
--color-on-green-100: #14121a;
|
|
218
|
+
--color-on-green-200: #14121a;
|
|
219
|
+
--color-on-green-300: #14121a;
|
|
220
|
+
--color-on-green-400: #14121a;
|
|
221
|
+
--color-on-green-500: #ffffff;
|
|
222
|
+
--color-on-green-600: #ffffff;
|
|
223
|
+
--color-on-green-700: #ffffff;
|
|
224
|
+
--color-on-green-800: #ffffff;
|
|
225
|
+
--color-on-green-900: #ffffff;
|
|
226
|
+
--color-on-green-950: #ffffff;
|
|
227
|
+
--color-on-teal-50: #14121a;
|
|
228
|
+
--color-on-teal-100: #14121a;
|
|
229
|
+
--color-on-teal-200: #14121a;
|
|
230
|
+
--color-on-teal-300: #14121a;
|
|
231
|
+
--color-on-teal-400: #14121a;
|
|
232
|
+
--color-on-teal-500: #ffffff;
|
|
233
|
+
--color-on-teal-600: #ffffff;
|
|
234
|
+
--color-on-teal-700: #ffffff;
|
|
235
|
+
--color-on-teal-800: #ffffff;
|
|
236
|
+
--color-on-teal-900: #ffffff;
|
|
237
|
+
--color-on-teal-950: #ffffff;
|
|
238
|
+
--color-on-cyan-50: #14121a;
|
|
239
|
+
--color-on-cyan-100: #14121a;
|
|
240
|
+
--color-on-cyan-200: #14121a;
|
|
241
|
+
--color-on-cyan-300: #14121a;
|
|
242
|
+
--color-on-cyan-400: #14121a;
|
|
243
|
+
--color-on-cyan-500: #ffffff;
|
|
244
|
+
--color-on-cyan-600: #ffffff;
|
|
245
|
+
--color-on-cyan-700: #ffffff;
|
|
246
|
+
--color-on-cyan-800: #ffffff;
|
|
247
|
+
--color-on-cyan-900: #ffffff;
|
|
248
|
+
--color-on-cyan-950: #ffffff;
|
|
249
|
+
--color-on-sky-50: #14121a;
|
|
250
|
+
--color-on-sky-100: #14121a;
|
|
251
|
+
--color-on-sky-200: #14121a;
|
|
252
|
+
--color-on-sky-300: #14121a;
|
|
253
|
+
--color-on-sky-400: #14121a;
|
|
254
|
+
--color-on-sky-500: #ffffff;
|
|
255
|
+
--color-on-sky-600: #ffffff;
|
|
256
|
+
--color-on-sky-700: #ffffff;
|
|
257
|
+
--color-on-sky-800: #ffffff;
|
|
258
|
+
--color-on-sky-900: #ffffff;
|
|
259
|
+
--color-on-sky-950: #ffffff;
|
|
260
|
+
--color-on-blue-50: #14121a;
|
|
261
|
+
--color-on-blue-100: #14121a;
|
|
262
|
+
--color-on-blue-200: #14121a;
|
|
263
|
+
--color-on-blue-300: #14121a;
|
|
264
|
+
--color-on-blue-400: #14121a;
|
|
265
|
+
--color-on-blue-500: #ffffff;
|
|
266
|
+
--color-on-blue-600: #ffffff;
|
|
267
|
+
--color-on-blue-700: #ffffff;
|
|
268
|
+
--color-on-blue-800: #ffffff;
|
|
269
|
+
--color-on-blue-900: #ffffff;
|
|
270
|
+
--color-on-blue-950: #ffffff;
|
|
271
|
+
--color-on-violet-50: #14121a;
|
|
272
|
+
--color-on-violet-100: #14121a;
|
|
273
|
+
--color-on-violet-200: #14121a;
|
|
274
|
+
--color-on-violet-300: #14121a;
|
|
275
|
+
--color-on-violet-400: #14121a;
|
|
276
|
+
--color-on-violet-500: #ffffff;
|
|
277
|
+
--color-on-violet-600: #ffffff;
|
|
278
|
+
--color-on-violet-700: #ffffff;
|
|
279
|
+
--color-on-violet-800: #ffffff;
|
|
280
|
+
--color-on-violet-900: #ffffff;
|
|
281
|
+
--color-on-violet-950: #ffffff;
|
|
282
|
+
--color-on-purple-50: #14121a;
|
|
283
|
+
--color-on-purple-100: #14121a;
|
|
284
|
+
--color-on-purple-200: #14121a;
|
|
285
|
+
--color-on-purple-300: #14121a;
|
|
286
|
+
--color-on-purple-400: #14121a;
|
|
287
|
+
--color-on-purple-500: #ffffff;
|
|
288
|
+
--color-on-purple-600: #ffffff;
|
|
289
|
+
--color-on-purple-700: #ffffff;
|
|
290
|
+
--color-on-purple-800: #ffffff;
|
|
291
|
+
--color-on-purple-900: #ffffff;
|
|
292
|
+
--color-on-purple-950: #ffffff;
|
|
293
|
+
--color-on-pink-50: #14121a;
|
|
294
|
+
--color-on-pink-100: #14121a;
|
|
295
|
+
--color-on-pink-200: #14121a;
|
|
296
|
+
--color-on-pink-300: #14121a;
|
|
297
|
+
--color-on-pink-400: #14121a;
|
|
298
|
+
--color-on-pink-500: #ffffff;
|
|
299
|
+
--color-on-pink-600: #ffffff;
|
|
300
|
+
--color-on-pink-700: #ffffff;
|
|
301
|
+
--color-on-pink-800: #ffffff;
|
|
302
|
+
--color-on-pink-900: #ffffff;
|
|
303
|
+
--color-on-pink-950: #ffffff;
|
|
304
|
+
/* generated:labels-end */
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
@theme inline {
|
|
308
|
+
--font-sans: "Inter Variable", "Inter", ui-sans-serif, system-ui, sans-serif;
|
|
309
|
+
--font-display: "DM Sans Variable", "DM Sans", "Inter Variable", ui-sans-serif, system-ui, sans-serif;
|
|
310
|
+
--font-mono: "Fira Code Variable", "Fira Code", ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
311
|
+
|
|
312
|
+
--color-background: var(--background);
|
|
313
|
+
--color-foreground: var(--foreground);
|
|
314
|
+
--color-card: var(--card);
|
|
315
|
+
--color-card-foreground: var(--card-foreground);
|
|
316
|
+
--color-popover: var(--popover);
|
|
317
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
318
|
+
--color-primary: var(--primary);
|
|
319
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
320
|
+
--color-secondary: var(--secondary);
|
|
321
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
322
|
+
--color-muted: var(--muted);
|
|
323
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
324
|
+
--color-accent: var(--accent);
|
|
325
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
326
|
+
--color-destructive: var(--destructive);
|
|
327
|
+
--color-destructive-foreground: var(--destructive-foreground);
|
|
328
|
+
--color-destructive-soft: var(--destructive-soft);
|
|
329
|
+
--color-border: var(--border);
|
|
330
|
+
--color-input: var(--input);
|
|
331
|
+
--color-ring: var(--ring);
|
|
332
|
+
--color-canvas: var(--canvas);
|
|
333
|
+
--color-brand: var(--brand);
|
|
334
|
+
--color-brand-text: var(--brand-text);
|
|
335
|
+
--color-brand-soft: var(--brand-soft);
|
|
336
|
+
--color-success: var(--success);
|
|
337
|
+
--color-success-soft: var(--success-soft);
|
|
338
|
+
--color-warning: var(--warning);
|
|
339
|
+
--color-warning-soft: var(--warning-soft);
|
|
340
|
+
--color-info: var(--info);
|
|
341
|
+
--color-info-soft: var(--info-soft);
|
|
342
|
+
--color-chart-1: var(--chart-1);
|
|
343
|
+
--color-chart-2: var(--chart-2);
|
|
344
|
+
--color-chart-3: var(--chart-3);
|
|
345
|
+
--color-chart-4: var(--chart-4);
|
|
346
|
+
--color-chart-5: var(--chart-5);
|
|
347
|
+
--color-sidebar: var(--sidebar);
|
|
348
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
349
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
350
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
351
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
352
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
353
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
354
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
355
|
+
|
|
356
|
+
--radius-sm: 6px;
|
|
357
|
+
--radius-md: 8px;
|
|
358
|
+
--radius-lg: var(--radius);
|
|
359
|
+
--radius-xl: 14px;
|
|
360
|
+
--radius-2xl: 20px;
|
|
361
|
+
|
|
362
|
+
--shadow-xs: var(--elevation-xs);
|
|
363
|
+
--shadow-sm: var(--elevation-sm);
|
|
364
|
+
--shadow-md: var(--elevation-md);
|
|
365
|
+
--shadow-lg: var(--elevation-lg);
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
/*
|
|
369
|
+
* Motion. The mobile menu reveals from its toggle: --menu-origin-x and --menu-origin-y (set by the component) are
|
|
370
|
+
* the centre of the toggle, in viewport pixels. Each animation has a reduced-motion fade beside it.
|
|
371
|
+
*/
|
|
372
|
+
@theme {
|
|
373
|
+
--ease-overshoot: cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
374
|
+
--ease-emphasised: cubic-bezier(0.2, 0, 0, 1);
|
|
375
|
+
|
|
376
|
+
--animate-fade-in: fade-in 180ms ease-out both;
|
|
377
|
+
--animate-fade-out: fade-out 160ms ease-in both;
|
|
378
|
+
--animate-zoom-in: zoom-in 180ms var(--ease-emphasised) both;
|
|
379
|
+
--animate-zoom-out: zoom-out 140ms ease-in both;
|
|
380
|
+
--animate-accordion-down: accordion-down 240ms var(--ease-emphasised) both;
|
|
381
|
+
--animate-accordion-up: accordion-up 200ms var(--ease-emphasised) both;
|
|
382
|
+
--animate-sidebar-label-in: sidebar-label-in 220ms ease-out 140ms both;
|
|
383
|
+
--animate-sheet-in-start: sheet-in-start 320ms var(--ease-emphasised) both;
|
|
384
|
+
--animate-sheet-out-start: sheet-out-start 240ms ease-in both;
|
|
385
|
+
--animate-sheet-in-end: sheet-in-end 320ms var(--ease-emphasised) both;
|
|
386
|
+
--animate-sheet-out-end: sheet-out-end 240ms ease-in both;
|
|
387
|
+
--animate-sheet-in-top: sheet-in-top 320ms var(--ease-emphasised) both;
|
|
388
|
+
--animate-sheet-out-top: sheet-out-top 240ms ease-in both;
|
|
389
|
+
--animate-sheet-in-bottom: sheet-in-bottom 320ms var(--ease-emphasised) both;
|
|
390
|
+
--animate-sheet-out-bottom: sheet-out-bottom 240ms ease-in both;
|
|
391
|
+
--animate-menu-reveal: menu-reveal 560ms cubic-bezier(0.65, 0, 0.35, 1) both;
|
|
392
|
+
--animate-menu-conceal: menu-conceal 380ms cubic-bezier(0.65, 0, 0.35, 1) both;
|
|
393
|
+
--animate-menu-item-in: menu-item-in 360ms var(--ease-emphasised) both;
|
|
394
|
+
--animate-menu-line-top-open: menu-line-top-open 460ms var(--ease-overshoot) both;
|
|
395
|
+
--animate-menu-line-top-close: menu-line-top-close 400ms var(--ease-emphasised) both;
|
|
396
|
+
--animate-menu-line-bottom-open: menu-line-bottom-open 460ms var(--ease-overshoot) both;
|
|
397
|
+
--animate-menu-line-bottom-close: menu-line-bottom-close 400ms var(--ease-emphasised) both;
|
|
398
|
+
--animate-menu-line-middle-open: menu-line-middle-open 260ms var(--ease-emphasised) both;
|
|
399
|
+
--animate-menu-line-middle-close: menu-line-middle-close 300ms var(--ease-emphasised) 120ms both;
|
|
400
|
+
|
|
401
|
+
@keyframes fade-in {
|
|
402
|
+
from { opacity: 0; }
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
@keyframes fade-out {
|
|
406
|
+
to { opacity: 0; }
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
/* Floating content (dialogs, popovers, tooltips, menus) grows from its anchor as it fades in, and shrinks back. */
|
|
410
|
+
@keyframes zoom-in {
|
|
411
|
+
from {
|
|
412
|
+
opacity: 0;
|
|
413
|
+
scale: 0.96;
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
@keyframes zoom-out {
|
|
418
|
+
to {
|
|
419
|
+
opacity: 0;
|
|
420
|
+
scale: 0.96;
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
/* An accordion answer uncovers to its own height (Radix measures it). */
|
|
425
|
+
@keyframes accordion-down {
|
|
426
|
+
from {
|
|
427
|
+
height: 0;
|
|
428
|
+
opacity: 0;
|
|
429
|
+
}
|
|
430
|
+
to { height: var(--radix-accordion-content-height); }
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
@keyframes accordion-up {
|
|
434
|
+
from { height: var(--radix-accordion-content-height); }
|
|
435
|
+
to {
|
|
436
|
+
height: 0;
|
|
437
|
+
opacity: 0;
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
/* A sidebar label slides in from the right, as when the sidebar widens (used when a sidebar opens in a sheet). */
|
|
442
|
+
@keyframes sidebar-label-in {
|
|
443
|
+
from {
|
|
444
|
+
translate: 12px 0;
|
|
445
|
+
opacity: 0;
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
/* Sheets slide in from their edge. */
|
|
450
|
+
@keyframes sheet-in-start {
|
|
451
|
+
from { translate: -100% 0; }
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
@keyframes sheet-out-start {
|
|
455
|
+
to { translate: -100% 0; }
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
@keyframes sheet-in-end {
|
|
459
|
+
from { translate: 100% 0; }
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
@keyframes sheet-out-end {
|
|
463
|
+
to { translate: 100% 0; }
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
@keyframes sheet-in-top {
|
|
467
|
+
from { translate: 0 -100%; }
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
@keyframes sheet-out-top {
|
|
471
|
+
to { translate: 0 -100%; }
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
@keyframes sheet-in-bottom {
|
|
475
|
+
from { translate: 0 100%; }
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
@keyframes sheet-out-bottom {
|
|
479
|
+
to { translate: 0 100%; }
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
/* Keeps a closing dialog mounted while its children play their exit animations. */
|
|
483
|
+
@keyframes menu-hold {
|
|
484
|
+
to { opacity: 1; }
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
/* The panel grows out of the toggle as a circle centred on it. Nothing else moves, so the circle starts exactly at the toggle. */
|
|
488
|
+
@keyframes menu-reveal {
|
|
489
|
+
from { clip-path: circle(0 at var(--menu-origin-x, 100%) var(--menu-origin-y, 0)); }
|
|
490
|
+
to { clip-path: circle(110vmax at var(--menu-origin-x, 100%) var(--menu-origin-y, 0)); }
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
@keyframes menu-conceal {
|
|
494
|
+
from { clip-path: circle(110vmax at var(--menu-origin-x, 100%) var(--menu-origin-y, 0)); }
|
|
495
|
+
to { clip-path: circle(0 at var(--menu-origin-x, 100%) var(--menu-origin-y, 0)); }
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
/* The links only fade in, one after another: they do not move, so the text stays still while it appears. */
|
|
499
|
+
@keyframes menu-item-in {
|
|
500
|
+
from { opacity: 0; }
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
/* The toggle: the outer lines fall to the centre, then twirl a half turn past each other into the X. */
|
|
504
|
+
@keyframes menu-line-top-open {
|
|
505
|
+
0% { translate: 0 0; rotate: 0deg; }
|
|
506
|
+
40% { translate: 0 5px; rotate: 0deg; }
|
|
507
|
+
100% { translate: 0 5px; rotate: 225deg; }
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
@keyframes menu-line-top-close {
|
|
511
|
+
0% { translate: 0 5px; rotate: 225deg; }
|
|
512
|
+
60% { translate: 0 5px; rotate: 360deg; }
|
|
513
|
+
100% { translate: 0 0; rotate: 360deg; }
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
@keyframes menu-line-bottom-open {
|
|
517
|
+
0% { translate: 0 0; rotate: 0deg; }
|
|
518
|
+
40% { translate: 0 -5px; rotate: 0deg; }
|
|
519
|
+
100% { translate: 0 -5px; rotate: 135deg; }
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
@keyframes menu-line-bottom-close {
|
|
523
|
+
0% { translate: 0 -5px; rotate: 135deg; }
|
|
524
|
+
60% { translate: 0 -5px; rotate: 180deg; }
|
|
525
|
+
100% { translate: 0 0; rotate: 180deg; }
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
/* The middle line shrinks into a dot and pops away, and comes back the same way. */
|
|
529
|
+
@keyframes menu-line-middle-open {
|
|
530
|
+
0% { scale: 1 1; opacity: 1; }
|
|
531
|
+
60% { scale: 0.12 1; opacity: 1; }
|
|
532
|
+
100% { scale: 0 0; opacity: 0; }
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
@keyframes menu-line-middle-close {
|
|
536
|
+
0% { scale: 0 0; opacity: 0; }
|
|
537
|
+
40% { scale: 0.12 1; opacity: 1; }
|
|
538
|
+
100% { scale: 1 1; opacity: 1; }
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
/* Light theme. Neutrals lean slightly toward the Talogic violet. */
|
|
543
|
+
:root {
|
|
544
|
+
--background: #ffffff;
|
|
545
|
+
--foreground: #14121a;
|
|
546
|
+
--card: #ffffff;
|
|
547
|
+
--card-foreground: #14121a;
|
|
548
|
+
--popover: #ffffff;
|
|
549
|
+
--popover-foreground: #14121a;
|
|
550
|
+
--secondary: #f1f0f5;
|
|
551
|
+
--secondary-foreground: #14121a;
|
|
552
|
+
--muted: #f4f3f7;
|
|
553
|
+
--muted-foreground: #5f5b6b;
|
|
554
|
+
--accent: #efedf4;
|
|
555
|
+
--accent-foreground: #14121a;
|
|
556
|
+
--border: #e4e2ea;
|
|
557
|
+
--input: #d6d3de;
|
|
558
|
+
--canvas: #f6f5f9;
|
|
559
|
+
--sidebar: #f8f7fa;
|
|
560
|
+
--sidebar-foreground: #14121a;
|
|
561
|
+
--sidebar-accent: #efedf4;
|
|
562
|
+
--sidebar-accent-foreground: #14121a;
|
|
563
|
+
--sidebar-border: #e8e6ee;
|
|
564
|
+
|
|
565
|
+
--destructive: var(--color-red-600);
|
|
566
|
+
--destructive-foreground: var(--color-on-red-600);
|
|
567
|
+
--destructive-soft: var(--color-red-100);
|
|
568
|
+
--success: var(--color-green-700);
|
|
569
|
+
--success-soft: var(--color-green-100);
|
|
570
|
+
--warning: var(--color-amber-700);
|
|
571
|
+
--warning-soft: var(--color-amber-100);
|
|
572
|
+
--info: var(--color-blue-700);
|
|
573
|
+
--info-soft: var(--color-blue-100);
|
|
574
|
+
|
|
575
|
+
/* Multi-series data: the 500 steps in wheel order, so no series outweighs another. */
|
|
576
|
+
--chart-1: var(--color-violet-500);
|
|
577
|
+
--chart-2: var(--color-orange-500);
|
|
578
|
+
--chart-3: var(--color-green-500);
|
|
579
|
+
--chart-4: var(--color-sky-500);
|
|
580
|
+
--chart-5: var(--color-pink-500);
|
|
581
|
+
|
|
582
|
+
--radius: 10px;
|
|
583
|
+
|
|
584
|
+
--elevation-xs: 0 1px 2px rgb(20 18 26 / 0.06);
|
|
585
|
+
--elevation-sm: 0 1px 2px rgb(20 18 26 / 0.06), 0 2px 6px rgb(20 18 26 / 0.06);
|
|
586
|
+
--elevation-md: 0 2px 4px rgb(20 18 26 / 0.05), 0 8px 20px rgb(20 18 26 / 0.08);
|
|
587
|
+
--elevation-lg: 0 4px 8px rgb(20 18 26 / 0.06), 0 20px 44px rgb(20 18 26 / 0.14);
|
|
588
|
+
|
|
589
|
+
--control-h: 36px;
|
|
590
|
+
--control-px: 14px;
|
|
591
|
+
--control-fs: 14px;
|
|
592
|
+
|
|
593
|
+
/* The accent hue: Talogic violet unless data-product or data-hue says otherwise. */
|
|
594
|
+
--hue-100: var(--color-violet-100);
|
|
595
|
+
--hue-300: var(--color-violet-300);
|
|
596
|
+
--hue-400: var(--color-violet-400);
|
|
597
|
+
--hue-500: var(--color-violet-500);
|
|
598
|
+
--hue-on-400: var(--color-on-violet-400);
|
|
599
|
+
--hue-on-500: var(--color-on-violet-500);
|
|
600
|
+
--hue-700: var(--color-violet-700);
|
|
601
|
+
--hue-950: var(--color-violet-950);
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
/* Dark theme. Surfaces step lighter (background, card, popover) and shadows turn black. */
|
|
605
|
+
.dark {
|
|
606
|
+
color-scheme: dark;
|
|
607
|
+
|
|
608
|
+
--background: #0e0d12;
|
|
609
|
+
--foreground: #f3f2f7;
|
|
610
|
+
--card: #16151c;
|
|
611
|
+
--card-foreground: #f3f2f7;
|
|
612
|
+
--popover: #1b1a22;
|
|
613
|
+
--popover-foreground: #f3f2f7;
|
|
614
|
+
--secondary: #22212a;
|
|
615
|
+
--secondary-foreground: #f3f2f7;
|
|
616
|
+
--muted: #1e1d25;
|
|
617
|
+
--muted-foreground: #a19dad;
|
|
618
|
+
--accent: #26252e;
|
|
619
|
+
--accent-foreground: #f3f2f7;
|
|
620
|
+
--border: #2a2832;
|
|
621
|
+
--input: #3a3744;
|
|
622
|
+
--canvas: #0a090d;
|
|
623
|
+
--sidebar: #121117;
|
|
624
|
+
--sidebar-foreground: #f3f2f7;
|
|
625
|
+
--sidebar-accent: #26252e;
|
|
626
|
+
--sidebar-accent-foreground: #f3f2f7;
|
|
627
|
+
--sidebar-border: #24222b;
|
|
628
|
+
|
|
629
|
+
--destructive: var(--color-red-400);
|
|
630
|
+
--destructive-foreground: var(--color-on-red-400);
|
|
631
|
+
--destructive-soft: var(--color-red-950);
|
|
632
|
+
--success: var(--color-green-300);
|
|
633
|
+
--success-soft: var(--color-green-950);
|
|
634
|
+
--warning: var(--color-amber-300);
|
|
635
|
+
--warning-soft: var(--color-amber-950);
|
|
636
|
+
--info: var(--color-blue-300);
|
|
637
|
+
--info-soft: var(--color-blue-950);
|
|
638
|
+
|
|
639
|
+
--chart-1: var(--color-violet-400);
|
|
640
|
+
--chart-2: var(--color-orange-400);
|
|
641
|
+
--chart-3: var(--color-green-400);
|
|
642
|
+
--chart-4: var(--color-sky-400);
|
|
643
|
+
--chart-5: var(--color-pink-400);
|
|
644
|
+
|
|
645
|
+
--elevation-xs: 0 1px 2px rgb(0 0 0 / 0.4);
|
|
646
|
+
--elevation-sm: 0 1px 2px rgb(0 0 0 / 0.4), 0 2px 6px rgb(0 0 0 / 0.3);
|
|
647
|
+
--elevation-md: 0 2px 4px rgb(0 0 0 / 0.4), 0 8px 20px rgb(0 0 0 / 0.4);
|
|
648
|
+
--elevation-lg: 0 4px 8px rgb(0 0 0 / 0.4), 0 20px 44px rgb(0 0 0 / 0.55);
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
/*
|
|
652
|
+
* Product accents. Each product takes one family hue. The data-hue rules come after
|
|
653
|
+
* the data-product rules, so an explicit hue wins on the same element.
|
|
654
|
+
*/
|
|
655
|
+
[data-product="talogic"] {
|
|
656
|
+
--hue-100: var(--color-violet-100);
|
|
657
|
+
--hue-300: var(--color-violet-300);
|
|
658
|
+
--hue-400: var(--color-violet-400);
|
|
659
|
+
--hue-500: var(--color-violet-500);
|
|
660
|
+
--hue-on-400: var(--color-on-violet-400);
|
|
661
|
+
--hue-on-500: var(--color-on-violet-500);
|
|
662
|
+
--hue-700: var(--color-violet-700);
|
|
663
|
+
--hue-950: var(--color-violet-950);
|
|
664
|
+
}
|
|
665
|
+
[data-product="pargic"] {
|
|
666
|
+
--hue-100: var(--color-orange-100);
|
|
667
|
+
--hue-300: var(--color-orange-300);
|
|
668
|
+
--hue-400: var(--color-orange-400);
|
|
669
|
+
--hue-500: var(--color-orange-500);
|
|
670
|
+
--hue-on-400: var(--color-on-orange-400);
|
|
671
|
+
--hue-on-500: var(--color-on-orange-500);
|
|
672
|
+
--hue-700: var(--color-orange-700);
|
|
673
|
+
--hue-950: var(--color-orange-950);
|
|
674
|
+
}
|
|
675
|
+
[data-product="daygic"] {
|
|
676
|
+
--hue-100: var(--color-amber-100);
|
|
677
|
+
--hue-300: var(--color-amber-300);
|
|
678
|
+
--hue-400: var(--color-amber-400);
|
|
679
|
+
--hue-500: var(--color-amber-500);
|
|
680
|
+
--hue-on-400: var(--color-on-amber-400);
|
|
681
|
+
--hue-on-500: var(--color-on-amber-500);
|
|
682
|
+
--hue-700: var(--color-amber-700);
|
|
683
|
+
--hue-950: var(--color-amber-950);
|
|
684
|
+
}
|
|
685
|
+
[data-product="ingic"] {
|
|
686
|
+
--hue-100: var(--color-blue-100);
|
|
687
|
+
--hue-300: var(--color-blue-300);
|
|
688
|
+
--hue-400: var(--color-blue-400);
|
|
689
|
+
--hue-500: var(--color-blue-500);
|
|
690
|
+
--hue-on-400: var(--color-on-blue-400);
|
|
691
|
+
--hue-on-500: var(--color-on-blue-500);
|
|
692
|
+
--hue-700: var(--color-blue-700);
|
|
693
|
+
--hue-950: var(--color-blue-950);
|
|
694
|
+
}
|
|
695
|
+
[data-product="loregic"] {
|
|
696
|
+
--hue-100: var(--color-green-100);
|
|
697
|
+
--hue-300: var(--color-green-300);
|
|
698
|
+
--hue-400: var(--color-green-400);
|
|
699
|
+
--hue-500: var(--color-green-500);
|
|
700
|
+
--hue-on-400: var(--color-on-green-400);
|
|
701
|
+
--hue-on-500: var(--color-on-green-500);
|
|
702
|
+
--hue-700: var(--color-green-700);
|
|
703
|
+
--hue-950: var(--color-green-950);
|
|
704
|
+
}
|
|
705
|
+
[data-product="loomgic"] {
|
|
706
|
+
--hue-100: var(--color-blue-100);
|
|
707
|
+
--hue-300: var(--color-blue-300);
|
|
708
|
+
--hue-400: var(--color-blue-400);
|
|
709
|
+
--hue-500: var(--color-blue-500);
|
|
710
|
+
--hue-on-400: var(--color-on-blue-400);
|
|
711
|
+
--hue-on-500: var(--color-on-blue-500);
|
|
712
|
+
--hue-700: var(--color-blue-700);
|
|
713
|
+
--hue-950: var(--color-blue-950);
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
[data-hue="red"] {
|
|
717
|
+
--hue-100: var(--color-red-100);
|
|
718
|
+
--hue-300: var(--color-red-300);
|
|
719
|
+
--hue-400: var(--color-red-400);
|
|
720
|
+
--hue-500: var(--color-red-500);
|
|
721
|
+
--hue-on-400: var(--color-on-red-400);
|
|
722
|
+
--hue-on-500: var(--color-on-red-500);
|
|
723
|
+
--hue-700: var(--color-red-700);
|
|
724
|
+
--hue-950: var(--color-red-950);
|
|
725
|
+
}
|
|
726
|
+
[data-hue="orange"] {
|
|
727
|
+
--hue-100: var(--color-orange-100);
|
|
728
|
+
--hue-300: var(--color-orange-300);
|
|
729
|
+
--hue-400: var(--color-orange-400);
|
|
730
|
+
--hue-500: var(--color-orange-500);
|
|
731
|
+
--hue-on-400: var(--color-on-orange-400);
|
|
732
|
+
--hue-on-500: var(--color-on-orange-500);
|
|
733
|
+
--hue-700: var(--color-orange-700);
|
|
734
|
+
--hue-950: var(--color-orange-950);
|
|
735
|
+
}
|
|
736
|
+
[data-hue="amber"] {
|
|
737
|
+
--hue-100: var(--color-amber-100);
|
|
738
|
+
--hue-300: var(--color-amber-300);
|
|
739
|
+
--hue-400: var(--color-amber-400);
|
|
740
|
+
--hue-500: var(--color-amber-500);
|
|
741
|
+
--hue-on-400: var(--color-on-amber-400);
|
|
742
|
+
--hue-on-500: var(--color-on-amber-500);
|
|
743
|
+
--hue-700: var(--color-amber-700);
|
|
744
|
+
--hue-950: var(--color-amber-950);
|
|
745
|
+
}
|
|
746
|
+
[data-hue="lime"] {
|
|
747
|
+
--hue-100: var(--color-lime-100);
|
|
748
|
+
--hue-300: var(--color-lime-300);
|
|
749
|
+
--hue-400: var(--color-lime-400);
|
|
750
|
+
--hue-500: var(--color-lime-500);
|
|
751
|
+
--hue-on-400: var(--color-on-lime-400);
|
|
752
|
+
--hue-on-500: var(--color-on-lime-500);
|
|
753
|
+
--hue-700: var(--color-lime-700);
|
|
754
|
+
--hue-950: var(--color-lime-950);
|
|
755
|
+
}
|
|
756
|
+
[data-hue="green"] {
|
|
757
|
+
--hue-100: var(--color-green-100);
|
|
758
|
+
--hue-300: var(--color-green-300);
|
|
759
|
+
--hue-400: var(--color-green-400);
|
|
760
|
+
--hue-500: var(--color-green-500);
|
|
761
|
+
--hue-on-400: var(--color-on-green-400);
|
|
762
|
+
--hue-on-500: var(--color-on-green-500);
|
|
763
|
+
--hue-700: var(--color-green-700);
|
|
764
|
+
--hue-950: var(--color-green-950);
|
|
765
|
+
}
|
|
766
|
+
[data-hue="teal"] {
|
|
767
|
+
--hue-100: var(--color-teal-100);
|
|
768
|
+
--hue-300: var(--color-teal-300);
|
|
769
|
+
--hue-400: var(--color-teal-400);
|
|
770
|
+
--hue-500: var(--color-teal-500);
|
|
771
|
+
--hue-on-400: var(--color-on-teal-400);
|
|
772
|
+
--hue-on-500: var(--color-on-teal-500);
|
|
773
|
+
--hue-700: var(--color-teal-700);
|
|
774
|
+
--hue-950: var(--color-teal-950);
|
|
775
|
+
}
|
|
776
|
+
[data-hue="cyan"] {
|
|
777
|
+
--hue-100: var(--color-cyan-100);
|
|
778
|
+
--hue-300: var(--color-cyan-300);
|
|
779
|
+
--hue-400: var(--color-cyan-400);
|
|
780
|
+
--hue-500: var(--color-cyan-500);
|
|
781
|
+
--hue-on-400: var(--color-on-cyan-400);
|
|
782
|
+
--hue-on-500: var(--color-on-cyan-500);
|
|
783
|
+
--hue-700: var(--color-cyan-700);
|
|
784
|
+
--hue-950: var(--color-cyan-950);
|
|
785
|
+
}
|
|
786
|
+
[data-hue="sky"] {
|
|
787
|
+
--hue-100: var(--color-sky-100);
|
|
788
|
+
--hue-300: var(--color-sky-300);
|
|
789
|
+
--hue-400: var(--color-sky-400);
|
|
790
|
+
--hue-500: var(--color-sky-500);
|
|
791
|
+
--hue-on-400: var(--color-on-sky-400);
|
|
792
|
+
--hue-on-500: var(--color-on-sky-500);
|
|
793
|
+
--hue-700: var(--color-sky-700);
|
|
794
|
+
--hue-950: var(--color-sky-950);
|
|
795
|
+
}
|
|
796
|
+
[data-hue="blue"] {
|
|
797
|
+
--hue-100: var(--color-blue-100);
|
|
798
|
+
--hue-300: var(--color-blue-300);
|
|
799
|
+
--hue-400: var(--color-blue-400);
|
|
800
|
+
--hue-500: var(--color-blue-500);
|
|
801
|
+
--hue-on-400: var(--color-on-blue-400);
|
|
802
|
+
--hue-on-500: var(--color-on-blue-500);
|
|
803
|
+
--hue-700: var(--color-blue-700);
|
|
804
|
+
--hue-950: var(--color-blue-950);
|
|
805
|
+
}
|
|
806
|
+
[data-hue="violet"] {
|
|
807
|
+
--hue-100: var(--color-violet-100);
|
|
808
|
+
--hue-300: var(--color-violet-300);
|
|
809
|
+
--hue-400: var(--color-violet-400);
|
|
810
|
+
--hue-500: var(--color-violet-500);
|
|
811
|
+
--hue-on-400: var(--color-on-violet-400);
|
|
812
|
+
--hue-on-500: var(--color-on-violet-500);
|
|
813
|
+
--hue-700: var(--color-violet-700);
|
|
814
|
+
--hue-950: var(--color-violet-950);
|
|
815
|
+
}
|
|
816
|
+
[data-hue="purple"] {
|
|
817
|
+
--hue-100: var(--color-purple-100);
|
|
818
|
+
--hue-300: var(--color-purple-300);
|
|
819
|
+
--hue-400: var(--color-purple-400);
|
|
820
|
+
--hue-500: var(--color-purple-500);
|
|
821
|
+
--hue-on-400: var(--color-on-purple-400);
|
|
822
|
+
--hue-on-500: var(--color-on-purple-500);
|
|
823
|
+
--hue-700: var(--color-purple-700);
|
|
824
|
+
--hue-950: var(--color-purple-950);
|
|
825
|
+
}
|
|
826
|
+
[data-hue="pink"] {
|
|
827
|
+
--hue-100: var(--color-pink-100);
|
|
828
|
+
--hue-300: var(--color-pink-300);
|
|
829
|
+
--hue-400: var(--color-pink-400);
|
|
830
|
+
--hue-500: var(--color-pink-500);
|
|
831
|
+
--hue-on-400: var(--color-on-pink-400);
|
|
832
|
+
--hue-on-500: var(--color-on-pink-500);
|
|
833
|
+
--hue-700: var(--color-pink-700);
|
|
834
|
+
--hue-950: var(--color-pink-950);
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
/* The accent roles, declared again wherever the hue may change, so var() resolves against the local hue. */
|
|
838
|
+
:root,
|
|
839
|
+
[data-product],
|
|
840
|
+
[data-hue] {
|
|
841
|
+
--brand: var(--hue-500);
|
|
842
|
+
--primary: var(--hue-500);
|
|
843
|
+
--primary-foreground: var(--hue-on-500);
|
|
844
|
+
--brand-text: var(--hue-700);
|
|
845
|
+
--brand-soft: var(--hue-100);
|
|
846
|
+
--ring: var(--hue-500);
|
|
847
|
+
--sidebar-primary: var(--hue-500);
|
|
848
|
+
--sidebar-primary-foreground: var(--hue-on-500);
|
|
849
|
+
--sidebar-ring: var(--hue-500);
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
/* Dark: fill 400, text 300, soft 950. The labels on fills come from the APCA rule, never a fixed colour. */
|
|
853
|
+
.dark,
|
|
854
|
+
.dark [data-product],
|
|
855
|
+
.dark [data-hue] {
|
|
856
|
+
--brand: var(--hue-400);
|
|
857
|
+
--primary: var(--hue-400);
|
|
858
|
+
--primary-foreground: var(--hue-on-400);
|
|
859
|
+
--brand-text: var(--hue-300);
|
|
860
|
+
--brand-soft: var(--hue-950);
|
|
861
|
+
--ring: var(--hue-400);
|
|
862
|
+
--sidebar-primary: var(--hue-400);
|
|
863
|
+
--sidebar-primary-foreground: var(--hue-on-400);
|
|
864
|
+
--sidebar-ring: var(--hue-400);
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
/* Density per surface: one recipe per component, sized by the surface. */
|
|
868
|
+
.d-web {
|
|
869
|
+
--control-h: 44px;
|
|
870
|
+
--control-px: 20px;
|
|
871
|
+
--control-fs: 15px;
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
.d-app {
|
|
875
|
+
--control-h: 36px;
|
|
876
|
+
--control-px: 14px;
|
|
877
|
+
--control-fs: 14px;
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
.d-desk {
|
|
881
|
+
--control-h: 28px;
|
|
882
|
+
--control-px: 10px;
|
|
883
|
+
--control-fs: 13px;
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
.d-mob {
|
|
887
|
+
--control-h: 48px;
|
|
888
|
+
--control-px: 18px;
|
|
889
|
+
--control-fs: 16px;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
/* Type scale. Headlines use DM Sans, content uses Inter, code uses Fira Code. */
|
|
893
|
+
@utility type-display {
|
|
894
|
+
font-family: var(--font-display);
|
|
895
|
+
font-weight: 800;
|
|
896
|
+
letter-spacing: -0.025em;
|
|
897
|
+
line-height: 1.04;
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
@utility type-h1 {
|
|
901
|
+
font-family: var(--font-display);
|
|
902
|
+
font-weight: 700;
|
|
903
|
+
font-size: 40px;
|
|
904
|
+
letter-spacing: -0.02em;
|
|
905
|
+
line-height: 1.1;
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
@utility type-h2 {
|
|
909
|
+
font-family: var(--font-display);
|
|
910
|
+
font-weight: 700;
|
|
911
|
+
font-size: 28px;
|
|
912
|
+
letter-spacing: -0.015em;
|
|
913
|
+
line-height: 1.15;
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
@utility type-h3 {
|
|
917
|
+
font-weight: 600;
|
|
918
|
+
font-size: 18px;
|
|
919
|
+
line-height: 1.3;
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
@utility type-h4 {
|
|
923
|
+
font-weight: 600;
|
|
924
|
+
font-size: 15px;
|
|
925
|
+
line-height: 1.35;
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
@utility type-lead {
|
|
929
|
+
font-size: 18px;
|
|
930
|
+
line-height: 1.55;
|
|
931
|
+
color: var(--muted-foreground);
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
@layer base {
|
|
935
|
+
*,
|
|
936
|
+
::before,
|
|
937
|
+
::after {
|
|
938
|
+
border-color: var(--border);
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
body {
|
|
942
|
+
background-color: var(--background);
|
|
943
|
+
color: var(--foreground);
|
|
944
|
+
font-family: var(--font-sans);
|
|
945
|
+
font-size: 14px;
|
|
946
|
+
line-height: 1.5;
|
|
947
|
+
-webkit-font-smoothing: antialiased;
|
|
948
|
+
}
|
|
949
|
+
}
|