@drdex0101/water-design-system 1.0.1 → 2.0.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/README.md +4 -4
- package/dist/components/Badge/Badge.d.ts +16 -0
- package/dist/components/Badge/index.d.ts +1 -0
- package/dist/components/Button/Button.d.ts +20 -2
- package/dist/components/Checkbox/Checkbox.d.ts +13 -0
- package/dist/components/Checkbox/index.d.ts +1 -0
- package/dist/components/Divider/Divider.d.ts +9 -0
- package/dist/components/Divider/index.d.ts +1 -0
- package/dist/components/Input/Input.d.ts +20 -0
- package/dist/components/Input/index.d.ts +1 -0
- package/dist/components/Poker/PokerCard.d.ts +28 -0
- package/dist/components/Poker/PokerPlayer.d.ts +38 -0
- package/dist/components/Poker/PokerStatusIndicator.d.ts +28 -0
- package/dist/components/Poker/PokerTable.d.ts +39 -0
- package/dist/components/Poker/index.d.ts +4 -0
- package/dist/components/Slider/Slider.d.ts +23 -0
- package/dist/components/Slider/index.d.ts +1 -0
- package/dist/components/Switch/Switch.d.ts +17 -0
- package/dist/components/Switch/index.d.ts +1 -0
- package/dist/components/Tabs/Tabs.d.ts +26 -0
- package/dist/components/Tabs/index.d.ts +1 -0
- package/dist/components/Toast/Toast.d.ts +18 -0
- package/dist/components/Toast/index.d.ts +1 -0
- package/dist/components/Toggle/Toggle.d.ts +34 -0
- package/dist/components/Toggle/index.d.ts +1 -0
- package/dist/index.d.ts +10 -0
- package/dist/pages/SpacingTokens.d.ts +2 -0
- package/dist/tokens/colors.d.ts +38 -204
- package/dist/tokens/index.d.ts +1 -5
- package/dist/tokens/semantic.d.ts +201 -114
- package/dist/tokens/spacing.d.ts +54 -0
- package/dist/water-design-system.es.js +2336 -582
- package/dist/water-design-system.umd.js +15 -4
- package/package.json +3 -2
|
@@ -3,92 +3,144 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extracted from Figma Water Design System
|
|
5
5
|
* Semantic colors map primitive colors to their functional use.
|
|
6
|
-
*
|
|
7
|
-
* Usage Rules:
|
|
8
|
-
* 1. Semantic colors describe the color itself (e.g., Blue), not its function (e.g., Action)
|
|
9
|
-
* 2. When creating standalone components or designing calculated targets, choose Gray-900 or Blue-500 as base (Primitive Color)
|
|
10
|
-
* 3. Semantic colors must match human visual cognition and brand requirements
|
|
11
|
-
* 4. Semantic colors do not exist in isolation, they must work within the system. For example,
|
|
12
|
-
* on bg-secondary background, prioritize text-secondary pairing to maintain hierarchy
|
|
13
6
|
*/
|
|
14
7
|
export declare const background: {
|
|
15
8
|
readonly light: {
|
|
16
9
|
readonly default: "#ffffff";
|
|
17
10
|
readonly secondary: "#f7f8f9";
|
|
18
|
-
readonly tertiary: "#
|
|
19
|
-
readonly overlay: "#
|
|
20
|
-
readonly disabled: "#
|
|
11
|
+
readonly tertiary: "#eeeff2";
|
|
12
|
+
readonly overlay: "#2a2d3380";
|
|
13
|
+
readonly disabled: "#cfd1d5";
|
|
21
14
|
readonly success: "#e7f7ed";
|
|
22
15
|
readonly error: "#fdecec";
|
|
23
16
|
readonly warning: "#fef7e6";
|
|
24
17
|
readonly brand: "#2e9dff";
|
|
25
18
|
readonly brandSubtle: "#eaf5ff";
|
|
26
|
-
readonly accent: "#
|
|
19
|
+
readonly accent: "#01bda7";
|
|
27
20
|
readonly accent2: "#e77300";
|
|
21
|
+
readonly accent3: "#ef4444";
|
|
22
|
+
readonly inputfield: "#ffffff";
|
|
28
23
|
};
|
|
29
24
|
readonly dark: {
|
|
30
|
-
readonly default: "#
|
|
31
|
-
readonly secondary: "#
|
|
32
|
-
readonly tertiary: "#
|
|
33
|
-
readonly overlay: "#
|
|
34
|
-
readonly disabled: "#
|
|
35
|
-
readonly success: "#
|
|
36
|
-
readonly error: "#
|
|
37
|
-
readonly warning: "#
|
|
25
|
+
readonly default: "#071427";
|
|
26
|
+
readonly secondary: "#101d30";
|
|
27
|
+
readonly tertiary: "#1a3050";
|
|
28
|
+
readonly overlay: "#2a2d33cc";
|
|
29
|
+
readonly disabled: "#828894";
|
|
30
|
+
readonly success: "#e7f7ed";
|
|
31
|
+
readonly error: "#fdecec";
|
|
32
|
+
readonly warning: "#fef7e6";
|
|
38
33
|
readonly brand: "#2e9dff";
|
|
39
|
-
readonly brandSubtle: "#
|
|
40
|
-
readonly accent: "#
|
|
34
|
+
readonly brandSubtle: "#eaf5ff";
|
|
35
|
+
readonly accent: "#01a3af";
|
|
41
36
|
readonly accent2: "#e77300";
|
|
37
|
+
readonly accent3: "#ef4444";
|
|
38
|
+
readonly inputfield: "#071427";
|
|
42
39
|
};
|
|
43
40
|
};
|
|
44
41
|
export declare const text: {
|
|
45
42
|
readonly light: {
|
|
46
|
-
readonly primary: "#
|
|
47
|
-
readonly secondary: "#
|
|
48
|
-
readonly tertiary: "#
|
|
49
|
-
readonly disabled: "#
|
|
50
|
-
readonly placeholder: "#
|
|
43
|
+
readonly primary: "#0f0f0f";
|
|
44
|
+
readonly secondary: "#464b56";
|
|
45
|
+
readonly tertiary: "#828894";
|
|
46
|
+
readonly disabled: "#b7bac1";
|
|
47
|
+
readonly placeholder: "#969ba5";
|
|
51
48
|
readonly success: "#0a9d41";
|
|
52
|
-
readonly error: "#
|
|
53
|
-
readonly warning: "#
|
|
54
|
-
readonly link: "#
|
|
49
|
+
readonly error: "#ef4444";
|
|
50
|
+
readonly warning: "#f0b100";
|
|
51
|
+
readonly link: "#2a8fe8";
|
|
55
52
|
readonly brand: "#2e9dff";
|
|
56
53
|
readonly onBrand: "#ffffff";
|
|
57
|
-
readonly
|
|
54
|
+
readonly accent: "#f8db8a";
|
|
55
|
+
readonly pokerCall: "#01bda7";
|
|
58
56
|
readonly pokerRaise: "#e77300";
|
|
59
57
|
};
|
|
60
58
|
readonly dark: {
|
|
61
59
|
readonly primary: "#ffffff";
|
|
62
|
-
readonly secondary: "#
|
|
63
|
-
readonly tertiary: "#
|
|
64
|
-
readonly disabled: "#
|
|
65
|
-
readonly placeholder: "#
|
|
66
|
-
readonly success: "#
|
|
67
|
-
readonly error: "#
|
|
68
|
-
readonly warning: "#
|
|
69
|
-
readonly link: "#
|
|
70
|
-
readonly brand: "#
|
|
60
|
+
readonly secondary: "#eaecef";
|
|
61
|
+
readonly tertiary: "#d0d2d6";
|
|
62
|
+
readonly disabled: "#5a606e";
|
|
63
|
+
readonly placeholder: "#cfd1d5";
|
|
64
|
+
readonly success: "#0bad47";
|
|
65
|
+
readonly error: "#ef4444";
|
|
66
|
+
readonly warning: "#f0b100";
|
|
67
|
+
readonly link: "#2a8fe8";
|
|
68
|
+
readonly brand: "#2e9dff";
|
|
71
69
|
readonly onBrand: "#ffffff";
|
|
72
|
-
readonly
|
|
70
|
+
readonly accent: "#f8db8a";
|
|
71
|
+
readonly pokerCall: "#34cab9";
|
|
73
72
|
readonly pokerRaise: "#ec8f33";
|
|
74
73
|
};
|
|
75
74
|
};
|
|
76
75
|
export declare const border: {
|
|
77
76
|
readonly light: {
|
|
78
|
-
readonly primary: "#
|
|
79
|
-
readonly subtle: "#
|
|
77
|
+
readonly primary: "#eaecef";
|
|
78
|
+
readonly subtle: "#f7f8f9";
|
|
80
79
|
readonly focus: "#2e9dff";
|
|
81
80
|
readonly success: "#0bad47";
|
|
82
81
|
readonly error: "#ef4444";
|
|
83
82
|
readonly warning: "#f0b100";
|
|
83
|
+
readonly brandSubtle: "#bee1ff";
|
|
84
84
|
};
|
|
85
85
|
readonly dark: {
|
|
86
86
|
readonly primary: "#5a606e";
|
|
87
|
-
readonly subtle: "#
|
|
88
|
-
readonly focus: "#
|
|
89
|
-
readonly success: "#
|
|
90
|
-
readonly error: "#
|
|
91
|
-
readonly warning: "#
|
|
87
|
+
readonly subtle: "#363a43";
|
|
88
|
+
readonly focus: "#2e9dff";
|
|
89
|
+
readonly success: "#0bad47";
|
|
90
|
+
readonly error: "#ef4444";
|
|
91
|
+
readonly warning: "#f0b100";
|
|
92
|
+
readonly brandSubtle: "#2e9dff";
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
export declare const components: {
|
|
96
|
+
readonly button: {
|
|
97
|
+
readonly light: {
|
|
98
|
+
readonly primaryBg: "#2e9dff";
|
|
99
|
+
readonly primaryLabel: "#ffffff";
|
|
100
|
+
readonly secondaryBg: "#eeeff2";
|
|
101
|
+
readonly secondaryLabel: "#464b56";
|
|
102
|
+
readonly outlineBg: "#ffffff";
|
|
103
|
+
readonly outlineBorder: "#eaecef";
|
|
104
|
+
readonly outlineLabel: "#464b56";
|
|
105
|
+
readonly disabledBg: "#cfd1d5";
|
|
106
|
+
readonly disabledLabel: "#b7bac1";
|
|
107
|
+
readonly pokerCallBg: "#01bda7";
|
|
108
|
+
readonly pokerCallLabel: "#ffffff";
|
|
109
|
+
readonly pokerRaiseBg: "#e77300";
|
|
110
|
+
readonly pokerRaiseLabel: "#ffffff";
|
|
111
|
+
readonly warningBg: "#ef4444";
|
|
112
|
+
readonly warningLabel: "#ffffff";
|
|
113
|
+
readonly hoverOverlay: "#0000001a";
|
|
114
|
+
readonly pressedOverlay: "#00000033";
|
|
115
|
+
};
|
|
116
|
+
readonly dark: {
|
|
117
|
+
readonly primaryBg: "#2e9dff";
|
|
118
|
+
readonly primaryLabel: "#ffffff";
|
|
119
|
+
readonly secondaryBg: "#1a3050";
|
|
120
|
+
readonly secondaryLabel: "#eaecef";
|
|
121
|
+
readonly outlineBg: "#071427";
|
|
122
|
+
readonly outlineBorder: "#5a606e";
|
|
123
|
+
readonly outlineLabel: "#eaecef";
|
|
124
|
+
readonly disabledBg: "#828894";
|
|
125
|
+
readonly disabledLabel: "#5a606e";
|
|
126
|
+
readonly pokerCallBg: "#01a3af";
|
|
127
|
+
readonly pokerCallLabel: "#ffffff";
|
|
128
|
+
readonly pokerRaiseBg: "#e77300";
|
|
129
|
+
readonly pokerRaiseLabel: "#ffffff";
|
|
130
|
+
readonly warningBg: "#ef4444";
|
|
131
|
+
readonly warningLabel: "#ffffff";
|
|
132
|
+
readonly hoverOverlay: "#ffffff1a";
|
|
133
|
+
readonly pressedOverlay: "#00000033";
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
readonly pokerCard: {
|
|
137
|
+
readonly bg: "#ffffff";
|
|
138
|
+
readonly bgEmpty: "#6eb3dc80";
|
|
139
|
+
readonly border: "#eaecef";
|
|
140
|
+
readonly club: "#01bda7";
|
|
141
|
+
readonly diamond: "#2e9dff";
|
|
142
|
+
readonly heart: "#ef4444";
|
|
143
|
+
readonly spade: "#464b56";
|
|
92
144
|
};
|
|
93
145
|
};
|
|
94
146
|
export declare const semanticColors: {
|
|
@@ -96,113 +148,148 @@ export declare const semanticColors: {
|
|
|
96
148
|
readonly light: {
|
|
97
149
|
readonly default: "#ffffff";
|
|
98
150
|
readonly secondary: "#f7f8f9";
|
|
99
|
-
readonly tertiary: "#
|
|
100
|
-
readonly overlay: "#
|
|
101
|
-
readonly disabled: "#
|
|
151
|
+
readonly tertiary: "#eeeff2";
|
|
152
|
+
readonly overlay: "#2a2d3380";
|
|
153
|
+
readonly disabled: "#cfd1d5";
|
|
102
154
|
readonly success: "#e7f7ed";
|
|
103
155
|
readonly error: "#fdecec";
|
|
104
156
|
readonly warning: "#fef7e6";
|
|
105
157
|
readonly brand: "#2e9dff";
|
|
106
158
|
readonly brandSubtle: "#eaf5ff";
|
|
107
|
-
readonly accent: "#
|
|
159
|
+
readonly accent: "#01bda7";
|
|
108
160
|
readonly accent2: "#e77300";
|
|
161
|
+
readonly accent3: "#ef4444";
|
|
162
|
+
readonly inputfield: "#ffffff";
|
|
109
163
|
};
|
|
110
164
|
readonly dark: {
|
|
111
|
-
readonly default: "#
|
|
112
|
-
readonly secondary: "#
|
|
113
|
-
readonly tertiary: "#
|
|
114
|
-
readonly overlay: "#
|
|
115
|
-
readonly disabled: "#
|
|
116
|
-
readonly success: "#
|
|
117
|
-
readonly error: "#
|
|
118
|
-
readonly warning: "#
|
|
165
|
+
readonly default: "#071427";
|
|
166
|
+
readonly secondary: "#101d30";
|
|
167
|
+
readonly tertiary: "#1a3050";
|
|
168
|
+
readonly overlay: "#2a2d33cc";
|
|
169
|
+
readonly disabled: "#828894";
|
|
170
|
+
readonly success: "#e7f7ed";
|
|
171
|
+
readonly error: "#fdecec";
|
|
172
|
+
readonly warning: "#fef7e6";
|
|
119
173
|
readonly brand: "#2e9dff";
|
|
120
|
-
readonly brandSubtle: "#
|
|
121
|
-
readonly accent: "#
|
|
174
|
+
readonly brandSubtle: "#eaf5ff";
|
|
175
|
+
readonly accent: "#01a3af";
|
|
122
176
|
readonly accent2: "#e77300";
|
|
177
|
+
readonly accent3: "#ef4444";
|
|
178
|
+
readonly inputfield: "#071427";
|
|
123
179
|
};
|
|
124
180
|
};
|
|
125
181
|
readonly text: {
|
|
126
182
|
readonly light: {
|
|
127
|
-
readonly primary: "#
|
|
128
|
-
readonly secondary: "#
|
|
129
|
-
readonly tertiary: "#
|
|
130
|
-
readonly disabled: "#
|
|
131
|
-
readonly placeholder: "#
|
|
183
|
+
readonly primary: "#0f0f0f";
|
|
184
|
+
readonly secondary: "#464b56";
|
|
185
|
+
readonly tertiary: "#828894";
|
|
186
|
+
readonly disabled: "#b7bac1";
|
|
187
|
+
readonly placeholder: "#969ba5";
|
|
132
188
|
readonly success: "#0a9d41";
|
|
133
|
-
readonly error: "#
|
|
134
|
-
readonly warning: "#
|
|
135
|
-
readonly link: "#
|
|
189
|
+
readonly error: "#ef4444";
|
|
190
|
+
readonly warning: "#f0b100";
|
|
191
|
+
readonly link: "#2a8fe8";
|
|
136
192
|
readonly brand: "#2e9dff";
|
|
137
193
|
readonly onBrand: "#ffffff";
|
|
138
|
-
readonly
|
|
194
|
+
readonly accent: "#f8db8a";
|
|
195
|
+
readonly pokerCall: "#01bda7";
|
|
139
196
|
readonly pokerRaise: "#e77300";
|
|
140
197
|
};
|
|
141
198
|
readonly dark: {
|
|
142
199
|
readonly primary: "#ffffff";
|
|
143
|
-
readonly secondary: "#
|
|
144
|
-
readonly tertiary: "#
|
|
145
|
-
readonly disabled: "#
|
|
146
|
-
readonly placeholder: "#
|
|
147
|
-
readonly success: "#
|
|
148
|
-
readonly error: "#
|
|
149
|
-
readonly warning: "#
|
|
150
|
-
readonly link: "#
|
|
151
|
-
readonly brand: "#
|
|
200
|
+
readonly secondary: "#eaecef";
|
|
201
|
+
readonly tertiary: "#d0d2d6";
|
|
202
|
+
readonly disabled: "#5a606e";
|
|
203
|
+
readonly placeholder: "#cfd1d5";
|
|
204
|
+
readonly success: "#0bad47";
|
|
205
|
+
readonly error: "#ef4444";
|
|
206
|
+
readonly warning: "#f0b100";
|
|
207
|
+
readonly link: "#2a8fe8";
|
|
208
|
+
readonly brand: "#2e9dff";
|
|
152
209
|
readonly onBrand: "#ffffff";
|
|
153
|
-
readonly
|
|
210
|
+
readonly accent: "#f8db8a";
|
|
211
|
+
readonly pokerCall: "#34cab9";
|
|
154
212
|
readonly pokerRaise: "#ec8f33";
|
|
155
213
|
};
|
|
156
214
|
};
|
|
157
215
|
readonly border: {
|
|
158
216
|
readonly light: {
|
|
159
|
-
readonly primary: "#
|
|
160
|
-
readonly subtle: "#
|
|
217
|
+
readonly primary: "#eaecef";
|
|
218
|
+
readonly subtle: "#f7f8f9";
|
|
161
219
|
readonly focus: "#2e9dff";
|
|
162
220
|
readonly success: "#0bad47";
|
|
163
221
|
readonly error: "#ef4444";
|
|
164
222
|
readonly warning: "#f0b100";
|
|
223
|
+
readonly brandSubtle: "#bee1ff";
|
|
165
224
|
};
|
|
166
225
|
readonly dark: {
|
|
167
226
|
readonly primary: "#5a606e";
|
|
168
|
-
readonly subtle: "#
|
|
169
|
-
readonly focus: "#
|
|
170
|
-
readonly success: "#
|
|
171
|
-
readonly error: "#
|
|
172
|
-
readonly warning: "#
|
|
227
|
+
readonly subtle: "#363a43";
|
|
228
|
+
readonly focus: "#2e9dff";
|
|
229
|
+
readonly success: "#0bad47";
|
|
230
|
+
readonly error: "#ef4444";
|
|
231
|
+
readonly warning: "#f0b100";
|
|
232
|
+
readonly brandSubtle: "#2e9dff";
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
readonly components: {
|
|
236
|
+
readonly button: {
|
|
237
|
+
readonly light: {
|
|
238
|
+
readonly primaryBg: "#2e9dff";
|
|
239
|
+
readonly primaryLabel: "#ffffff";
|
|
240
|
+
readonly secondaryBg: "#eeeff2";
|
|
241
|
+
readonly secondaryLabel: "#464b56";
|
|
242
|
+
readonly outlineBg: "#ffffff";
|
|
243
|
+
readonly outlineBorder: "#eaecef";
|
|
244
|
+
readonly outlineLabel: "#464b56";
|
|
245
|
+
readonly disabledBg: "#cfd1d5";
|
|
246
|
+
readonly disabledLabel: "#b7bac1";
|
|
247
|
+
readonly pokerCallBg: "#01bda7";
|
|
248
|
+
readonly pokerCallLabel: "#ffffff";
|
|
249
|
+
readonly pokerRaiseBg: "#e77300";
|
|
250
|
+
readonly pokerRaiseLabel: "#ffffff";
|
|
251
|
+
readonly warningBg: "#ef4444";
|
|
252
|
+
readonly warningLabel: "#ffffff";
|
|
253
|
+
readonly hoverOverlay: "#0000001a";
|
|
254
|
+
readonly pressedOverlay: "#00000033";
|
|
255
|
+
};
|
|
256
|
+
readonly dark: {
|
|
257
|
+
readonly primaryBg: "#2e9dff";
|
|
258
|
+
readonly primaryLabel: "#ffffff";
|
|
259
|
+
readonly secondaryBg: "#1a3050";
|
|
260
|
+
readonly secondaryLabel: "#eaecef";
|
|
261
|
+
readonly outlineBg: "#071427";
|
|
262
|
+
readonly outlineBorder: "#5a606e";
|
|
263
|
+
readonly outlineLabel: "#eaecef";
|
|
264
|
+
readonly disabledBg: "#828894";
|
|
265
|
+
readonly disabledLabel: "#5a606e";
|
|
266
|
+
readonly pokerCallBg: "#01a3af";
|
|
267
|
+
readonly pokerCallLabel: "#ffffff";
|
|
268
|
+
readonly pokerRaiseBg: "#e77300";
|
|
269
|
+
readonly pokerRaiseLabel: "#ffffff";
|
|
270
|
+
readonly warningBg: "#ef4444";
|
|
271
|
+
readonly warningLabel: "#ffffff";
|
|
272
|
+
readonly hoverOverlay: "#ffffff1a";
|
|
273
|
+
readonly pressedOverlay: "#00000033";
|
|
274
|
+
};
|
|
275
|
+
};
|
|
276
|
+
readonly pokerCard: {
|
|
277
|
+
readonly bg: "#ffffff";
|
|
278
|
+
readonly bgEmpty: "#6eb3dc80";
|
|
279
|
+
readonly border: "#eaecef";
|
|
280
|
+
readonly club: "#01bda7";
|
|
281
|
+
readonly diamond: "#2e9dff";
|
|
282
|
+
readonly heart: "#ef4444";
|
|
283
|
+
readonly spade: "#464b56";
|
|
173
284
|
};
|
|
174
285
|
};
|
|
175
286
|
};
|
|
176
287
|
export declare const bgDefault: "#ffffff";
|
|
177
288
|
export declare const bgSecondary: "#f7f8f9";
|
|
178
|
-
export declare const bgTertiary: "#
|
|
179
|
-
export declare const bgOverlay: "#2a2d33";
|
|
180
|
-
export declare const bgDisabled: "#eeeff2";
|
|
181
|
-
export declare const bgSuccess: "#e7f7ed";
|
|
182
|
-
export declare const bgError: "#fdecec";
|
|
183
|
-
export declare const bgWarning: "#fef7e6";
|
|
289
|
+
export declare const bgTertiary: "#eeeff2";
|
|
184
290
|
export declare const bgBrand: "#2e9dff";
|
|
185
|
-
export declare const
|
|
186
|
-
export declare const
|
|
187
|
-
export declare const textPrimary: "#2a2d33";
|
|
188
|
-
export declare const textSecondary: "#5a606e";
|
|
189
|
-
export declare const textTertiary: "#636a79";
|
|
190
|
-
export declare const textDisabled: "#828894";
|
|
191
|
-
export declare const textPlaceholder: "#828894";
|
|
192
|
-
export declare const textSuccess: "#0a9d41";
|
|
193
|
-
export declare const textError: "#d93e3e";
|
|
194
|
-
export declare const textWarning: "#aa7e00";
|
|
195
|
-
export declare const textLink: "#2e9dff";
|
|
196
|
-
export declare const textBrand: "#2e9dff";
|
|
291
|
+
export declare const textPrimary: "#0f0f0f";
|
|
292
|
+
export declare const textSecondary: "#464b56";
|
|
197
293
|
export declare const textOnBrand: "#ffffff";
|
|
198
|
-
export declare const borderPrimary: "#969ba5";
|
|
199
|
-
export declare const borderSubtle: "#b7bac1";
|
|
200
|
-
export declare const borderFocus: "#2e9dff";
|
|
201
|
-
export declare const borderSuccess: "#0bad47";
|
|
202
|
-
export declare const borderError: "#ef4444";
|
|
203
|
-
export declare const borderWarning: "#f0b100";
|
|
204
|
-
export type BackgroundColor = keyof typeof background.light;
|
|
205
|
-
export type TextColor = keyof typeof text.light;
|
|
206
|
-
export type BorderColor = keyof typeof border.light;
|
|
207
294
|
export type ThemeMode = 'light' | 'dark';
|
|
208
295
|
export type SemanticColors = typeof semanticColors;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Water Design System - Spacing & Radius Tokens
|
|
3
|
+
*
|
|
4
|
+
* Extracted from Figma Water Design System
|
|
5
|
+
* Units are in rem (1rem = 16px)
|
|
6
|
+
*/
|
|
7
|
+
export declare const spacing: {
|
|
8
|
+
readonly p0: "0rem";
|
|
9
|
+
readonly p1: "0.25rem";
|
|
10
|
+
readonly p2: "0.5rem";
|
|
11
|
+
readonly p3: "0.75rem";
|
|
12
|
+
readonly p4: "1rem";
|
|
13
|
+
readonly p5: "1.25rem";
|
|
14
|
+
readonly p6: "1.5rem";
|
|
15
|
+
readonly p7: "1.75rem";
|
|
16
|
+
readonly p8: "2rem";
|
|
17
|
+
readonly p9: "2.25rem";
|
|
18
|
+
readonly p10: "2.5rem";
|
|
19
|
+
readonly p11: "2.75rem";
|
|
20
|
+
readonly p12: "3rem";
|
|
21
|
+
};
|
|
22
|
+
export declare const radius: {
|
|
23
|
+
readonly xs: "0.25rem";
|
|
24
|
+
readonly sm: "0.5rem";
|
|
25
|
+
readonly md: "0.75rem";
|
|
26
|
+
readonly lg: "1rem";
|
|
27
|
+
readonly xl: "1.75rem";
|
|
28
|
+
readonly rounded: "624.9375rem";
|
|
29
|
+
};
|
|
30
|
+
export declare const spacingTokens: {
|
|
31
|
+
readonly spacing: {
|
|
32
|
+
readonly p0: "0rem";
|
|
33
|
+
readonly p1: "0.25rem";
|
|
34
|
+
readonly p2: "0.5rem";
|
|
35
|
+
readonly p3: "0.75rem";
|
|
36
|
+
readonly p4: "1rem";
|
|
37
|
+
readonly p5: "1.25rem";
|
|
38
|
+
readonly p6: "1.5rem";
|
|
39
|
+
readonly p7: "1.75rem";
|
|
40
|
+
readonly p8: "2rem";
|
|
41
|
+
readonly p9: "2.25rem";
|
|
42
|
+
readonly p10: "2.5rem";
|
|
43
|
+
readonly p11: "2.75rem";
|
|
44
|
+
readonly p12: "3rem";
|
|
45
|
+
};
|
|
46
|
+
readonly radius: {
|
|
47
|
+
readonly xs: "0.25rem";
|
|
48
|
+
readonly sm: "0.5rem";
|
|
49
|
+
readonly md: "0.75rem";
|
|
50
|
+
readonly lg: "1rem";
|
|
51
|
+
readonly xl: "1.75rem";
|
|
52
|
+
readonly rounded: "624.9375rem";
|
|
53
|
+
};
|
|
54
|
+
};
|