athameui 0.0.12 → 0.0.14
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/components/Accordion/Accordion.tsx +23 -23
- package/components/Accordion/AccordionItem.tsx +7 -1
- package/components/Avatar/Avatar.tsx +6 -1
- package/components/Button/Button.tsx +11 -0
- package/components/Button/ScrollToTopButton.tsx +2 -1
- package/components/Carousel/Carousel.tsx +159 -37
- package/components/Checkbox/Checkbox.tsx +51 -0
- package/components/Checkbox/index.ts +1 -0
- package/components/FormField/FormField.tsx +24 -0
- package/components/FormTextInput/FormTextInput.tsx +11 -0
- package/components/Layout/Main.tsx +11 -2
- package/components/Modal/Modal.tsx +9 -2
- package/components/SlideOut/SlideOut.tsx +31 -2
- package/components/index.ts +1 -0
- package/dist/athameui.cjs +410 -262
- package/dist/athameui.cjs.map +1 -1
- package/dist/athameui.mjs +406 -248
- package/dist/athameui.mjs.map +1 -1
- package/dist/components/Accordion/AccordionItem.d.ts.map +1 -1
- package/dist/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/components/Button/Button.d.ts +5 -0
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Button/ScrollToTopButton.d.ts.map +1 -1
- package/dist/components/Carousel/Carousel.d.ts +5 -1
- package/dist/components/Carousel/Carousel.d.ts.map +1 -1
- package/dist/components/Checkbox/Checkbox.d.ts +14 -0
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/Checkbox/index.d.ts +2 -0
- package/dist/components/Checkbox/index.d.ts.map +1 -0
- package/dist/components/FormField/FormField.d.ts +3 -0
- package/dist/components/FormField/FormField.d.ts.map +1 -1
- package/dist/components/FormTextInput/FormTextInput.d.ts +6 -1
- package/dist/components/FormTextInput/FormTextInput.d.ts.map +1 -1
- package/dist/components/Layout/Main.d.ts +2 -1
- package/dist/components/Layout/Main.d.ts.map +1 -1
- package/dist/components/Modal/Modal.d.ts.map +1 -1
- package/dist/components/SlideOut/SlideOut.d.ts.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/styles/components/carousel.css +28 -4
- package/dist/styles/components/checkbox.css +60 -0
- package/dist/styles/components/form-input.css +2 -1
- package/dist/styles/components/main.css +17 -2
- package/dist/styles/index.d.ts +0 -1
- package/dist/styles/index.d.ts.map +1 -1
- package/dist/styles/index.ts +0 -1
- package/dist/styles/theme.css +1 -0
- package/dist/styles/tokens.css +16 -17
- package/dist/styles/tokens.d.ts +209 -26
- package/dist/styles/tokens.d.ts.map +1 -1
- package/dist/styles/tokens.ts +190 -165
- package/package.json +1 -1
- package/styles/components/carousel.css +28 -4
- package/styles/components/checkbox.css +60 -0
- package/styles/components/form-input.css +2 -1
- package/styles/components/main.css +17 -2
- package/styles/index.ts +0 -1
- package/styles/theme.css +1 -0
- package/styles/tokens.css +16 -17
- package/styles/tokens.ts +190 -165
- package/dist/styles/breakpoints.d.ts +0 -29
- package/dist/styles/breakpoints.d.ts.map +0 -1
- package/dist/styles/breakpoints.ts +0 -34
- package/styles/breakpoints.ts +0 -34
package/dist/styles/tokens.d.ts
CHANGED
|
@@ -1,3 +1,190 @@
|
|
|
1
|
+
export declare const breakpoints: {
|
|
2
|
+
readonly xs: 320;
|
|
3
|
+
readonly sm: 480;
|
|
4
|
+
readonly md: 620;
|
|
5
|
+
readonly lg: 768;
|
|
6
|
+
readonly xl: 896;
|
|
7
|
+
readonly "2xl": 1024;
|
|
8
|
+
readonly "3xl": 1280;
|
|
9
|
+
readonly "4xl": 1536;
|
|
10
|
+
};
|
|
11
|
+
export type Breakpoints = typeof breakpoints;
|
|
12
|
+
export type Breakpoint = keyof typeof breakpoints;
|
|
13
|
+
export declare const media: {
|
|
14
|
+
readonly min: {
|
|
15
|
+
readonly xs: string;
|
|
16
|
+
readonly sm: string;
|
|
17
|
+
readonly md: string;
|
|
18
|
+
readonly lg: string;
|
|
19
|
+
readonly xl: string;
|
|
20
|
+
readonly "2xl": string;
|
|
21
|
+
readonly "3xl": string;
|
|
22
|
+
readonly "4xl": string;
|
|
23
|
+
};
|
|
24
|
+
readonly max: {
|
|
25
|
+
readonly xs: string;
|
|
26
|
+
readonly sm: string;
|
|
27
|
+
readonly md: string;
|
|
28
|
+
readonly lg: string;
|
|
29
|
+
readonly xl: string;
|
|
30
|
+
readonly "2xl": string;
|
|
31
|
+
readonly "3xl": string;
|
|
32
|
+
readonly "4xl": string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export declare const font: {
|
|
36
|
+
family: {
|
|
37
|
+
sans: string;
|
|
38
|
+
serif: string;
|
|
39
|
+
};
|
|
40
|
+
size: {
|
|
41
|
+
xs: string;
|
|
42
|
+
sm: string;
|
|
43
|
+
md: string;
|
|
44
|
+
lg: string;
|
|
45
|
+
xl: string;
|
|
46
|
+
"2xl": string;
|
|
47
|
+
"3xl": string;
|
|
48
|
+
"4xl": string;
|
|
49
|
+
"5xl": string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
export declare const color: {
|
|
53
|
+
primary: {
|
|
54
|
+
"50": string;
|
|
55
|
+
"100": string;
|
|
56
|
+
"200": string;
|
|
57
|
+
"300": string;
|
|
58
|
+
"400": string;
|
|
59
|
+
"500": string;
|
|
60
|
+
"600": string;
|
|
61
|
+
"700": string;
|
|
62
|
+
"800": string;
|
|
63
|
+
"900": string;
|
|
64
|
+
default: string;
|
|
65
|
+
vibrant: {
|
|
66
|
+
"300": string;
|
|
67
|
+
"500": string;
|
|
68
|
+
"700": string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
secondary: {
|
|
72
|
+
"50": string;
|
|
73
|
+
"100": string;
|
|
74
|
+
"200": string;
|
|
75
|
+
"300": string;
|
|
76
|
+
"400": string;
|
|
77
|
+
"500": string;
|
|
78
|
+
"600": string;
|
|
79
|
+
"700": string;
|
|
80
|
+
"800": string;
|
|
81
|
+
"900": string;
|
|
82
|
+
default: string;
|
|
83
|
+
vibrant: {
|
|
84
|
+
"300": string;
|
|
85
|
+
"500": string;
|
|
86
|
+
"700": string;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
tertiary: {
|
|
90
|
+
"50": string;
|
|
91
|
+
"100": string;
|
|
92
|
+
"200": string;
|
|
93
|
+
"300": string;
|
|
94
|
+
"400": string;
|
|
95
|
+
"500": string;
|
|
96
|
+
"600": string;
|
|
97
|
+
"700": string;
|
|
98
|
+
"800": string;
|
|
99
|
+
"900": string;
|
|
100
|
+
default: string;
|
|
101
|
+
vibrant: {
|
|
102
|
+
"300": string;
|
|
103
|
+
"500": string;
|
|
104
|
+
"700": string;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
error: {
|
|
108
|
+
"50": string;
|
|
109
|
+
"100": string;
|
|
110
|
+
"200": string;
|
|
111
|
+
"300": string;
|
|
112
|
+
"400": string;
|
|
113
|
+
"500": string;
|
|
114
|
+
"600": string;
|
|
115
|
+
"700": string;
|
|
116
|
+
"800": string;
|
|
117
|
+
"900": string;
|
|
118
|
+
default: string;
|
|
119
|
+
vibrant: {
|
|
120
|
+
"300": string;
|
|
121
|
+
"500": string;
|
|
122
|
+
"700": string;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
warning: {
|
|
126
|
+
"50": string;
|
|
127
|
+
"100": string;
|
|
128
|
+
"200": string;
|
|
129
|
+
"300": string;
|
|
130
|
+
"400": string;
|
|
131
|
+
"500": string;
|
|
132
|
+
"600": string;
|
|
133
|
+
"700": string;
|
|
134
|
+
"800": string;
|
|
135
|
+
"900": string;
|
|
136
|
+
default: string;
|
|
137
|
+
vibrant: {
|
|
138
|
+
"300": string;
|
|
139
|
+
"500": string;
|
|
140
|
+
"700": string;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
success: {
|
|
144
|
+
"50": string;
|
|
145
|
+
"100": string;
|
|
146
|
+
"200": string;
|
|
147
|
+
"300": string;
|
|
148
|
+
"400": string;
|
|
149
|
+
"500": string;
|
|
150
|
+
"600": string;
|
|
151
|
+
"700": string;
|
|
152
|
+
"800": string;
|
|
153
|
+
"900": string;
|
|
154
|
+
default: string;
|
|
155
|
+
vibrant: {
|
|
156
|
+
"300": string;
|
|
157
|
+
"500": string;
|
|
158
|
+
"700": string;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
text: {
|
|
162
|
+
dark: string;
|
|
163
|
+
light: string;
|
|
164
|
+
};
|
|
165
|
+
background: {
|
|
166
|
+
light: string;
|
|
167
|
+
dark: string;
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
export declare const padding: {
|
|
171
|
+
xs: string;
|
|
172
|
+
sm: string;
|
|
173
|
+
md: string;
|
|
174
|
+
lg: string;
|
|
175
|
+
xl: string;
|
|
176
|
+
};
|
|
177
|
+
export declare const radius: {
|
|
178
|
+
sm: string;
|
|
179
|
+
md: string;
|
|
180
|
+
lg: string;
|
|
181
|
+
};
|
|
182
|
+
export type FontTokens = typeof font;
|
|
183
|
+
export type ColorTokens = typeof color;
|
|
184
|
+
export type PaddingTokens = typeof padding;
|
|
185
|
+
export type RadiusTokens = typeof radius;
|
|
186
|
+
export type MediaTokens = typeof media;
|
|
187
|
+
export type ScreenTokens = typeof breakpoints;
|
|
1
188
|
export declare const tokens: {
|
|
2
189
|
font: {
|
|
3
190
|
family: {
|
|
@@ -134,6 +321,28 @@ export declare const tokens: {
|
|
|
134
321
|
dark: string;
|
|
135
322
|
};
|
|
136
323
|
};
|
|
324
|
+
media: {
|
|
325
|
+
readonly min: {
|
|
326
|
+
readonly xs: string;
|
|
327
|
+
readonly sm: string;
|
|
328
|
+
readonly md: string;
|
|
329
|
+
readonly lg: string;
|
|
330
|
+
readonly xl: string;
|
|
331
|
+
readonly "2xl": string;
|
|
332
|
+
readonly "3xl": string;
|
|
333
|
+
readonly "4xl": string;
|
|
334
|
+
};
|
|
335
|
+
readonly max: {
|
|
336
|
+
readonly xs: string;
|
|
337
|
+
readonly sm: string;
|
|
338
|
+
readonly md: string;
|
|
339
|
+
readonly lg: string;
|
|
340
|
+
readonly xl: string;
|
|
341
|
+
readonly "2xl": string;
|
|
342
|
+
readonly "3xl": string;
|
|
343
|
+
readonly "4xl": string;
|
|
344
|
+
};
|
|
345
|
+
};
|
|
137
346
|
padding: {
|
|
138
347
|
xs: string;
|
|
139
348
|
sm: string;
|
|
@@ -146,31 +355,5 @@ export declare const tokens: {
|
|
|
146
355
|
md: string;
|
|
147
356
|
lg: string;
|
|
148
357
|
};
|
|
149
|
-
media: {
|
|
150
|
-
min: {
|
|
151
|
-
xs: string;
|
|
152
|
-
sm: string;
|
|
153
|
-
md: string;
|
|
154
|
-
lg: string;
|
|
155
|
-
xl: string;
|
|
156
|
-
"2xl": string;
|
|
157
|
-
"3xl": string;
|
|
158
|
-
};
|
|
159
|
-
max: {
|
|
160
|
-
xs: string;
|
|
161
|
-
sm: string;
|
|
162
|
-
md: string;
|
|
163
|
-
lg: string;
|
|
164
|
-
xl: string;
|
|
165
|
-
"2xl": string;
|
|
166
|
-
"3xl": string;
|
|
167
|
-
};
|
|
168
|
-
};
|
|
169
358
|
};
|
|
170
|
-
export type Tokens = typeof tokens;
|
|
171
|
-
export type FontTokens = typeof tokens.font;
|
|
172
|
-
export type ColorTokens = typeof tokens.color;
|
|
173
|
-
export type PaddingTokens = typeof tokens.padding;
|
|
174
|
-
export type RadiusTokens = typeof tokens.radius;
|
|
175
|
-
export type MediaTokens = typeof tokens.media;
|
|
176
359
|
//# sourceMappingURL=tokens.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../styles/tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../styles/tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;;CASd,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,OAAO,WAAW,CAAC;AAC7C,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,WAAW,CAAC;AAKlD,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;CAqBR,CAAC;AAEX,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;CAgBhB,CAAC;AAEF,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqHjB,CAAC;AACF,eAAO,MAAM,OAAO;;;;;;CAMnB,CAAC;AACF,eAAO,MAAM,MAAM;;;;CAIlB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,OAAO,IAAI,CAAC;AACrC,MAAM,MAAM,WAAW,GAAG,OAAO,KAAK,CAAC;AACvC,MAAM,MAAM,aAAa,GAAG,OAAO,OAAO,CAAC;AAC3C,MAAM,MAAM,YAAY,GAAG,OAAO,MAAM,CAAC;AACzC,MAAM,MAAM,WAAW,GAAG,OAAO,KAAK,CAAC;AACvC,MAAM,MAAM,YAAY,GAAG,OAAO,WAAW,CAAC;AAE9C,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlB,CAAC"}
|
package/dist/styles/tokens.ts
CHANGED
|
@@ -1,178 +1,203 @@
|
|
|
1
|
-
export const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
export const breakpoints = {
|
|
2
|
+
xs: 320,
|
|
3
|
+
sm: 480,
|
|
4
|
+
md: 620,
|
|
5
|
+
lg: 768,
|
|
6
|
+
xl: 896,
|
|
7
|
+
"2xl": 1024,
|
|
8
|
+
"3xl": 1280,
|
|
9
|
+
"4xl": 1536,
|
|
10
|
+
} as const;
|
|
11
|
+
|
|
12
|
+
export type Breakpoints = typeof breakpoints;
|
|
13
|
+
export type Breakpoint = keyof typeof breakpoints;
|
|
14
|
+
|
|
15
|
+
const minWidth = (width: number) => `@media (min-width: ${width}px)`;
|
|
16
|
+
const maxWidth = (width: number) => `@media (max-width: ${width - 1}px)`;
|
|
17
|
+
|
|
18
|
+
export const media = {
|
|
19
|
+
min: {
|
|
20
|
+
xs: minWidth(breakpoints.xs),
|
|
21
|
+
sm: minWidth(breakpoints.sm),
|
|
22
|
+
md: minWidth(breakpoints.md),
|
|
23
|
+
lg: minWidth(breakpoints.lg),
|
|
24
|
+
xl: minWidth(breakpoints.xl),
|
|
25
|
+
"2xl": minWidth(breakpoints["2xl"]),
|
|
26
|
+
"3xl": minWidth(breakpoints["3xl"]),
|
|
27
|
+
"4xl": minWidth(breakpoints["4xl"]),
|
|
18
28
|
},
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"900": "#2b2216",
|
|
67
|
-
"default": "#bfa081",
|
|
68
|
-
vibrant: {
|
|
69
|
-
"300": "#f7c873",
|
|
70
|
-
"500": "#f39c12",
|
|
71
|
-
"700": "#c9780e"
|
|
72
|
-
}
|
|
29
|
+
max: {
|
|
30
|
+
xs: maxWidth(breakpoints.xs),
|
|
31
|
+
sm: maxWidth(breakpoints.sm),
|
|
32
|
+
md: maxWidth(breakpoints.md),
|
|
33
|
+
lg: maxWidth(breakpoints.lg),
|
|
34
|
+
xl: maxWidth(breakpoints.xl),
|
|
35
|
+
"2xl": maxWidth(breakpoints["2xl"]),
|
|
36
|
+
"3xl": maxWidth(breakpoints["3xl"]),
|
|
37
|
+
"4xl": maxWidth(breakpoints["4xl"]),
|
|
38
|
+
},
|
|
39
|
+
} as const;
|
|
40
|
+
|
|
41
|
+
export const font = {
|
|
42
|
+
family: {
|
|
43
|
+
sans: "Montserrat, sans-serif",
|
|
44
|
+
serif: "Libre Baskerville, serif",
|
|
45
|
+
},
|
|
46
|
+
size: {
|
|
47
|
+
xs: "0.75rem",
|
|
48
|
+
sm: "0.875rem",
|
|
49
|
+
md: "1rem",
|
|
50
|
+
lg: "1.25rem",
|
|
51
|
+
xl: "1.5rem",
|
|
52
|
+
"2xl": "2rem",
|
|
53
|
+
"3xl": "2.5rem",
|
|
54
|
+
"4xl": "3rem",
|
|
55
|
+
"5xl": "3.5rem",
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export const color = {
|
|
60
|
+
primary: {
|
|
61
|
+
"50": "#f0f2f5",
|
|
62
|
+
"100": "#d9dee6",
|
|
63
|
+
"200": "#b8c3d1",
|
|
64
|
+
"300": "#8a9bae",
|
|
65
|
+
"400": "#4a5f7a",
|
|
66
|
+
"500": "#0b1828",
|
|
67
|
+
"600": "#081320",
|
|
68
|
+
"700": "#060e18",
|
|
69
|
+
"800": "#04090f",
|
|
70
|
+
"900": "#020407",
|
|
71
|
+
default: "#0b1828",
|
|
72
|
+
vibrant: {
|
|
73
|
+
"300": "#8ab6ff",
|
|
74
|
+
"500": "#4f86f7",
|
|
75
|
+
"700": "#1e3a8a",
|
|
73
76
|
},
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
77
|
+
},
|
|
78
|
+
secondary: {
|
|
79
|
+
"50": "#e6f7f6",
|
|
80
|
+
"100": "#b3e8e5",
|
|
81
|
+
"200": "#80d9d4",
|
|
82
|
+
"300": "#4dcac3",
|
|
83
|
+
"400": "#2aa39b",
|
|
84
|
+
"500": "#146b68",
|
|
85
|
+
"600": "#125a57",
|
|
86
|
+
"700": "#0f4a47",
|
|
87
|
+
"800": "#0c3835",
|
|
88
|
+
"900": "#081f1c",
|
|
89
|
+
default: "#146b68",
|
|
90
|
+
vibrant: {
|
|
91
|
+
"300": "#75dac7",
|
|
92
|
+
"500": "#1abc9c",
|
|
93
|
+
"700": "#138f6e",
|
|
91
94
|
},
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
95
|
+
},
|
|
96
|
+
tertiary: {
|
|
97
|
+
"50": "#f7f4f0",
|
|
98
|
+
"100": "#eedecc",
|
|
99
|
+
"200": "#e5c8a8",
|
|
100
|
+
"300": "#dcb184",
|
|
101
|
+
"400": "#d19b60",
|
|
102
|
+
"500": "#bfa081",
|
|
103
|
+
"600": "#a68965",
|
|
104
|
+
"700": "#7d6748",
|
|
105
|
+
"800": "#54442c",
|
|
106
|
+
"900": "#2b2216",
|
|
107
|
+
default: "#bfa081",
|
|
108
|
+
vibrant: {
|
|
109
|
+
"300": "#f7c873",
|
|
98
110
|
"500": "#f39c12",
|
|
99
|
-
"
|
|
100
|
-
"700": "#925e0b",
|
|
101
|
-
"800": "#613e07",
|
|
102
|
-
"900": "#311f04",
|
|
103
|
-
"default": "#f39c12",
|
|
104
|
-
vibrant: {
|
|
105
|
-
"300": "#fce705",
|
|
106
|
-
"500": "#fbc306",
|
|
107
|
-
"700": "#f8950a"
|
|
108
|
-
}
|
|
111
|
+
"700": "#c9780e",
|
|
109
112
|
},
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
113
|
+
},
|
|
114
|
+
error: {
|
|
115
|
+
"50": "#fee6e6",
|
|
116
|
+
"100": "#fbb3b3",
|
|
117
|
+
"200": "#f88080",
|
|
118
|
+
"300": "#f54d4d",
|
|
119
|
+
"400": "#f21a1a",
|
|
120
|
+
"500": "#9f0001",
|
|
121
|
+
"600": "#800001",
|
|
122
|
+
"700": "#600001",
|
|
123
|
+
"800": "#400000",
|
|
124
|
+
"900": "#200000",
|
|
125
|
+
default: "#9f0001",
|
|
126
|
+
vibrant: {
|
|
127
|
+
"300": "#f48a6f",
|
|
128
|
+
"500": "#e74c3c",
|
|
129
|
+
"700": "#c0392b",
|
|
127
130
|
},
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
+
},
|
|
132
|
+
warning: {
|
|
133
|
+
"50": "#fef5ec",
|
|
134
|
+
"100": "#fdebda",
|
|
135
|
+
"200": "#fad8b3",
|
|
136
|
+
"300": "#f8c48c",
|
|
137
|
+
"400": "#f5b065",
|
|
138
|
+
"500": "#f39c12",
|
|
139
|
+
"600": "#c27d0e",
|
|
140
|
+
"700": "#925e0b",
|
|
141
|
+
"800": "#613e07",
|
|
142
|
+
"900": "#311f04",
|
|
143
|
+
default: "#f39c12",
|
|
144
|
+
vibrant: {
|
|
145
|
+
"300": "#fce705",
|
|
146
|
+
"500": "#fbc306",
|
|
147
|
+
"700": "#f8950a",
|
|
131
148
|
},
|
|
132
|
-
background: {
|
|
133
|
-
light: "#fcfbf7",
|
|
134
|
-
dark: "#040a0c"
|
|
135
|
-
}
|
|
136
149
|
},
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
150
|
+
success: {
|
|
151
|
+
"50": "#e8f5f2",
|
|
152
|
+
"100": "#d1ece4",
|
|
153
|
+
"200": "#a3d8ca",
|
|
154
|
+
"300": "#76c5af",
|
|
155
|
+
"400": "#48b195",
|
|
156
|
+
"500": "#1a9e7a",
|
|
157
|
+
"600": "#157e62",
|
|
158
|
+
"700": "#105f49",
|
|
159
|
+
"800": "#0a3f31",
|
|
160
|
+
"900": "#052018",
|
|
161
|
+
default: "#1a9e7a",
|
|
162
|
+
vibrant: {
|
|
163
|
+
"300": "#07e71f",
|
|
164
|
+
"500": "#08e27e",
|
|
165
|
+
"700": "#26b656",
|
|
166
|
+
},
|
|
143
167
|
},
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
168
|
+
text: {
|
|
169
|
+
dark: "#040a0c",
|
|
170
|
+
light: "#fcfbf7",
|
|
171
|
+
},
|
|
172
|
+
background: {
|
|
173
|
+
light: "#fcfbf7",
|
|
174
|
+
dark: "#040a0c",
|
|
148
175
|
},
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
sm: "@media (max-width: 479px)",
|
|
162
|
-
md: "@media (max-width: 767px)",
|
|
163
|
-
lg: "@media (max-width: 895px)",
|
|
164
|
-
xl: "@media (max-width: 1023px)",
|
|
165
|
-
"2xl": "@media (max-width: 1279px)",
|
|
166
|
-
"3xl": "@media (max-width: 1535px)"
|
|
167
|
-
}
|
|
168
|
-
}
|
|
176
|
+
};
|
|
177
|
+
export const padding = {
|
|
178
|
+
xs: "2px",
|
|
179
|
+
sm: "4px",
|
|
180
|
+
md: "6px",
|
|
181
|
+
lg: "10px",
|
|
182
|
+
xl: "16px",
|
|
183
|
+
};
|
|
184
|
+
export const radius = {
|
|
185
|
+
sm: "3px",
|
|
186
|
+
md: "5px",
|
|
187
|
+
lg: "8px",
|
|
169
188
|
};
|
|
170
189
|
|
|
171
|
-
export type
|
|
172
|
-
|
|
190
|
+
export type FontTokens = typeof font;
|
|
191
|
+
export type ColorTokens = typeof color;
|
|
192
|
+
export type PaddingTokens = typeof padding;
|
|
193
|
+
export type RadiusTokens = typeof radius;
|
|
194
|
+
export type MediaTokens = typeof media;
|
|
195
|
+
export type ScreenTokens = typeof breakpoints;
|
|
173
196
|
|
|
174
|
-
export
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
197
|
+
export const tokens = {
|
|
198
|
+
font,
|
|
199
|
+
color,
|
|
200
|
+
media,
|
|
201
|
+
padding,
|
|
202
|
+
radius,
|
|
203
|
+
};
|