@esds-sangam/tokens 1.0.4 → 1.1.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.
@@ -1,25 +1,21 @@
1
1
  {
2
2
  "surface": {
3
3
  "primary": "neutral.50",
4
- "secondary": "neutral.100",
5
- "tertiary": "neutral.200"
4
+ "secondary": "ivory.600",
5
+ "tertiary": "ivory.700"
6
6
  },
7
7
  "background": {
8
8
  "neutral": {
9
9
  "primary": "neutral.50",
10
- "secondary": "neutral.100",
11
- "tertiary": "neutral.200",
12
- "disabled": "neutral.200"
13
- },
14
- "neutral-inverse": {
15
- "primary": "neutral.1100",
16
- "secondary": "neutral.800",
17
- "tertiary": "neutral.400"
10
+ "black": "neutral.1100",
11
+ "secondary": "ivory.500",
12
+ "disabled": "neutral.200",
13
+ "tertiary": "ivory.700"
18
14
  },
19
15
  "primary": {
20
- "subtle": "blue.100",
21
- "default": "blue.600",
22
- "hover": "blue.800"
16
+ "subtle": "orange.100",
17
+ "default": "orange.700",
18
+ "hover": "orange.800"
23
19
  },
24
20
  "success": {
25
21
  "subtle": "green.200",
@@ -27,9 +23,9 @@
27
23
  "hover": "green.900"
28
24
  },
29
25
  "warning": {
30
- "subtle": "orange.200",
31
- "default": "orange.600",
32
- "hover": "orange.700"
26
+ "subtle": "yellow.200",
27
+ "default": "yellow.600",
28
+ "hover": "yellow.700"
33
29
  },
34
30
  "error": {
35
31
  "subtle": "red.200",
@@ -40,17 +36,13 @@
40
36
  "text": {
41
37
  "neutral": {
42
38
  "primary": "neutral.1100",
39
+ "white": "neutral.50",
43
40
  "secondary": "neutral.800",
44
41
  "tertiary": "neutral.600",
45
42
  "disabled": "neutral.500"
46
43
  },
47
- "neutral-inverse": {
48
- "primary": "neutral.50",
49
- "secondary": "neutral.50",
50
- "tertiary": "neutral.1100"
51
- },
52
44
  "primary": {
53
- "subtle": "blue.600",
45
+ "subtle": "orange.600",
54
46
  "default": "neutral.50",
55
47
  "hover": "neutral.50"
56
48
  },
@@ -60,7 +52,7 @@
60
52
  "hover": "neutral.50"
61
53
  },
62
54
  "warning": {
63
- "subtle": "orange.800",
55
+ "subtle": "yellow.800",
64
56
  "default": "neutral.1100",
65
57
  "hover": "neutral.1100"
66
58
  },
@@ -73,17 +65,13 @@
73
65
  "icon": {
74
66
  "neutral": {
75
67
  "primary": "neutral.1100",
68
+ "white": "neutral.50",
76
69
  "secondary": "neutral.800",
77
70
  "tertiary": "neutral.600",
78
71
  "disabled": "neutral.500"
79
72
  },
80
- "neutral-inverse": {
81
- "primary": "neutral.50",
82
- "secondary": "neutral.50",
83
- "tertiary": "neutral.1100"
84
- },
85
73
  "primary": {
86
- "subtle": "blue.600",
74
+ "subtle": "orange.600",
87
75
  "default": "neutral.50",
88
76
  "hover": "neutral.50"
89
77
  },
@@ -93,7 +81,7 @@
93
81
  "hover": "neutral.50"
94
82
  },
95
83
  "warning": {
96
- "subtle": "orange.700",
84
+ "subtle": "yellow.700",
97
85
  "default": "neutral.1100",
98
86
  "hover": "neutral.1100"
99
87
  },
@@ -106,19 +94,16 @@
106
94
  "border": {
107
95
  "neutral": {
108
96
  "primary": "neutral.400",
97
+ "white": "neutral.50",
98
+ "black": "neutral.1100",
109
99
  "secondary": "neutral.300",
110
100
  "tertiary": "neutral.200",
111
101
  "disabled": "neutral.200"
112
102
  },
113
- "neutral-inverse": {
114
- "primary": "neutral.700",
115
- "secondary": "neutral.600",
116
- "tertiary": "neutral.1100"
117
- },
118
103
  "primary": {
119
- "subtle": "blue.600",
120
- "default": "blue.300",
121
- "hover": "blue.300"
104
+ "subtle": "orange.600",
105
+ "default": "orange.300",
106
+ "hover": "orange.300"
122
107
  },
123
108
  "success": {
124
109
  "subtle": "green.800",
@@ -126,9 +111,9 @@
126
111
  "hover": "green.300"
127
112
  },
128
113
  "warning": {
129
- "subtle": "orange.700",
130
- "default": "orange.300",
131
- "hover": "orange.300"
114
+ "subtle": "yellow.700",
115
+ "default": "yellow.300",
116
+ "hover": "yellow.300"
132
117
  },
133
118
  "error": {
134
119
  "subtle": "red.800",
@@ -139,18 +124,18 @@
139
124
  "badge": {
140
125
  "background": {
141
126
  "subtle": {
142
- "info": "blue.100",
127
+ "info": "lightBlue.100",
143
128
  "success": "green.200",
144
- "warning": "orange.200",
129
+ "warning": "yellow.200",
145
130
  "error": "red.200",
146
131
  "neutral": "neutral.200",
147
132
  "process": "#F7E8FF",
148
133
  "action": "neutral.50"
149
134
  },
150
135
  "solid": {
151
- "info": "blue.600",
136
+ "info": "lightBlue.700",
152
137
  "success": "green.800",
153
- "warning": "orange.600",
138
+ "warning": "yellow.600",
154
139
  "error": "red.800",
155
140
  "neutral": "neutral.400",
156
141
  "process": "#8910D9",
@@ -158,9 +143,9 @@
158
143
  }
159
144
  },
160
145
  "border": {
161
- "info": "blue.600",
146
+ "info": "lightBlue.700",
162
147
  "success": "green.800",
163
- "warning": "orange.600",
148
+ "warning": "yellow.600",
164
149
  "error": "red.800",
165
150
  "neutral": "neutral.400",
166
151
  "process": "#8910D9",
@@ -172,9 +157,9 @@
172
157
  },
173
158
  "icon": {
174
159
  "subtle": {
175
- "info": "blue.600",
160
+ "info": "lightBlue.700",
176
161
  "success": "green.800",
177
- "warning": "orange.600",
162
+ "warning": "yellow.600",
178
163
  "error": "red.800",
179
164
  "neutral": "neutral.1100",
180
165
  "black": "neutral.1100"
@@ -190,11 +175,11 @@
190
175
  },
191
176
  "buttons": {
192
177
  "background": {
193
- "primary-default": "blue.600",
194
- "primary-hover": "blue.800",
178
+ "primary-default": "orange.600",
179
+ "primary-hover": "orange.500",
195
180
  "primary-disabled": "neutral.200",
196
- "secondary-default": "blue.600",
197
- "secondary-hover": "blue.100",
181
+ "secondary-default": "orange.400",
182
+ "secondary-hover": "orange.100",
198
183
  "secondary-disabled": "neutral.200",
199
184
  "danger-default": "red.800",
200
185
  "danger-hover": "red.900",
@@ -204,33 +189,35 @@
204
189
  "primary-default": "neutral.50",
205
190
  "primary-hover": "neutral.50",
206
191
  "primary-disabled": "neutral.500",
207
- "secondary-default": "blue.600",
208
- "secondary-hover": "blue.600",
192
+ "secondary-default": "orange.600",
193
+ "secondary-hover": "orange.200",
209
194
  "secondary-disabled": "neutral.500",
210
195
  "danger-default": "neutral.50",
211
196
  "danger-hover": "neutral.50",
212
197
  "danger-disabled": "neutral.500",
213
- "link-default": "blue.600",
198
+ "link-default": "orange.600",
199
+ "link-hover": "orange.600",
214
200
  "link-disabled": "neutral.500"
215
201
  },
216
202
  "icon": {
217
203
  "primary-default": "neutral.50",
218
204
  "primary-hover": "neutral.50",
219
205
  "primary-disabled": "neutral.500",
220
- "secondary-default": "blue.600",
221
- "secondary-hover": "blue.600",
206
+ "secondary-default": "orange.600",
207
+ "secondary-hover": "orange.200",
222
208
  "secondary-disabled": "neutral.500",
223
209
  "danger-default": "neutral.50",
224
210
  "danger-hover": "neutral.50",
225
211
  "danger-disabled": "neutral.500",
226
- "link-default": "blue.600",
212
+ "link-default": "orange.600",
213
+ "link-hover": "orange.600",
227
214
  "link-disabled": "neutral.500"
228
215
  }
229
216
  },
230
217
  "controls": {
231
218
  "background": {
232
219
  "unchecked": "neutral.400",
233
- "checked": "blue.600",
220
+ "checked": "orange.600",
234
221
  "disabled": "neutral.200"
235
222
  },
236
223
  "border": {
@@ -251,20 +238,20 @@
251
238
  "chips": {
252
239
  "background": {
253
240
  "default": "neutral.50",
254
- "hover": "blue.100",
255
- "selected": "blue.600",
241
+ "hover": "neutral.100",
242
+ "selected": "neutral.100",
256
243
  "disabled": "neutral.200"
257
244
  },
258
245
  "text": {
259
246
  "default": "neutral.1100",
260
247
  "hover": "neutral.1100",
261
- "selected": "neutral.50",
248
+ "selected": "neutral.1100",
262
249
  "disabled": "neutral.500"
263
250
  },
264
251
  "icon": {
265
252
  "default": "neutral.1100",
266
253
  "hover": "neutral.1100",
267
- "selected": "neutral.50",
254
+ "selected": "neutral.1100",
268
255
  "disabled": "neutral.500",
269
256
  "focused": "neutral.1100"
270
257
  },
@@ -295,8 +282,8 @@
295
282
  },
296
283
  "border": {
297
284
  "default": "neutral.400",
298
- "hover": "blue.600",
299
- "active": "blue.600",
285
+ "hover": "orange.600",
286
+ "active": "orange.600",
300
287
  "filled": "neutral.400",
301
288
  "success": "green.800",
302
289
  "error": "red.800",
@@ -309,28 +296,49 @@
309
296
  "disabled": "neutral.500",
310
297
  "readonly": "neutral.1100"
311
298
  },
299
+ "icon": {
300
+ "default": "neutral.600",
301
+ "focus": "neutral.1100",
302
+ "disabled": "neutral.500"
303
+ },
312
304
  "supporting-text": {
313
305
  "helper": "neutral.600",
314
306
  "success": "green.800",
315
307
  "error": "red.800"
308
+ }
309
+ },
310
+ "sidemenu": {
311
+ "background": {
312
+ "rail": "navy.900",
313
+ "item-hover": "navy.700",
314
+ "item-selected": "navy.700",
315
+ "project-badge": "navy.500",
316
+ "scrollbar": "neutral.200"
317
+ },
318
+ "text": {
319
+ "primary": "neutral.50",
320
+ "group": "neutral.600",
321
+ "project-badge": "navy.900"
316
322
  },
317
323
  "icon": {
318
- "default": "neutral.600",
319
- "focus": "neutral.1100",
320
- "disabled": "neutral.500"
324
+ "primary": "neutral.50",
325
+ "tertiary": "neutral.50"
326
+ },
327
+ "border": {
328
+ "utility": "navy.800"
321
329
  }
322
330
  },
323
331
  "toast": {
324
332
  "background": {
325
- "info": "blue.100",
333
+ "info": "orange.100",
326
334
  "success": "green.200",
327
- "warning": "orange.200",
335
+ "warning": "yellow.200",
328
336
  "error": "red.200"
329
337
  },
330
338
  "border": {
331
- "info": "blue.600",
339
+ "info": "orange.600",
332
340
  "success": "green.800",
333
- "warning": "orange.700",
341
+ "warning": "yellow.700",
334
342
  "error": "red.800"
335
343
  },
336
344
  "text": {
@@ -338,9 +346,9 @@
338
346
  "description": "neutral.800"
339
347
  },
340
348
  "icon": {
341
- "info": "blue.600",
349
+ "info": "orange.600",
342
350
  "success": "green.800",
343
- "warning": "orange.700",
351
+ "warning": "yellow.700",
344
352
  "error": "red.800",
345
353
  "close": "neutral.1100"
346
354
  }
package/typography.json CHANGED
@@ -1,25 +1,81 @@
1
1
  {
2
2
  "fontFamily": {
3
- "sans": ["Inter", "system-ui", "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Roboto", "Helvetica Neue", "Arial", "sans-serif"],
4
- "serif": ["Georgia", "Cambria", "Times New Roman", "Times", "serif"],
5
- "mono": ["Fira Code", "Consolas", "Monaco", "Courier New", "monospace"]
3
+ "sans": [
4
+ "Inter",
5
+ "system-ui",
6
+ "-apple-system",
7
+ "BlinkMacSystemFont",
8
+ "Segoe UI",
9
+ "Roboto",
10
+ "Helvetica Neue",
11
+ "Arial",
12
+ "sans-serif"
13
+ ],
14
+ "serif": [
15
+ "Georgia",
16
+ "Cambria",
17
+ "Times New Roman",
18
+ "Times",
19
+ "serif"
20
+ ],
21
+ "mono": [
22
+ "Fira Code",
23
+ "Consolas",
24
+ "Monaco",
25
+ "Courier New",
26
+ "monospace"
27
+ ]
6
28
  },
7
29
  "fontSize": {
8
- "xs": ["0.75rem", { "lineHeight": "1rem", "comment": "12px - B4 (Figma)" }],
9
- "2xs": ["0.8125rem", { "lineHeight": "1.125rem", "letterSpacing": "-0.01em", "comment": "13px - B3 (Figma) - RESTRICTED: See TYPOGRAPHY_2XS_USAGE.md" }],
10
- "3xs": ["0.625rem", { "lineHeight": "1rem", "comment": "10px - Avatar small/medium (Figma)" }],
11
- "sm": ["0.875rem", { "lineHeight": "1.25rem", "comment": "14px - B2 (Figma)" }],
12
- "base": ["1rem", { "lineHeight": "1.5rem", "comment": "16px - B1 (Figma)" }],
13
- "lg": ["1.125rem", { "lineHeight": "1.75rem" }],
14
- "xl": ["1.25rem", { "lineHeight": "1.75rem", "comment": "20px - H2 (Figma)" }],
15
- "2xl": ["1.5rem", { "lineHeight": "2rem", "comment": "24px - H1 (Figma)" }],
16
- "3xl": ["1.875rem", { "lineHeight": "2.25rem" }],
17
- "4xl": ["2.25rem", { "lineHeight": "2.5rem" }],
18
- "5xl": ["3rem", { "lineHeight": "1" }],
19
- "6xl": ["3.75rem", { "lineHeight": "1" }],
20
- "7xl": ["4.5rem", { "lineHeight": "1" }],
21
- "8xl": ["6rem", { "lineHeight": "1" }],
22
- "9xl": ["8rem", { "lineHeight": "1" }]
30
+ "2xl": [
31
+ "1.5rem",
32
+ {
33
+ "lineHeight": "2rem",
34
+ "comment": "H1 (Figma Desktop)"
35
+ }
36
+ ],
37
+ "xl": [
38
+ "1.25rem",
39
+ {
40
+ "lineHeight": "1.75rem",
41
+ "comment": "H2 (Figma Desktop)"
42
+ }
43
+ ],
44
+ "base": [
45
+ "1rem",
46
+ {
47
+ "lineHeight": "1.5rem",
48
+ "comment": "B1 (Figma Desktop)"
49
+ }
50
+ ],
51
+ "sm": [
52
+ "0.875rem",
53
+ {
54
+ "lineHeight": "1.5rem",
55
+ "comment": "B2 (Figma Desktop)"
56
+ }
57
+ ],
58
+ "2xs": [
59
+ "0.8125rem",
60
+ {
61
+ "lineHeight": "1.125rem",
62
+ "comment": "B3 (Figma Desktop)"
63
+ }
64
+ ],
65
+ "xs": [
66
+ "0.75rem",
67
+ {
68
+ "lineHeight": "1rem",
69
+ "comment": "B4 (Figma Desktop)"
70
+ }
71
+ ],
72
+ "3xs": [
73
+ "0.625rem",
74
+ {
75
+ "lineHeight": "1rem",
76
+ "comment": "B4 (Figma Mobile)"
77
+ }
78
+ ]
23
79
  },
24
80
  "fontWeight": {
25
81
  "thin": "100",
@@ -53,6 +109,86 @@
53
109
  "m": "1.5rem",
54
110
  "lg": "1.75rem",
55
111
  "xl": "2rem"
112
+ },
113
+ "responsive": {
114
+ "desktop": {
115
+ "fontFamily": "Inter",
116
+ "heading": {
117
+ "h1": 24,
118
+ "h2": 20
119
+ },
120
+ "body": {
121
+ "b1": 16,
122
+ "b2": 14,
123
+ "b3": 13,
124
+ "b4": 12
125
+ },
126
+ "lineHeight": {
127
+ "xl": 32,
128
+ "lg": 28,
129
+ "m": 24,
130
+ "s": 20,
131
+ "xs": 18,
132
+ "2xs": 16
133
+ },
134
+ "fontWeight": {
135
+ "regular": "400",
136
+ "medium": "500",
137
+ "semibold": "600",
138
+ "bold": "700"
139
+ }
140
+ },
141
+ "tablet": {
142
+ "fontFamily": "Inter",
143
+ "heading": {
144
+ "h1": 20,
145
+ "h2": 18
146
+ },
147
+ "body": {
148
+ "b1": 16,
149
+ "b2": 14,
150
+ "b4": 12
151
+ },
152
+ "lineHeight": {
153
+ "xl": 28,
154
+ "lg": 24,
155
+ "m": 22,
156
+ "s": 20,
157
+ "xs": 20,
158
+ "2xs": 16
159
+ },
160
+ "fontWeight": {
161
+ "regular": "400",
162
+ "medium": "500",
163
+ "semibold": "600",
164
+ "bold": "700"
165
+ }
166
+ },
167
+ "mobile": {
168
+ "fontFamily": "Inter",
169
+ "heading": {
170
+ "h1": 18,
171
+ "h2": 16
172
+ },
173
+ "body": {
174
+ "b1": 14,
175
+ "b2": 12,
176
+ "b4": 10
177
+ },
178
+ "lineHeight": {
179
+ "xl": 24,
180
+ "lg": 22,
181
+ "m": 20,
182
+ "s": 18,
183
+ "xs": 18,
184
+ "2xs": 16
185
+ },
186
+ "fontWeight": {
187
+ "regular": "400",
188
+ "medium": "500",
189
+ "semibold": "600",
190
+ "bold": "700"
191
+ }
192
+ }
56
193
  }
57
194
  }
58
-