@reshape-biotech/design-system 1.2.5 → 1.2.6
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/components/icons/index.d.ts +3 -2
- package/dist/components/icons/index.js +2 -0
- package/dist/components/manual-cfu-counter/ManualCFUCounter.svelte +9 -17
- package/dist/components/multi-cfu-counter/MultiCFUCounter.stories.svelte +215 -0
- package/dist/components/multi-cfu-counter/MultiCFUCounter.stories.svelte.d.ts +3 -0
- package/dist/components/multi-cfu-counter/MultiCFUCounter.svelte +662 -0
- package/dist/components/multi-cfu-counter/MultiCFUCounter.svelte.d.ts +32 -0
- package/dist/components/multi-cfu-counter/index.d.ts +1 -0
- package/dist/components/multi-cfu-counter/index.js +1 -0
- package/dist/components/multi-cfu-counter/test/MultiCFUCounterTestWrapper.svelte +28 -0
- package/dist/components/multi-cfu-counter/test/MultiCFUCounterTestWrapper.svelte.d.ts +20 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.js +5 -1
- package/dist/styles.d.ts +1 -0
- package/dist/styles.js +4 -0
- package/dist/tailwind-safelist.js +10 -2
- package/dist/tailwind.preset.d.ts +4 -0
- package/dist/tokens/colors.d.ts +246 -0
- package/dist/tokens/colors.js +139 -0
- package/dist/tokens/index.d.ts +3 -0
- package/dist/tokens/index.js +5 -0
- package/dist/tokens/typography.d.ts +48 -0
- package/dist/tokens/typography.js +48 -0
- package/dist/tokens.d.ts +16 -252
- package/dist/tokens.js +14 -145
- package/package.json +397 -78
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<!-- src/lib/design-system/src/lib/components/manual-cfu-counter/ManualCFUCounterTestWrapper.svelte -->
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
import MultiCFUCounter from '../MultiCFUCounter.svelte';
|
|
4
|
+
|
|
5
|
+
interface Props {
|
|
6
|
+
initialTestMarks?: Array<{ x: number; y: number }>;
|
|
7
|
+
imageUrl?: string;
|
|
8
|
+
onclick?: (event: MouseEvent, marks: Array<{ x: number; y: number }>) => void;
|
|
9
|
+
activeMarkerName?: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
let {
|
|
13
|
+
initialTestMarks = [],
|
|
14
|
+
imageUrl = 'test-image.jpg',
|
|
15
|
+
onclick,
|
|
16
|
+
activeMarkerName = 'Test Marker'
|
|
17
|
+
}: Props = $props();
|
|
18
|
+
|
|
19
|
+
let marks = $state([...initialTestMarks]);
|
|
20
|
+
|
|
21
|
+
export function getCurrentMarks() {
|
|
22
|
+
return marks;
|
|
23
|
+
}
|
|
24
|
+
</script>
|
|
25
|
+
|
|
26
|
+
<MultiCFUCounter bind:marks {imageUrl} {onclick} {activeMarkerName} />
|
|
27
|
+
|
|
28
|
+
<span data-testid="wrapper-marks-count" class="sr-only">{marks.length}</span>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
initialTestMarks?: Array<{
|
|
3
|
+
x: number;
|
|
4
|
+
y: number;
|
|
5
|
+
}>;
|
|
6
|
+
imageUrl?: string;
|
|
7
|
+
onclick?: (event: MouseEvent, marks: Array<{
|
|
8
|
+
x: number;
|
|
9
|
+
y: number;
|
|
10
|
+
}>) => void;
|
|
11
|
+
activeMarkerName?: string;
|
|
12
|
+
}
|
|
13
|
+
declare const MultiCfuCounterTestWrapper: import("svelte").Component<Props, {
|
|
14
|
+
getCurrentMarks: () => {
|
|
15
|
+
x: number;
|
|
16
|
+
y: number;
|
|
17
|
+
}[];
|
|
18
|
+
}, "">;
|
|
19
|
+
type MultiCfuCounterTestWrapper = ReturnType<typeof MultiCfuCounterTestWrapper>;
|
|
20
|
+
export default MultiCfuCounterTestWrapper;
|
package/dist/index.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export * from './components/logo/';
|
|
|
21
21
|
export * from './components/markdown/';
|
|
22
22
|
export * from './components/modal/';
|
|
23
23
|
export * from './components/manual-cfu-counter/';
|
|
24
|
+
export * from './components/multi-cfu-counter/';
|
|
24
25
|
export * from './components/notification-popup/';
|
|
25
26
|
export * from './components/notifications/';
|
|
26
27
|
export * from './components/pill/';
|
|
@@ -47,4 +48,6 @@ export * from './components/checkbox/';
|
|
|
47
48
|
export * from './components/sjsf-wrappers/';
|
|
48
49
|
export { tokens } from './tokens';
|
|
49
50
|
export { notifications } from './notifications';
|
|
50
|
-
|
|
51
|
+
export { colors, borderColor, textColor, backgroundColor, boxShadow, outlineColor } from './tokens';
|
|
52
|
+
export * as TokensColors from './tokens/colors';
|
|
53
|
+
export * as TokensTypography from './tokens/typography';
|
package/dist/index.js
CHANGED
|
@@ -22,6 +22,7 @@ export * from './components/logo/';
|
|
|
22
22
|
export * from './components/markdown/';
|
|
23
23
|
export * from './components/modal/';
|
|
24
24
|
export * from './components/manual-cfu-counter/';
|
|
25
|
+
export * from './components/multi-cfu-counter/';
|
|
25
26
|
export * from './components/notification-popup/';
|
|
26
27
|
export * from './components/notifications/';
|
|
27
28
|
export * from './components/pill/';
|
|
@@ -49,4 +50,7 @@ export * from './components/sjsf-wrappers/';
|
|
|
49
50
|
// Styles and Tokens
|
|
50
51
|
export { tokens } from './tokens';
|
|
51
52
|
export { notifications } from './notifications';
|
|
52
|
-
|
|
53
|
+
export { colors, borderColor, textColor, backgroundColor, boxShadow, outlineColor } from './tokens';
|
|
54
|
+
// Export tokens modules for granular imports
|
|
55
|
+
export * as TokensColors from './tokens/colors';
|
|
56
|
+
export * as TokensTypography from './tokens/typography';
|
package/dist/styles.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './app.css';
|
package/dist/styles.js
ADDED
|
@@ -58,6 +58,7 @@ export const backgroundColors = [
|
|
|
58
58
|
'bg-danger-inverse-hover',
|
|
59
59
|
'bg-blue',
|
|
60
60
|
'bg-blue-hover',
|
|
61
|
+
'bg-blue-inverse',
|
|
61
62
|
'bg-orange',
|
|
62
63
|
'bg-orange-hover',
|
|
63
64
|
'bg-orange-inverse',
|
|
@@ -65,7 +66,9 @@ export const backgroundColors = [
|
|
|
65
66
|
'bg-sky',
|
|
66
67
|
'bg-sky-hover',
|
|
67
68
|
'bg-sky-inverse',
|
|
68
|
-
'bg-sky-inverse-hover'
|
|
69
|
+
'bg-sky-inverse-hover',
|
|
70
|
+
'bg-pink-inverse',
|
|
71
|
+
'bg-lime-inverse'
|
|
69
72
|
];
|
|
70
73
|
|
|
71
74
|
export const borders = [
|
|
@@ -75,7 +78,12 @@ export const borders = [
|
|
|
75
78
|
'border-focus',
|
|
76
79
|
'border-danger',
|
|
77
80
|
'border-input',
|
|
78
|
-
'border-transparent'
|
|
81
|
+
'border-transparent',
|
|
82
|
+
'border-blue-inverse',
|
|
83
|
+
'border-orange-inverse',
|
|
84
|
+
'border-pink-inverse',
|
|
85
|
+
'border-lime-inverse',
|
|
86
|
+
'border-neutral-light'
|
|
79
87
|
];
|
|
80
88
|
|
|
81
89
|
export const shadows = [
|
|
@@ -366,6 +366,10 @@ declare const config: {
|
|
|
366
366
|
danger: string;
|
|
367
367
|
'static-inverse': string;
|
|
368
368
|
'interactive-inverse': string;
|
|
369
|
+
'blue-inverse': string;
|
|
370
|
+
'orange-inverse': string;
|
|
371
|
+
'pink-inverse': string;
|
|
372
|
+
'lime-inverse': string;
|
|
369
373
|
white: string;
|
|
370
374
|
axis: string;
|
|
371
375
|
};
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
export declare const colors: {
|
|
2
|
+
base: {
|
|
3
|
+
mist: string;
|
|
4
|
+
snow: string;
|
|
5
|
+
white: {
|
|
6
|
+
default: string;
|
|
7
|
+
5: string;
|
|
8
|
+
10: string;
|
|
9
|
+
15: string;
|
|
10
|
+
25: string;
|
|
11
|
+
50: string;
|
|
12
|
+
70: string;
|
|
13
|
+
90: string;
|
|
14
|
+
};
|
|
15
|
+
midnight: {
|
|
16
|
+
default: string;
|
|
17
|
+
5: string;
|
|
18
|
+
8: string;
|
|
19
|
+
10: string;
|
|
20
|
+
15: string;
|
|
21
|
+
25: string;
|
|
22
|
+
50: string;
|
|
23
|
+
70: string;
|
|
24
|
+
90: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
gray: {
|
|
28
|
+
1: string;
|
|
29
|
+
2: string;
|
|
30
|
+
3: string;
|
|
31
|
+
4: string;
|
|
32
|
+
5: string;
|
|
33
|
+
6: string;
|
|
34
|
+
};
|
|
35
|
+
periwinkle: {
|
|
36
|
+
1: string;
|
|
37
|
+
2: string;
|
|
38
|
+
3: {
|
|
39
|
+
default: string;
|
|
40
|
+
10: string;
|
|
41
|
+
25: string;
|
|
42
|
+
50: string;
|
|
43
|
+
75: string;
|
|
44
|
+
};
|
|
45
|
+
4: {
|
|
46
|
+
default: string;
|
|
47
|
+
10: string;
|
|
48
|
+
25: string;
|
|
49
|
+
50: string;
|
|
50
|
+
75: string;
|
|
51
|
+
};
|
|
52
|
+
5: {
|
|
53
|
+
default: string;
|
|
54
|
+
10: string;
|
|
55
|
+
25: string;
|
|
56
|
+
50: string;
|
|
57
|
+
75: string;
|
|
58
|
+
};
|
|
59
|
+
6: string;
|
|
60
|
+
};
|
|
61
|
+
orange: {
|
|
62
|
+
1: string;
|
|
63
|
+
2: string;
|
|
64
|
+
3: string;
|
|
65
|
+
4: {
|
|
66
|
+
default: string;
|
|
67
|
+
10: string;
|
|
68
|
+
25: string;
|
|
69
|
+
};
|
|
70
|
+
5: {
|
|
71
|
+
default: string;
|
|
72
|
+
10: string;
|
|
73
|
+
25: string;
|
|
74
|
+
};
|
|
75
|
+
6: string;
|
|
76
|
+
};
|
|
77
|
+
sky: {
|
|
78
|
+
1: string;
|
|
79
|
+
2: string;
|
|
80
|
+
3: string;
|
|
81
|
+
4: {
|
|
82
|
+
default: string;
|
|
83
|
+
10: string;
|
|
84
|
+
25: string;
|
|
85
|
+
};
|
|
86
|
+
5: {
|
|
87
|
+
default: string;
|
|
88
|
+
10: string;
|
|
89
|
+
25: string;
|
|
90
|
+
};
|
|
91
|
+
6: string;
|
|
92
|
+
};
|
|
93
|
+
blue: {
|
|
94
|
+
1: string;
|
|
95
|
+
2: string;
|
|
96
|
+
3: string;
|
|
97
|
+
4: {
|
|
98
|
+
default: string;
|
|
99
|
+
10: string;
|
|
100
|
+
25: string;
|
|
101
|
+
};
|
|
102
|
+
5: {
|
|
103
|
+
default: string;
|
|
104
|
+
10: string;
|
|
105
|
+
25: string;
|
|
106
|
+
};
|
|
107
|
+
6: string;
|
|
108
|
+
};
|
|
109
|
+
green: {
|
|
110
|
+
1: string;
|
|
111
|
+
2: string;
|
|
112
|
+
3: string;
|
|
113
|
+
4: {
|
|
114
|
+
default: string;
|
|
115
|
+
10: string;
|
|
116
|
+
25: string;
|
|
117
|
+
};
|
|
118
|
+
5: {
|
|
119
|
+
default: string;
|
|
120
|
+
5: string;
|
|
121
|
+
10: string;
|
|
122
|
+
25: string;
|
|
123
|
+
};
|
|
124
|
+
6: string;
|
|
125
|
+
};
|
|
126
|
+
yellow: {
|
|
127
|
+
1: string;
|
|
128
|
+
2: string;
|
|
129
|
+
3: string;
|
|
130
|
+
4: {
|
|
131
|
+
default: string;
|
|
132
|
+
10: string;
|
|
133
|
+
25: string;
|
|
134
|
+
};
|
|
135
|
+
5: {
|
|
136
|
+
default: string;
|
|
137
|
+
10: string;
|
|
138
|
+
25: string;
|
|
139
|
+
};
|
|
140
|
+
6: string;
|
|
141
|
+
};
|
|
142
|
+
red: {
|
|
143
|
+
1: string;
|
|
144
|
+
2: string;
|
|
145
|
+
3: string;
|
|
146
|
+
4: {
|
|
147
|
+
default: string;
|
|
148
|
+
10: string;
|
|
149
|
+
25: string;
|
|
150
|
+
};
|
|
151
|
+
5: {
|
|
152
|
+
default: string;
|
|
153
|
+
10: string;
|
|
154
|
+
25: string;
|
|
155
|
+
};
|
|
156
|
+
6: string;
|
|
157
|
+
};
|
|
158
|
+
shadow: {
|
|
159
|
+
2: string;
|
|
160
|
+
4: string;
|
|
161
|
+
6: string;
|
|
162
|
+
8: string;
|
|
163
|
+
12: string;
|
|
164
|
+
16: string;
|
|
165
|
+
};
|
|
166
|
+
pink: {
|
|
167
|
+
1: string;
|
|
168
|
+
2: string;
|
|
169
|
+
3: string;
|
|
170
|
+
4: {
|
|
171
|
+
default: string;
|
|
172
|
+
10: string;
|
|
173
|
+
25: string;
|
|
174
|
+
};
|
|
175
|
+
5: {
|
|
176
|
+
default: string;
|
|
177
|
+
10: string;
|
|
178
|
+
25: string;
|
|
179
|
+
};
|
|
180
|
+
6: string;
|
|
181
|
+
};
|
|
182
|
+
plum: {
|
|
183
|
+
1: string;
|
|
184
|
+
2: string;
|
|
185
|
+
3: string;
|
|
186
|
+
4: {
|
|
187
|
+
default: string;
|
|
188
|
+
10: string;
|
|
189
|
+
25: string;
|
|
190
|
+
};
|
|
191
|
+
5: {
|
|
192
|
+
default: string;
|
|
193
|
+
10: string;
|
|
194
|
+
25: string;
|
|
195
|
+
};
|
|
196
|
+
6: string;
|
|
197
|
+
};
|
|
198
|
+
lilac: {
|
|
199
|
+
1: string;
|
|
200
|
+
2: string;
|
|
201
|
+
3: string;
|
|
202
|
+
4: {
|
|
203
|
+
default: string;
|
|
204
|
+
10: string;
|
|
205
|
+
25: string;
|
|
206
|
+
};
|
|
207
|
+
5: {
|
|
208
|
+
default: string;
|
|
209
|
+
10: string;
|
|
210
|
+
25: string;
|
|
211
|
+
};
|
|
212
|
+
6: string;
|
|
213
|
+
};
|
|
214
|
+
lime: {
|
|
215
|
+
1: string;
|
|
216
|
+
2: string;
|
|
217
|
+
3: string;
|
|
218
|
+
4: {
|
|
219
|
+
default: string;
|
|
220
|
+
10: string;
|
|
221
|
+
25: string;
|
|
222
|
+
};
|
|
223
|
+
5: {
|
|
224
|
+
default: string;
|
|
225
|
+
10: string;
|
|
226
|
+
25: string;
|
|
227
|
+
};
|
|
228
|
+
6: string;
|
|
229
|
+
};
|
|
230
|
+
pear: {
|
|
231
|
+
1: string;
|
|
232
|
+
2: string;
|
|
233
|
+
3: string;
|
|
234
|
+
4: {
|
|
235
|
+
default: string;
|
|
236
|
+
10: string;
|
|
237
|
+
25: string;
|
|
238
|
+
};
|
|
239
|
+
5: {
|
|
240
|
+
default: string;
|
|
241
|
+
10: string;
|
|
242
|
+
25: string;
|
|
243
|
+
};
|
|
244
|
+
6: string;
|
|
245
|
+
};
|
|
246
|
+
};
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
export const colors = {
|
|
2
|
+
base: {
|
|
3
|
+
mist: '#fbfbfb',
|
|
4
|
+
snow: '#f6f7f7',
|
|
5
|
+
white: {
|
|
6
|
+
default: '#FFFFFF',
|
|
7
|
+
5: '#FFFFFF0D',
|
|
8
|
+
10: '#FFFFFF1A',
|
|
9
|
+
15: '#FFFFFF26',
|
|
10
|
+
25: '#FFFFFF40',
|
|
11
|
+
50: '#FFFFFF80',
|
|
12
|
+
70: '#FFFFFFB3',
|
|
13
|
+
90: '#FFFFFFE6'
|
|
14
|
+
},
|
|
15
|
+
midnight: {
|
|
16
|
+
default: '#12192a',
|
|
17
|
+
5: '#12192a0A',
|
|
18
|
+
8: '#12192a14',
|
|
19
|
+
10: '#12192A1A',
|
|
20
|
+
15: '#12192A26',
|
|
21
|
+
25: '#12192A40',
|
|
22
|
+
50: '#12192A80',
|
|
23
|
+
70: '#12192AB3',
|
|
24
|
+
90: '#12192AE6'
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
gray: {
|
|
28
|
+
1: '#ecedee',
|
|
29
|
+
2: '#dbdddf',
|
|
30
|
+
3: '#c4c6ca',
|
|
31
|
+
4: '#888c94',
|
|
32
|
+
5: '#595e6a',
|
|
33
|
+
6: '#2A303F'
|
|
34
|
+
},
|
|
35
|
+
periwinkle: {
|
|
36
|
+
1: '#eeeefd',
|
|
37
|
+
2: '#cbc9fa',
|
|
38
|
+
3: { default: '#8e8af4', 10: '#8e8af41A', 25: '#8e8af440', 50: '#8e8af480', 75: '#8e8af4BF' },
|
|
39
|
+
4: { default: '#7973f1', 10: '#7973f11A', 25: '#7973f140', 50: '#7973f180', 75: '#7973f1BF' },
|
|
40
|
+
5: { default: '#5750ee', 10: '#5750ee1A', 25: '#5750ee40', 50: '#5750ee80', 75: '#5750eeBF' },
|
|
41
|
+
6: '#4741c1'
|
|
42
|
+
},
|
|
43
|
+
orange: {
|
|
44
|
+
1: '#fff2e6',
|
|
45
|
+
2: '#ffd6b0',
|
|
46
|
+
3: '#ffa654',
|
|
47
|
+
4: { default: '#ff9533', 10: '#ff95331A', 25: '#ff953340' },
|
|
48
|
+
5: { default: '#ff7a00', 10: '#ff7a001A', 25: '#ff7a0040' },
|
|
49
|
+
6: '#cf6300'
|
|
50
|
+
},
|
|
51
|
+
sky: {
|
|
52
|
+
1: '#f3fafc',
|
|
53
|
+
2: '#D2F0F6',
|
|
54
|
+
3: '#89D8E6',
|
|
55
|
+
4: { default: '#65CCDF', 10: '#65CCDF1A', 25: '#65CCDF40' },
|
|
56
|
+
5: { default: '#43C1D8', 10: '#43C1D81A', 25: '#43C1D840' },
|
|
57
|
+
6: '#3597a9'
|
|
58
|
+
},
|
|
59
|
+
blue: {
|
|
60
|
+
1: '#e8f4fe',
|
|
61
|
+
2: '#b8defd',
|
|
62
|
+
3: '#66b8fb',
|
|
63
|
+
4: { default: '#49aafa', 10: '#49aafa1A', 25: '#49aafa40' },
|
|
64
|
+
5: { default: '#1b95f9', 10: '#1b95f91A', 25: '#1b95f940' },
|
|
65
|
+
6: '#146db6'
|
|
66
|
+
},
|
|
67
|
+
green: {
|
|
68
|
+
1: '#e7f7f1',
|
|
69
|
+
2: '#c4ebdc',
|
|
70
|
+
3: '#65cba4',
|
|
71
|
+
4: { default: '#36bc88', 10: '#36bc881A', 25: '#36bc8840' },
|
|
72
|
+
5: { default: '#0aad6e', 5: '#0aad6e0D', 10: '#0aad6e1A', 25: '#0aad6e40' },
|
|
73
|
+
6: '#088756'
|
|
74
|
+
},
|
|
75
|
+
yellow: {
|
|
76
|
+
1: '#fff8e9',
|
|
77
|
+
2: '#feeabb',
|
|
78
|
+
3: '#fed16c',
|
|
79
|
+
4: { default: '#fdc850', 10: '#fdc8501A', 25: '#fdc85040' },
|
|
80
|
+
5: { default: '#f1b123', 10: '#f1b1231A', 25: '#f1b12340' },
|
|
81
|
+
6: '#cc951e'
|
|
82
|
+
},
|
|
83
|
+
red: {
|
|
84
|
+
1: '#fdeded',
|
|
85
|
+
2: '#f9c6c6',
|
|
86
|
+
3: '#f28384',
|
|
87
|
+
4: { default: '#ef6b6c', 10: '#ef6b6c1A', 25: '#ef6b6c40' },
|
|
88
|
+
5: { default: '#eb4647', 10: '#eb46471A', 25: '#eb464740' },
|
|
89
|
+
6: '#bf393a'
|
|
90
|
+
},
|
|
91
|
+
shadow: {
|
|
92
|
+
2: 'rgba(18, 25, 42, 0.02)',
|
|
93
|
+
4: 'rgba(18, 25, 42, 0.04)',
|
|
94
|
+
6: 'rgba(18, 25, 42, 0.06)',
|
|
95
|
+
8: 'rgba(18, 25, 42, 0.08)',
|
|
96
|
+
12: 'rgba(18, 25, 42, 0.12)',
|
|
97
|
+
16: 'rgba(18, 25, 42, 0.16)'
|
|
98
|
+
},
|
|
99
|
+
pink: {
|
|
100
|
+
1: '#fdedf4',
|
|
101
|
+
2: '#f9c6dd',
|
|
102
|
+
3: '#f284b6',
|
|
103
|
+
4: { default: '#f06da8', 10: '#f06da81A', 25: '#f06da840' },
|
|
104
|
+
5: { default: '#ec4892', 10: '#ec48921A', 25: '#ec489240' },
|
|
105
|
+
6: '#bf3b77'
|
|
106
|
+
},
|
|
107
|
+
plum: {
|
|
108
|
+
1: '#f9edf8',
|
|
109
|
+
2: '#ecc6ea',
|
|
110
|
+
3: '#d583d2',
|
|
111
|
+
4: { default: '#cd6bc9', 10: '#cd6bc91A', 25: '#cd6bc940' },
|
|
112
|
+
5: { default: '#c146bc', 10: '#c146bc1A', 25: '#c146bc40' },
|
|
113
|
+
6: '#9d3998'
|
|
114
|
+
},
|
|
115
|
+
lilac: {
|
|
116
|
+
1: '#f5ecfd',
|
|
117
|
+
2: '#dfc5f7',
|
|
118
|
+
3: '#b982ee',
|
|
119
|
+
4: { default: '#ac69eb', 10: '#ac69eb1A', 25: '#ac69eb40' },
|
|
120
|
+
5: { default: '#9744e6', 10: '#9744e61A', 25: '#9744e640' },
|
|
121
|
+
6: '#7a37ba'
|
|
122
|
+
},
|
|
123
|
+
lime: {
|
|
124
|
+
1: '#f2f8e8',
|
|
125
|
+
2: '#d5eab6',
|
|
126
|
+
3: '#a5d162',
|
|
127
|
+
4: { default: '#93c843', 10: '#93c8431A', 25: '#93c84340' },
|
|
128
|
+
5: { default: '#78ba14', 10: '#78ba141A', 25: '#78ba1440' },
|
|
129
|
+
6: '#619710'
|
|
130
|
+
},
|
|
131
|
+
pear: {
|
|
132
|
+
1: '#f8f8e7',
|
|
133
|
+
2: '#e9eab6',
|
|
134
|
+
3: '#cfd161',
|
|
135
|
+
4: { default: '#c6c842', 10: '#c6c8421A', 25: '#c6c84240' },
|
|
136
|
+
5: { default: '#b8ba13', 10: '#b8ba131A', 25: '#b8ba1340' },
|
|
137
|
+
6: '#95970F'
|
|
138
|
+
}
|
|
139
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export declare const typography: {
|
|
2
|
+
fontFamily: {
|
|
3
|
+
sans: string[];
|
|
4
|
+
mono: string[];
|
|
5
|
+
};
|
|
6
|
+
fontSize: {
|
|
7
|
+
xs: string;
|
|
8
|
+
sm: string;
|
|
9
|
+
base: string;
|
|
10
|
+
lg: string;
|
|
11
|
+
xl: string;
|
|
12
|
+
'2xl': string;
|
|
13
|
+
'3xl': string;
|
|
14
|
+
'4xl': string;
|
|
15
|
+
'5xl': string;
|
|
16
|
+
'6xl': string;
|
|
17
|
+
'7xl': string;
|
|
18
|
+
'8xl': string;
|
|
19
|
+
'9xl': string;
|
|
20
|
+
};
|
|
21
|
+
fontWeight: {
|
|
22
|
+
thin: string;
|
|
23
|
+
extralight: string;
|
|
24
|
+
light: string;
|
|
25
|
+
normal: string;
|
|
26
|
+
medium: string;
|
|
27
|
+
semibold: string;
|
|
28
|
+
bold: string;
|
|
29
|
+
extrabold: string;
|
|
30
|
+
black: string;
|
|
31
|
+
};
|
|
32
|
+
lineHeight: {
|
|
33
|
+
none: string;
|
|
34
|
+
tight: string;
|
|
35
|
+
snug: string;
|
|
36
|
+
normal: string;
|
|
37
|
+
relaxed: string;
|
|
38
|
+
loose: string;
|
|
39
|
+
};
|
|
40
|
+
letterSpacing: {
|
|
41
|
+
tighter: string;
|
|
42
|
+
tight: string;
|
|
43
|
+
normal: string;
|
|
44
|
+
wide: string;
|
|
45
|
+
wider: string;
|
|
46
|
+
widest: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export const typography = {
|
|
2
|
+
fontFamily: {
|
|
3
|
+
sans: ['Inter', 'system-ui', 'sans-serif'],
|
|
4
|
+
mono: ['JetBrains Mono', 'Consolas', 'Monaco', 'monospace']
|
|
5
|
+
},
|
|
6
|
+
fontSize: {
|
|
7
|
+
xs: '0.75rem', // 12px
|
|
8
|
+
sm: '0.875rem', // 14px
|
|
9
|
+
base: '1rem', // 16px
|
|
10
|
+
lg: '1.125rem', // 18px
|
|
11
|
+
xl: '1.25rem', // 20px
|
|
12
|
+
'2xl': '1.5rem', // 24px
|
|
13
|
+
'3xl': '1.875rem', // 30px
|
|
14
|
+
'4xl': '2.25rem', // 36px
|
|
15
|
+
'5xl': '3rem', // 48px
|
|
16
|
+
'6xl': '3.75rem', // 60px
|
|
17
|
+
'7xl': '4.5rem', // 72px
|
|
18
|
+
'8xl': '6rem', // 96px
|
|
19
|
+
'9xl': '8rem' // 128px
|
|
20
|
+
},
|
|
21
|
+
fontWeight: {
|
|
22
|
+
thin: '100',
|
|
23
|
+
extralight: '200',
|
|
24
|
+
light: '300',
|
|
25
|
+
normal: '400',
|
|
26
|
+
medium: '500',
|
|
27
|
+
semibold: '600',
|
|
28
|
+
bold: '700',
|
|
29
|
+
extrabold: '800',
|
|
30
|
+
black: '900'
|
|
31
|
+
},
|
|
32
|
+
lineHeight: {
|
|
33
|
+
none: '1',
|
|
34
|
+
tight: '1.25',
|
|
35
|
+
snug: '1.375',
|
|
36
|
+
normal: '1.5',
|
|
37
|
+
relaxed: '1.625',
|
|
38
|
+
loose: '2'
|
|
39
|
+
},
|
|
40
|
+
letterSpacing: {
|
|
41
|
+
tighter: '-0.05em',
|
|
42
|
+
tight: '-0.025em',
|
|
43
|
+
normal: '0em',
|
|
44
|
+
wide: '0.025em',
|
|
45
|
+
wider: '0.05em',
|
|
46
|
+
widest: '0.1em'
|
|
47
|
+
}
|
|
48
|
+
};
|