@skeletonlabs/skeleton 0.80.9 → 0.92.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.
Files changed (122) hide show
  1. package/README.md +1 -1
  2. package/components/Accordion/AccordionGroup.svelte +1 -2
  3. package/components/Accordion/AccordionItem.svelte +6 -3
  4. package/components/Accordion/AccordionItem.svelte.d.ts +1 -0
  5. package/components/Alert/Alert.svelte +3 -3
  6. package/components/AppRail/AppRailTile.svelte +8 -6
  7. package/components/AppShell/AppShell.svelte +3 -3
  8. package/components/Breadcrumb/Crumb.svelte +3 -1
  9. package/components/Breadcrumb/Crumb.svelte.d.ts +5 -0
  10. package/components/ConicGradient/ConicGradient.svelte +2 -2
  11. package/components/ConicGradient/ConicGradient.svelte.d.ts +5 -0
  12. package/{tailwind/colors.d.ts → components/ConicGradient/settings.d.ts} +1 -1
  13. package/{tailwind/colors.js → components/ConicGradient/settings.js} +1 -1
  14. package/components/FileButton/FileButton.svelte +2 -2
  15. package/components/FileButton/FileButton.svelte.d.ts +3 -0
  16. package/components/FileDropzone/FileDropzone.svelte +5 -4
  17. package/components/FileDropzone/FileDropzone.svelte.d.ts +4 -0
  18. package/components/GradientHeading/GradientHeading.svelte +1 -1
  19. package/components/InputChip/InputChip.svelte +107 -0
  20. package/components/InputChip/InputChip.svelte.d.ts +29 -0
  21. package/components/ListBox/ListBoxItem.svelte +6 -5
  22. package/components/ListBox/ListBoxItem.svelte.d.ts +2 -0
  23. package/components/Paginator/Paginator.svelte +21 -9
  24. package/components/Paginator/Paginator.svelte.d.ts +5 -1
  25. package/components/ProgressBar/ProgressBar.svelte +6 -4
  26. package/components/ProgressBar/ProgressBar.svelte.d.ts +1 -0
  27. package/components/ProgressRadial/ProgressRadial.svelte +1 -1
  28. package/components/Radio/RadioGroup.svelte +2 -2
  29. package/components/Radio/RadioItem.svelte +3 -1
  30. package/components/Radio/RadioItem.svelte.d.ts +2 -0
  31. package/components/RangeSlider/RangeSlider.svelte +1 -1
  32. package/components/SlideToggle/SlideToggle.svelte +9 -6
  33. package/components/SlideToggle/SlideToggle.svelte.d.ts +4 -1
  34. package/components/Stepper/Step.svelte +52 -13
  35. package/components/Stepper/Step.svelte.d.ts +11 -3
  36. package/components/Stepper/Stepper.svelte +32 -10
  37. package/components/Stepper/Stepper.svelte.d.ts +8 -3
  38. package/components/SvgIcon/SvgIcon.svelte +1 -1
  39. package/components/SvgIcon/icons.js +2 -148
  40. package/components/Tab/Tab.svelte +16 -4
  41. package/components/Tab/Tab.svelte.d.ts +5 -0
  42. package/components/Table/Table.svelte +3 -3
  43. package/components/TableOfContents/TableOfContents.svelte +132 -0
  44. package/components/TableOfContents/TableOfContents.svelte.d.ts +32 -0
  45. package/index.d.ts +2 -0
  46. package/index.js +2 -0
  47. package/package.json +37 -29
  48. package/styles/all.css +0 -3
  49. package/styles/core.css +3 -0
  50. package/styles/elements/alerts.css +43 -0
  51. package/styles/elements/badges.css +12 -6
  52. package/styles/elements/breadcrumbs.css +27 -0
  53. package/styles/elements/buttons.css +34 -10
  54. package/styles/elements/cards.css +23 -4
  55. package/styles/elements/chips.css +58 -5
  56. package/styles/elements/lists.css +1 -1
  57. package/styles/elements/logo-clouds.css +1 -1
  58. package/styles/elements/menus.css +1 -1
  59. package/styles/elements/placeholders.css +1 -1
  60. package/styles/elements/tables.css +1 -1
  61. package/styles/elements/tooltips.css +1 -1
  62. package/styles/elements.css +2 -0
  63. package/styles/forms.css +59 -41
  64. package/styles/typography.css +6 -6
  65. package/tailwind/generated/allComponents.cjs +1 -0
  66. package/tailwind/generated/allComponents.d.cts +5552 -0
  67. package/tailwind/settings.cjs +20 -0
  68. package/tailwind/settings.d.cts +6 -0
  69. package/tailwind/skeleton.cjs +54 -0
  70. package/tailwind/skeleton.d.cts +5 -0
  71. package/tailwind/theme/colors.cjs +18 -0
  72. package/tailwind/theme/colors.d.cts +2 -0
  73. package/tailwind/tokens/backgrounds.cjs +40 -0
  74. package/tailwind/tokens/backgrounds.d.cts +2 -0
  75. package/tailwind/tokens/border-radius.cjs +21 -0
  76. package/tailwind/tokens/border-radius.d.cts +33 -0
  77. package/tailwind/tokens/borders.cjs +20 -0
  78. package/tailwind/tokens/borders.d.cts +6 -0
  79. package/tailwind/tokens/fills.cjs +20 -0
  80. package/tailwind/tokens/fills.d.cts +15 -0
  81. package/tailwind/tokens/rings.cjs +42 -0
  82. package/tailwind/tokens/rings.d.cts +17 -0
  83. package/tailwind/tokens/text.cjs +33 -0
  84. package/tailwind/tokens/text.d.cts +21 -0
  85. package/themes/theme-crimson.css +88 -64
  86. package/themes/theme-gold-nouveau.css +108 -115
  87. package/themes/theme-hamlindigo.css +97 -74
  88. package/themes/theme-modern.css +107 -64
  89. package/themes/theme-rocket.css +96 -63
  90. package/themes/theme-sahara.css +104 -65
  91. package/themes/theme-seafoam.css +100 -66
  92. package/themes/theme-seasonal.css +111 -65
  93. package/themes/theme-skeleton.css +99 -75
  94. package/themes/theme-vintage.css +102 -63
  95. package/utilities/CodeBlock/CodeBlock.svelte +6 -1
  96. package/utilities/CodeBlock/CodeBlock.svelte.d.ts +2 -0
  97. package/utilities/DataTable/DataTable.js +3 -1
  98. package/utilities/Drawer/Drawer.svelte +11 -10
  99. package/utilities/Drawer/Drawer.svelte.d.ts +1 -2
  100. package/utilities/Drawer/stores.d.ts +1 -1
  101. package/utilities/LightSwitch/LightSwitch.svelte +42 -14
  102. package/utilities/LightSwitch/LightSwitch.svelte.d.ts +5 -0
  103. package/utilities/LightSwitch/stores.d.ts +2 -3
  104. package/utilities/LocalStorageStore/LocalStorageStore.d.ts +3 -1
  105. package/utilities/LocalStorageStore/LocalStorageStore.js +9 -4
  106. package/utilities/Menu/menu.js +11 -7
  107. package/utilities/Modal/Modal.svelte +25 -12
  108. package/utilities/Modal/Modal.svelte.d.ts +2 -0
  109. package/utilities/Modal/types.d.ts +12 -2
  110. package/utilities/Toast/Toast.svelte +2 -2
  111. package/utilities/Toast/stores.js +17 -1
  112. package/utilities/Toast/types.d.ts +5 -0
  113. package/styles/tokens/backgrounds.css +0 -239
  114. package/styles/tokens/border-radius.css +0 -41
  115. package/styles/tokens/borders.css +0 -185
  116. package/styles/tokens/fills.css +0 -29
  117. package/styles/tokens/misc.css +0 -22
  118. package/styles/tokens/rings.css +0 -185
  119. package/styles/tokens/text.css +0 -216
  120. package/styles/tokens.css +0 -11
  121. package/tailwind/theme.cjs +0 -37
  122. package/tailwind/theme.d.cts +0 -5
@@ -12,11 +12,11 @@ export let max = 3;
12
12
  export let duration = 150;
13
13
  // Props (styles)
14
14
  /** Provide classes to set the background color. */
15
- export let background = 'bg-accent-500';
15
+ export let background = 'bg-secondary-500';
16
16
  /** Provide classes to set width styles. */
17
17
  export let width = 'max-w-[640px]';
18
18
  /** Provide classes to set the text color. */
19
- export let color = 'text-on-accent-token';
19
+ export let color = 'text-on-secondary-token';
20
20
  /** Provide classes to set the padding. */
21
21
  export let padding = 'p-4';
22
22
  /** Provide classes to set the horizontal spacing. */
@@ -21,8 +21,24 @@ function toastService() {
21
21
  /** Add a new toast to the queue. */
22
22
  trigger: (toast) => update((tStore) => {
23
23
  const id = randomUUID();
24
+ // Apply Preset Color Styles
25
+ let classes = toast.classes ?? '';
26
+ // prettier-ignore
27
+ switch (toast.preset) {
28
+ // Success/Error
29
+ case ('success'):
30
+ classes += '!bg-success-500 text-on-success-token';
31
+ break;
32
+ case ('error'):
33
+ classes += '!bg-error-500 text-on-error-token';
34
+ break;
35
+ // Theme
36
+ default:
37
+ classes += `!bg-${toast.preset}-500 text-on-${toast.preset}-token`;
38
+ break;
39
+ }
24
40
  // Merge into store
25
- const tMerged = { ...toastDefaults, ...toast, id };
41
+ const tMerged = { ...toastDefaults, ...toast, id, classes };
26
42
  tStore.push(tMerged);
27
43
  // Handle auto-hide, if needed
28
44
  handleAutoHide(tMerged);
@@ -1,6 +1,11 @@
1
1
  export interface ToastSettings {
2
2
  /** Provide the toast message. Supports HTML. */
3
3
  message: string;
4
+ /**
5
+ * Applies a canned set of styles.
6
+ * @type {'primary' | 'secondary' | 'tertiary' | 'warning' | 'success' | 'error'}
7
+ */
8
+ preset?: 'primary' | 'secondary' | 'tertiary' | 'warning' | 'success' | 'error';
4
9
  /** Enables auto-hide after the timeout duration. */
5
10
  autohide?: boolean;
6
11
  /** Set the auto-hide timeout duration. */
@@ -1,239 +0,0 @@
1
- /* Design Tokens: Backgrounds */
2
-
3
- @layer utilities {
4
- /* === Modal Backdrop Shim === */
5
-
6
- .bg-primary-backdrop-token {
7
- @apply bg-primary-400/70 dark:bg-primary-900/70;
8
- }
9
- .bg-accent-backdrop-token {
10
- @apply bg-accent-400/70 dark:bg-accent-900/70;
11
- }
12
- .bg-tertiary-backdrop-token {
13
- @apply bg-tertiary-400/70 dark:bg-tertiary-900/70;
14
- }
15
- .bg-warning-backdrop-token {
16
- @apply bg-warning-400/70 dark:bg-warning-900/70;
17
- }
18
- .bg-surface-backdrop-token {
19
- @apply bg-surface-400/70 dark:bg-surface-900/70;
20
- }
21
-
22
- /* === Hover & Active === */
23
-
24
- /* Primary */
25
- .bg-primary-hover-token {
26
- @apply hover:bg-primary-500/10;
27
- }
28
- .bg-primary-active-token {
29
- @apply !bg-primary-500 text-on-primary-token fill-on-primary-token;
30
- }
31
-
32
- /* Accent */
33
- .bg-accent-hover-token {
34
- @apply hover:bg-accent-500/10;
35
- }
36
- .bg-accent-active-token {
37
- @apply bg-accent-500 text-accent-50 dark:text-accent-50;
38
- }
39
-
40
- /* Tertiary */
41
- .bg-tertiary-hover-token {
42
- @apply hover:bg-tertiary-500/10;
43
- }
44
- .bg-tertiary-active-token {
45
- @apply bg-tertiary-500 text-tertiary-50 dark:text-tertiary-50;
46
- }
47
-
48
- /* Warning */
49
- .bg-warning-hover-token {
50
- @apply hover:bg-warning-500/10;
51
- }
52
- .bg-warning-active-token {
53
- @apply bg-warning-500 text-warning-50 dark:text-warning-50;
54
- }
55
-
56
- /* Surface */
57
- .bg-surface-hover-token {
58
- @apply hover:bg-surface-500/10;
59
- }
60
- .bg-surface-active-token {
61
- @apply bg-surface-500 text-surface-50 dark:text-surface-50;
62
- }
63
-
64
- /* === Pairings (Dark|Light) === */
65
- /* https://user-images.githubusercontent.com/1509726/195171203-423e5b84-8763-40f1-b3ea-4cb2b8e38108.png */
66
-
67
- /* Primary */
68
- .bg-primary-50-900-token {
69
- @apply bg-primary-50 dark:bg-primary-900;
70
- }
71
- .bg-primary-100-800-token {
72
- @apply bg-primary-100 dark:bg-primary-800;
73
- }
74
- .bg-primary-200-700-token {
75
- @apply bg-primary-200 dark:bg-primary-700;
76
- }
77
- .bg-primary-300-600-token {
78
- @apply bg-primary-300 dark:bg-primary-600;
79
- }
80
- .bg-primary-400-500-token {
81
- @apply bg-primary-400 dark:bg-primary-500;
82
- }
83
-
84
- /* Accent */
85
- .bg-accent-50-900-token {
86
- @apply bg-accent-50 dark:bg-accent-900;
87
- }
88
- .bg-accent-100-800-token {
89
- @apply bg-accent-100 dark:bg-accent-800;
90
- }
91
- .bg-accent-200-700-token {
92
- @apply bg-accent-200 dark:bg-accent-700;
93
- }
94
- .bg-accent-300-600-token {
95
- @apply bg-accent-300 dark:bg-accent-600;
96
- }
97
- .bg-accent-400-500-token {
98
- @apply bg-accent-400 dark:bg-accent-500;
99
- }
100
-
101
- /* Tertiary */
102
- .bg-tertiary-50-900-token {
103
- @apply bg-tertiary-50 dark:bg-tertiary-900;
104
- }
105
- .bg-tertiary-100-800-token {
106
- @apply bg-tertiary-100 dark:bg-tertiary-800;
107
- }
108
- .bg-tertiary-200-700-token {
109
- @apply bg-tertiary-200 dark:bg-tertiary-700;
110
- }
111
- .bg-tertiary-300-600-token {
112
- @apply bg-tertiary-300 dark:bg-tertiary-600;
113
- }
114
- .bg-tertiary-400-500-token {
115
- @apply bg-tertiary-400 dark:bg-tertiary-500;
116
- }
117
-
118
- /* Warning */
119
- .bg-warning-50-900-token {
120
- @apply bg-warning-50 dark:bg-warning-900;
121
- }
122
- .bg-warning-100-800-token {
123
- @apply bg-warning-100 dark:bg-warning-800;
124
- }
125
- .bg-warning-200-700-token {
126
- @apply bg-warning-200 dark:bg-warning-700;
127
- }
128
- .bg-warning-300-600-token {
129
- @apply bg-warning-300 dark:bg-warning-600;
130
- }
131
- .bg-warning-400-500-token {
132
- @apply bg-warning-400 dark:bg-warning-500;
133
- }
134
-
135
- /* Surface */
136
- .bg-surface-50-900-token {
137
- @apply bg-surface-50 dark:bg-surface-900;
138
- }
139
- .bg-surface-100-800-token {
140
- @apply bg-surface-100 dark:bg-surface-800;
141
- }
142
- .bg-surface-200-700-token {
143
- @apply bg-surface-200 dark:bg-surface-700;
144
- }
145
- .bg-surface-300-600-token {
146
- @apply bg-surface-300 dark:bg-surface-600;
147
- }
148
- .bg-surface-400-500-token {
149
- @apply bg-surface-400 dark:bg-surface-500;
150
- }
151
-
152
- /* === Pairings (Light}Dark) === */
153
- /* https://user-images.githubusercontent.com/1509726/195171203-423e5b84-8763-40f1-b3ea-4cb2b8e38108.png */
154
-
155
- /* Primary */
156
- .bg-primary-900-50-token {
157
- @apply bg-primary-900 dark:bg-primary-50;
158
- }
159
- .bg-primary-800-100-token {
160
- @apply bg-primary-800 dark:bg-primary-100;
161
- }
162
- .bg-primary-700-200-token {
163
- @apply bg-primary-700 dark:bg-primary-200;
164
- }
165
- .bg-primary-600-300-token {
166
- @apply bg-primary-600 dark:bg-primary-300;
167
- }
168
- .bg-primary-500-400-token {
169
- @apply bg-primary-500 dark:bg-primary-400;
170
- }
171
-
172
- /* Accent */
173
- .bg-accent-900-50-token {
174
- @apply bg-accent-900 dark:bg-accent-50;
175
- }
176
- .bg-accent-800-100-token {
177
- @apply bg-accent-800 dark:bg-accent-100;
178
- }
179
- .bg-accent-700-200-token {
180
- @apply bg-accent-700 dark:bg-accent-200;
181
- }
182
- .bg-accent-600-300-token {
183
- @apply bg-accent-600 dark:bg-accent-300;
184
- }
185
- .bg-accent-500-400-token {
186
- @apply bg-accent-500 dark:bg-accent-400;
187
- }
188
-
189
- /* Tertiary */
190
- .bg-tertiary-900-50-token {
191
- @apply bg-tertiary-900 dark:bg-tertiary-50;
192
- }
193
- .bg-tertiary-800-100-token {
194
- @apply bg-tertiary-800 dark:bg-tertiary-100;
195
- }
196
- .bg-tertiary-700-200-token {
197
- @apply bg-tertiary-700 dark:bg-tertiary-200;
198
- }
199
- .bg-tertiary-600-300-token {
200
- @apply bg-tertiary-600 dark:bg-tertiary-300;
201
- }
202
- .bg-tertiary-500-400-token {
203
- @apply bg-tertiary-500 dark:bg-tertiary-400;
204
- }
205
-
206
- /* Warning */
207
- .bg-warning-900-50-token {
208
- @apply bg-warning-900 dark:bg-warning-50;
209
- }
210
- .bg-warning-800-100-token {
211
- @apply bg-warning-800 dark:bg-warning-100;
212
- }
213
- .bg-warning-700-200-token {
214
- @apply bg-warning-700 dark:bg-warning-200;
215
- }
216
- .bg-warning-600-300-token {
217
- @apply bg-warning-600 dark:bg-warning-300;
218
- }
219
- .bg-warning-500-400-token {
220
- @apply bg-warning-500 dark:bg-warning-400;
221
- }
222
-
223
- /* Surface */
224
- .bg-surface-900-50-token {
225
- @apply bg-surface-900 dark:bg-surface-50;
226
- }
227
- .bg-surface-800-100-token {
228
- @apply bg-surface-800 dark:bg-surface-100;
229
- }
230
- .bg-surface-700-200-token {
231
- @apply bg-surface-700 dark:bg-surface-200;
232
- }
233
- .bg-surface-600-300-token {
234
- @apply bg-surface-600 dark:bg-surface-300;
235
- }
236
- .bg-surface-500-400-token {
237
- @apply bg-surface-500 dark:bg-surface-400;
238
- }
239
- }
@@ -1,41 +0,0 @@
1
- /* Design Tokens: Border Radius */
2
-
3
- @layer utilities {
4
- /* === Base === */
5
- /* Usage: Small elements, such as buttons, badges, chips, etc. */
6
-
7
- .rounded-token {
8
- border-radius: var(--theme-rounded-base);
9
- }
10
- .rounded-tl-token {
11
- border-top-left-radius: var(--theme-rounded-base);
12
- }
13
- .rounded-tr-token {
14
- border-top-right-radius: var(--theme-rounded-base);
15
- }
16
- .rounded-bl-token {
17
- border-bottom-left-radius: var(--theme-rounded-base);
18
- }
19
- .rounded-br-token {
20
- border-bottom-right-radius: var(--theme-rounded-base);
21
- }
22
-
23
- /* === Container === */
24
- /* Usage: Large elements, such as cards and textareas */
25
-
26
- .rounded-container-token {
27
- border-radius: var(--theme-rounded-container);
28
- }
29
- .rounded-tl-container-token {
30
- border-top-left-radius: var(--theme-rounded-container);
31
- }
32
- .rounded-tr-container-token {
33
- border-top-right-radius: var(--theme-rounded-container);
34
- }
35
- .rounded-bl-container-token {
36
- border-bottom-left-radius: var(--theme-rounded-container);
37
- }
38
- .rounded-br-container-token {
39
- border-bottom-right-radius: var(--theme-rounded-container);
40
- }
41
- }
@@ -1,185 +0,0 @@
1
- /* Design Tokens: Border */
2
-
3
- @layer utilities {
4
- /* === Size (aka width) === */
5
-
6
- .border-token {
7
- border-width: var(--theme-border-base);
8
- }
9
-
10
- /* === Color Pairings (Light|Dark) === */
11
- /* https://user-images.githubusercontent.com/1509726/195171203-423e5b84-8763-40f1-b3ea-4cb2b8e38108.png */
12
-
13
- /* Primary */
14
- .border-primary-50-900-token {
15
- @apply border-primary-50 dark:border-primary-900;
16
- }
17
- .border-primary-100-800-token {
18
- @apply border-primary-100 dark:border-primary-800;
19
- }
20
- .border-primary-200-700-token {
21
- @apply border-primary-200 dark:border-primary-700;
22
- }
23
- .border-primary-300-600-token {
24
- @apply border-primary-300 dark:border-primary-600;
25
- }
26
- .border-primary-400-500-token {
27
- @apply border-primary-400 dark:border-primary-500;
28
- }
29
-
30
- /* Accent */
31
- .border-accent-50-900-token {
32
- @apply border-accent-50 dark:border-accent-900;
33
- }
34
- .border-accent-100-800-token {
35
- @apply border-accent-100 dark:border-accent-800;
36
- }
37
- .border-accent-200-700-token {
38
- @apply border-accent-200 dark:border-accent-700;
39
- }
40
- .border-accent-300-600-token {
41
- @apply border-accent-300 dark:border-accent-600;
42
- }
43
- .border-accent-400-500-token {
44
- @apply border-accent-400 dark:border-surface-500;
45
- }
46
-
47
- /* Tertiary */
48
- .border-tertiary-50-900-token {
49
- @apply border-tertiary-50 dark:border-tertiary-900;
50
- }
51
- .border-tertiary-100-800-token {
52
- @apply border-tertiary-100 dark:border-tertiary-800;
53
- }
54
- .border-tertiary-200-700-token {
55
- @apply border-tertiary-200 dark:border-tertiary-700;
56
- }
57
- .border-tertiary-300-600-token {
58
- @apply border-tertiary-300 dark:border-tertiary-600;
59
- }
60
- .border-tertiary-400-500-token {
61
- @apply border-tertiary-400 dark:border-tertiary-500;
62
- }
63
-
64
- /* Warning */
65
- .border-warning-50-900-token {
66
- @apply border-warning-50 dark:border-warning-900;
67
- }
68
- .border-warning-100-800-token {
69
- @apply border-warning-100 dark:border-warning-800;
70
- }
71
- .border-warning-200-700-token {
72
- @apply border-warning-200 dark:border-warning-700;
73
- }
74
- .border-warning-300-600-token {
75
- @apply border-warning-300 dark:border-warning-600;
76
- }
77
- .border-warning-400-500-token {
78
- @apply border-warning-400 dark:border-warning-500;
79
- }
80
-
81
- /* Surface */
82
- .border-surface-50-900-token {
83
- @apply border-surface-50 dark:border-surface-900;
84
- }
85
- .border-surface-100-800-token {
86
- @apply border-surface-100 dark:border-surface-800;
87
- }
88
- .border-surface-200-700-token {
89
- @apply border-surface-200 dark:border-surface-700;
90
- }
91
- .border-surface-300-600-token {
92
- @apply border-surface-300 dark:border-surface-600;
93
- }
94
- .border-surface-400-500-token {
95
- @apply border-surface-400 dark:border-surface-500;
96
- }
97
-
98
- /* === Color Pairings (Dark|Light) === */
99
- /* https://user-images.githubusercontent.com/1509726/195171203-423e5b84-8763-40f1-b3ea-4cb2b8e38108.png */
100
-
101
- /* Primary */
102
- .border-primary-900-50-token {
103
- @apply border-primary-900 dark:border-primary-50;
104
- }
105
- .border-primary-800-100-token {
106
- @apply border-primary-800 dark:border-primary-100;
107
- }
108
- .border-primary-700-200-token {
109
- @apply border-primary-700 dark:border-primary-200;
110
- }
111
- .border-primary-600-300-token {
112
- @apply border-primary-600 dark:border-primary-300;
113
- }
114
- .border-primary-500-400-token {
115
- @apply border-primary-500 dark:border-primary-400;
116
- }
117
-
118
- /* Accent */
119
- .border-accent-900-50-token {
120
- @apply border-accent-900 dark:border-accent-50;
121
- }
122
- .border-accent-800-100-token {
123
- @apply border-accent-800 dark:border-accent-100;
124
- }
125
- .border-accent-700-200-token {
126
- @apply border-accent-700 dark:border-accent-200;
127
- }
128
- .border-accent-600-300-token {
129
- @apply border-accent-600 dark:border-accent-300;
130
- }
131
- .border-accent-500-400-token {
132
- @apply border-accent-500 dark:border-accent-400;
133
- }
134
-
135
- /* Tertiary */
136
- .border-tertiary-900-50-token {
137
- @apply border-tertiary-900 dark:border-tertiary-50;
138
- }
139
- .border-tertiary-800-100-token {
140
- @apply border-tertiary-800 dark:border-tertiary-100;
141
- }
142
- .border-tertiary-700-200-token {
143
- @apply border-tertiary-700 dark:border-tertiary-200;
144
- }
145
- .border-tertiary-600-300-token {
146
- @apply border-tertiary-600 dark:border-tertiary-300;
147
- }
148
- .border-tertiary-500-400-token {
149
- @apply border-tertiary-500 dark:border-tertiary-400;
150
- }
151
-
152
- /* Warning */
153
- .border-warning-900-50-token {
154
- @apply border-warning-900 dark:border-warning-50;
155
- }
156
- .border-warning-800-100-token {
157
- @apply border-warning-800 dark:border-warning-100;
158
- }
159
- .border-warning-700-200-token {
160
- @apply border-warning-700 dark:border-warning-200;
161
- }
162
- .border-warning-600-300-token {
163
- @apply border-warning-600 dark:border-warning-300;
164
- }
165
- .border-warning-500-400-token {
166
- @apply border-warning-500 dark:border-warning-400;
167
- }
168
-
169
- /* Surface */
170
- .border-surface-900-50-token {
171
- @apply border-surface-900 dark:border-surface-50;
172
- }
173
- .border-surface-800-100-token {
174
- @apply border-surface-800 dark:border-surface-100;
175
- }
176
- .border-surface-700-200-token {
177
- @apply border-surface-700 dark:border-surface-200;
178
- }
179
- .border-surface-600-300-token {
180
- @apply border-surface-600 dark:border-surface-300;
181
- }
182
- .border-surface-500-400-token {
183
- @apply border-surface-500 dark:border-surface-400;
184
- }
185
- }
@@ -1,29 +0,0 @@
1
- /* Design Tokens: SVG Fill Color */
2
-
3
- @layer utilities {
4
- .fill-base-token {
5
- fill: rgba(var(--theme-font-color-base));
6
- }
7
- .fill-dark-token {
8
- fill: rgba(var(--theme-font-color-dark));
9
- }
10
- .fill-token {
11
- @apply fill-base-token dark:fill-dark-token;
12
- }
13
-
14
- /* === On-X Colors === */
15
- /* Fill color to set when overlapping theme colors. */
16
-
17
- .fill-on-primary-token {
18
- fill: var(--on-primary);
19
- }
20
- .fill-on-accent-token {
21
- fill: var(--on-accent);
22
- }
23
- .fill-on-tertiary-token {
24
- fill: var(--on-tertiary);
25
- }
26
- .fill-on-warning-token {
27
- fill: var(--on-warning);
28
- }
29
- }
@@ -1,22 +0,0 @@
1
- /* Design Tokens: Misc */
2
-
3
- @layer utilities {
4
- /* === Input Accent Color === */
5
- /* https://developer.mozilla.org/en-US/docs/Web/CSS/accent-color */
6
-
7
- .accent-primary-token {
8
- @apply accent-accent-500;
9
- }
10
- .accent-accent-token {
11
- @apply accent-accent-500;
12
- }
13
- .accent-tertiary-token {
14
- @apply accent-accent-500;
15
- }
16
- .accent-warning-token {
17
- @apply accent-accent-500;
18
- }
19
- .accent-surface-token {
20
- @apply accent-accent-500;
21
- }
22
- }