@dito-uai/components 5.1.0-alpha.38 → 5.1.0-alpha.40
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/dist/global.css +1 -1
- package/dist/index.cjs +51 -46
- package/dist/index.d.cts +919 -2849
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +14 -13
- package/dist/ui/alert.d.ts +4 -220
- package/dist/ui/alert.d.ts.map +1 -1
- package/dist/ui/avatar.d.ts +4 -124
- package/dist/ui/avatar.d.ts.map +1 -1
- package/dist/ui/badge.d.ts +4 -148
- package/dist/ui/badge.d.ts.map +1 -1
- package/dist/ui/button.d.ts +94 -448
- package/dist/ui/button.d.ts.map +1 -1
- package/dist/ui/card.d.ts +2 -66
- package/dist/ui/card.d.ts.map +1 -1
- package/dist/ui/chips.d.ts +4 -236
- package/dist/ui/chips.d.ts.map +1 -1
- package/dist/ui/indicator.d.ts +4 -60
- package/dist/ui/indicator.d.ts.map +1 -1
- package/dist/ui/input-description.d.ts +2 -26
- package/dist/ui/input-description.d.ts.map +1 -1
- package/dist/ui/input.d.ts +4 -292
- package/dist/ui/input.d.ts.map +1 -1
- package/dist/ui/label.d.ts +2 -18
- package/dist/ui/label.d.ts.map +1 -1
- package/dist/ui/message.d.ts +2 -34
- package/dist/ui/message.d.ts.map +1 -1
- package/dist/ui/popover.d.ts +7 -0
- package/dist/ui/popover.d.ts.map +1 -0
- package/dist/ui/progress.d.ts +2 -22
- package/dist/ui/progress.d.ts.map +1 -1
- package/dist/ui/scope.d.ts +2 -106
- package/dist/ui/scope.d.ts.map +1 -1
- package/dist/ui/search.d.ts +2 -146
- package/dist/ui/search.d.ts.map +1 -1
- package/dist/ui/status.d.ts +2 -34
- package/dist/ui/status.d.ts.map +1 -1
- package/dist/ui/text.d.ts +2 -62
- package/dist/ui/text.d.ts.map +1 -1
- package/dist/ui/toggle.d.ts +4 -60
- package/dist/ui/toggle.d.ts.map +1 -1
- package/package.json +8 -6
- package/tailwind-preset.ts +275 -0
- package/tailwind.config.ts +10 -272
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
import TailwindsForms from '@tailwindcss/forms';
|
|
2
|
+
import TailwindsTypography from '@tailwindcss/typography';
|
|
3
|
+
import TailwindsAnimate from 'tailwindcss-animate';
|
|
4
|
+
|
|
5
|
+
export const COLORS = {
|
|
6
|
+
neutral: {
|
|
7
|
+
white: '#ffffff',
|
|
8
|
+
black: '#000000',
|
|
9
|
+
neutral_900: '#21242b',
|
|
10
|
+
neutral_700: '#343841',
|
|
11
|
+
neutral_600: '#484d59',
|
|
12
|
+
neutral_500: '#6a7486',
|
|
13
|
+
neutral_400: '#8d95a7',
|
|
14
|
+
neutral_300: '#bdc2cc',
|
|
15
|
+
neutral_200: '#d7dae0',
|
|
16
|
+
neutral_100: '#eff0f2',
|
|
17
|
+
},
|
|
18
|
+
brand: {
|
|
19
|
+
navy_900: '#223154',
|
|
20
|
+
navy_600: '#364b74',
|
|
21
|
+
navy_100: '#e6e8ed',
|
|
22
|
+
green_900: '#006a31',
|
|
23
|
+
green_600: '#00bd6a',
|
|
24
|
+
green_100: '#e5f7ed',
|
|
25
|
+
},
|
|
26
|
+
secondary: {
|
|
27
|
+
indigo_900: '#353877',
|
|
28
|
+
indigo_600: '#4b5398',
|
|
29
|
+
indigo_100: '#e8eaf2',
|
|
30
|
+
purple_900: '#541f8e',
|
|
31
|
+
purple_600: '#852ca5',
|
|
32
|
+
purple_100: '#f7e7fc',
|
|
33
|
+
blue_900: '#4a58d5',
|
|
34
|
+
blue_600: '#549eff',
|
|
35
|
+
blue_100: '#e4f1ff',
|
|
36
|
+
pink_900: '#a50a54',
|
|
37
|
+
pink_600: '#f1167f',
|
|
38
|
+
pink_100: '#fee6f1',
|
|
39
|
+
green_900: '#127a6e',
|
|
40
|
+
green_600: '#06c5ae',
|
|
41
|
+
green_100: '#e6f9f7',
|
|
42
|
+
platform_background: '#f3f4f8',
|
|
43
|
+
},
|
|
44
|
+
chart: {
|
|
45
|
+
midnight_blue_900: '#0a0259',
|
|
46
|
+
midnight_blue_600: '#271bae',
|
|
47
|
+
midnight_blue_100: '#ebf0ff',
|
|
48
|
+
green_900: '#005b42',
|
|
49
|
+
green_600: '#0bcc96',
|
|
50
|
+
green_100: '#e5fff4',
|
|
51
|
+
purple_900: '#4c178e',
|
|
52
|
+
purple_600: '#8929ff',
|
|
53
|
+
purple_100: '#f6eeff',
|
|
54
|
+
pink_900: '#b91d70',
|
|
55
|
+
pink_600: '#ff00b8',
|
|
56
|
+
pink_100: '#fff1fb',
|
|
57
|
+
light_blue_900: '#094170',
|
|
58
|
+
light_blue_600: '#00beff',
|
|
59
|
+
light_blue_100: '#ebf9ff',
|
|
60
|
+
orange_900: '#b84300',
|
|
61
|
+
orange_600: '#ff7a00',
|
|
62
|
+
orange_100: '#fff0df',
|
|
63
|
+
red_900: '#8b0c23',
|
|
64
|
+
red_600: '#db0028',
|
|
65
|
+
red_100: '#ffecef',
|
|
66
|
+
blue_900: '#09006d',
|
|
67
|
+
blue_600: '#1456ff',
|
|
68
|
+
blue_100: '#e6f2ff',
|
|
69
|
+
yellow_900: '#9d670b',
|
|
70
|
+
yellow_600: '#f1c40f',
|
|
71
|
+
yellow_100: '#fff9e7',
|
|
72
|
+
},
|
|
73
|
+
notification: {
|
|
74
|
+
critical_900: '#9e0505',
|
|
75
|
+
critical_600: '#d31d26',
|
|
76
|
+
critical_300: '#ffadb0',
|
|
77
|
+
critical_100: '#ffebeb',
|
|
78
|
+
warning_900: '#8a4900',
|
|
79
|
+
warning_600: '#ffca42',
|
|
80
|
+
warning_300: '#ffe8a9',
|
|
81
|
+
warning_100: '#fff6ce',
|
|
82
|
+
success_900: '#074a1b',
|
|
83
|
+
success_600: '#228000',
|
|
84
|
+
success_300: '#80e09c',
|
|
85
|
+
success_100: '#defce7',
|
|
86
|
+
information_900: '#1e4664',
|
|
87
|
+
information_600: '#0d74a0',
|
|
88
|
+
information_300: '#b0e7ff',
|
|
89
|
+
information_100: '#e0f8ff',
|
|
90
|
+
},
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
/** @type {import('tailwindcss').Config} */
|
|
94
|
+
export default {
|
|
95
|
+
theme: {
|
|
96
|
+
screens: {
|
|
97
|
+
sm: '480px',
|
|
98
|
+
md: '768px',
|
|
99
|
+
lg: '976px',
|
|
100
|
+
xl: '1440px',
|
|
101
|
+
},
|
|
102
|
+
fontFamily: {
|
|
103
|
+
sans: ['Poppins', 'sans-serif'],
|
|
104
|
+
},
|
|
105
|
+
extend: {
|
|
106
|
+
backgroundImage: {
|
|
107
|
+
'gradient-radial': 'radial-gradient(var(--gradient-color-stops))',
|
|
108
|
+
},
|
|
109
|
+
colors: () => ({
|
|
110
|
+
primary: COLORS.brand.green_600,
|
|
111
|
+
'primary-foreground': '#ffffff',
|
|
112
|
+
accent: COLORS.brand.navy_600,
|
|
113
|
+
'accent-foreground': '#ffffff',
|
|
114
|
+
'neutral-100': COLORS.neutral.neutral_100,
|
|
115
|
+
'neutral-200': COLORS.neutral.neutral_200,
|
|
116
|
+
'neutral-300': COLORS.neutral.neutral_300,
|
|
117
|
+
'neutral-400': COLORS.neutral.neutral_400,
|
|
118
|
+
'neutral-500': COLORS.neutral.neutral_500,
|
|
119
|
+
'neutral-600': COLORS.neutral.neutral_600,
|
|
120
|
+
'neutral-700': COLORS.neutral.neutral_700,
|
|
121
|
+
'neutral-900': COLORS.neutral.neutral_900,
|
|
122
|
+
'midnight-blue-900': COLORS.chart.midnight_blue_900,
|
|
123
|
+
'midnight-blue-600': COLORS.chart.midnight_blue_600,
|
|
124
|
+
'midnight-blue-100': COLORS.chart.midnight_blue_100,
|
|
125
|
+
'red-100': COLORS.chart.red_100,
|
|
126
|
+
'red-600': COLORS.chart.red_600,
|
|
127
|
+
'red-900': COLORS.chart.red_900,
|
|
128
|
+
'orange-100': COLORS.chart.orange_100,
|
|
129
|
+
'orange-600': COLORS.chart.orange_600,
|
|
130
|
+
'orange-900': COLORS.chart.orange_900,
|
|
131
|
+
'yellow-100': COLORS.chart.yellow_100,
|
|
132
|
+
'yellow-600': COLORS.chart.yellow_600,
|
|
133
|
+
'yellow-900': COLORS.chart.yellow_900,
|
|
134
|
+
'green-100': COLORS.brand.green_100,
|
|
135
|
+
'green-600': COLORS.brand.green_600,
|
|
136
|
+
'green-900': COLORS.brand.green_900,
|
|
137
|
+
'blue-100': COLORS.secondary.blue_100,
|
|
138
|
+
'blue-600': COLORS.secondary.blue_600,
|
|
139
|
+
'blue-900': COLORS.secondary.blue_900,
|
|
140
|
+
'light-blue-100': COLORS.chart.light_blue_100,
|
|
141
|
+
'light-blue-600': COLORS.chart.light_blue_600,
|
|
142
|
+
'light-blue-900': COLORS.chart.light_blue_900,
|
|
143
|
+
'indigo-100': COLORS.secondary.indigo_100,
|
|
144
|
+
'indigo-600': COLORS.secondary.indigo_600,
|
|
145
|
+
'indigo-900': COLORS.secondary.indigo_900,
|
|
146
|
+
'navy-100': COLORS.brand.navy_100,
|
|
147
|
+
'navy-600': COLORS.brand.navy_600,
|
|
148
|
+
'navy-900': COLORS.brand.navy_900,
|
|
149
|
+
'purple-100': COLORS.chart.purple_100,
|
|
150
|
+
'purple-600': COLORS.chart.purple_600,
|
|
151
|
+
'purple-900': COLORS.chart.purple_900,
|
|
152
|
+
'pink-100': COLORS.chart.pink_100,
|
|
153
|
+
'pink-600': COLORS.chart.pink_600,
|
|
154
|
+
'pink-900': COLORS.chart.pink_900,
|
|
155
|
+
notification: {
|
|
156
|
+
'critical-100': COLORS.notification.critical_100,
|
|
157
|
+
'critical-300': COLORS.notification.critical_300,
|
|
158
|
+
'critical-600': COLORS.notification.critical_600,
|
|
159
|
+
'critical-900': COLORS.notification.critical_900,
|
|
160
|
+
'warning-100': COLORS.notification.warning_100,
|
|
161
|
+
'warning-300': COLORS.notification.warning_300,
|
|
162
|
+
'warning-600': COLORS.notification.warning_600,
|
|
163
|
+
'warning-900': COLORS.notification.warning_900,
|
|
164
|
+
'success-100': COLORS.notification.success_100,
|
|
165
|
+
'success-300': COLORS.notification.success_300,
|
|
166
|
+
'success-600': COLORS.notification.success_600,
|
|
167
|
+
'success-900': COLORS.notification.success_900,
|
|
168
|
+
'information-100': COLORS.notification.information_100,
|
|
169
|
+
'information-300': COLORS.notification.information_300,
|
|
170
|
+
'information-600': COLORS.notification.information_600,
|
|
171
|
+
'information-900': COLORS.notification.information_900,
|
|
172
|
+
},
|
|
173
|
+
secondary: {
|
|
174
|
+
'indigo-100': COLORS.secondary.indigo_100,
|
|
175
|
+
'indigo-600': COLORS.secondary.indigo_600,
|
|
176
|
+
'indigo-900': COLORS.secondary.indigo_900,
|
|
177
|
+
},
|
|
178
|
+
}),
|
|
179
|
+
height: {
|
|
180
|
+
1: '8px',
|
|
181
|
+
2: '16px',
|
|
182
|
+
3: '24px',
|
|
183
|
+
4: '32px',
|
|
184
|
+
5: '40px',
|
|
185
|
+
6: '48px',
|
|
186
|
+
7: '56px',
|
|
187
|
+
},
|
|
188
|
+
gap: {
|
|
189
|
+
1: '8px',
|
|
190
|
+
2: '16px',
|
|
191
|
+
3: '32px',
|
|
192
|
+
4: '48px',
|
|
193
|
+
},
|
|
194
|
+
spacing: {
|
|
195
|
+
0.25: '2px',
|
|
196
|
+
0.5: '4px',
|
|
197
|
+
0.75: '6px',
|
|
198
|
+
1: '8px',
|
|
199
|
+
2: '16px',
|
|
200
|
+
3: '24px',
|
|
201
|
+
4: '32px',
|
|
202
|
+
5: '40px',
|
|
203
|
+
6: '48px',
|
|
204
|
+
7: '56px',
|
|
205
|
+
8: '64px',
|
|
206
|
+
9: '72px',
|
|
207
|
+
10: '128px',
|
|
208
|
+
},
|
|
209
|
+
maxWidth: {
|
|
210
|
+
'1/4': '25%',
|
|
211
|
+
'1/2': '50%',
|
|
212
|
+
'3/4': '75%',
|
|
213
|
+
},
|
|
214
|
+
borderRadius: {
|
|
215
|
+
sm: '4px',
|
|
216
|
+
m: '8px',
|
|
217
|
+
x: '16px',
|
|
218
|
+
xl: '32px',
|
|
219
|
+
},
|
|
220
|
+
boxShadow: {
|
|
221
|
+
down: '0px 4px 8px 0px #00000014',
|
|
222
|
+
},
|
|
223
|
+
fontSize: {
|
|
224
|
+
xs: ['10px', { lineHeight: '16px' }],
|
|
225
|
+
sm: ['12px', { lineHeight: '18px' }],
|
|
226
|
+
base: ['14px', { lineHeight: '20px' }],
|
|
227
|
+
lg: ['16px', { lineHeight: '24px' }],
|
|
228
|
+
xl: ['22px', { lineHeight: '32px' }],
|
|
229
|
+
'2xl': ['28px', { lineHeight: '40px' }],
|
|
230
|
+
'3xl': ['30px', { lineHeight: '44px' }],
|
|
231
|
+
},
|
|
232
|
+
keyframes: {
|
|
233
|
+
'accordion-down': {
|
|
234
|
+
from: { height: '0' },
|
|
235
|
+
to: { height: 'var(--radix-accordion-content-height)' },
|
|
236
|
+
},
|
|
237
|
+
'accordion-up': {
|
|
238
|
+
from: { height: 'var(--radix-accordion-content-height)' },
|
|
239
|
+
to: { height: '0' },
|
|
240
|
+
},
|
|
241
|
+
rotate: {
|
|
242
|
+
'100%': { transform: 'rotate(360deg)' },
|
|
243
|
+
},
|
|
244
|
+
dash: {
|
|
245
|
+
'0%': {
|
|
246
|
+
'stroke-dasharray': '1, 200',
|
|
247
|
+
'stroke-dashoffset': '0',
|
|
248
|
+
},
|
|
249
|
+
'50%': {
|
|
250
|
+
'stroke-dasharray': '90, 200',
|
|
251
|
+
'stroke-dashoffset': '-35px',
|
|
252
|
+
},
|
|
253
|
+
'100%': {
|
|
254
|
+
'stroke-dashoffset': '-125px',
|
|
255
|
+
},
|
|
256
|
+
},
|
|
257
|
+
border: {
|
|
258
|
+
to: { '--border-angle': '360deg' },
|
|
259
|
+
},
|
|
260
|
+
},
|
|
261
|
+
animation: {
|
|
262
|
+
'accordion-down': 'accordion-down 0.2s ease-out',
|
|
263
|
+
'accordion-up': 'accordion-up 0.2s ease-out',
|
|
264
|
+
rotate: 'rotate 2s linear infinite',
|
|
265
|
+
border: 'border 2s linear infinite',
|
|
266
|
+
dash: 'dash 1.5s ease-in-out infinite',
|
|
267
|
+
},
|
|
268
|
+
},
|
|
269
|
+
},
|
|
270
|
+
plugins: [
|
|
271
|
+
TailwindsAnimate,
|
|
272
|
+
TailwindsTypography,
|
|
273
|
+
TailwindsForms({ strategy: 'class' }),
|
|
274
|
+
],
|
|
275
|
+
};
|
package/tailwind.config.ts
CHANGED
|
@@ -1,279 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import TailwindsTypography from '@tailwindcss/typography';
|
|
3
|
-
import TailwindsAnimate from 'tailwindcss-animate';
|
|
1
|
+
import preset from './tailwind-preset';
|
|
4
2
|
|
|
5
|
-
export
|
|
6
|
-
neutral: {
|
|
7
|
-
white: '#ffffff',
|
|
8
|
-
black: '#000000',
|
|
9
|
-
neutral_900: '#21242b',
|
|
10
|
-
neutral_700: '#343841',
|
|
11
|
-
neutral_600: '#484d59',
|
|
12
|
-
neutral_500: '#6a7486',
|
|
13
|
-
neutral_400: '#8d95a7',
|
|
14
|
-
neutral_300: '#bdc2cc',
|
|
15
|
-
neutral_200: '#d7dae0',
|
|
16
|
-
neutral_100: '#eff0f2',
|
|
17
|
-
},
|
|
18
|
-
brand: {
|
|
19
|
-
navy_900: '#223154',
|
|
20
|
-
navy_600: '#364b74',
|
|
21
|
-
navy_100: '#e6e8ed',
|
|
22
|
-
green_900: '#006a31',
|
|
23
|
-
green_600: '#00bd6a',
|
|
24
|
-
green_100: '#e5f7ed',
|
|
25
|
-
},
|
|
26
|
-
secondary: {
|
|
27
|
-
indigo_900: '#353877',
|
|
28
|
-
indigo_600: '#4b5398',
|
|
29
|
-
indigo_100: '#e8eaf2',
|
|
30
|
-
purple_900: '#541f8e',
|
|
31
|
-
purple_600: '#852ca5',
|
|
32
|
-
purple_100: '#f7e7fc',
|
|
33
|
-
blue_900: '#4a58d5',
|
|
34
|
-
blue_600: '#549eff',
|
|
35
|
-
blue_100: '#e4f1ff',
|
|
36
|
-
pink_900: '#a50a54',
|
|
37
|
-
pink_600: '#f1167f',
|
|
38
|
-
pink_100: '#fee6f1',
|
|
39
|
-
green_900: '#127a6e',
|
|
40
|
-
green_600: '#06c5ae',
|
|
41
|
-
green_100: '#e6f9f7',
|
|
42
|
-
platform_background: '#f3f4f8',
|
|
43
|
-
},
|
|
44
|
-
chart: {
|
|
45
|
-
midnight_blue_900: '#0a0259',
|
|
46
|
-
midnight_blue_600: '#271bae',
|
|
47
|
-
midnight_blue_100: '#ebf0ff',
|
|
48
|
-
green_900: '#005b42',
|
|
49
|
-
green_600: '#0bcc96',
|
|
50
|
-
green_100: '#e5fff4',
|
|
51
|
-
purple_900: '#4c178e',
|
|
52
|
-
purple_600: '#8929ff',
|
|
53
|
-
purple_100: '#f6eeff',
|
|
54
|
-
pink_900: '#b91d70',
|
|
55
|
-
pink_600: '#ff00b8',
|
|
56
|
-
pink_100: '#fff1fb',
|
|
57
|
-
light_blue_900: '#094170',
|
|
58
|
-
light_blue_600: '#00beff',
|
|
59
|
-
light_blue_100: '#ebf9ff',
|
|
60
|
-
orange_900: '#b84300',
|
|
61
|
-
orange_600: '#ff7a00',
|
|
62
|
-
orange_100: '#fff0df',
|
|
63
|
-
red_900: '#8b0c23',
|
|
64
|
-
red_600: '#db0028',
|
|
65
|
-
red_100: '#ffecef',
|
|
66
|
-
blue_900: '#09006d',
|
|
67
|
-
blue_600: '#1456ff',
|
|
68
|
-
blue_100: '#e6f2ff',
|
|
69
|
-
yellow_900: '#9d670b',
|
|
70
|
-
yellow_600: '#f1c40f',
|
|
71
|
-
yellow_100: '#fff9e7',
|
|
72
|
-
},
|
|
73
|
-
notification: {
|
|
74
|
-
critical_900: '#9e0505',
|
|
75
|
-
critical_600: '#d31d26',
|
|
76
|
-
critical_300: '#ffadb0',
|
|
77
|
-
critical_100: '#ffebeb',
|
|
78
|
-
warning_900: '#8a4900',
|
|
79
|
-
warning_600: '#ffca42',
|
|
80
|
-
warning_300: '#ffe8a9',
|
|
81
|
-
warning_100: '#fff6ce',
|
|
82
|
-
success_900: '#074a1b',
|
|
83
|
-
success_600: '#228000',
|
|
84
|
-
success_300: '#80e09c',
|
|
85
|
-
success_100: '#defce7',
|
|
86
|
-
information_900: '#1e4664',
|
|
87
|
-
information_600: '#0d74a0',
|
|
88
|
-
information_300: '#b0e7ff',
|
|
89
|
-
information_100: '#e0f8ff',
|
|
90
|
-
},
|
|
91
|
-
};
|
|
3
|
+
export { COLORS } from './tailwind-preset';
|
|
92
4
|
|
|
93
5
|
const includeStorybook = process.env.INCLUDE_STORYBOOK === 'true';
|
|
94
6
|
|
|
7
|
+
const contentPaths = ['./src/ui/**/*.{ts,tsx}'];
|
|
8
|
+
|
|
9
|
+
if (includeStorybook) {
|
|
10
|
+
contentPaths.push('./src/storybook/stories/*.stories.@(js|jsx|mjs|ts|tsx)');
|
|
11
|
+
}
|
|
12
|
+
|
|
95
13
|
/** @type {import('tailwindcss').Config} */
|
|
96
14
|
export default {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
...(includeStorybook
|
|
100
|
-
? ['./src/storybook/stories/*.stories.@(js|jsx|mjs|ts|tsx)']
|
|
101
|
-
: []),
|
|
102
|
-
],
|
|
103
|
-
theme: {
|
|
104
|
-
screens: {
|
|
105
|
-
sm: '480px',
|
|
106
|
-
md: '768px',
|
|
107
|
-
lg: '976px',
|
|
108
|
-
xl: '1440px',
|
|
109
|
-
},
|
|
110
|
-
fontFamily: {
|
|
111
|
-
sans: ['Poppins', 'sans-serif'],
|
|
112
|
-
},
|
|
113
|
-
extend: {
|
|
114
|
-
backgroundImage: {
|
|
115
|
-
'gradient-radial': 'radial-gradient(var(--gradient-color-stops))',
|
|
116
|
-
},
|
|
117
|
-
colors: () => ({
|
|
118
|
-
primary: COLORS.brand.green_600,
|
|
119
|
-
'primary-foreground': '#ffffff',
|
|
120
|
-
accent: COLORS.brand.navy_600,
|
|
121
|
-
'accent-foreground': '#ffffff',
|
|
122
|
-
'neutral-100': COLORS.neutral.neutral_100,
|
|
123
|
-
'neutral-200': COLORS.neutral.neutral_200,
|
|
124
|
-
'neutral-300': COLORS.neutral.neutral_300,
|
|
125
|
-
'neutral-400': COLORS.neutral.neutral_400,
|
|
126
|
-
'neutral-500': COLORS.neutral.neutral_500,
|
|
127
|
-
'neutral-600': COLORS.neutral.neutral_600,
|
|
128
|
-
'neutral-700': COLORS.neutral.neutral_700,
|
|
129
|
-
'neutral-900': COLORS.neutral.neutral_900,
|
|
130
|
-
'midnight-blue-900': COLORS.chart.midnight_blue_900,
|
|
131
|
-
'midnight-blue-600': COLORS.chart.midnight_blue_600,
|
|
132
|
-
'midnight-blue-100': COLORS.chart.midnight_blue_100,
|
|
133
|
-
'red-100': COLORS.chart.red_100,
|
|
134
|
-
'red-600': COLORS.chart.red_600,
|
|
135
|
-
'red-900': COLORS.chart.red_900,
|
|
136
|
-
'orange-100': COLORS.chart.orange_100,
|
|
137
|
-
'orange-600': COLORS.chart.orange_600,
|
|
138
|
-
'orange-900': COLORS.chart.orange_900,
|
|
139
|
-
'yellow-100': COLORS.chart.yellow_100,
|
|
140
|
-
'yellow-600': COLORS.chart.yellow_600,
|
|
141
|
-
'yellow-900': COLORS.chart.yellow_900,
|
|
142
|
-
'green-100': COLORS.brand.green_100,
|
|
143
|
-
'green-600': COLORS.brand.green_600,
|
|
144
|
-
'green-900': COLORS.brand.green_900,
|
|
145
|
-
'blue-100': COLORS.secondary.blue_100,
|
|
146
|
-
'blue-600': COLORS.secondary.blue_600,
|
|
147
|
-
'blue-900': COLORS.secondary.blue_900,
|
|
148
|
-
'light-blue-100': COLORS.chart.light_blue_100,
|
|
149
|
-
'light-blue-600': COLORS.chart.light_blue_600,
|
|
150
|
-
'light-blue-900': COLORS.chart.light_blue_900,
|
|
151
|
-
'indigo-100': COLORS.secondary.indigo_100,
|
|
152
|
-
'indigo-600': COLORS.secondary.indigo_600,
|
|
153
|
-
'indigo-900': COLORS.secondary.indigo_900,
|
|
154
|
-
'navy-100': COLORS.brand.navy_100,
|
|
155
|
-
'navy-600': COLORS.brand.navy_600,
|
|
156
|
-
'navy-900': COLORS.brand.navy_900,
|
|
157
|
-
'purple-100': COLORS.chart.purple_100,
|
|
158
|
-
'purple-600': COLORS.chart.purple_600,
|
|
159
|
-
'purple-900': COLORS.chart.purple_900,
|
|
160
|
-
'pink-100': COLORS.chart.pink_100,
|
|
161
|
-
'pink-600': COLORS.chart.pink_600,
|
|
162
|
-
'pink-900': COLORS.chart.pink_900,
|
|
163
|
-
notification: {
|
|
164
|
-
'critical-100': COLORS.notification.critical_100,
|
|
165
|
-
'critical-300': COLORS.notification.critical_300,
|
|
166
|
-
'critical-600': COLORS.notification.critical_600,
|
|
167
|
-
'critical-900': COLORS.notification.critical_900,
|
|
168
|
-
'warning-100': COLORS.notification.warning_100,
|
|
169
|
-
'warning-300': COLORS.notification.warning_300,
|
|
170
|
-
'warning-600': COLORS.notification.warning_600,
|
|
171
|
-
'warning-900': COLORS.notification.warning_900,
|
|
172
|
-
'success-100': COLORS.notification.success_100,
|
|
173
|
-
'success-300': COLORS.notification.success_300,
|
|
174
|
-
'success-600': COLORS.notification.success_600,
|
|
175
|
-
'success-900': COLORS.notification.success_900,
|
|
176
|
-
'information-100': COLORS.notification.information_100,
|
|
177
|
-
'information-300': COLORS.notification.information_300,
|
|
178
|
-
'information-600': COLORS.notification.information_600,
|
|
179
|
-
'information-900': COLORS.notification.information_900,
|
|
180
|
-
},
|
|
181
|
-
secondary: {
|
|
182
|
-
'indigo-100': COLORS.secondary.indigo_100,
|
|
183
|
-
'indigo-600': COLORS.secondary.indigo_600,
|
|
184
|
-
'indigo-900': COLORS.secondary.indigo_900,
|
|
185
|
-
},
|
|
186
|
-
}),
|
|
187
|
-
height: {
|
|
188
|
-
1: '8px',
|
|
189
|
-
2: '16px',
|
|
190
|
-
3: '24px',
|
|
191
|
-
4: '32px',
|
|
192
|
-
5: '40px',
|
|
193
|
-
6: '48px',
|
|
194
|
-
7: '56px',
|
|
195
|
-
},
|
|
196
|
-
gap: {
|
|
197
|
-
1: '8px',
|
|
198
|
-
2: '16px',
|
|
199
|
-
3: '32px',
|
|
200
|
-
4: '48px',
|
|
201
|
-
},
|
|
202
|
-
spacing: {
|
|
203
|
-
0.25: '2px',
|
|
204
|
-
0.5: '4px',
|
|
205
|
-
0.75: '6px',
|
|
206
|
-
1: '8px',
|
|
207
|
-
2: '16px',
|
|
208
|
-
3: '24px',
|
|
209
|
-
4: '32px',
|
|
210
|
-
5: '40px',
|
|
211
|
-
6: '48px',
|
|
212
|
-
7: '56px',
|
|
213
|
-
8: '64px',
|
|
214
|
-
9: '72px',
|
|
215
|
-
10: '128px',
|
|
216
|
-
},
|
|
217
|
-
maxWidth: {
|
|
218
|
-
'1/4': '25%',
|
|
219
|
-
'1/2': '50%',
|
|
220
|
-
'3/4': '75%',
|
|
221
|
-
},
|
|
222
|
-
borderRadius: {
|
|
223
|
-
sm: '4px',
|
|
224
|
-
m: '8px',
|
|
225
|
-
x: '16px',
|
|
226
|
-
xl: '32px',
|
|
227
|
-
},
|
|
228
|
-
boxShadow: {
|
|
229
|
-
down: '0px 4px 8px 0px #00000014',
|
|
230
|
-
},
|
|
231
|
-
fontSize: {
|
|
232
|
-
xs: ['10px', { lineHeight: '16px' }],
|
|
233
|
-
sm: ['12px', { lineHeight: '18px' }],
|
|
234
|
-
base: ['14px', { lineHeight: '20px' }],
|
|
235
|
-
lg: ['16px', { lineHeight: '24px' }],
|
|
236
|
-
xl: ['22px', { lineHeight: '32px' }],
|
|
237
|
-
'2xl': ['28px', { lineHeight: '40px' }],
|
|
238
|
-
'3xl': ['30px', { lineHeight: '44px' }],
|
|
239
|
-
},
|
|
240
|
-
keyframes: {
|
|
241
|
-
'accordion-down': {
|
|
242
|
-
from: { height: '0' },
|
|
243
|
-
to: { height: 'var(--radix-accordion-content-height)' },
|
|
244
|
-
},
|
|
245
|
-
'accordion-up': {
|
|
246
|
-
from: { height: 'var(--radix-accordion-content-height)' },
|
|
247
|
-
to: { height: '0' },
|
|
248
|
-
},
|
|
249
|
-
rotate: {
|
|
250
|
-
'100%': { transform: 'rotate(360deg)' },
|
|
251
|
-
},
|
|
252
|
-
dash: {
|
|
253
|
-
'0%': {
|
|
254
|
-
'stroke-dasharray': '1, 200',
|
|
255
|
-
'stroke-dashoffset': '0',
|
|
256
|
-
},
|
|
257
|
-
'50%': {
|
|
258
|
-
'stroke-dasharray': '90, 200',
|
|
259
|
-
'stroke-dashoffset': '-35px',
|
|
260
|
-
},
|
|
261
|
-
'100%': {
|
|
262
|
-
'stroke-dashoffset': '-125px',
|
|
263
|
-
},
|
|
264
|
-
},
|
|
265
|
-
},
|
|
266
|
-
animation: {
|
|
267
|
-
'accordion-down': 'accordion-down 0.2s ease-out',
|
|
268
|
-
'accordion-up': 'accordion-up 0.2s ease-out',
|
|
269
|
-
rotate: 'rotate 2s linear infinite',
|
|
270
|
-
dash: 'dash 1.5s ease-in-out infinite',
|
|
271
|
-
},
|
|
272
|
-
},
|
|
273
|
-
},
|
|
274
|
-
plugins: [
|
|
275
|
-
TailwindsAnimate,
|
|
276
|
-
TailwindsTypography,
|
|
277
|
-
TailwindsForms({ strategy: 'class' }),
|
|
278
|
-
],
|
|
15
|
+
presets: [preset],
|
|
16
|
+
content: contentPaths,
|
|
279
17
|
};
|