rift-ds 1.4.0 → 1.6.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 +3 -3
- package/components/AppSidebar/AppSidebar.css +6 -0
- package/components/AppSidebar/AppSidebar.d.ts +12 -2
- package/components/AppSidebar/AppSidebar.js +11 -1
- package/components/ContextMenu/ContextMenu.css +25 -0
- package/components/ContextMenu/ContextMenu.js +14 -6
- package/components/DropdownMenu/DropdownMenu.css +29 -0
- package/components/DropdownMenu/DropdownMenu.d.ts +2 -0
- package/components/DropdownMenu/DropdownMenu.js +15 -7
- package/components/PixelAvatar/PixelAvatar.css +79 -0
- package/components/PixelAvatar/PixelAvatar.d.ts +47 -0
- package/components/PixelAvatar/PixelAvatar.js +90 -0
- package/components/PixelAvatar/pixelInks.d.ts +27 -0
- package/components/PixelAvatar/pixelInks.js +45 -0
- package/components/PromptSuggestions/PromptSuggestions.css +218 -0
- package/components/PromptSuggestions/PromptSuggestions.d.ts +10 -3
- package/components/PromptSuggestions/PromptSuggestions.js +26 -3
- package/components/Quote/Quote.css +2 -2
- package/components/ShaderField/useShaderField.d.ts +4 -4
- package/components/SourceChip/SourceChip.css +211 -11
- package/components/SourceChip/SourceChip.d.ts +33 -10
- package/components/SourceChip/SourceChip.js +174 -22
- package/components/Stat/Stat.css +2 -2
- package/components/ThreadPanel/ThreadPanel.css +6 -0
- package/components/ThreadPanel/ThreadPanel.d.ts +3 -1
- package/components/ThreadPanel/ThreadPanel.js +22 -4
- package/components/Widget/Widget.css +207 -0
- package/components/Widget/Widget.d.ts +83 -0
- package/components/Widget/Widget.js +112 -0
- package/components/registry.json +17 -1
- package/components/registry.json.d.ts +17 -1
- package/components/registry.json.js +1 -1
- package/fonts/presets/fredoka-300-700-latin-ext.woff2 +0 -0
- package/fonts/presets/fredoka-300-700-latin.woff2 +0 -0
- package/fonts/presets/manrope-300-800-latin-ext.woff2 +0 -0
- package/fonts/presets/manrope-300-800-latin.woff2 +0 -0
- package/fonts/presets/nunito-300-800-latin-ext.woff2 +0 -0
- package/fonts/presets/nunito-300-800-latin.woff2 +0 -0
- package/fonts/presets/playfair-display-400-800-latin-ext.woff2 +0 -0
- package/fonts/presets/playfair-display-400-800-latin.woff2 +0 -0
- package/fonts/presets/plus-jakarta-sans-300-800-latin-ext.woff2 +0 -0
- package/fonts/presets/plus-jakarta-sans-300-800-latin.woff2 +0 -0
- package/fonts/presets/source-sans-3-300-700-latin.woff2 +0 -0
- package/index.d.ts +2 -0
- package/index.js +10 -0
- package/package.json +1 -1
- package/tokens/presets/contrast.css +9 -9
- package/tokens/presets/coral.css +6 -6
- package/tokens/presets/forest.css +10 -10
- package/tokens/presets/gold.css +119 -11
- package/tokens/presets/mono.css +2 -2
- package/tokens/presets/pink.css +104 -24
- package/tokens/presets/terminal.css +13 -13
- package/tokens/presets/violet.css +114 -26
- package/tokens/presets/warm.css +10 -10
- package/tokens/presets/zest.css +10 -10
- package/tokens/registry.json +6 -0
- package/tokens/registry.json.d.ts +6 -0
- package/tokens/registry.json.js +1 -1
- package/tokens/tokens-dark.css +9 -0
- package/tokens/tokens-light.css +14 -0
- package/tokens/tokens-typography.css +1 -1
- package/fonts/presets/fraunces-300-700-latin-ext.woff2 +0 -0
- package/fonts/presets/fraunces-300-700-latin.woff2 +0 -0
- package/fonts/presets/work-sans-300-700-latin-ext.woff2 +0 -0
- package/fonts/presets/work-sans-300-700-latin.woff2 +0 -0
|
@@ -7,39 +7,39 @@
|
|
|
7
7
|
* Import after tokens.css, then set data-brand="violet" on <html>.
|
|
8
8
|
*/
|
|
9
9
|
@font-face {
|
|
10
|
-
font-family: '
|
|
10
|
+
font-family: 'Plus Jakarta Sans';
|
|
11
11
|
font-style: normal;
|
|
12
|
-
font-weight: 300
|
|
12
|
+
font-weight: 300 800;
|
|
13
13
|
font-display: swap;
|
|
14
|
-
src: url('../../fonts/presets/
|
|
14
|
+
src: url('../../fonts/presets/plus-jakarta-sans-300-800-latin.woff2') format('woff2');
|
|
15
15
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
@font-face {
|
|
19
|
-
font-family: '
|
|
19
|
+
font-family: 'Plus Jakarta Sans';
|
|
20
20
|
font-style: normal;
|
|
21
|
-
font-weight: 300
|
|
21
|
+
font-weight: 300 800;
|
|
22
22
|
font-display: swap;
|
|
23
|
-
src: url('../../fonts/presets/
|
|
24
|
-
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-
|
|
23
|
+
src: url('../../fonts/presets/plus-jakarta-sans-300-800-latin-ext.woff2') format('woff2');
|
|
24
|
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
@font-face {
|
|
28
|
-
font-family: '
|
|
28
|
+
font-family: 'Playfair Display';
|
|
29
29
|
font-style: normal;
|
|
30
|
-
font-weight: 400
|
|
30
|
+
font-weight: 400 800;
|
|
31
31
|
font-display: swap;
|
|
32
|
-
src: url('../../fonts/presets/
|
|
32
|
+
src: url('../../fonts/presets/playfair-display-400-800-latin.woff2') format('woff2');
|
|
33
33
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
@font-face {
|
|
37
|
-
font-family: '
|
|
37
|
+
font-family: 'Playfair Display';
|
|
38
38
|
font-style: normal;
|
|
39
|
-
font-weight: 400
|
|
39
|
+
font-weight: 400 800;
|
|
40
40
|
font-display: swap;
|
|
41
|
-
src: url('../../fonts/presets/
|
|
42
|
-
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-
|
|
41
|
+
src: url('../../fonts/presets/playfair-display-400-800-latin-ext.woff2') format('woff2');
|
|
42
|
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
html[data-brand="violet"] {
|
|
@@ -63,8 +63,33 @@ html[data-brand="violet"] {
|
|
|
63
63
|
--color-core-ui-secondary: var(--primitive-purple-11);
|
|
64
64
|
--color-input-border-hover: var(--primitive-purple-06);
|
|
65
65
|
--color-input-border-selected: var(--primitive-purple-08);
|
|
66
|
-
--font-
|
|
67
|
-
--font-
|
|
66
|
+
--font-caption-letter-spacing: -0.005em;
|
|
67
|
+
--font-display-1-letter-spacing: 0.015em;
|
|
68
|
+
--font-display-1-weight: 400;
|
|
69
|
+
--font-display-2-letter-spacing: 0.01em;
|
|
70
|
+
--font-display-2-weight: 400;
|
|
71
|
+
--font-family-heading: 'Playfair Display', serif;
|
|
72
|
+
--font-family-primary: 'Plus Jakarta Sans', sans-serif;
|
|
73
|
+
--font-heading-1-letter-spacing: 0.01em;
|
|
74
|
+
--font-heading-1-weight: 500;
|
|
75
|
+
--font-heading-2-letter-spacing: 0.01em;
|
|
76
|
+
--font-heading-2-weight: 500;
|
|
77
|
+
--font-heading-3-letter-spacing: 0.01em;
|
|
78
|
+
--font-heading-3-weight: 500;
|
|
79
|
+
--font-mega-1-letter-spacing: 0.015em;
|
|
80
|
+
--font-mega-1-weight: 400;
|
|
81
|
+
--font-mega-2-letter-spacing: 0.015em;
|
|
82
|
+
--font-mega-2-weight: 400;
|
|
83
|
+
--font-overline-letter-spacing: 0.075em;
|
|
84
|
+
--font-paragraph-emphasis-letter-spacing: -0.015em;
|
|
85
|
+
--font-paragraph-letter-spacing: -0.005em;
|
|
86
|
+
--font-paragraph-sm-emphasis-letter-spacing: -0.005em;
|
|
87
|
+
--font-paragraph-sm-letter-spacing: -0.005em;
|
|
88
|
+
--font-sub-display-letter-spacing: 0.01em;
|
|
89
|
+
--font-sub-display-weight: 400;
|
|
90
|
+
--font-title-body-letter-spacing: -0.015em;
|
|
91
|
+
--font-title-body-weight: 500;
|
|
92
|
+
--material-symbols-weight: 300;
|
|
68
93
|
--primitive-blue-00: #FBFBFE;
|
|
69
94
|
--primitive-blue-01: #F6F6FD;
|
|
70
95
|
--primitive-blue-02: #E6E7F9;
|
|
@@ -77,6 +102,16 @@ html[data-brand="violet"] {
|
|
|
77
102
|
--primitive-blue-09: #303471;
|
|
78
103
|
--primitive-blue-10: #1B1D3E;
|
|
79
104
|
--primitive-blue-11: #12142B;
|
|
105
|
+
--primitive-gap-050: 2px;
|
|
106
|
+
--primitive-gap-100: 4px;
|
|
107
|
+
--primitive-gap-1000: 42px;
|
|
108
|
+
--primitive-gap-1500: 63px;
|
|
109
|
+
--primitive-gap-200: 8px;
|
|
110
|
+
--primitive-gap-2000: 84px;
|
|
111
|
+
--primitive-gap-300: 13px;
|
|
112
|
+
--primitive-gap-3000: 126px;
|
|
113
|
+
--primitive-gap-400: 17px;
|
|
114
|
+
--primitive-gap-500: 21px;
|
|
80
115
|
--primitive-green-00: #F9FCFC;
|
|
81
116
|
--primitive-green-01: #F0F9F7;
|
|
82
117
|
--primitive-green-02: #D5EDE8;
|
|
@@ -89,14 +124,14 @@ html[data-brand="violet"] {
|
|
|
89
124
|
--primitive-green-09: #236153;
|
|
90
125
|
--primitive-green-10: #143930;
|
|
91
126
|
--primitive-green-11: #102C26;
|
|
92
|
-
--primitive-neutral-00: #
|
|
93
|
-
--primitive-neutral-00-a01: rgba(
|
|
94
|
-
--primitive-neutral-00-a60: rgba(
|
|
95
|
-
--primitive-neutral-00-a90: rgba(
|
|
96
|
-
--primitive-neutral-01: #
|
|
97
|
-
--primitive-neutral-01-a01: rgba(
|
|
98
|
-
--primitive-neutral-01-a60: rgba(
|
|
99
|
-
--primitive-neutral-01-a82: rgba(
|
|
127
|
+
--primitive-neutral-00: #FDFAFF;
|
|
128
|
+
--primitive-neutral-00-a01: rgba(253, 250, 255, 0.01);
|
|
129
|
+
--primitive-neutral-00-a60: rgba(253, 250, 255, 0.6);
|
|
130
|
+
--primitive-neutral-00-a90: rgba(253, 250, 255, 0.9);
|
|
131
|
+
--primitive-neutral-01: #EFEDF1;
|
|
132
|
+
--primitive-neutral-01-a01: rgba(239, 237, 241, 0.01);
|
|
133
|
+
--primitive-neutral-01-a60: rgba(239, 237, 241, 0.6);
|
|
134
|
+
--primitive-neutral-01-a82: rgba(239, 237, 241, 0.82);
|
|
100
135
|
--primitive-neutral-02: #D3CFD7;
|
|
101
136
|
--primitive-neutral-02-a80: rgba(211, 207, 215, 0.8);
|
|
102
137
|
--primitive-neutral-03: #BBB6BF;
|
|
@@ -129,6 +164,15 @@ html[data-brand="violet"] {
|
|
|
129
164
|
--primitive-orange-09: #754235;
|
|
130
165
|
--primitive-orange-10: #462820;
|
|
131
166
|
--primitive-orange-11: #341D17;
|
|
167
|
+
--primitive-padding-050: 2px;
|
|
168
|
+
--primitive-padding-100: 4px;
|
|
169
|
+
--primitive-padding-1000: 42px;
|
|
170
|
+
--primitive-padding-150: 6px;
|
|
171
|
+
--primitive-padding-1500: 63px;
|
|
172
|
+
--primitive-padding-200: 8px;
|
|
173
|
+
--primitive-padding-300: 13px;
|
|
174
|
+
--primitive-padding-400: 17px;
|
|
175
|
+
--primitive-padding-500: 21px;
|
|
132
176
|
--primitive-radius-050: 3px;
|
|
133
177
|
--primitive-radius-100: 6px;
|
|
134
178
|
--primitive-radius-1200: 67px;
|
|
@@ -198,8 +242,33 @@ html[data-brand="violet"][data-theme="dark"] {
|
|
|
198
242
|
--color-core-ui-secondary: var(--primitive-purple-09);
|
|
199
243
|
--color-input-border-hover: var(--primitive-purple-09);
|
|
200
244
|
--color-input-border-selected: var(--primitive-purple-09);
|
|
201
|
-
--font-
|
|
202
|
-
--font-
|
|
245
|
+
--font-caption-letter-spacing: -0.005em;
|
|
246
|
+
--font-display-1-letter-spacing: 0.015em;
|
|
247
|
+
--font-display-1-weight: 400;
|
|
248
|
+
--font-display-2-letter-spacing: 0.01em;
|
|
249
|
+
--font-display-2-weight: 400;
|
|
250
|
+
--font-family-heading: 'Playfair Display', serif;
|
|
251
|
+
--font-family-primary: 'Plus Jakarta Sans', sans-serif;
|
|
252
|
+
--font-heading-1-letter-spacing: 0.01em;
|
|
253
|
+
--font-heading-1-weight: 500;
|
|
254
|
+
--font-heading-2-letter-spacing: 0.01em;
|
|
255
|
+
--font-heading-2-weight: 500;
|
|
256
|
+
--font-heading-3-letter-spacing: 0.01em;
|
|
257
|
+
--font-heading-3-weight: 500;
|
|
258
|
+
--font-mega-1-letter-spacing: 0.015em;
|
|
259
|
+
--font-mega-1-weight: 400;
|
|
260
|
+
--font-mega-2-letter-spacing: 0.015em;
|
|
261
|
+
--font-mega-2-weight: 400;
|
|
262
|
+
--font-overline-letter-spacing: 0.075em;
|
|
263
|
+
--font-paragraph-emphasis-letter-spacing: -0.015em;
|
|
264
|
+
--font-paragraph-letter-spacing: -0.005em;
|
|
265
|
+
--font-paragraph-sm-emphasis-letter-spacing: -0.005em;
|
|
266
|
+
--font-paragraph-sm-letter-spacing: -0.005em;
|
|
267
|
+
--font-sub-display-letter-spacing: 0.01em;
|
|
268
|
+
--font-sub-display-weight: 400;
|
|
269
|
+
--font-title-body-letter-spacing: -0.015em;
|
|
270
|
+
--font-title-body-weight: 500;
|
|
271
|
+
--material-symbols-weight: 300;
|
|
203
272
|
--primitive-blue-00: #FBFBFE;
|
|
204
273
|
--primitive-blue-01: #F6F6FD;
|
|
205
274
|
--primitive-blue-02: #E6E7F9;
|
|
@@ -212,6 +281,16 @@ html[data-brand="violet"][data-theme="dark"] {
|
|
|
212
281
|
--primitive-blue-09: #303471;
|
|
213
282
|
--primitive-blue-10: #1B1D3E;
|
|
214
283
|
--primitive-blue-11: #12142B;
|
|
284
|
+
--primitive-gap-050: 2px;
|
|
285
|
+
--primitive-gap-100: 4px;
|
|
286
|
+
--primitive-gap-1000: 42px;
|
|
287
|
+
--primitive-gap-1500: 63px;
|
|
288
|
+
--primitive-gap-200: 8px;
|
|
289
|
+
--primitive-gap-2000: 84px;
|
|
290
|
+
--primitive-gap-300: 13px;
|
|
291
|
+
--primitive-gap-3000: 126px;
|
|
292
|
+
--primitive-gap-400: 17px;
|
|
293
|
+
--primitive-gap-500: 21px;
|
|
215
294
|
--primitive-green-00: #F9FCFC;
|
|
216
295
|
--primitive-green-01: #F0F9F7;
|
|
217
296
|
--primitive-green-02: #D5EDE8;
|
|
@@ -264,6 +343,15 @@ html[data-brand="violet"][data-theme="dark"] {
|
|
|
264
343
|
--primitive-orange-09: #754235;
|
|
265
344
|
--primitive-orange-10: #462820;
|
|
266
345
|
--primitive-orange-11: #341D17;
|
|
346
|
+
--primitive-padding-050: 2px;
|
|
347
|
+
--primitive-padding-100: 4px;
|
|
348
|
+
--primitive-padding-1000: 42px;
|
|
349
|
+
--primitive-padding-150: 6px;
|
|
350
|
+
--primitive-padding-1500: 63px;
|
|
351
|
+
--primitive-padding-200: 8px;
|
|
352
|
+
--primitive-padding-300: 13px;
|
|
353
|
+
--primitive-padding-400: 17px;
|
|
354
|
+
--primitive-padding-500: 21px;
|
|
267
355
|
--primitive-radius-050: 3px;
|
|
268
356
|
--primitive-radius-100: 6px;
|
|
269
357
|
--primitive-radius-1200: 67px;
|
package/tokens/presets/warm.css
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
font-weight: 300 700;
|
|
22
22
|
font-display: swap;
|
|
23
23
|
src: url('../../fonts/presets/source-sans-3-300-700-latin-ext.woff2') format('woff2');
|
|
24
|
-
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-
|
|
24
|
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
@font-face {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
font-weight: 400 700;
|
|
40
40
|
font-display: swap;
|
|
41
41
|
src: url('../../fonts/presets/lora-400-700-latin-ext.woff2') format('woff2');
|
|
42
|
-
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-
|
|
42
|
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
html[data-brand="warm"] {
|
|
@@ -90,14 +90,14 @@ html[data-brand="warm"] {
|
|
|
90
90
|
--primitive-green-09: #265E46;
|
|
91
91
|
--primitive-green-10: #163729;
|
|
92
92
|
--primitive-green-11: #112A20;
|
|
93
|
-
--primitive-neutral-00: #
|
|
94
|
-
--primitive-neutral-00-a01: rgba(
|
|
95
|
-
--primitive-neutral-00-a60: rgba(
|
|
96
|
-
--primitive-neutral-00-a90: rgba(
|
|
97
|
-
--primitive-neutral-01: #
|
|
98
|
-
--primitive-neutral-01-a01: rgba(
|
|
99
|
-
--primitive-neutral-01-a60: rgba(
|
|
100
|
-
--primitive-neutral-01-a82: rgba(
|
|
93
|
+
--primitive-neutral-00: #FCFAF8;
|
|
94
|
+
--primitive-neutral-00-a01: rgba(252, 250, 248, 0.01);
|
|
95
|
+
--primitive-neutral-00-a60: rgba(252, 250, 248, 0.6);
|
|
96
|
+
--primitive-neutral-00-a90: rgba(252, 250, 248, 0.9);
|
|
97
|
+
--primitive-neutral-01: #EFEDEB;
|
|
98
|
+
--primitive-neutral-01-a01: rgba(239, 237, 235, 0.01);
|
|
99
|
+
--primitive-neutral-01-a60: rgba(239, 237, 235, 0.6);
|
|
100
|
+
--primitive-neutral-01-a82: rgba(239, 237, 235, 0.82);
|
|
101
101
|
--primitive-neutral-02: #D4D0CC;
|
|
102
102
|
--primitive-neutral-02-a80: rgba(212, 208, 204, 0.8);
|
|
103
103
|
--primitive-neutral-03: #BCB8B4;
|
package/tokens/presets/zest.css
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
font-weight: 300 700;
|
|
22
22
|
font-display: swap;
|
|
23
23
|
src: url('../../fonts/presets/inter-300-700-latin-ext.woff2') format('woff2');
|
|
24
|
-
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-
|
|
24
|
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
@font-face {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
font-weight: 300 900;
|
|
40
40
|
font-display: swap;
|
|
41
41
|
src: url('../../fonts/presets/inter-tight-300-900-latin-ext.woff2') format('woff2');
|
|
42
|
-
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-
|
|
42
|
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
html[data-brand="zest"] {
|
|
@@ -100,14 +100,14 @@ html[data-brand="zest"] {
|
|
|
100
100
|
--primitive-green-09: #4D813D;
|
|
101
101
|
--primitive-green-10: #2D4B24;
|
|
102
102
|
--primitive-green-11: #233B1C;
|
|
103
|
-
--primitive-neutral-00: #
|
|
104
|
-
--primitive-neutral-00-a01: rgba(
|
|
105
|
-
--primitive-neutral-00-a60: rgba(
|
|
106
|
-
--primitive-neutral-00-a90: rgba(
|
|
107
|
-
--primitive-neutral-01: #
|
|
108
|
-
--primitive-neutral-01-a01: rgba(
|
|
109
|
-
--primitive-neutral-01-a60: rgba(
|
|
110
|
-
--primitive-neutral-01-a82: rgba(
|
|
103
|
+
--primitive-neutral-00: #FAFBFA;
|
|
104
|
+
--primitive-neutral-00-a01: rgba(250, 251, 250, 0.01);
|
|
105
|
+
--primitive-neutral-00-a60: rgba(250, 251, 250, 0.6);
|
|
106
|
+
--primitive-neutral-00-a90: rgba(250, 251, 250, 0.9);
|
|
107
|
+
--primitive-neutral-01: #EDEDEC;
|
|
108
|
+
--primitive-neutral-01-a01: rgba(237, 237, 236, 0.01);
|
|
109
|
+
--primitive-neutral-01-a60: rgba(237, 237, 236, 0.6);
|
|
110
|
+
--primitive-neutral-01-a82: rgba(237, 237, 236, 0.82);
|
|
111
111
|
--primitive-neutral-02: #CECFCD;
|
|
112
112
|
--primitive-neutral-02-a80: rgba(206, 207, 205, 0.8);
|
|
113
113
|
--primitive-neutral-03: #B5B7B4;
|
package/tokens/registry.json
CHANGED
|
@@ -84,6 +84,12 @@
|
|
|
84
84
|
"--color-input-text-inverse",
|
|
85
85
|
"--color-input-text-placeholder",
|
|
86
86
|
"--color-input-text-primary",
|
|
87
|
+
"--color-pixel-ink-1",
|
|
88
|
+
"--color-pixel-ink-2",
|
|
89
|
+
"--color-pixel-ink-3",
|
|
90
|
+
"--color-pixel-ink-4",
|
|
91
|
+
"--color-pixel-ink-5",
|
|
92
|
+
"--color-pixel-ink-6",
|
|
87
93
|
"--color-scrim",
|
|
88
94
|
"--color-status-error-bg",
|
|
89
95
|
"--color-status-error-border",
|
|
@@ -84,6 +84,12 @@ declare const _default: {
|
|
|
84
84
|
"--color-input-text-inverse",
|
|
85
85
|
"--color-input-text-placeholder",
|
|
86
86
|
"--color-input-text-primary",
|
|
87
|
+
"--color-pixel-ink-1",
|
|
88
|
+
"--color-pixel-ink-2",
|
|
89
|
+
"--color-pixel-ink-3",
|
|
90
|
+
"--color-pixel-ink-4",
|
|
91
|
+
"--color-pixel-ink-5",
|
|
92
|
+
"--color-pixel-ink-6",
|
|
87
93
|
"--color-scrim",
|
|
88
94
|
"--color-status-error-bg",
|
|
89
95
|
"--color-status-error-border",
|
package/tokens/registry.json.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const categories = { "colour": ["--color-action-icon-active", "--color-action-icon-default", "--color-action-neutral-bg", "--color-action-neutral-bg-active", "--color-action-neutral-bg-hover", "--color-action-neutral-text", "--color-action-passive-bg", "--color-action-passive-bg-active", "--color-action-passive-bg-hover", "--color-action-passive-text", "--color-action-primary-bg", "--color-action-primary-bg-active", "--color-action-primary-bg-hover", "--color-action-primary-border", "--color-action-primary-border-secondary", "--color-action-primary-border-tertiary", "--color-action-primary-text", "--color-action-primary-text-active", "--color-action-primary-text-secondary", "--color-action-primary-text-tertiary", "--color-ai-button-bg", "--color-ai-gradient-end", "--color-ai-gradient-mid", "--color-ai-gradient-start", "--color-bg-container-border", "--color-bg-container-inverse", "--color-bg-container-primary", "--color-bg-container-primary-semi", "--color-bg-container-primary-transparent", "--color-bg-container-secondary", "--color-bg-container-tertiary", "--color-bg-glass", "--color-bg-page-inverse", "--color-bg-page-primary", "--color-calendar-cell-bg", "--color-calendar-cell-bg-hover", "--color-calendar-event-bg", "--color-calendar-event-bg-hover", "--color-calendar-event-border", "--color-chart-contribution-0", "--color-chart-contribution-1", "--color-chart-contribution-2", "--color-chart-contribution-3", "--color-chart-contribution-4", "--color-chart-series-1", "--color-chart-series-2", "--color-chart-series-3", "--color-chart-series-4", "--color-chart-series-5", "--color-chart-series-6", "--color-chart-series-7", "--color-chat-bubble-received-bg", "--color-chat-bubble-received-text", "--color-chat-bubble-sent-bg", "--color-chat-bubble-sent-text", "--color-chat-context-bg", "--color-control-thumb", "--color-core-accent-amber", "--color-core-accent-cobalt", "--color-core-accent-coral", "--color-core-accent-gold", "--color-core-accent-mint", "--color-core-accent-violet", "--color-core-ui-primary", "--color-core-ui-secondary", "--color-divider", "--color-file-document", "--color-file-pdf", "--color-file-presentation", "--color-file-spreadsheet", "--color-icon-primary", "--color-icon-secondary", "--color-input-bg-disabled", "--color-input-bg-primary", "--color-input-border-disabled", "--color-input-border-hover", "--color-input-border-primary", "--color-input-border-selected", "--color-input-text-disabled", "--color-input-text-inverse", "--color-input-text-placeholder", "--color-input-text-primary", "--color-scrim", "--color-status-error-bg", "--color-status-error-border", "--color-status-error-icon", "--color-status-error-text", "--color-status-info-bg", "--color-status-info-border", "--color-status-info-icon", "--color-status-info-text", "--color-status-neutral-bg", "--color-status-neutral-border", "--color-status-neutral-icon", "--color-status-neutral-text", "--color-status-positive-bg", "--color-status-positive-border", "--color-status-positive-icon", "--color-status-positive-text", "--color-status-warning-bg", "--color-status-warning-border", "--color-status-warning-icon", "--color-status-warning-text", "--color-text-inverse", "--color-text-on-inverse", "--color-text-primary", "--color-text-secondary", "--color-text-tertiary", "--color-trend-down", "--color-trend-up"], "typography": ["--font-caption-family", "--font-caption-letter-spacing", "--font-caption-line-height", "--font-caption-size", "--font-caption-weight", "--font-display-1-family", "--font-display-1-letter-spacing", "--font-display-1-line-height", "--font-display-1-size", "--font-display-1-weight", "--font-display-2-family", "--font-display-2-letter-spacing", "--font-display-2-line-height", "--font-display-2-size", "--font-display-2-weight", "--font-family-body", "--font-family-code", "--font-family-heading", "--font-family-primary", "--font-heading-1-family", "--font-heading-1-letter-spacing", "--font-heading-1-line-height", "--font-heading-1-size", "--font-heading-1-weight", "--font-heading-2-family", "--font-heading-2-letter-spacing", "--font-heading-2-line-height", "--font-heading-2-size", "--font-heading-2-weight", "--font-heading-3-family", "--font-heading-3-letter-spacing", "--font-heading-3-line-height", "--font-heading-3-size", "--font-heading-3-weight", "--font-line-height-1100", "--font-line-height-400", "--font-line-height-500", "--font-line-height-600", "--font-line-height-700", "--font-line-height-800", "--font-line-height-900", "--font-mega-1-family", "--font-mega-1-letter-spacing", "--font-mega-1-line-height", "--font-mega-1-size", "--font-mega-1-weight", "--font-mega-2-family", "--font-mega-2-letter-spacing", "--font-mega-2-line-height", "--font-mega-2-size", "--font-mega-2-weight", "--font-overline-family", "--font-overline-letter-spacing", "--font-overline-line-height", "--font-overline-size", "--font-overline-weight", "--font-paragraph-emphasis-family", "--font-paragraph-emphasis-letter-spacing", "--font-paragraph-emphasis-line-height", "--font-paragraph-emphasis-size", "--font-paragraph-emphasis-weight", "--font-paragraph-family", "--font-paragraph-letter-spacing", "--font-paragraph-line-height", "--font-paragraph-size", "--font-paragraph-sm-emphasis-family", "--font-paragraph-sm-emphasis-letter-spacing", "--font-paragraph-sm-emphasis-line-height", "--font-paragraph-sm-emphasis-size", "--font-paragraph-sm-emphasis-weight", "--font-paragraph-sm-family", "--font-paragraph-sm-letter-spacing", "--font-paragraph-sm-line-height", "--font-paragraph-sm-size", "--font-paragraph-sm-weight", "--font-paragraph-weight", "--font-size-1000", "--font-size-1200", "--font-size-1400", "--font-size-1600", "--font-size-2400", "--font-size-2900", "--font-size-300", "--font-size-3300", "--font-size-350", "--font-size-400", "--font-size-550", "--font-size-600", "--font-size-650", "--font-size-750", "--font-sub-display-family", "--font-sub-display-letter-spacing", "--font-sub-display-line-height", "--font-sub-display-size", "--font-sub-display-weight", "--font-title-body-family", "--font-title-body-letter-spacing", "--font-title-body-line-height", "--font-title-body-size", "--font-title-body-weight"], "spacing": ["--gap-050", "--gap-100", "--gap-1000", "--gap-1500", "--gap-200", "--gap-2000", "--gap-300", "--gap-3000", "--gap-400", "--gap-500", "--padding-050", "--padding-100", "--padding-1000", "--padding-150", "--padding-1500", "--padding-200", "--padding-300", "--padding-400", "--padding-500"], "radius": ["--radius-050", "--radius-100", "--radius-1200", "--radius-200", "--radius-300", "--radius-400", "--radius-600", "--radius-pill"], "border": ["--border-025", "--border-050"], "shadow": ["--shadow-floating", "--shadow-modal"], "icons": ["--icon-size-1200", "--icon-size-500", "--icon-size-600", "--icon-size-800"], "motion": ["--motion-duration-base", "--motion-duration-deliberate", "--motion-duration-fast", "--motion-duration-instant", "--motion-duration-loop-matrix", "--motion-duration-loop-shimmer", "--motion-duration-loop-spin", "--motion-duration-orbit", "--motion-duration-slow", "--motion-duration-slower", "--motion-ease-emphasized", "--motion-ease-entrance", "--motion-ease-linear", "--motion-ease-spring", "--motion-ease-standard"] };
|
|
1
|
+
const categories = { "colour": ["--color-action-icon-active", "--color-action-icon-default", "--color-action-neutral-bg", "--color-action-neutral-bg-active", "--color-action-neutral-bg-hover", "--color-action-neutral-text", "--color-action-passive-bg", "--color-action-passive-bg-active", "--color-action-passive-bg-hover", "--color-action-passive-text", "--color-action-primary-bg", "--color-action-primary-bg-active", "--color-action-primary-bg-hover", "--color-action-primary-border", "--color-action-primary-border-secondary", "--color-action-primary-border-tertiary", "--color-action-primary-text", "--color-action-primary-text-active", "--color-action-primary-text-secondary", "--color-action-primary-text-tertiary", "--color-ai-button-bg", "--color-ai-gradient-end", "--color-ai-gradient-mid", "--color-ai-gradient-start", "--color-bg-container-border", "--color-bg-container-inverse", "--color-bg-container-primary", "--color-bg-container-primary-semi", "--color-bg-container-primary-transparent", "--color-bg-container-secondary", "--color-bg-container-tertiary", "--color-bg-glass", "--color-bg-page-inverse", "--color-bg-page-primary", "--color-calendar-cell-bg", "--color-calendar-cell-bg-hover", "--color-calendar-event-bg", "--color-calendar-event-bg-hover", "--color-calendar-event-border", "--color-chart-contribution-0", "--color-chart-contribution-1", "--color-chart-contribution-2", "--color-chart-contribution-3", "--color-chart-contribution-4", "--color-chart-series-1", "--color-chart-series-2", "--color-chart-series-3", "--color-chart-series-4", "--color-chart-series-5", "--color-chart-series-6", "--color-chart-series-7", "--color-chat-bubble-received-bg", "--color-chat-bubble-received-text", "--color-chat-bubble-sent-bg", "--color-chat-bubble-sent-text", "--color-chat-context-bg", "--color-control-thumb", "--color-core-accent-amber", "--color-core-accent-cobalt", "--color-core-accent-coral", "--color-core-accent-gold", "--color-core-accent-mint", "--color-core-accent-violet", "--color-core-ui-primary", "--color-core-ui-secondary", "--color-divider", "--color-file-document", "--color-file-pdf", "--color-file-presentation", "--color-file-spreadsheet", "--color-icon-primary", "--color-icon-secondary", "--color-input-bg-disabled", "--color-input-bg-primary", "--color-input-border-disabled", "--color-input-border-hover", "--color-input-border-primary", "--color-input-border-selected", "--color-input-text-disabled", "--color-input-text-inverse", "--color-input-text-placeholder", "--color-input-text-primary", "--color-pixel-ink-1", "--color-pixel-ink-2", "--color-pixel-ink-3", "--color-pixel-ink-4", "--color-pixel-ink-5", "--color-pixel-ink-6", "--color-scrim", "--color-status-error-bg", "--color-status-error-border", "--color-status-error-icon", "--color-status-error-text", "--color-status-info-bg", "--color-status-info-border", "--color-status-info-icon", "--color-status-info-text", "--color-status-neutral-bg", "--color-status-neutral-border", "--color-status-neutral-icon", "--color-status-neutral-text", "--color-status-positive-bg", "--color-status-positive-border", "--color-status-positive-icon", "--color-status-positive-text", "--color-status-warning-bg", "--color-status-warning-border", "--color-status-warning-icon", "--color-status-warning-text", "--color-text-inverse", "--color-text-on-inverse", "--color-text-primary", "--color-text-secondary", "--color-text-tertiary", "--color-trend-down", "--color-trend-up"], "typography": ["--font-caption-family", "--font-caption-letter-spacing", "--font-caption-line-height", "--font-caption-size", "--font-caption-weight", "--font-display-1-family", "--font-display-1-letter-spacing", "--font-display-1-line-height", "--font-display-1-size", "--font-display-1-weight", "--font-display-2-family", "--font-display-2-letter-spacing", "--font-display-2-line-height", "--font-display-2-size", "--font-display-2-weight", "--font-family-body", "--font-family-code", "--font-family-heading", "--font-family-primary", "--font-heading-1-family", "--font-heading-1-letter-spacing", "--font-heading-1-line-height", "--font-heading-1-size", "--font-heading-1-weight", "--font-heading-2-family", "--font-heading-2-letter-spacing", "--font-heading-2-line-height", "--font-heading-2-size", "--font-heading-2-weight", "--font-heading-3-family", "--font-heading-3-letter-spacing", "--font-heading-3-line-height", "--font-heading-3-size", "--font-heading-3-weight", "--font-line-height-1100", "--font-line-height-400", "--font-line-height-500", "--font-line-height-600", "--font-line-height-700", "--font-line-height-800", "--font-line-height-900", "--font-mega-1-family", "--font-mega-1-letter-spacing", "--font-mega-1-line-height", "--font-mega-1-size", "--font-mega-1-weight", "--font-mega-2-family", "--font-mega-2-letter-spacing", "--font-mega-2-line-height", "--font-mega-2-size", "--font-mega-2-weight", "--font-overline-family", "--font-overline-letter-spacing", "--font-overline-line-height", "--font-overline-size", "--font-overline-weight", "--font-paragraph-emphasis-family", "--font-paragraph-emphasis-letter-spacing", "--font-paragraph-emphasis-line-height", "--font-paragraph-emphasis-size", "--font-paragraph-emphasis-weight", "--font-paragraph-family", "--font-paragraph-letter-spacing", "--font-paragraph-line-height", "--font-paragraph-size", "--font-paragraph-sm-emphasis-family", "--font-paragraph-sm-emphasis-letter-spacing", "--font-paragraph-sm-emphasis-line-height", "--font-paragraph-sm-emphasis-size", "--font-paragraph-sm-emphasis-weight", "--font-paragraph-sm-family", "--font-paragraph-sm-letter-spacing", "--font-paragraph-sm-line-height", "--font-paragraph-sm-size", "--font-paragraph-sm-weight", "--font-paragraph-weight", "--font-size-1000", "--font-size-1200", "--font-size-1400", "--font-size-1600", "--font-size-2400", "--font-size-2900", "--font-size-300", "--font-size-3300", "--font-size-350", "--font-size-400", "--font-size-550", "--font-size-600", "--font-size-650", "--font-size-750", "--font-sub-display-family", "--font-sub-display-letter-spacing", "--font-sub-display-line-height", "--font-sub-display-size", "--font-sub-display-weight", "--font-title-body-family", "--font-title-body-letter-spacing", "--font-title-body-line-height", "--font-title-body-size", "--font-title-body-weight"], "spacing": ["--gap-050", "--gap-100", "--gap-1000", "--gap-1500", "--gap-200", "--gap-2000", "--gap-300", "--gap-3000", "--gap-400", "--gap-500", "--padding-050", "--padding-100", "--padding-1000", "--padding-150", "--padding-1500", "--padding-200", "--padding-300", "--padding-400", "--padding-500"], "radius": ["--radius-050", "--radius-100", "--radius-1200", "--radius-200", "--radius-300", "--radius-400", "--radius-600", "--radius-pill"], "border": ["--border-025", "--border-050"], "shadow": ["--shadow-floating", "--shadow-modal"], "icons": ["--icon-size-1200", "--icon-size-500", "--icon-size-600", "--icon-size-800"], "motion": ["--motion-duration-base", "--motion-duration-deliberate", "--motion-duration-fast", "--motion-duration-instant", "--motion-duration-loop-matrix", "--motion-duration-loop-shimmer", "--motion-duration-loop-spin", "--motion-duration-orbit", "--motion-duration-slow", "--motion-duration-slower", "--motion-ease-emphasized", "--motion-ease-entrance", "--motion-ease-linear", "--motion-ease-spring", "--motion-ease-standard"] };
|
|
2
2
|
const registry = {
|
|
3
3
|
categories
|
|
4
4
|
};
|
package/tokens/tokens-dark.css
CHANGED
|
@@ -163,6 +163,15 @@
|
|
|
163
163
|
--color-chart-series-6: var(--color-core-accent-amber);
|
|
164
164
|
--color-chart-series-7: var(--color-core-accent-cobalt);
|
|
165
165
|
|
|
166
|
+
/* Pixel ink - The generated pixel avatar's six inks, high on each ramp
|
|
167
|
+
so the sprite holds its contrast on a dark page. */
|
|
168
|
+
--color-pixel-ink-1: var(--primitive-red-05);
|
|
169
|
+
--color-pixel-ink-2: var(--primitive-orange-05);
|
|
170
|
+
--color-pixel-ink-3: var(--primitive-yellow-05);
|
|
171
|
+
--color-pixel-ink-4: var(--primitive-green-05);
|
|
172
|
+
--color-pixel-ink-5: var(--primitive-blue-04);
|
|
173
|
+
--color-pixel-ink-6: var(--primitive-purple-05);
|
|
174
|
+
|
|
166
175
|
/* Input */
|
|
167
176
|
--color-input-text-primary: var(--primitive-neutral-01);
|
|
168
177
|
--color-input-text-placeholder: var(--primitive-neutral-04);
|
package/tokens/tokens-light.css
CHANGED
|
@@ -212,6 +212,20 @@
|
|
|
212
212
|
--color-chart-series-6: var(--color-core-accent-amber);
|
|
213
213
|
--color-chart-series-7: var(--color-core-accent-cobalt);
|
|
214
214
|
|
|
215
|
+
/* Pixel ink - The six inks a generated pixel avatar is drawn in, one per
|
|
216
|
+
chromatic ramp that is not the brand's (a theme re-points the brand
|
|
217
|
+
ramp, so an ink on it would turn into a second copy of whichever ink
|
|
218
|
+
the theme's colour resembles). A sprite is small solid shapes on the page, so it
|
|
219
|
+
wants a text-like contrast rather than a chart fill's: deep on the ramp
|
|
220
|
+
here, high on it in the dark theme. Yellow and green sit a step deeper
|
|
221
|
+
than the rest because their ramps stay bright for longer. */
|
|
222
|
+
--color-pixel-ink-1: var(--primitive-red-08);
|
|
223
|
+
--color-pixel-ink-2: var(--primitive-orange-08);
|
|
224
|
+
--color-pixel-ink-3: var(--primitive-yellow-09);
|
|
225
|
+
--color-pixel-ink-4: var(--primitive-green-09);
|
|
226
|
+
--color-pixel-ink-5: var(--primitive-blue-07);
|
|
227
|
+
--color-pixel-ink-6: var(--primitive-purple-08);
|
|
228
|
+
|
|
215
229
|
/* Input */
|
|
216
230
|
--color-input-text-primary: var(--primitive-neutral-10);
|
|
217
231
|
--color-input-text-placeholder: var(--primitive-neutral-06);
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
RESPONSIVE COLLAPSE
|
|
195
195
|
The display tier steps down once, at 768px — the token layer's only
|
|
196
196
|
breakpoint. Headings and body never step; weights and letter-spacing
|
|
197
|
-
never change at any breakpoint
|
|
197
|
+
never change at any breakpoint.
|
|
198
198
|
============================================ */
|
|
199
199
|
|
|
200
200
|
@media (max-width: 768px) {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|