@drdex0101/water-design-system 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +52 -0
- package/dist/App.d.ts +2 -0
- package/dist/components/Button/Button.d.ts +6 -0
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/main.d.ts +1 -0
- package/dist/pages/ColorTokens.d.ts +2 -0
- package/dist/pages/TypographyTokens.d.ts +2 -0
- package/dist/tokens/colors.d.ts +443 -0
- package/dist/tokens/index.d.ts +8 -0
- package/dist/tokens/semantic.d.ts +208 -0
- package/dist/tokens/typography.d.ts +490 -0
- package/dist/water-design-system.es.js +882 -0
- package/dist/water-design-system.umd.js +22 -0
- package/package.json +50 -0
package/README.md
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Water Design System
|
|
2
|
+
|
|
3
|
+
A modern React component library built with TypeScript and Vite.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- 🚀 Built with Vite (Library Mode)
|
|
8
|
+
- 📝 TypeScript support out of the box
|
|
9
|
+
- 📦 Automatic publishing to npm via GitHub Actions
|
|
10
|
+
- 🛠️ Modern React (React 19+)
|
|
11
|
+
|
|
12
|
+
## Installation
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npm install @jacky-water/water-design-system
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Usage
|
|
19
|
+
|
|
20
|
+
```tsx
|
|
21
|
+
import { Button } from '@jacky-water/water-design-system';
|
|
22
|
+
|
|
23
|
+
const App = () => (
|
|
24
|
+
<Button label="Click Me" onClick={() => console.log('Hello!')} />
|
|
25
|
+
);
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Development
|
|
29
|
+
|
|
30
|
+
1. Install dependencies:
|
|
31
|
+
```bash
|
|
32
|
+
npm install
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
2. Build the library:
|
|
36
|
+
```bash
|
|
37
|
+
npm run build
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Publishing
|
|
41
|
+
|
|
42
|
+
To publish a new version:
|
|
43
|
+
|
|
44
|
+
1. Update the version in `package.json`.
|
|
45
|
+
2. Push a new tag:
|
|
46
|
+
```bash
|
|
47
|
+
git tag v1.0.0
|
|
48
|
+
git push origin v1.0.0
|
|
49
|
+
```
|
|
50
|
+
3. GitHub Actions will automatically build and publish to npm.
|
|
51
|
+
|
|
52
|
+
**Note:** You must set up an `NPM_TOKEN` secret in your GitHub repository to enable automatic publishing.
|
package/dist/App.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Button';
|
package/dist/index.d.ts
ADDED
package/dist/main.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,443 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Water Design System - Primitive Color Tokens
|
|
3
|
+
*
|
|
4
|
+
* Extracted from Figma Water Design System
|
|
5
|
+
* Color palette following a consistent scale pattern.
|
|
6
|
+
* Lower numbers (50-100) are lighter, higher numbers (800-900) are darker.
|
|
7
|
+
*
|
|
8
|
+
* Usage Rules:
|
|
9
|
+
* - Defined in Variables
|
|
10
|
+
* - Do NOT use directly in UI designs - use Semantic Colors instead (e.g., text-success)
|
|
11
|
+
* - Do NOT directly use primitive colors like Green-600
|
|
12
|
+
* - Maintain consistency: If existing Primitive Colors cannot meet special visual needs,
|
|
13
|
+
* system maintainers should evaluate before adding, do not define temporary color values
|
|
14
|
+
*/
|
|
15
|
+
export declare const red: {
|
|
16
|
+
readonly 50: "#fdecec";
|
|
17
|
+
readonly 100: "#fac5c5";
|
|
18
|
+
readonly 200: "#f8a9a9";
|
|
19
|
+
readonly 300: "#f48282";
|
|
20
|
+
readonly 400: "#f26969";
|
|
21
|
+
readonly 500: "#ef4444";
|
|
22
|
+
readonly 600: "#d93e3e";
|
|
23
|
+
readonly 700: "#aa3030";
|
|
24
|
+
readonly 800: "#832525";
|
|
25
|
+
readonly 900: "#641d1d";
|
|
26
|
+
};
|
|
27
|
+
export declare const orange: {
|
|
28
|
+
readonly 50: "#fdf1e6";
|
|
29
|
+
readonly 100: "#f8d4b0";
|
|
30
|
+
readonly 200: "#f4bf8a";
|
|
31
|
+
readonly 300: "#efa154";
|
|
32
|
+
readonly 400: "#ec8f33";
|
|
33
|
+
readonly 500: "#e77300";
|
|
34
|
+
readonly 600: "#d26900";
|
|
35
|
+
readonly 700: "#a45200";
|
|
36
|
+
readonly 800: "#7f3f00";
|
|
37
|
+
readonly 900: "#613000";
|
|
38
|
+
};
|
|
39
|
+
export declare const yellow: {
|
|
40
|
+
readonly 50: "#fef7e6";
|
|
41
|
+
readonly 100: "#fae7b0";
|
|
42
|
+
readonly 200: "#f8db8a";
|
|
43
|
+
readonly 300: "#f5cb54";
|
|
44
|
+
readonly 400: "#f3c133";
|
|
45
|
+
readonly 500: "#f0b100";
|
|
46
|
+
readonly 600: "#daa100";
|
|
47
|
+
readonly 700: "#aa7e00";
|
|
48
|
+
readonly 800: "#846100";
|
|
49
|
+
readonly 900: "#654a00";
|
|
50
|
+
};
|
|
51
|
+
export declare const green: {
|
|
52
|
+
readonly 50: "#e7f7ed";
|
|
53
|
+
readonly 100: "#b3e6c6";
|
|
54
|
+
readonly 200: "#8fd9aa";
|
|
55
|
+
readonly 300: "#5cc884";
|
|
56
|
+
readonly 400: "#3cbd6c";
|
|
57
|
+
readonly 500: "#0bad47";
|
|
58
|
+
readonly 600: "#0a9d41";
|
|
59
|
+
readonly 700: "#087b32";
|
|
60
|
+
readonly 800: "#065f27";
|
|
61
|
+
readonly 900: "#05491e";
|
|
62
|
+
};
|
|
63
|
+
export declare const cyan: {
|
|
64
|
+
readonly 50: "#e6fdfe";
|
|
65
|
+
readonly 100: "#b1f7fc";
|
|
66
|
+
readonly 200: "#8bf4fb";
|
|
67
|
+
readonly 300: "#55eef9";
|
|
68
|
+
readonly 400: "#35ebf8";
|
|
69
|
+
readonly 500: "#02e6f6";
|
|
70
|
+
readonly 600: "#02d1e0";
|
|
71
|
+
readonly 700: "#01a3af";
|
|
72
|
+
readonly 800: "#017f87";
|
|
73
|
+
readonly 900: "#016167";
|
|
74
|
+
};
|
|
75
|
+
export declare const teal: {
|
|
76
|
+
readonly 50: "#e6f8f6";
|
|
77
|
+
readonly 100: "#b0ebe4";
|
|
78
|
+
readonly 200: "#8ae1d7";
|
|
79
|
+
readonly 300: "#55d3c4";
|
|
80
|
+
readonly 400: "#34cab9";
|
|
81
|
+
readonly 500: "#01bda7";
|
|
82
|
+
readonly 600: "#01ac98";
|
|
83
|
+
readonly 700: "#018677";
|
|
84
|
+
readonly 800: "#01685c";
|
|
85
|
+
readonly 900: "#004f46";
|
|
86
|
+
};
|
|
87
|
+
export declare const brandblue: {
|
|
88
|
+
readonly 50: "#eaf5ff";
|
|
89
|
+
readonly 100: "#bee1ff";
|
|
90
|
+
readonly 200: "#9fd2ff";
|
|
91
|
+
readonly 300: "#73bdff";
|
|
92
|
+
readonly 400: "#58b1ff";
|
|
93
|
+
readonly 500: "#2e9dff";
|
|
94
|
+
readonly 600: "#2a8fe8";
|
|
95
|
+
readonly 700: "#216fb5";
|
|
96
|
+
readonly 800: "#19568c";
|
|
97
|
+
readonly 900: "#13426b";
|
|
98
|
+
};
|
|
99
|
+
export declare const slate: {
|
|
100
|
+
readonly 50: "#eff0f2";
|
|
101
|
+
readonly 100: "#cfd1d5";
|
|
102
|
+
readonly 200: "#b7bac1";
|
|
103
|
+
readonly 300: "#969ba5";
|
|
104
|
+
readonly 400: "#828894";
|
|
105
|
+
readonly 500: "#636a79";
|
|
106
|
+
readonly 600: "#5a606e";
|
|
107
|
+
readonly 700: "#464b56";
|
|
108
|
+
readonly 800: "#363a43";
|
|
109
|
+
readonly 900: "#2a2d33";
|
|
110
|
+
};
|
|
111
|
+
export declare const lightgrey: {
|
|
112
|
+
readonly 50: "#fcfdfd";
|
|
113
|
+
readonly 100: "#f7f8f9";
|
|
114
|
+
readonly 200: "#f3f4f6";
|
|
115
|
+
readonly 300: "#eeeff2";
|
|
116
|
+
readonly 400: "#eaecef";
|
|
117
|
+
readonly 500: "#e5e7eb";
|
|
118
|
+
readonly 600: "#d0d2d6";
|
|
119
|
+
readonly 700: "#a3a4a7";
|
|
120
|
+
readonly 800: "#7e7f81";
|
|
121
|
+
readonly 900: "#606163";
|
|
122
|
+
};
|
|
123
|
+
export declare const grey: {
|
|
124
|
+
readonly 50: "#f9fafb";
|
|
125
|
+
readonly 100: "#f3f4f6";
|
|
126
|
+
readonly 200: "#e5e7eb";
|
|
127
|
+
readonly 300: "#d1d5db";
|
|
128
|
+
readonly 400: "#9ca3af";
|
|
129
|
+
readonly 500: "#6b7280";
|
|
130
|
+
readonly 600: "#4b5563";
|
|
131
|
+
readonly 700: "#374151";
|
|
132
|
+
readonly 800: "#1f2937";
|
|
133
|
+
readonly 900: "#111827";
|
|
134
|
+
};
|
|
135
|
+
export declare const deepocean: {
|
|
136
|
+
readonly 50: "#e8f4f7";
|
|
137
|
+
readonly 100: "#c6e4eb";
|
|
138
|
+
readonly 200: "#a3d4df";
|
|
139
|
+
readonly 300: "#81c4d3";
|
|
140
|
+
readonly 400: "#5eb4c7";
|
|
141
|
+
readonly 500: "#3ca4bb";
|
|
142
|
+
readonly 600: "#358fa3";
|
|
143
|
+
readonly 700: "#2d7a8b";
|
|
144
|
+
readonly 800: "#256573";
|
|
145
|
+
readonly 900: "#1e505b";
|
|
146
|
+
};
|
|
147
|
+
export declare const white = "#ffffff";
|
|
148
|
+
export declare const black = "#000000";
|
|
149
|
+
export declare const primitiveColors: {
|
|
150
|
+
readonly red: {
|
|
151
|
+
readonly 50: "#fdecec";
|
|
152
|
+
readonly 100: "#fac5c5";
|
|
153
|
+
readonly 200: "#f8a9a9";
|
|
154
|
+
readonly 300: "#f48282";
|
|
155
|
+
readonly 400: "#f26969";
|
|
156
|
+
readonly 500: "#ef4444";
|
|
157
|
+
readonly 600: "#d93e3e";
|
|
158
|
+
readonly 700: "#aa3030";
|
|
159
|
+
readonly 800: "#832525";
|
|
160
|
+
readonly 900: "#641d1d";
|
|
161
|
+
};
|
|
162
|
+
readonly orange: {
|
|
163
|
+
readonly 50: "#fdf1e6";
|
|
164
|
+
readonly 100: "#f8d4b0";
|
|
165
|
+
readonly 200: "#f4bf8a";
|
|
166
|
+
readonly 300: "#efa154";
|
|
167
|
+
readonly 400: "#ec8f33";
|
|
168
|
+
readonly 500: "#e77300";
|
|
169
|
+
readonly 600: "#d26900";
|
|
170
|
+
readonly 700: "#a45200";
|
|
171
|
+
readonly 800: "#7f3f00";
|
|
172
|
+
readonly 900: "#613000";
|
|
173
|
+
};
|
|
174
|
+
readonly yellow: {
|
|
175
|
+
readonly 50: "#fef7e6";
|
|
176
|
+
readonly 100: "#fae7b0";
|
|
177
|
+
readonly 200: "#f8db8a";
|
|
178
|
+
readonly 300: "#f5cb54";
|
|
179
|
+
readonly 400: "#f3c133";
|
|
180
|
+
readonly 500: "#f0b100";
|
|
181
|
+
readonly 600: "#daa100";
|
|
182
|
+
readonly 700: "#aa7e00";
|
|
183
|
+
readonly 800: "#846100";
|
|
184
|
+
readonly 900: "#654a00";
|
|
185
|
+
};
|
|
186
|
+
readonly green: {
|
|
187
|
+
readonly 50: "#e7f7ed";
|
|
188
|
+
readonly 100: "#b3e6c6";
|
|
189
|
+
readonly 200: "#8fd9aa";
|
|
190
|
+
readonly 300: "#5cc884";
|
|
191
|
+
readonly 400: "#3cbd6c";
|
|
192
|
+
readonly 500: "#0bad47";
|
|
193
|
+
readonly 600: "#0a9d41";
|
|
194
|
+
readonly 700: "#087b32";
|
|
195
|
+
readonly 800: "#065f27";
|
|
196
|
+
readonly 900: "#05491e";
|
|
197
|
+
};
|
|
198
|
+
readonly cyan: {
|
|
199
|
+
readonly 50: "#e6fdfe";
|
|
200
|
+
readonly 100: "#b1f7fc";
|
|
201
|
+
readonly 200: "#8bf4fb";
|
|
202
|
+
readonly 300: "#55eef9";
|
|
203
|
+
readonly 400: "#35ebf8";
|
|
204
|
+
readonly 500: "#02e6f6";
|
|
205
|
+
readonly 600: "#02d1e0";
|
|
206
|
+
readonly 700: "#01a3af";
|
|
207
|
+
readonly 800: "#017f87";
|
|
208
|
+
readonly 900: "#016167";
|
|
209
|
+
};
|
|
210
|
+
readonly teal: {
|
|
211
|
+
readonly 50: "#e6f8f6";
|
|
212
|
+
readonly 100: "#b0ebe4";
|
|
213
|
+
readonly 200: "#8ae1d7";
|
|
214
|
+
readonly 300: "#55d3c4";
|
|
215
|
+
readonly 400: "#34cab9";
|
|
216
|
+
readonly 500: "#01bda7";
|
|
217
|
+
readonly 600: "#01ac98";
|
|
218
|
+
readonly 700: "#018677";
|
|
219
|
+
readonly 800: "#01685c";
|
|
220
|
+
readonly 900: "#004f46";
|
|
221
|
+
};
|
|
222
|
+
readonly brandblue: {
|
|
223
|
+
readonly 50: "#eaf5ff";
|
|
224
|
+
readonly 100: "#bee1ff";
|
|
225
|
+
readonly 200: "#9fd2ff";
|
|
226
|
+
readonly 300: "#73bdff";
|
|
227
|
+
readonly 400: "#58b1ff";
|
|
228
|
+
readonly 500: "#2e9dff";
|
|
229
|
+
readonly 600: "#2a8fe8";
|
|
230
|
+
readonly 700: "#216fb5";
|
|
231
|
+
readonly 800: "#19568c";
|
|
232
|
+
readonly 900: "#13426b";
|
|
233
|
+
};
|
|
234
|
+
readonly slate: {
|
|
235
|
+
readonly 50: "#eff0f2";
|
|
236
|
+
readonly 100: "#cfd1d5";
|
|
237
|
+
readonly 200: "#b7bac1";
|
|
238
|
+
readonly 300: "#969ba5";
|
|
239
|
+
readonly 400: "#828894";
|
|
240
|
+
readonly 500: "#636a79";
|
|
241
|
+
readonly 600: "#5a606e";
|
|
242
|
+
readonly 700: "#464b56";
|
|
243
|
+
readonly 800: "#363a43";
|
|
244
|
+
readonly 900: "#2a2d33";
|
|
245
|
+
};
|
|
246
|
+
readonly lightgrey: {
|
|
247
|
+
readonly 50: "#fcfdfd";
|
|
248
|
+
readonly 100: "#f7f8f9";
|
|
249
|
+
readonly 200: "#f3f4f6";
|
|
250
|
+
readonly 300: "#eeeff2";
|
|
251
|
+
readonly 400: "#eaecef";
|
|
252
|
+
readonly 500: "#e5e7eb";
|
|
253
|
+
readonly 600: "#d0d2d6";
|
|
254
|
+
readonly 700: "#a3a4a7";
|
|
255
|
+
readonly 800: "#7e7f81";
|
|
256
|
+
readonly 900: "#606163";
|
|
257
|
+
};
|
|
258
|
+
readonly grey: {
|
|
259
|
+
readonly 50: "#f9fafb";
|
|
260
|
+
readonly 100: "#f3f4f6";
|
|
261
|
+
readonly 200: "#e5e7eb";
|
|
262
|
+
readonly 300: "#d1d5db";
|
|
263
|
+
readonly 400: "#9ca3af";
|
|
264
|
+
readonly 500: "#6b7280";
|
|
265
|
+
readonly 600: "#4b5563";
|
|
266
|
+
readonly 700: "#374151";
|
|
267
|
+
readonly 800: "#1f2937";
|
|
268
|
+
readonly 900: "#111827";
|
|
269
|
+
};
|
|
270
|
+
readonly deepocean: {
|
|
271
|
+
readonly 50: "#e8f4f7";
|
|
272
|
+
readonly 100: "#c6e4eb";
|
|
273
|
+
readonly 200: "#a3d4df";
|
|
274
|
+
readonly 300: "#81c4d3";
|
|
275
|
+
readonly 400: "#5eb4c7";
|
|
276
|
+
readonly 500: "#3ca4bb";
|
|
277
|
+
readonly 600: "#358fa3";
|
|
278
|
+
readonly 700: "#2d7a8b";
|
|
279
|
+
readonly 800: "#256573";
|
|
280
|
+
readonly 900: "#1e505b";
|
|
281
|
+
};
|
|
282
|
+
readonly white: "#ffffff";
|
|
283
|
+
readonly black: "#000000";
|
|
284
|
+
};
|
|
285
|
+
export declare const primary: {
|
|
286
|
+
readonly 50: "#eaf5ff";
|
|
287
|
+
readonly 100: "#bee1ff";
|
|
288
|
+
readonly 200: "#9fd2ff";
|
|
289
|
+
readonly 300: "#73bdff";
|
|
290
|
+
readonly 400: "#58b1ff";
|
|
291
|
+
readonly 500: "#2e9dff";
|
|
292
|
+
readonly 600: "#2a8fe8";
|
|
293
|
+
readonly 700: "#216fb5";
|
|
294
|
+
readonly 800: "#19568c";
|
|
295
|
+
readonly 900: "#13426b";
|
|
296
|
+
};
|
|
297
|
+
export declare const neutral: {
|
|
298
|
+
readonly 50: "#eff0f2";
|
|
299
|
+
readonly 100: "#cfd1d5";
|
|
300
|
+
readonly 200: "#b7bac1";
|
|
301
|
+
readonly 300: "#969ba5";
|
|
302
|
+
readonly 400: "#828894";
|
|
303
|
+
readonly 500: "#636a79";
|
|
304
|
+
readonly 600: "#5a606e";
|
|
305
|
+
readonly 700: "#464b56";
|
|
306
|
+
readonly 800: "#363a43";
|
|
307
|
+
readonly 900: "#2a2d33";
|
|
308
|
+
};
|
|
309
|
+
export declare const success: {
|
|
310
|
+
readonly 50: "#e7f7ed";
|
|
311
|
+
readonly 100: "#b3e6c6";
|
|
312
|
+
readonly 200: "#8fd9aa";
|
|
313
|
+
readonly 300: "#5cc884";
|
|
314
|
+
readonly 400: "#3cbd6c";
|
|
315
|
+
readonly 500: "#0bad47";
|
|
316
|
+
readonly 600: "#0a9d41";
|
|
317
|
+
readonly 700: "#087b32";
|
|
318
|
+
readonly 800: "#065f27";
|
|
319
|
+
readonly 900: "#05491e";
|
|
320
|
+
};
|
|
321
|
+
export declare const warning: {
|
|
322
|
+
readonly 50: "#fef7e6";
|
|
323
|
+
readonly 100: "#fae7b0";
|
|
324
|
+
readonly 200: "#f8db8a";
|
|
325
|
+
readonly 300: "#f5cb54";
|
|
326
|
+
readonly 400: "#f3c133";
|
|
327
|
+
readonly 500: "#f0b100";
|
|
328
|
+
readonly 600: "#daa100";
|
|
329
|
+
readonly 700: "#aa7e00";
|
|
330
|
+
readonly 800: "#846100";
|
|
331
|
+
readonly 900: "#654a00";
|
|
332
|
+
};
|
|
333
|
+
export declare const error: {
|
|
334
|
+
readonly 50: "#fdecec";
|
|
335
|
+
readonly 100: "#fac5c5";
|
|
336
|
+
readonly 200: "#f8a9a9";
|
|
337
|
+
readonly 300: "#f48282";
|
|
338
|
+
readonly 400: "#f26969";
|
|
339
|
+
readonly 500: "#ef4444";
|
|
340
|
+
readonly 600: "#d93e3e";
|
|
341
|
+
readonly 700: "#aa3030";
|
|
342
|
+
readonly 800: "#832525";
|
|
343
|
+
readonly 900: "#641d1d";
|
|
344
|
+
};
|
|
345
|
+
export declare const info: {
|
|
346
|
+
readonly 50: "#e6fdfe";
|
|
347
|
+
readonly 100: "#b1f7fc";
|
|
348
|
+
readonly 200: "#8bf4fb";
|
|
349
|
+
readonly 300: "#55eef9";
|
|
350
|
+
readonly 400: "#35ebf8";
|
|
351
|
+
readonly 500: "#02e6f6";
|
|
352
|
+
readonly 600: "#02d1e0";
|
|
353
|
+
readonly 700: "#01a3af";
|
|
354
|
+
readonly 800: "#017f87";
|
|
355
|
+
readonly 900: "#016167";
|
|
356
|
+
};
|
|
357
|
+
export declare const colors: {
|
|
358
|
+
readonly primary: {
|
|
359
|
+
readonly 50: "#eaf5ff";
|
|
360
|
+
readonly 100: "#bee1ff";
|
|
361
|
+
readonly 200: "#9fd2ff";
|
|
362
|
+
readonly 300: "#73bdff";
|
|
363
|
+
readonly 400: "#58b1ff";
|
|
364
|
+
readonly 500: "#2e9dff";
|
|
365
|
+
readonly 600: "#2a8fe8";
|
|
366
|
+
readonly 700: "#216fb5";
|
|
367
|
+
readonly 800: "#19568c";
|
|
368
|
+
readonly 900: "#13426b";
|
|
369
|
+
};
|
|
370
|
+
readonly neutral: {
|
|
371
|
+
readonly 50: "#eff0f2";
|
|
372
|
+
readonly 100: "#cfd1d5";
|
|
373
|
+
readonly 200: "#b7bac1";
|
|
374
|
+
readonly 300: "#969ba5";
|
|
375
|
+
readonly 400: "#828894";
|
|
376
|
+
readonly 500: "#636a79";
|
|
377
|
+
readonly 600: "#5a606e";
|
|
378
|
+
readonly 700: "#464b56";
|
|
379
|
+
readonly 800: "#363a43";
|
|
380
|
+
readonly 900: "#2a2d33";
|
|
381
|
+
};
|
|
382
|
+
readonly success: {
|
|
383
|
+
readonly 50: "#e7f7ed";
|
|
384
|
+
readonly 100: "#b3e6c6";
|
|
385
|
+
readonly 200: "#8fd9aa";
|
|
386
|
+
readonly 300: "#5cc884";
|
|
387
|
+
readonly 400: "#3cbd6c";
|
|
388
|
+
readonly 500: "#0bad47";
|
|
389
|
+
readonly 600: "#0a9d41";
|
|
390
|
+
readonly 700: "#087b32";
|
|
391
|
+
readonly 800: "#065f27";
|
|
392
|
+
readonly 900: "#05491e";
|
|
393
|
+
};
|
|
394
|
+
readonly warning: {
|
|
395
|
+
readonly 50: "#fef7e6";
|
|
396
|
+
readonly 100: "#fae7b0";
|
|
397
|
+
readonly 200: "#f8db8a";
|
|
398
|
+
readonly 300: "#f5cb54";
|
|
399
|
+
readonly 400: "#f3c133";
|
|
400
|
+
readonly 500: "#f0b100";
|
|
401
|
+
readonly 600: "#daa100";
|
|
402
|
+
readonly 700: "#aa7e00";
|
|
403
|
+
readonly 800: "#846100";
|
|
404
|
+
readonly 900: "#654a00";
|
|
405
|
+
};
|
|
406
|
+
readonly error: {
|
|
407
|
+
readonly 50: "#fdecec";
|
|
408
|
+
readonly 100: "#fac5c5";
|
|
409
|
+
readonly 200: "#f8a9a9";
|
|
410
|
+
readonly 300: "#f48282";
|
|
411
|
+
readonly 400: "#f26969";
|
|
412
|
+
readonly 500: "#ef4444";
|
|
413
|
+
readonly 600: "#d93e3e";
|
|
414
|
+
readonly 700: "#aa3030";
|
|
415
|
+
readonly 800: "#832525";
|
|
416
|
+
readonly 900: "#641d1d";
|
|
417
|
+
};
|
|
418
|
+
readonly info: {
|
|
419
|
+
readonly 50: "#e6fdfe";
|
|
420
|
+
readonly 100: "#b1f7fc";
|
|
421
|
+
readonly 200: "#8bf4fb";
|
|
422
|
+
readonly 300: "#55eef9";
|
|
423
|
+
readonly 400: "#35ebf8";
|
|
424
|
+
readonly 500: "#02e6f6";
|
|
425
|
+
readonly 600: "#02d1e0";
|
|
426
|
+
readonly 700: "#01a3af";
|
|
427
|
+
readonly 800: "#017f87";
|
|
428
|
+
readonly 900: "#016167";
|
|
429
|
+
};
|
|
430
|
+
};
|
|
431
|
+
export type RedColor = keyof typeof red;
|
|
432
|
+
export type OrangeColor = keyof typeof orange;
|
|
433
|
+
export type YellowColor = keyof typeof yellow;
|
|
434
|
+
export type GreenColor = keyof typeof green;
|
|
435
|
+
export type CyanColor = keyof typeof cyan;
|
|
436
|
+
export type TealColor = keyof typeof teal;
|
|
437
|
+
export type BrandblueColor = keyof typeof brandblue;
|
|
438
|
+
export type SlateColor = keyof typeof slate;
|
|
439
|
+
export type LightgreyColor = keyof typeof lightgrey;
|
|
440
|
+
export type GreyColor = keyof typeof grey;
|
|
441
|
+
export type DeepoceanColor = keyof typeof deepocean;
|
|
442
|
+
export type PrimitiveColors = typeof primitiveColors;
|
|
443
|
+
export type ColorScale = typeof colors;
|