@raintonic/formaui 0.3.1 → 0.9.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 +80 -35
- package/README.md +22 -26
- package/fesm2022/raintonic-formaui-cdk-drag-drop.mjs +39 -41
- package/fesm2022/raintonic-formaui-cdk-drag-drop.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-cdk-form-field.mjs +207 -3
- package/fesm2022/raintonic-formaui-cdk-form-field.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-cdk-overlay.mjs +27 -2
- package/fesm2022/raintonic-formaui-cdk-overlay.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-cdk-virtual-scroll.mjs +5 -12
- package/fesm2022/raintonic-formaui-cdk-virtual-scroll.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-accordion.mjs +8 -5
- package/fesm2022/raintonic-formaui-components-accordion.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-alert.mjs +16 -2
- package/fesm2022/raintonic-formaui-components-alert.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-autocomplete.mjs +255 -462
- package/fesm2022/raintonic-formaui-components-autocomplete.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-avatar.mjs +34 -59
- package/fesm2022/raintonic-formaui-components-avatar.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-badge.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-badge.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-breadcrumb.mjs +4 -4
- package/fesm2022/raintonic-formaui-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-button-group.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-button-group.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-button.mjs +15 -20
- package/fesm2022/raintonic-formaui-components-button.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-card.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-card.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-checkbox.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-checkbox.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-chip.mjs +97 -0
- package/fesm2022/raintonic-formaui-components-chip.mjs.map +1 -0
- package/fesm2022/raintonic-formaui-components-data-table.mjs +69 -29
- package/fesm2022/raintonic-formaui-components-data-table.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-date-picker.mjs +223 -144
- package/fesm2022/raintonic-formaui-components-date-picker.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-divider.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-divider.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-drawer.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-drawer.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-dropdown-menu.mjs +888 -0
- package/fesm2022/raintonic-formaui-components-dropdown-menu.mjs.map +1 -0
- package/fesm2022/raintonic-formaui-components-dual-tier-navigation.mjs +774 -0
- package/fesm2022/raintonic-formaui-components-dual-tier-navigation.mjs.map +1 -0
- package/fesm2022/raintonic-formaui-components-empty-state.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-empty-state.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-file-upload.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-file-upload.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-form-field.mjs +81 -50
- package/fesm2022/raintonic-formaui-components-form-field.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-icon.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-icon.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-input.mjs +47 -12
- package/fesm2022/raintonic-formaui-components-input.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-list.mjs +4 -4
- package/fesm2022/raintonic-formaui-components-list.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-number-input.mjs +20 -12
- package/fesm2022/raintonic-formaui-components-number-input.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-paginator.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-paginator.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-password-input.mjs +35 -110
- package/fesm2022/raintonic-formaui-components-password-input.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-popover.mjs +3 -2
- package/fesm2022/raintonic-formaui-components-popover.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-progressbar.mjs +3 -2
- package/fesm2022/raintonic-formaui-components-progressbar.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-radio.mjs +5 -6
- package/fesm2022/raintonic-formaui-components-radio.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-select.mjs +257 -412
- package/fesm2022/raintonic-formaui-components-select.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-side-panel.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-side-panel.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-sidebar-nav-menu.mjs +525 -0
- package/fesm2022/raintonic-formaui-components-sidebar-nav-menu.mjs.map +1 -0
- package/fesm2022/raintonic-formaui-components-skeleton.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-skeleton.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-slider.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-slider.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-spinner.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-spinner.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-stepper.mjs +50 -45
- package/fesm2022/raintonic-formaui-components-stepper.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-strength-meter.mjs +149 -0
- package/fesm2022/raintonic-formaui-components-strength-meter.mjs.map +1 -0
- package/fesm2022/raintonic-formaui-components-tab.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-tab.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-time-picker.mjs +194 -154
- package/fesm2022/raintonic-formaui-components-time-picker.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-toggle-group.mjs +302 -0
- package/fesm2022/raintonic-formaui-components-toggle-group.mjs.map +1 -0
- package/fesm2022/raintonic-formaui-components-toggle.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-toggle.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-toolbar.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-toolbar.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-tooltip.mjs +10 -4
- package/fesm2022/raintonic-formaui-components-tooltip.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-topbar.mjs +60 -0
- package/fesm2022/raintonic-formaui-components-topbar.mjs.map +1 -0
- package/fesm2022/raintonic-formaui-components-tree-select.mjs +59 -69
- package/fesm2022/raintonic-formaui-components-tree-select.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-tree-table.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-tree-table.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-tree.mjs +31 -5
- package/fesm2022/raintonic-formaui-components-tree.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-core.mjs +279 -1
- package/fesm2022/raintonic-formaui-core.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-services-breakpoint.mjs +93 -0
- package/fesm2022/raintonic-formaui-services-breakpoint.mjs.map +1 -0
- package/fesm2022/raintonic-formaui-services-dialog.mjs +314 -16
- package/fesm2022/raintonic-formaui-services-dialog.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-services-notification.mjs +93 -29
- package/fesm2022/raintonic-formaui-services-notification.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-services-theme.mjs +46 -196
- package/fesm2022/raintonic-formaui-services-theme.mjs.map +1 -1
- package/fesm2022/raintonic-formaui.mjs +1 -1
- package/fesm2022/raintonic-formaui.mjs.map +1 -1
- package/llms-full.txt +2329 -450
- package/llms.txt +36 -33
- package/package.json +42 -19
- package/styles/fonts/Geist-Bold.woff2 +0 -0
- package/styles/fonts/Geist-Italic.woff2 +0 -0
- package/styles/fonts/Geist-Light.woff2 +0 -0
- package/styles/fonts/Geist-Medium.woff2 +0 -0
- package/styles/fonts/Geist-Regular.woff2 +0 -0
- package/styles/fonts/Geist-SemiBold.woff2 +0 -0
- package/styles/fonts/GeistMono-Regular.woff2 +0 -0
- package/styles/generated/_tokens.scss +906 -0
- package/styles/index.scss +11 -10
- package/styles/partials/_brand.scss +46 -0
- package/styles/partials/_constants.scss +22 -20
- package/styles/partials/_fonts.scss +54 -10
- package/styles/partials/_grid.scss +29 -18
- package/styles/partials/_mixins.scss +69 -27
- package/styles/partials/_motion.scss +28 -33
- package/styles/partials/_theme.scss +28 -255
- package/styles/partials/_type.scss +117 -0
- package/styles/partials/_typography.scss +45 -45
- package/styles/partials/_utilities.scss +198 -98
- package/styles/partials/components/_button.scss +144 -75
- package/styles/partials/components/_dialog.scss +181 -180
- package/styles/partials/components/_overlay.scss +87 -87
- package/styles/partials/themes/_dark.scss +3 -268
- package/styles/partials/themes/_light.scss +4 -268
- package/styles/styles.css +7744 -0
- package/styles/styles.entry.scss +3 -0
- package/styles/utilities.css +4802 -0
- package/styles/utilities.entry.scss +3 -0
- package/types/raintonic-formaui-cdk-drag-drop.d.ts +0 -1
- package/types/raintonic-formaui-cdk-drag-drop.d.ts.map +1 -1
- package/types/raintonic-formaui-cdk-form-field.d.ts +118 -2
- package/types/raintonic-formaui-cdk-form-field.d.ts.map +1 -1
- package/types/raintonic-formaui-cdk-overlay.d.ts +2 -0
- package/types/raintonic-formaui-cdk-overlay.d.ts.map +1 -1
- package/types/raintonic-formaui-cdk-virtual-scroll.d.ts +0 -1
- package/types/raintonic-formaui-cdk-virtual-scroll.d.ts.map +1 -1
- package/types/raintonic-formaui-components-accordion.d.ts +1 -1
- package/types/raintonic-formaui-components-accordion.d.ts.map +1 -1
- package/types/raintonic-formaui-components-alert.d.ts +6 -1
- package/types/raintonic-formaui-components-alert.d.ts.map +1 -1
- package/types/raintonic-formaui-components-autocomplete.d.ts +73 -116
- package/types/raintonic-formaui-components-autocomplete.d.ts.map +1 -1
- package/types/raintonic-formaui-components-avatar.d.ts +13 -31
- package/types/raintonic-formaui-components-avatar.d.ts.map +1 -1
- package/types/raintonic-formaui-components-button.d.ts +4 -10
- package/types/raintonic-formaui-components-button.d.ts.map +1 -1
- package/types/raintonic-formaui-components-chip.d.ts +43 -0
- package/types/raintonic-formaui-components-chip.d.ts.map +1 -0
- package/types/raintonic-formaui-components-data-table.d.ts +48 -11
- package/types/raintonic-formaui-components-data-table.d.ts.map +1 -1
- package/types/raintonic-formaui-components-date-picker.d.ts +59 -23
- package/types/raintonic-formaui-components-date-picker.d.ts.map +1 -1
- package/types/raintonic-formaui-components-dropdown-menu.d.ts +394 -0
- package/types/raintonic-formaui-components-dropdown-menu.d.ts.map +1 -0
- package/types/raintonic-formaui-components-dual-tier-navigation.d.ts +87 -0
- package/types/raintonic-formaui-components-dual-tier-navigation.d.ts.map +1 -0
- package/types/raintonic-formaui-components-form-field.d.ts +51 -21
- package/types/raintonic-formaui-components-form-field.d.ts.map +1 -1
- package/types/raintonic-formaui-components-input.d.ts +20 -11
- package/types/raintonic-formaui-components-input.d.ts.map +1 -1
- package/types/raintonic-formaui-components-number-input.d.ts +5 -3
- package/types/raintonic-formaui-components-number-input.d.ts.map +1 -1
- package/types/raintonic-formaui-components-password-input.d.ts +18 -32
- package/types/raintonic-formaui-components-password-input.d.ts.map +1 -1
- package/types/raintonic-formaui-components-popover.d.ts.map +1 -1
- package/types/raintonic-formaui-components-progressbar.d.ts +1 -1
- package/types/raintonic-formaui-components-progressbar.d.ts.map +1 -1
- package/types/raintonic-formaui-components-radio.d.ts +1 -2
- package/types/raintonic-formaui-components-radio.d.ts.map +1 -1
- package/types/raintonic-formaui-components-select.d.ts +107 -76
- package/types/raintonic-formaui-components-select.d.ts.map +1 -1
- package/types/raintonic-formaui-components-sidebar-nav-menu.d.ts +223 -0
- package/types/raintonic-formaui-components-sidebar-nav-menu.d.ts.map +1 -0
- package/types/raintonic-formaui-components-stepper.d.ts +4 -2
- package/types/raintonic-formaui-components-stepper.d.ts.map +1 -1
- package/types/raintonic-formaui-components-strength-meter.d.ts +78 -0
- package/types/raintonic-formaui-components-strength-meter.d.ts.map +1 -0
- package/types/raintonic-formaui-components-time-picker.d.ts +44 -24
- package/types/raintonic-formaui-components-time-picker.d.ts.map +1 -1
- package/types/raintonic-formaui-components-toggle-group.d.ts +100 -0
- package/types/raintonic-formaui-components-toggle-group.d.ts.map +1 -0
- package/types/raintonic-formaui-components-tooltip.d.ts +2 -1
- package/types/raintonic-formaui-components-tooltip.d.ts.map +1 -1
- package/types/raintonic-formaui-components-topbar.d.ts +48 -0
- package/types/raintonic-formaui-components-topbar.d.ts.map +1 -0
- package/types/raintonic-formaui-components-tree-select.d.ts +25 -9
- package/types/raintonic-formaui-components-tree-select.d.ts.map +1 -1
- package/types/raintonic-formaui-components-tree.d.ts +12 -1
- package/types/raintonic-formaui-components-tree.d.ts.map +1 -1
- package/types/raintonic-formaui-core.d.ts +243 -5
- package/types/raintonic-formaui-core.d.ts.map +1 -1
- package/types/raintonic-formaui-services-breakpoint.d.ts +44 -0
- package/types/raintonic-formaui-services-breakpoint.d.ts.map +1 -0
- package/types/raintonic-formaui-services-dialog.d.ts +141 -2
- package/types/raintonic-formaui-services-dialog.d.ts.map +1 -1
- package/types/raintonic-formaui-services-notification.d.ts +24 -2
- package/types/raintonic-formaui-services-notification.d.ts.map +1 -1
- package/types/raintonic-formaui-services-theme.d.ts +13 -103
- package/types/raintonic-formaui-services-theme.d.ts.map +1 -1
- package/types/raintonic-formaui.d.ts +1 -1
- package/fesm2022/raintonic-formaui-components-big-menu.mjs +0 -86
- package/fesm2022/raintonic-formaui-components-big-menu.mjs.map +0 -1
- package/fesm2022/raintonic-formaui-components-menu.mjs +0 -896
- package/fesm2022/raintonic-formaui-components-menu.mjs.map +0 -1
- package/fesm2022/raintonic-formaui-components-sidebar.mjs +0 -275
- package/fesm2022/raintonic-formaui-components-sidebar.mjs.map +0 -1
- package/fesm2022/raintonic-formaui-components-tag.mjs +0 -95
- package/fesm2022/raintonic-formaui-components-tag.mjs.map +0 -1
- package/styles/_fonts-entry.scss +0 -3
- package/styles/fonts/inter-tight-latin-italic.woff2 +0 -0
- package/styles/fonts/inter-tight-latin.woff2 +0 -0
- package/types/raintonic-formaui-components-big-menu.d.ts +0 -73
- package/types/raintonic-formaui-components-big-menu.d.ts.map +0 -1
- package/types/raintonic-formaui-components-menu.d.ts +0 -403
- package/types/raintonic-formaui-components-menu.d.ts.map +0 -1
- package/types/raintonic-formaui-components-sidebar.d.ts +0 -185
- package/types/raintonic-formaui-components-sidebar.d.ts.map +0 -1
- package/types/raintonic-formaui-components-tag.d.ts +0 -43
- package/types/raintonic-formaui-components-tag.d.ts.map +0 -1
|
@@ -1,268 +1,3 @@
|
|
|
1
|
-
//
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
@mixin fui-dark-theme {
|
|
5
|
-
// Primary violet colors (Figma: Violet palette — dark)
|
|
6
|
-
--fui-primary-10: #0e0b13;
|
|
7
|
-
--fui-primary-20: #17131f;
|
|
8
|
-
--fui-primary-30: #251e32;
|
|
9
|
-
--fui-primary-40: #352752;
|
|
10
|
-
--fui-primary-50: #875ddf;
|
|
11
|
-
--fui-primary-60: #a07fe5;
|
|
12
|
-
--fui-primary-70: #beafde;
|
|
13
|
-
--fui-primary-80: #d3c8e8;
|
|
14
|
-
--fui-primary-90: #e5e0ef;
|
|
15
|
-
--fui-primary-100: #f0eef6;
|
|
16
|
-
--fui-primary-110: #f9f8fb;
|
|
17
|
-
--fui-primary: var(--fui-primary-50);
|
|
18
|
-
--fui-primary-rgb: 135, 93, 223;
|
|
19
|
-
--fui-primary-text-color: white;
|
|
20
|
-
--fui-primary-text: white;
|
|
21
|
-
|
|
22
|
-
// Secondary slate colors (Figma: Slate palette — dark)
|
|
23
|
-
--fui-secondary-10: #121113;
|
|
24
|
-
--fui-secondary-20: #1a191b;
|
|
25
|
-
--fui-secondary-30: #232225;
|
|
26
|
-
--fui-secondary-40: #2b292d;
|
|
27
|
-
--fui-secondary-50: #323035;
|
|
28
|
-
--fui-secondary-60: #3c393f;
|
|
29
|
-
--fui-secondary-70: #49474e;
|
|
30
|
-
--fui-secondary-80: #625f69;
|
|
31
|
-
--fui-secondary-90: #6f6d78;
|
|
32
|
-
--fui-secondary-100: #7c7a85;
|
|
33
|
-
--fui-secondary-110: #b5b2bc;
|
|
34
|
-
--fui-secondary-120: #eeeef0;
|
|
35
|
-
--fui-secondary: var(--fui-secondary-60);
|
|
36
|
-
|
|
37
|
-
// Danger color palette (Figma: Red-Danger — dark)
|
|
38
|
-
--fui-danger-10: #191111;
|
|
39
|
-
--fui-danger-20: #201314;
|
|
40
|
-
--fui-danger-30: #3b1219;
|
|
41
|
-
--fui-danger-40: #500f1c;
|
|
42
|
-
--fui-danger-50: #611623;
|
|
43
|
-
--fui-danger-60: #72232d;
|
|
44
|
-
--fui-danger-70: #8c333a;
|
|
45
|
-
--fui-danger-80: #b54548;
|
|
46
|
-
--fui-danger-90: #e5484d;
|
|
47
|
-
--fui-danger-100: #ff9592;
|
|
48
|
-
--fui-danger-110: #ffd1d9;
|
|
49
|
-
--fui-danger: var(--fui-danger-60);
|
|
50
|
-
|
|
51
|
-
// Success color palette (Figma: Green-success — dark)
|
|
52
|
-
--fui-success-10: #0d1512;
|
|
53
|
-
--fui-success-20: #121c18;
|
|
54
|
-
--fui-success-30: #0f2e22;
|
|
55
|
-
--fui-success-40: #0b3b2c;
|
|
56
|
-
--fui-success-50: #114837;
|
|
57
|
-
--fui-success-60: #1b5745;
|
|
58
|
-
--fui-success-70: #246854;
|
|
59
|
-
--fui-success-80: #2a7e68;
|
|
60
|
-
--fui-success-90: #29a383;
|
|
61
|
-
--fui-success-100: #1fd8a4;
|
|
62
|
-
--fui-success-110: #adf0d4;
|
|
63
|
-
--fui-success: var(--fui-success-60);
|
|
64
|
-
|
|
65
|
-
// Warning color palette (Figma: Yellow-warning — dark)
|
|
66
|
-
--fui-warning-10: #16120c;
|
|
67
|
-
--fui-warning-20: #1c1812;
|
|
68
|
-
--fui-warning-30: #302008;
|
|
69
|
-
--fui-warning-40: #3e2700;
|
|
70
|
-
--fui-warning-50: #4c3000;
|
|
71
|
-
--fui-warning-60: #5b3d06;
|
|
72
|
-
--fui-warning-70: #704f1a;
|
|
73
|
-
--fui-warning-80: #8f6424;
|
|
74
|
-
--fui-warning-90: #ffc53d;
|
|
75
|
-
--fui-warning-100: #ffd60a;
|
|
76
|
-
--fui-warning-110: #ffe7b3;
|
|
77
|
-
--fui-warning: var(--fui-warning-60);
|
|
78
|
-
|
|
79
|
-
// Info color palette (Figma: Blue-info — dark)
|
|
80
|
-
--fui-info-10: #0d1520;
|
|
81
|
-
--fui-info-20: #111927;
|
|
82
|
-
--fui-info-30: #0d2847;
|
|
83
|
-
--fui-info-40: #003362;
|
|
84
|
-
--fui-info-50: #004074;
|
|
85
|
-
--fui-info-60: #104d87;
|
|
86
|
-
--fui-info-70: #205d9e;
|
|
87
|
-
--fui-info-80: #2870bd;
|
|
88
|
-
--fui-info-90: #0090ff;
|
|
89
|
-
--fui-info-100: #70b8ff;
|
|
90
|
-
--fui-info-110: #c2e6ff;
|
|
91
|
-
--fui-info: var(--fui-info-60);
|
|
92
|
-
|
|
93
|
-
// Pink color palette (NEW — Figma: Pink — dark)
|
|
94
|
-
--fui-pink-10: #191117;
|
|
95
|
-
--fui-pink-20: #21121d;
|
|
96
|
-
--fui-pink-30: #37172f;
|
|
97
|
-
--fui-pink-40: #4b143d;
|
|
98
|
-
--fui-pink-50: #591c47;
|
|
99
|
-
--fui-pink-60: #692955;
|
|
100
|
-
--fui-pink-70: #833869;
|
|
101
|
-
--fui-pink-80: #a84885;
|
|
102
|
-
--fui-pink-90: #d6409f;
|
|
103
|
-
--fui-pink-100: #ff8dcc;
|
|
104
|
-
--fui-pink-110: #fdd1ea;
|
|
105
|
-
|
|
106
|
-
// Orange color palette (NEW — Figma: Orange — dark)
|
|
107
|
-
--fui-orange-10: #17120e;
|
|
108
|
-
--fui-orange-20: #1c1712;
|
|
109
|
-
--fui-orange-30: #331e0b;
|
|
110
|
-
--fui-orange-40: #462000;
|
|
111
|
-
--fui-orange-50: #562800;
|
|
112
|
-
--fui-orange-60: #66350e;
|
|
113
|
-
--fui-orange-70: #7e451e;
|
|
114
|
-
--fui-orange-80: #a35829;
|
|
115
|
-
--fui-orange-90: #f76b15;
|
|
116
|
-
--fui-orange-100: #ffa057;
|
|
117
|
-
--fui-orange-110: #ffe0c2;
|
|
118
|
-
|
|
119
|
-
// Tomato color palette (NEW — Figma: Tomato — dark)
|
|
120
|
-
--fui-tomato-10: #181111;
|
|
121
|
-
--fui-tomato-20: #1f1513;
|
|
122
|
-
--fui-tomato-30: #391714;
|
|
123
|
-
--fui-tomato-40: #4e1511;
|
|
124
|
-
--fui-tomato-50: #5e1c16;
|
|
125
|
-
--fui-tomato-60: #6e2920;
|
|
126
|
-
--fui-tomato-70: #853a2d;
|
|
127
|
-
--fui-tomato-80: #ac4d39;
|
|
128
|
-
--fui-tomato-90: #e54d2e;
|
|
129
|
-
--fui-tomato-100: #ec6142;
|
|
130
|
-
--fui-tomato-110: #ff977d;
|
|
131
|
-
--fui-tomato-120: #fbd3cb;
|
|
132
|
-
|
|
133
|
-
// Base colors (inverted for dark theme)
|
|
134
|
-
--fui-white: #000000;
|
|
135
|
-
--fui-black: #ffffff;
|
|
136
|
-
|
|
137
|
-
// Black opacity variants (inverted: white with alpha for dark theme)
|
|
138
|
-
--fui-black-5: rgba(255, 255, 255, 0.05);
|
|
139
|
-
--fui-black-10: rgba(255, 255, 255, 0.1);
|
|
140
|
-
--fui-black-15: rgba(255, 255, 255, 0.15);
|
|
141
|
-
--fui-black-20: rgba(255, 255, 255, 0.2);
|
|
142
|
-
--fui-black-30: rgba(255, 255, 255, 0.3);
|
|
143
|
-
--fui-black-40: rgba(255, 255, 255, 0.4);
|
|
144
|
-
--fui-black-50: rgba(255, 255, 255, 0.5);
|
|
145
|
-
--fui-black-60: rgba(255, 255, 255, 0.6);
|
|
146
|
-
--fui-black-70: rgba(255, 255, 255, 0.7);
|
|
147
|
-
--fui-black-80: rgba(255, 255, 255, 0.8);
|
|
148
|
-
--fui-black-90: rgba(255, 255, 255, 0.9);
|
|
149
|
-
|
|
150
|
-
// White opacity variants (inverted: black with alpha for dark theme)
|
|
151
|
-
--fui-white-5: rgba(0, 0, 0, 0.05);
|
|
152
|
-
--fui-white-10: rgba(0, 0, 0, 0.1);
|
|
153
|
-
--fui-white-15: rgba(0, 0, 0, 0.15);
|
|
154
|
-
--fui-white-20: rgba(0, 0, 0, 0.2);
|
|
155
|
-
--fui-white-30: rgba(0, 0, 0, 0.3);
|
|
156
|
-
--fui-white-40: rgba(0, 0, 0, 0.4);
|
|
157
|
-
--fui-white-50: rgba(0, 0, 0, 0.5);
|
|
158
|
-
--fui-white-60: rgba(0, 0, 0, 0.6);
|
|
159
|
-
--fui-white-70: rgba(0, 0, 0, 0.7);
|
|
160
|
-
--fui-white-80: rgba(0, 0, 0, 0.8);
|
|
161
|
-
--fui-white-90: rgba(0, 0, 0, 0.9);
|
|
162
|
-
|
|
163
|
-
// Text disabled
|
|
164
|
-
--fui-text-disabled: var(--fui-secondary-100);
|
|
165
|
-
|
|
166
|
-
// Border color
|
|
167
|
-
--fui-border-color: var(--fui-secondary-50);
|
|
168
|
-
|
|
169
|
-
// Surface tokens (Figma: forma-surface)
|
|
170
|
-
--fui-surface-bg: var(--fui-secondary-20);
|
|
171
|
-
--fui-surface-card: var(--fui-white);
|
|
172
|
-
--fui-surface-01: var(--fui-secondary-10);
|
|
173
|
-
--fui-surface-02: var(--fui-secondary-20);
|
|
174
|
-
--fui-surface-03: var(--fui-secondary-30);
|
|
175
|
-
--fui-surface-04: var(--fui-secondary-40);
|
|
176
|
-
|
|
177
|
-
// Backward-compatible surface aliases
|
|
178
|
-
--fui-surface-00: var(--fui-surface-card);
|
|
179
|
-
--fui-bg: var(--fui-surface-bg);
|
|
180
|
-
--fui-surface-05: var(--fui-secondary-50);
|
|
181
|
-
|
|
182
|
-
// Text colors
|
|
183
|
-
--fui-text-primary: var(--fui-secondary-120);
|
|
184
|
-
--fui-text-secondary: var(--fui-secondary-110);
|
|
185
|
-
|
|
186
|
-
// Primary component states (Figma: forma-primary semantic)
|
|
187
|
-
--fui-primary-default: var(--fui-primary-50);
|
|
188
|
-
--fui-primary-disable: var(--fui-primary-40);
|
|
189
|
-
--fui-primary-bg: var(--fui-primary-20);
|
|
190
|
-
--fui-primary-hover: var(--fui-primary-60);
|
|
191
|
-
--fui-primary-highlights: var(--fui-primary-30);
|
|
192
|
-
|
|
193
|
-
// Secondary component states (Figma: forma-secondary semantic)
|
|
194
|
-
--fui-secondary-default: var(--fui-secondary-60);
|
|
195
|
-
--fui-secondary-hover: var(--fui-secondary-90);
|
|
196
|
-
--fui-secondary-disable: var(--fui-secondary-30);
|
|
197
|
-
--fui-secondary-bg: var(--fui-secondary-20);
|
|
198
|
-
--fui-secondary-highlights: var(--fui-secondary-20);
|
|
199
|
-
|
|
200
|
-
// State colors - Error
|
|
201
|
-
--fui-state-error: var(--fui-danger-90);
|
|
202
|
-
--fui-state-error-bg: var(--fui-danger-30);
|
|
203
|
-
--fui-state-error-hover: var(--fui-danger-110);
|
|
204
|
-
|
|
205
|
-
// Destructive component states (button v2 — button only, not to be confused with
|
|
206
|
-
// state-error which is used by form fields / alerts / badges)
|
|
207
|
-
--fui-destructive-default: var(--fui-danger-90);
|
|
208
|
-
--fui-destructive-hover: var(--fui-danger-100);
|
|
209
|
-
--fui-destructive-text: white;
|
|
210
|
-
|
|
211
|
-
// Tertiary (neutral) component states
|
|
212
|
-
--fui-tertiary-text: var(--fui-text-primary);
|
|
213
|
-
--fui-tertiary-hover-bg: var(--fui-surface-03);
|
|
214
|
-
|
|
215
|
-
// Tertiary-violet component states
|
|
216
|
-
--fui-tertiary-violet-text: var(--fui-primary);
|
|
217
|
-
--fui-tertiary-violet-hover-bg: var(--fui-primary-bg);
|
|
218
|
-
|
|
219
|
-
// State colors - Success
|
|
220
|
-
--fui-state-success: var(--fui-success-110);
|
|
221
|
-
--fui-state-success-bg: var(--fui-success-30);
|
|
222
|
-
--fui-state-success-hover: var(--fui-success-110);
|
|
223
|
-
|
|
224
|
-
// State colors - Warning
|
|
225
|
-
--fui-state-warning: var(--fui-warning-110);
|
|
226
|
-
--fui-state-warning-bg: var(--fui-warning-30);
|
|
227
|
-
--fui-state-warning-hover: var(--fui-warning-110);
|
|
228
|
-
|
|
229
|
-
// State colors - Info
|
|
230
|
-
--fui-state-info: var(--fui-info-110);
|
|
231
|
-
--fui-state-info-bg: var(--fui-info-30);
|
|
232
|
-
--fui-state-info-hover: var(--fui-info-110);
|
|
233
|
-
|
|
234
|
-
// Border - strong variant (for hover emphasis)
|
|
235
|
-
--fui-border-color-strong: var(--fui-secondary-70);
|
|
236
|
-
|
|
237
|
-
// Border - active variant (for focus/active states)
|
|
238
|
-
--fui-border-color-active: var(--fui-primary-default);
|
|
239
|
-
|
|
240
|
-
// Form field semantic colors
|
|
241
|
-
--fui-field-background: var(--fui-surface-00);
|
|
242
|
-
--fui-field-background-hover: var(--fui-surface-01);
|
|
243
|
-
--fui-field-background-disabled: var(--fui-surface-02);
|
|
244
|
-
--fui-field-border-focus: var(--fui-primary-50);
|
|
245
|
-
--fui-field-border-error: var(--fui-state-error);
|
|
246
|
-
|
|
247
|
-
// Icon semantic colors
|
|
248
|
-
--fui-icon-primary: var(--fui-text-primary);
|
|
249
|
-
--fui-icon-secondary: var(--fui-text-secondary);
|
|
250
|
-
--fui-icon-tertiary: var(--fui-secondary-80);
|
|
251
|
-
--fui-icon-on-color-disabled: var(--fui-text-disabled);
|
|
252
|
-
|
|
253
|
-
// Background semantic aliases
|
|
254
|
-
--fui-background-primary: var(--fui-surface-00);
|
|
255
|
-
--fui-background-hover: var(--fui-surface-02);
|
|
256
|
-
|
|
257
|
-
// Text semantic aliases
|
|
258
|
-
--fui-text-primary-disabled: var(--fui-text-disabled);
|
|
259
|
-
|
|
260
|
-
// Error shorthand
|
|
261
|
-
--fui-error: var(--fui-state-error);
|
|
262
|
-
|
|
263
|
-
// Card component tokens
|
|
264
|
-
--fui-card-padding: var(--fui-spacing-06);
|
|
265
|
-
--fui-card-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.4);
|
|
266
|
-
--fui-card-shadow-hover: 0 3px 6px rgba(0, 0, 0, 0.35), 0 2px 4px rgba(0, 0, 0, 0.3);
|
|
267
|
-
--fui-card-border-radius: var(--fui-border-radius-md);
|
|
268
|
-
}
|
|
1
|
+
// LEGACY ENTRY POINT — kept for backward compat.
|
|
2
|
+
// All values now live in tokens/*.json (managed by Style Dictionary).
|
|
3
|
+
@forward '../../generated/tokens' show fui-dark-theme;
|
|
@@ -1,268 +1,4 @@
|
|
|
1
|
-
//
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
@
|
|
5
|
-
// Primary violet colors (Figma: Violet palette)
|
|
6
|
-
--fui-primary-10: #fdfaff;
|
|
7
|
-
--fui-primary-20: #f9f5ff;
|
|
8
|
-
--fui-primary-30: #f1ebff;
|
|
9
|
-
--fui-primary-40: #e4d4ff;
|
|
10
|
-
--fui-primary-50: #7c4be0;
|
|
11
|
-
--fui-primary-60: #6833c8;
|
|
12
|
-
--fui-primary-70: #5522af;
|
|
13
|
-
--fui-primary-80: #421a8c;
|
|
14
|
-
--fui-primary-90: #2e1266;
|
|
15
|
-
--fui-primary-100: #1a0b3d;
|
|
16
|
-
--fui-primary-110: #120923;
|
|
17
|
-
--fui-primary: var(--fui-primary-50);
|
|
18
|
-
--fui-primary-rgb: 124, 75, 224;
|
|
19
|
-
--fui-primary-text-color: white;
|
|
20
|
-
--fui-primary-text: white;
|
|
21
|
-
|
|
22
|
-
// Secondary slate colors (Figma: Slate palette)
|
|
23
|
-
--fui-secondary-10: #fbfcfe;
|
|
24
|
-
--fui-secondary-20: #f8f9fd;
|
|
25
|
-
--fui-secondary-30: #eeeff5;
|
|
26
|
-
--fui-secondary-40: #e6e7ed;
|
|
27
|
-
--fui-secondary-50: #dfe0e6;
|
|
28
|
-
--fui-secondary-60: #d7d8de;
|
|
29
|
-
--fui-secondary-70: #ccced3;
|
|
30
|
-
--fui-secondary-80: #b9bbc0;
|
|
31
|
-
--fui-secondary-90: #8c8d92;
|
|
32
|
-
--fui-secondary-100: #818288;
|
|
33
|
-
--fui-secondary-110: #636469;
|
|
34
|
-
--fui-secondary-120: #1f2024;
|
|
35
|
-
--fui-secondary: var(--fui-secondary-60);
|
|
36
|
-
|
|
37
|
-
// Danger color palette (Figma: Red-Danger — unchanged)
|
|
38
|
-
--fui-danger-10: #fffcfc;
|
|
39
|
-
--fui-danger-20: #fff7f7;
|
|
40
|
-
--fui-danger-30: #feebec;
|
|
41
|
-
--fui-danger-40: #ffdbdc;
|
|
42
|
-
--fui-danger-50: #ffcdce;
|
|
43
|
-
--fui-danger-60: #fdbdbe;
|
|
44
|
-
--fui-danger-70: #f4a9aa;
|
|
45
|
-
--fui-danger-80: #eb8e90;
|
|
46
|
-
--fui-danger-90: #e5484d;
|
|
47
|
-
--fui-danger-100: #ce2c31;
|
|
48
|
-
--fui-danger-110: #821e2e;
|
|
49
|
-
--fui-danger: var(--fui-danger-60);
|
|
50
|
-
|
|
51
|
-
// Success color palette (Figma: Green-success — unchanged)
|
|
52
|
-
--fui-success-10: #fbfefd;
|
|
53
|
-
--fui-success-20: #f4fbf7;
|
|
54
|
-
--fui-success-30: #e6f7ed;
|
|
55
|
-
--fui-success-40: #d6f1e3;
|
|
56
|
-
--fui-success-50: #c3e9d7;
|
|
57
|
-
--fui-success-60: #acdec8;
|
|
58
|
-
--fui-success-70: #8bceb6;
|
|
59
|
-
--fui-success-80: #56ba9f;
|
|
60
|
-
--fui-success-90: #29a383;
|
|
61
|
-
--fui-success-100: #208368;
|
|
62
|
-
--fui-success-110: #1d3b31;
|
|
63
|
-
--fui-success: var(--fui-success-60);
|
|
64
|
-
|
|
65
|
-
// Warning color palette (Figma: Yellow-warning — unchanged)
|
|
66
|
-
--fui-warning-10: #fefdfb;
|
|
67
|
-
--fui-warning-20: #fefbe9;
|
|
68
|
-
--fui-warning-30: #fff7c2;
|
|
69
|
-
--fui-warning-40: #ffee9c;
|
|
70
|
-
--fui-warning-50: #fbe577;
|
|
71
|
-
--fui-warning-60: #f3d673;
|
|
72
|
-
--fui-warning-70: #e9c162;
|
|
73
|
-
--fui-warning-80: #ffc53d;
|
|
74
|
-
--fui-warning-90: #e2a336;
|
|
75
|
-
--fui-warning-100: #ab6400;
|
|
76
|
-
--fui-warning-110: #4f3422;
|
|
77
|
-
--fui-warning: var(--fui-warning-60);
|
|
78
|
-
|
|
79
|
-
// Info color palette (Figma: Blue-info — unchanged)
|
|
80
|
-
--fui-info-10: #fbfdff;
|
|
81
|
-
--fui-info-20: #f4faff;
|
|
82
|
-
--fui-info-30: #e6f4fe;
|
|
83
|
-
--fui-info-40: #d5efff;
|
|
84
|
-
--fui-info-50: #c2e5ff;
|
|
85
|
-
--fui-info-60: #acd8fc;
|
|
86
|
-
--fui-info-70: #8ec8f6;
|
|
87
|
-
--fui-info-80: #5eb1ef;
|
|
88
|
-
--fui-info-90: #0090ff;
|
|
89
|
-
--fui-info-100: #0d74ce;
|
|
90
|
-
--fui-info-110: #113264;
|
|
91
|
-
--fui-info: var(--fui-info-60);
|
|
92
|
-
|
|
93
|
-
// Pink color palette (NEW — Figma: Pink)
|
|
94
|
-
--fui-pink-10: #fffcfe;
|
|
95
|
-
--fui-pink-20: #fef7fb;
|
|
96
|
-
--fui-pink-30: #fee9f5;
|
|
97
|
-
--fui-pink-40: #fbdcef;
|
|
98
|
-
--fui-pink-50: #f6cee7;
|
|
99
|
-
--fui-pink-60: #efbfdd;
|
|
100
|
-
--fui-pink-70: #e7acd0;
|
|
101
|
-
--fui-pink-80: #dd93c2;
|
|
102
|
-
--fui-pink-90: #d6409f;
|
|
103
|
-
--fui-pink-100: #c2298a;
|
|
104
|
-
--fui-pink-110: #651249;
|
|
105
|
-
|
|
106
|
-
// Orange color palette (NEW — Figma: Orange)
|
|
107
|
-
--fui-orange-10: #fefcfb;
|
|
108
|
-
--fui-orange-20: #fff7ed;
|
|
109
|
-
--fui-orange-30: #ffefd6;
|
|
110
|
-
--fui-orange-40: #ffdfb5;
|
|
111
|
-
--fui-orange-50: #ffd19a;
|
|
112
|
-
--fui-orange-60: #ffc182;
|
|
113
|
-
--fui-orange-70: #f5ae73;
|
|
114
|
-
--fui-orange-80: #ec9455;
|
|
115
|
-
--fui-orange-90: #f76b15;
|
|
116
|
-
--fui-orange-100: #cc4e00;
|
|
117
|
-
--fui-orange-110: #582d1d;
|
|
118
|
-
|
|
119
|
-
// Tomato color palette (NEW — Figma: Tomato)
|
|
120
|
-
--fui-tomato-10: #fffcfc;
|
|
121
|
-
--fui-tomato-20: #fff8f7;
|
|
122
|
-
--fui-tomato-30: #feebe7;
|
|
123
|
-
--fui-tomato-40: #ffdcd3;
|
|
124
|
-
--fui-tomato-50: #ffcdc2;
|
|
125
|
-
--fui-tomato-60: #fdbdaf;
|
|
126
|
-
--fui-tomato-70: #f5a898;
|
|
127
|
-
--fui-tomato-80: #ec8e7b;
|
|
128
|
-
--fui-tomato-90: #e54d2e;
|
|
129
|
-
--fui-tomato-100: #dd4425;
|
|
130
|
-
--fui-tomato-110: #d13415;
|
|
131
|
-
--fui-tomato-120: #5c271f;
|
|
132
|
-
|
|
133
|
-
// Base colors
|
|
134
|
-
--fui-white: #ffffff;
|
|
135
|
-
--fui-black: #000000;
|
|
136
|
-
|
|
137
|
-
// Black opacity variants
|
|
138
|
-
--fui-black-5: rgba(0, 0, 0, 0.05);
|
|
139
|
-
--fui-black-10: rgba(0, 0, 0, 0.1);
|
|
140
|
-
--fui-black-15: rgba(0, 0, 0, 0.15);
|
|
141
|
-
--fui-black-20: rgba(0, 0, 0, 0.2);
|
|
142
|
-
--fui-black-30: rgba(0, 0, 0, 0.3);
|
|
143
|
-
--fui-black-40: rgba(0, 0, 0, 0.4);
|
|
144
|
-
--fui-black-50: rgba(0, 0, 0, 0.5);
|
|
145
|
-
--fui-black-60: rgba(0, 0, 0, 0.6);
|
|
146
|
-
--fui-black-70: rgba(0, 0, 0, 0.7);
|
|
147
|
-
--fui-black-80: rgba(0, 0, 0, 0.8);
|
|
148
|
-
--fui-black-90: rgba(0, 0, 0, 0.9);
|
|
149
|
-
|
|
150
|
-
// White opacity variants
|
|
151
|
-
--fui-white-5: rgba(255, 255, 255, 0.05);
|
|
152
|
-
--fui-white-10: rgba(255, 255, 255, 0.1);
|
|
153
|
-
--fui-white-15: rgba(255, 255, 255, 0.15);
|
|
154
|
-
--fui-white-20: rgba(255, 255, 255, 0.2);
|
|
155
|
-
--fui-white-30: rgba(255, 255, 255, 0.3);
|
|
156
|
-
--fui-white-40: rgba(255, 255, 255, 0.4);
|
|
157
|
-
--fui-white-50: rgba(255, 255, 255, 0.5);
|
|
158
|
-
--fui-white-60: rgba(255, 255, 255, 0.6);
|
|
159
|
-
--fui-white-70: rgba(255, 255, 255, 0.7);
|
|
160
|
-
--fui-white-80: rgba(255, 255, 255, 0.8);
|
|
161
|
-
--fui-white-90: rgba(255, 255, 255, 0.9);
|
|
162
|
-
|
|
163
|
-
// Text disabled
|
|
164
|
-
--fui-text-disabled: var(--fui-secondary-100);
|
|
165
|
-
|
|
166
|
-
// Border color
|
|
167
|
-
--fui-border-color: var(--fui-secondary-50);
|
|
168
|
-
|
|
169
|
-
// Surface tokens (Figma: forma-surface)
|
|
170
|
-
--fui-surface-bg: var(--fui-secondary-20);
|
|
171
|
-
--fui-surface-card: var(--fui-white);
|
|
172
|
-
--fui-surface-01: var(--fui-secondary-10);
|
|
173
|
-
--fui-surface-02: var(--fui-secondary-20);
|
|
174
|
-
--fui-surface-03: var(--fui-secondary-30);
|
|
175
|
-
--fui-surface-04: var(--fui-secondary-40);
|
|
176
|
-
|
|
177
|
-
// Backward-compatible surface aliases
|
|
178
|
-
--fui-surface-00: var(--fui-surface-card);
|
|
179
|
-
--fui-bg: var(--fui-surface-bg);
|
|
180
|
-
--fui-surface-05: var(--fui-secondary-50);
|
|
181
|
-
|
|
182
|
-
// Text colors
|
|
183
|
-
--fui-text-primary: var(--fui-secondary-120);
|
|
184
|
-
--fui-text-secondary: var(--fui-secondary-110);
|
|
185
|
-
|
|
186
|
-
// Primary component states (Figma: forma-primary semantic)
|
|
187
|
-
--fui-primary-default: var(--fui-primary-50);
|
|
188
|
-
--fui-primary-disable: var(--fui-primary-40);
|
|
189
|
-
--fui-primary-bg: var(--fui-primary-20);
|
|
190
|
-
--fui-primary-hover: var(--fui-primary-60);
|
|
191
|
-
--fui-primary-highlights: var(--fui-primary-30);
|
|
192
|
-
|
|
193
|
-
// Secondary component states (Figma: forma-secondary semantic)
|
|
194
|
-
--fui-secondary-default: var(--fui-secondary-60);
|
|
195
|
-
--fui-secondary-hover: var(--fui-secondary-90);
|
|
196
|
-
--fui-secondary-disable: var(--fui-secondary-30);
|
|
197
|
-
--fui-secondary-bg: var(--fui-secondary-20);
|
|
198
|
-
--fui-secondary-highlights: var(--fui-secondary-20);
|
|
199
|
-
|
|
200
|
-
// State colors - Error (Figma: forma-state)
|
|
201
|
-
--fui-state-error: var(--fui-danger-90);
|
|
202
|
-
--fui-state-error-bg: var(--fui-danger-30);
|
|
203
|
-
--fui-state-error-hover: var(--fui-danger-110);
|
|
204
|
-
|
|
205
|
-
// Destructive component states (button v2 — button only, not to be confused with
|
|
206
|
-
// state-error which is used by form fields / alerts / badges)
|
|
207
|
-
--fui-destructive-default: var(--fui-danger-90);
|
|
208
|
-
--fui-destructive-hover: var(--fui-danger-100);
|
|
209
|
-
--fui-destructive-text: white;
|
|
210
|
-
|
|
211
|
-
// Tertiary (neutral) component states
|
|
212
|
-
--fui-tertiary-text: var(--fui-text-primary);
|
|
213
|
-
--fui-tertiary-hover-bg: var(--fui-surface-03);
|
|
214
|
-
|
|
215
|
-
// Tertiary-violet component states
|
|
216
|
-
--fui-tertiary-violet-text: var(--fui-primary);
|
|
217
|
-
--fui-tertiary-violet-hover-bg: var(--fui-primary-bg);
|
|
218
|
-
|
|
219
|
-
// State colors - Success
|
|
220
|
-
--fui-state-success: var(--fui-success-110);
|
|
221
|
-
--fui-state-success-bg: var(--fui-success-30);
|
|
222
|
-
--fui-state-success-hover: var(--fui-success-110);
|
|
223
|
-
|
|
224
|
-
// State colors - Warning
|
|
225
|
-
--fui-state-warning: var(--fui-warning-110);
|
|
226
|
-
--fui-state-warning-bg: var(--fui-warning-30);
|
|
227
|
-
--fui-state-warning-hover: var(--fui-warning-110);
|
|
228
|
-
|
|
229
|
-
// State colors - Info
|
|
230
|
-
--fui-state-info: var(--fui-info-110);
|
|
231
|
-
--fui-state-info-bg: var(--fui-info-30);
|
|
232
|
-
--fui-state-info-hover: var(--fui-info-110);
|
|
233
|
-
|
|
234
|
-
// Border - strong variant (for hover emphasis)
|
|
235
|
-
--fui-border-color-strong: var(--fui-secondary-70);
|
|
236
|
-
|
|
237
|
-
// Border - active variant (for focus/active states)
|
|
238
|
-
--fui-border-color-active: var(--fui-primary-default);
|
|
239
|
-
|
|
240
|
-
// Form field semantic colors
|
|
241
|
-
--fui-field-background: var(--fui-surface-00);
|
|
242
|
-
--fui-field-background-hover: var(--fui-surface-01);
|
|
243
|
-
--fui-field-background-disabled: var(--fui-surface-02);
|
|
244
|
-
--fui-field-border-focus: var(--fui-primary-50);
|
|
245
|
-
--fui-field-border-error: var(--fui-state-error);
|
|
246
|
-
|
|
247
|
-
// Icon semantic colors
|
|
248
|
-
--fui-icon-primary: var(--fui-text-primary);
|
|
249
|
-
--fui-icon-secondary: var(--fui-text-secondary);
|
|
250
|
-
--fui-icon-tertiary: var(--fui-secondary-90);
|
|
251
|
-
--fui-icon-on-color-disabled: var(--fui-text-disabled);
|
|
252
|
-
|
|
253
|
-
// Background semantic aliases
|
|
254
|
-
--fui-background-primary: var(--fui-surface-00);
|
|
255
|
-
--fui-background-hover: var(--fui-surface-02);
|
|
256
|
-
|
|
257
|
-
// Text semantic aliases
|
|
258
|
-
--fui-text-primary-disabled: var(--fui-text-disabled);
|
|
259
|
-
|
|
260
|
-
// Error shorthand
|
|
261
|
-
--fui-error: var(--fui-state-error);
|
|
262
|
-
|
|
263
|
-
// Card component tokens
|
|
264
|
-
--fui-card-padding: var(--fui-spacing-06);
|
|
265
|
-
--fui-card-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
|
|
266
|
-
--fui-card-shadow-hover: 0 3px 6px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.12);
|
|
267
|
-
--fui-card-border-radius: var(--fui-border-radius-md);
|
|
268
|
-
}
|
|
1
|
+
// LEGACY ENTRY POINT — kept for backward compat.
|
|
2
|
+
// All values now live in tokens/*.json (managed by Style Dictionary).
|
|
3
|
+
// This file is a pass-through; do not add token declarations here.
|
|
4
|
+
@forward '../../generated/tokens' show fui-light-theme;
|