rift-ds 1.4.0 → 1.5.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 +1 -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/Quote/Quote.css +2 -2
- package/components/ShaderField/useShaderField.d.ts +4 -4
- package/components/Stat/Stat.css +2 -2
- 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/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/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
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ An open source React design system built for AI products and coding agents: comp
|
|
|
16
16
|
- **One package, zero dependencies.** React is the only required peer dependency; recharts is optional and only for the charts entry. No configuration API, no providers, no build-tool integration: theming is plain CSS custom properties, so it works in any bundler, in any stack, beside anything you already use.
|
|
17
17
|
- **Free, open source, consumed your way.** MIT end to end, no pro tier, no paywalled components. Install the npm package, pull single components as source through the shadcn CLI, or clone the repo and own every line; all three are first-class paths.
|
|
18
18
|
- **A few primitives re-theme everything.** Every semantic token chains to a primitive, so a handful of overrides cascade through every component, the charts, and the ambient background, in both colour modes. Your brand is a short CSS block, not a fork.
|
|
19
|
-
- **The shipped themes prove it.** Each one is the same system under different primitives, saved as a complete look: colour modes, a type pairing with self-hosted fonts, radius, density, motion, elevation, the chart palette. Setting `data-brand` on the root element applies all of it with zero runtime JavaScript, the build holds every theme's action colours to WCAG AA in both modes, and the playground builds yours the same way.
|
|
19
|
+
- **The shipped themes prove it.** Each one is the same system under different primitives, saved as a complete look: colour modes, a type pairing with self-hosted fonts, type weight and tracking, icon weight, radius, density, motion, elevation, the chart palette. Setting `data-brand` on the root element applies all of it with zero runtime JavaScript, the build holds every theme's action colours to WCAG AA in both modes, and the playground builds yours the same way.
|
|
20
20
|
- **The AI product set is in the box.** Composer, streaming chat thread, tool calls, reasoning, thread panel and tabs: the components an assistant UI needs, the same set this repo's own site chat is built from.
|
|
21
21
|
- **Legible to coding agents.** One command installs the agent skill and prints the MCP connect line, and the MCP tools and per-component markdown are generated from the same JSDoc that builds the shipped `.d.ts`: an agent reads the exact contract npm ships, no key, no account.
|
|
22
22
|
- **Docs that cannot lie.** Every count, list, and prop table is generated from source registries and build-validated; CI fails on drift, and every component story ships through an accessibility audit. What the docs say is what ships.
|
|
@@ -114,6 +114,31 @@
|
|
|
114
114
|
background-color: var(--color-action-passive-bg-hover);
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
+
/* States — selected: the current choice of a set. DropdownMenu.css owns
|
|
118
|
+
the recipe (passive wash held, full-strength text and icon, trailing
|
|
119
|
+
check); the two menus share the entry model, so they share the look. */
|
|
120
|
+
.ds-context-menu__item--selected {
|
|
121
|
+
background-color: var(--color-action-passive-bg-hover);
|
|
122
|
+
color: var(--color-text-primary);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.ds-context-menu__item--selected:hover,
|
|
126
|
+
.ds-context-menu__item--selected.ds-context-menu__item--focused {
|
|
127
|
+
background-color: var(--color-action-passive-bg-active);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.ds-context-menu__item--selected .ds-context-menu__item-icon {
|
|
131
|
+
color: var(--color-icon-primary);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.ds-context-menu__check {
|
|
135
|
+
--icon-size: var(--icon-size-500);
|
|
136
|
+
color: var(--color-icon-primary);
|
|
137
|
+
margin-left: auto;
|
|
138
|
+
flex-shrink: 0;
|
|
139
|
+
line-height: 1;
|
|
140
|
+
}
|
|
141
|
+
|
|
117
142
|
/* States — disabled */
|
|
118
143
|
.ds-context-menu__item--disabled {
|
|
119
144
|
opacity: 0.4;
|
|
@@ -121,14 +121,17 @@ const SubEntry = ({
|
|
|
121
121
|
const itemClasses = [
|
|
122
122
|
`${baseClass}__item`,
|
|
123
123
|
entry.disabled ? `${baseClass}__item--disabled` : "",
|
|
124
|
-
entry.destructive ? `${baseClass}__item--destructive` : ""
|
|
124
|
+
entry.destructive ? `${baseClass}__item--destructive` : "",
|
|
125
|
+
entry.selected ? `${baseClass}__item--selected` : ""
|
|
125
126
|
].filter(Boolean).join(" ");
|
|
127
|
+
const isChoice = entry.selected !== void 0;
|
|
126
128
|
return /* @__PURE__ */ jsxs(
|
|
127
129
|
"li",
|
|
128
130
|
{
|
|
129
131
|
id: itemId,
|
|
130
132
|
className: itemClasses,
|
|
131
|
-
role: "menuitem",
|
|
133
|
+
role: isChoice ? "menuitemradio" : "menuitem",
|
|
134
|
+
"aria-checked": isChoice ? entry.selected : void 0,
|
|
132
135
|
"aria-disabled": entry.disabled || void 0,
|
|
133
136
|
onClick: (e) => {
|
|
134
137
|
e.stopPropagation();
|
|
@@ -142,7 +145,8 @@ const SubEntry = ({
|
|
|
142
145
|
entry.icon && /* @__PURE__ */ jsx("span", { className: `${baseClass}__item-icon material-symbols-rounded`, "aria-hidden": "true", children: entry.icon }),
|
|
143
146
|
entry.label
|
|
144
147
|
] }),
|
|
145
|
-
entry.shortcut && /* @__PURE__ */ jsx("span", { className: `${baseClass}__shortcut`, children: entry.shortcut })
|
|
148
|
+
entry.shortcut && /* @__PURE__ */ jsx("span", { className: `${baseClass}__shortcut`, children: entry.shortcut }),
|
|
149
|
+
entry.selected && /* @__PURE__ */ jsx("span", { className: `${baseClass}__check material-symbols-rounded`, "aria-hidden": "true", children: "check" })
|
|
146
150
|
]
|
|
147
151
|
}
|
|
148
152
|
);
|
|
@@ -321,14 +325,17 @@ const ContextMenu = React.forwardRef(
|
|
|
321
325
|
`${baseClass}__item`,
|
|
322
326
|
isFocused ? `${baseClass}__item--focused` : "",
|
|
323
327
|
entry.disabled ? `${baseClass}__item--disabled` : "",
|
|
324
|
-
entry.destructive ? `${baseClass}__item--destructive` : ""
|
|
328
|
+
entry.destructive ? `${baseClass}__item--destructive` : "",
|
|
329
|
+
entry.selected ? `${baseClass}__item--selected` : ""
|
|
325
330
|
].filter(Boolean).join(" ");
|
|
331
|
+
const isChoice = entry.selected !== void 0;
|
|
326
332
|
return /* @__PURE__ */ jsxs(
|
|
327
333
|
"li",
|
|
328
334
|
{
|
|
329
335
|
id: `${generatedId}-item-${myIndex}`,
|
|
330
336
|
className: itemClasses,
|
|
331
|
-
role: "menuitem",
|
|
337
|
+
role: isChoice ? "menuitemradio" : "menuitem",
|
|
338
|
+
"aria-checked": isChoice ? entry.selected : void 0,
|
|
332
339
|
"aria-disabled": entry.disabled || void 0,
|
|
333
340
|
onClick: (e) => {
|
|
334
341
|
e.stopPropagation();
|
|
@@ -349,7 +356,8 @@ const ContextMenu = React.forwardRef(
|
|
|
349
356
|
),
|
|
350
357
|
entry.label
|
|
351
358
|
] }),
|
|
352
|
-
entry.shortcut && /* @__PURE__ */ jsx("span", { className: `${baseClass}__shortcut`, children: entry.shortcut })
|
|
359
|
+
entry.shortcut && /* @__PURE__ */ jsx("span", { className: `${baseClass}__shortcut`, children: entry.shortcut }),
|
|
360
|
+
entry.selected && /* @__PURE__ */ jsx("span", { className: `${baseClass}__check material-symbols-rounded`, "aria-hidden": "true", children: "check" })
|
|
353
361
|
]
|
|
354
362
|
},
|
|
355
363
|
`item-${index}`
|
|
@@ -145,6 +145,35 @@
|
|
|
145
145
|
background-color: var(--color-action-passive-bg-hover);
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
+
/* ============================================
|
|
149
|
+
SELECTED ITEM
|
|
150
|
+
The current choice of a set: the passive wash held down, text and icon
|
|
151
|
+
at full strength, and a trailing check — three cues, none of them the
|
|
152
|
+
action colour, which a menu row has no claim on.
|
|
153
|
+
============================================ */
|
|
154
|
+
|
|
155
|
+
.ds-dropdown-menu__item--selected {
|
|
156
|
+
background-color: var(--color-action-passive-bg-hover);
|
|
157
|
+
color: var(--color-text-primary);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.ds-dropdown-menu__item--selected:hover,
|
|
161
|
+
.ds-dropdown-menu__item--selected.ds-dropdown-menu__item--focused {
|
|
162
|
+
background-color: var(--color-action-passive-bg-active);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.ds-dropdown-menu__item--selected .ds-dropdown-menu__item-icon {
|
|
166
|
+
color: var(--color-icon-primary);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.ds-dropdown-menu__check {
|
|
170
|
+
--icon-size: var(--icon-size-500);
|
|
171
|
+
color: var(--color-icon-primary);
|
|
172
|
+
margin-left: auto;
|
|
173
|
+
flex-shrink: 0;
|
|
174
|
+
line-height: 1;
|
|
175
|
+
}
|
|
176
|
+
|
|
148
177
|
/* ============================================
|
|
149
178
|
DISABLED ITEM
|
|
150
179
|
============================================ */
|
|
@@ -11,6 +11,8 @@ export interface DropdownMenuItem {
|
|
|
11
11
|
disabled?: boolean;
|
|
12
12
|
/** Destructive / danger styling (red text) for delete, remove, etc. */
|
|
13
13
|
destructive?: boolean;
|
|
14
|
+
/** Marks the item as the current choice of a set: it holds the passive wash and a trailing check, and is announced as a checked radio item. Leave undefined on plain action items; pass `false` on the unchosen members of a set so they are announced as radio items too. Ignored on an item that opens a sub-menu. */
|
|
15
|
+
selected?: boolean;
|
|
14
16
|
/** Click handler */
|
|
15
17
|
onClick?: () => void;
|
|
16
18
|
/** Nested sub-menu items */
|
|
@@ -120,14 +120,17 @@ const MenuPanel = ({
|
|
|
120
120
|
const itemClasses = [
|
|
121
121
|
`${baseClass}__item`,
|
|
122
122
|
entry.disabled ? `${baseClass}__item--disabled` : "",
|
|
123
|
-
entry.destructive ? `${baseClass}__item--destructive` : ""
|
|
123
|
+
entry.destructive ? `${baseClass}__item--destructive` : "",
|
|
124
|
+
entry.selected ? `${baseClass}__item--selected` : ""
|
|
124
125
|
].filter(Boolean).join(" ");
|
|
126
|
+
const isChoice = entry.selected !== void 0;
|
|
125
127
|
return /* @__PURE__ */ jsxs(
|
|
126
128
|
"li",
|
|
127
129
|
{
|
|
128
130
|
id: entryId,
|
|
129
131
|
className: itemClasses,
|
|
130
|
-
role: "menuitem",
|
|
132
|
+
role: isChoice ? "menuitemradio" : "menuitem",
|
|
133
|
+
"aria-checked": isChoice ? entry.selected : void 0,
|
|
131
134
|
"aria-disabled": entry.disabled || void 0,
|
|
132
135
|
onClick: (e) => {
|
|
133
136
|
e.stopPropagation();
|
|
@@ -141,7 +144,8 @@ const MenuPanel = ({
|
|
|
141
144
|
entry.icon && (typeof entry.icon === "string" ? /* @__PURE__ */ jsx("span", { className: `${baseClass}__item-icon material-symbols-rounded`, "aria-hidden": "true", children: entry.icon }) : /* @__PURE__ */ jsx("span", { className: `${baseClass}__item-icon`, "aria-hidden": "true", children: entry.icon })),
|
|
142
145
|
entry.label
|
|
143
146
|
] }),
|
|
144
|
-
entry.shortcut && /* @__PURE__ */ jsx("span", { className: `${baseClass}__shortcut`, children: entry.shortcut })
|
|
147
|
+
entry.shortcut && /* @__PURE__ */ jsx("span", { className: `${baseClass}__shortcut`, children: entry.shortcut }),
|
|
148
|
+
entry.selected && /* @__PURE__ */ jsx("span", { className: `${baseClass}__check material-symbols-rounded`, "aria-hidden": "true", children: "check" })
|
|
145
149
|
]
|
|
146
150
|
},
|
|
147
151
|
`item-${index}`
|
|
@@ -253,7 +257,7 @@ const DropdownMenu = ({
|
|
|
253
257
|
};
|
|
254
258
|
useEffect(() => {
|
|
255
259
|
if (isOpen && focusedIndex >= 0 && panelRef.current) {
|
|
256
|
-
const allItems = panelRef.current.querySelectorAll(`[role="menuitem"]`);
|
|
260
|
+
const allItems = panelRef.current.querySelectorAll(`[role="menuitem"], [role="menuitemradio"]`);
|
|
257
261
|
const el = allItems[focusedIndex];
|
|
258
262
|
el?.scrollIntoView({ block: "nearest" });
|
|
259
263
|
}
|
|
@@ -291,14 +295,17 @@ const DropdownMenu = ({
|
|
|
291
295
|
`${baseClass}__item`,
|
|
292
296
|
isFocused ? `${baseClass}__item--focused` : "",
|
|
293
297
|
entry.disabled ? `${baseClass}__item--disabled` : "",
|
|
294
|
-
entry.destructive ? `${baseClass}__item--destructive` : ""
|
|
298
|
+
entry.destructive ? `${baseClass}__item--destructive` : "",
|
|
299
|
+
entry.selected ? `${baseClass}__item--selected` : ""
|
|
295
300
|
].filter(Boolean).join(" ");
|
|
301
|
+
const isChoice = entry.selected !== void 0;
|
|
296
302
|
return /* @__PURE__ */ jsxs(
|
|
297
303
|
"li",
|
|
298
304
|
{
|
|
299
305
|
id: `${generatedId}-item-${myIndex}`,
|
|
300
306
|
className: itemClasses,
|
|
301
|
-
role: "menuitem",
|
|
307
|
+
role: isChoice ? "menuitemradio" : "menuitem",
|
|
308
|
+
"aria-checked": isChoice ? entry.selected : void 0,
|
|
302
309
|
"aria-disabled": entry.disabled || void 0,
|
|
303
310
|
onClick: (e) => {
|
|
304
311
|
e.stopPropagation();
|
|
@@ -312,7 +319,8 @@ const DropdownMenu = ({
|
|
|
312
319
|
entry.icon && (typeof entry.icon === "string" ? /* @__PURE__ */ jsx("span", { className: `${baseClass}__item-icon material-symbols-rounded`, "aria-hidden": "true", children: entry.icon }) : /* @__PURE__ */ jsx("span", { className: `${baseClass}__item-icon`, "aria-hidden": "true", children: entry.icon })),
|
|
313
320
|
entry.label
|
|
314
321
|
] }),
|
|
315
|
-
entry.shortcut && /* @__PURE__ */ jsx("span", { className: `${baseClass}__shortcut`, children: entry.shortcut })
|
|
322
|
+
entry.shortcut && /* @__PURE__ */ jsx("span", { className: `${baseClass}__shortcut`, children: entry.shortcut }),
|
|
323
|
+
entry.selected && /* @__PURE__ */ jsx("span", { className: `${baseClass}__check material-symbols-rounded`, "aria-hidden": "true", children: "check" })
|
|
316
324
|
]
|
|
317
325
|
},
|
|
318
326
|
`item-${index}`
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
|
|
37
37
|
/* ============================================
|
|
38
38
|
VARIANT — PULL (large display quote)
|
|
39
|
-
Display type
|
|
40
|
-
|
|
39
|
+
Display-tier type: no border, the scale is
|
|
40
|
+
the emphasis.
|
|
41
41
|
============================================ */
|
|
42
42
|
|
|
43
43
|
.ds-quote--pull .ds-quote__text {
|
|
@@ -22,7 +22,7 @@ export interface ShaderParams {
|
|
|
22
22
|
/**
|
|
23
23
|
* How much the composition resists shrinking with the container, 0–1.
|
|
24
24
|
*
|
|
25
|
-
* At 0 — the
|
|
25
|
+
* At 0 — the behaviour a CSS blob layer has — the whole
|
|
26
26
|
* field is fitted to whatever width it is given, so a phone shows the
|
|
27
27
|
* entire composition at phone scale: every source small, and more of them
|
|
28
28
|
* crowded into view than the look was built for. At 1 the field holds the
|
|
@@ -31,9 +31,9 @@ export interface ShaderParams {
|
|
|
31
31
|
* keeping some of the shrink so colours still bleed together on a small
|
|
32
32
|
* screen. Above the reference width it does nothing.
|
|
33
33
|
*
|
|
34
|
-
*
|
|
35
|
-
* scene rather than a diagram;
|
|
36
|
-
* the whole composition, such as a small demo tile.
|
|
34
|
+
* The default sits between the two, which suits a full-viewport background,
|
|
35
|
+
* read on a phone as a scene rather than a diagram; set it to 0 wherever
|
|
36
|
+
* the point is to see the whole composition, such as a small demo tile.
|
|
37
37
|
*/
|
|
38
38
|
crop: number;
|
|
39
39
|
}
|
package/components/Stat/Stat.css
CHANGED
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/* ============================================
|
|
16
|
-
VALUE — display weight (300
|
|
17
|
-
|
|
16
|
+
VALUE — the display tier's weight (300 in the
|
|
17
|
+
base theme), so numerals follow the theme
|
|
18
18
|
============================================ */
|
|
19
19
|
|
|
20
20
|
.ds-stat__value {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
font-weight: 300 700;
|
|
22
22
|
font-display: swap;
|
|
23
23
|
src: url('../../fonts/presets/ibm-plex-sans-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
|
html[data-brand="contrast"] {
|
|
@@ -70,14 +70,14 @@ html[data-brand="contrast"] {
|
|
|
70
70
|
--primitive-green-09: #007750;
|
|
71
71
|
--primitive-green-10: #00462F;
|
|
72
72
|
--primitive-green-11: #003624;
|
|
73
|
-
--primitive-neutral-00: #
|
|
74
|
-
--primitive-neutral-00-a01: rgba(
|
|
75
|
-
--primitive-neutral-00-a60: rgba(
|
|
76
|
-
--primitive-neutral-00-a90: rgba(
|
|
77
|
-
--primitive-neutral-01: #
|
|
78
|
-
--primitive-neutral-01-a01: rgba(
|
|
79
|
-
--primitive-neutral-01-a60: rgba(
|
|
80
|
-
--primitive-neutral-01-a82: rgba(
|
|
73
|
+
--primitive-neutral-00: #FAFBFF;
|
|
74
|
+
--primitive-neutral-00-a01: rgba(250, 251, 255, 0.01);
|
|
75
|
+
--primitive-neutral-00-a60: rgba(250, 251, 255, 0.6);
|
|
76
|
+
--primitive-neutral-00-a90: rgba(250, 251, 255, 0.9);
|
|
77
|
+
--primitive-neutral-01: #ECEDF1;
|
|
78
|
+
--primitive-neutral-01-a01: rgba(236, 237, 241, 0.01);
|
|
79
|
+
--primitive-neutral-01-a60: rgba(236, 237, 241, 0.6);
|
|
80
|
+
--primitive-neutral-01-a82: rgba(236, 237, 241, 0.82);
|
|
81
81
|
--primitive-neutral-02: #CDD0D8;
|
|
82
82
|
--primitive-neutral-02-a80: rgba(205, 208, 216, 0.8);
|
|
83
83
|
--primitive-neutral-03: #B4B7BF;
|
package/tokens/presets/coral.css
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
font-weight: 300 700;
|
|
22
22
|
font-display: swap;
|
|
23
23
|
src: url('../../fonts/presets/dm-sans-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 {
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
font-weight: 300;
|
|
76
76
|
font-display: swap;
|
|
77
77
|
src: url('../../fonts/presets/poppins-300-latin-ext.woff2') format('woff2');
|
|
78
|
-
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-
|
|
78
|
+
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;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
@font-face {
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
font-weight: 400;
|
|
85
85
|
font-display: swap;
|
|
86
86
|
src: url('../../fonts/presets/poppins-400-latin-ext.woff2') format('woff2');
|
|
87
|
-
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-
|
|
87
|
+
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;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
@font-face {
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
font-weight: 500;
|
|
94
94
|
font-display: swap;
|
|
95
95
|
src: url('../../fonts/presets/poppins-500-latin-ext.woff2') format('woff2');
|
|
96
|
-
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-
|
|
96
|
+
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;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
@font-face {
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
font-weight: 600;
|
|
103
103
|
font-display: swap;
|
|
104
104
|
src: url('../../fonts/presets/poppins-600-latin-ext.woff2') format('woff2');
|
|
105
|
-
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-
|
|
105
|
+
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;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
@font-face {
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
font-weight: 700;
|
|
112
112
|
font-display: swap;
|
|
113
113
|
src: url('../../fonts/presets/poppins-700-latin-ext.woff2') format('woff2');
|
|
114
|
-
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-
|
|
114
|
+
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;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
html[data-brand="coral"] {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
font-weight: 300 700;
|
|
22
22
|
font-display: swap;
|
|
23
23
|
src: url('../../fonts/presets/dm-sans-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 700;
|
|
40
40
|
font-display: swap;
|
|
41
41
|
src: url('../../fonts/presets/montserrat-300-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="forest"] {
|
|
@@ -94,14 +94,14 @@ html[data-brand="forest"] {
|
|
|
94
94
|
--primitive-green-09: #133023;
|
|
95
95
|
--primitive-green-10: #0B1C14;
|
|
96
96
|
--primitive-green-11: #091610;
|
|
97
|
-
--primitive-neutral-00: #
|
|
98
|
-
--primitive-neutral-00-a01: rgba(
|
|
99
|
-
--primitive-neutral-00-a60: rgba(
|
|
100
|
-
--primitive-neutral-00-a90: rgba(
|
|
101
|
-
--primitive-neutral-01: #
|
|
102
|
-
--primitive-neutral-01-a01: rgba(
|
|
103
|
-
--primitive-neutral-01-a60: rgba(
|
|
104
|
-
--primitive-neutral-01-a82: rgba(
|
|
97
|
+
--primitive-neutral-00: #F8FAF9;
|
|
98
|
+
--primitive-neutral-00-a01: rgba(248, 250, 249, 0.01);
|
|
99
|
+
--primitive-neutral-00-a60: rgba(248, 250, 249, 0.6);
|
|
100
|
+
--primitive-neutral-00-a90: rgba(248, 250, 249, 0.9);
|
|
101
|
+
--primitive-neutral-01: #EBECEC;
|
|
102
|
+
--primitive-neutral-01-a01: rgba(235, 236, 236, 0.01);
|
|
103
|
+
--primitive-neutral-01-a60: rgba(235, 236, 236, 0.6);
|
|
104
|
+
--primitive-neutral-01-a82: rgba(235, 236, 236, 0.82);
|
|
105
105
|
--primitive-neutral-02: #CBCECD;
|
|
106
106
|
--primitive-neutral-02-a80: rgba(203, 206, 205, 0.8);
|
|
107
107
|
--primitive-neutral-03: #B3B6B5;
|
package/tokens/presets/gold.css
CHANGED
|
@@ -6,6 +6,24 @@
|
|
|
6
6
|
* Regenerate: node scripts/generate-preset-stylesheets.mjs
|
|
7
7
|
* Import after tokens.css, then set data-brand="gold" on <html>.
|
|
8
8
|
*/
|
|
9
|
+
@font-face {
|
|
10
|
+
font-family: 'Manrope';
|
|
11
|
+
font-style: normal;
|
|
12
|
+
font-weight: 300 800;
|
|
13
|
+
font-display: swap;
|
|
14
|
+
src: url('../../fonts/presets/manrope-300-800-latin.woff2') format('woff2');
|
|
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
|
+
}
|
|
17
|
+
|
|
18
|
+
@font-face {
|
|
19
|
+
font-family: 'Manrope';
|
|
20
|
+
font-style: normal;
|
|
21
|
+
font-weight: 300 800;
|
|
22
|
+
font-display: swap;
|
|
23
|
+
src: url('../../fonts/presets/manrope-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
|
+
}
|
|
26
|
+
|
|
9
27
|
@font-face {
|
|
10
28
|
font-family: 'Space Grotesk';
|
|
11
29
|
font-style: normal;
|
|
@@ -21,7 +39,7 @@
|
|
|
21
39
|
font-weight: 300 700;
|
|
22
40
|
font-display: swap;
|
|
23
41
|
src: url('../../fonts/presets/space-grotesk-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-
|
|
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;
|
|
25
43
|
}
|
|
26
44
|
|
|
27
45
|
html[data-brand="gold"] {
|
|
@@ -46,7 +64,33 @@ html[data-brand="gold"] {
|
|
|
46
64
|
--color-core-ui-secondary: var(--primitive-yellow-10);
|
|
47
65
|
--color-input-border-hover: var(--primitive-yellow-08);
|
|
48
66
|
--color-input-border-selected: var(--primitive-yellow-07);
|
|
49
|
-
--font-
|
|
67
|
+
--font-caption-letter-spacing: -0.01em;
|
|
68
|
+
--font-display-1-letter-spacing: 0.01em;
|
|
69
|
+
--font-display-1-weight: 500;
|
|
70
|
+
--font-display-2-letter-spacing: 0.005em;
|
|
71
|
+
--font-display-2-weight: 500;
|
|
72
|
+
--font-family-heading: 'Space Grotesk', sans-serif;
|
|
73
|
+
--font-family-primary: 'Manrope', sans-serif;
|
|
74
|
+
--font-heading-1-letter-spacing: 0.005em;
|
|
75
|
+
--font-heading-1-weight: 700;
|
|
76
|
+
--font-heading-2-letter-spacing: 0.005em;
|
|
77
|
+
--font-heading-2-weight: 700;
|
|
78
|
+
--font-heading-3-letter-spacing: 0.005em;
|
|
79
|
+
--font-heading-3-weight: 700;
|
|
80
|
+
--font-mega-1-letter-spacing: 0.01em;
|
|
81
|
+
--font-mega-1-weight: 500;
|
|
82
|
+
--font-mega-2-letter-spacing: 0.01em;
|
|
83
|
+
--font-mega-2-weight: 500;
|
|
84
|
+
--font-overline-letter-spacing: 0.07em;
|
|
85
|
+
--font-paragraph-emphasis-letter-spacing: -0.02em;
|
|
86
|
+
--font-paragraph-letter-spacing: -0.01em;
|
|
87
|
+
--font-paragraph-sm-emphasis-letter-spacing: -0.01em;
|
|
88
|
+
--font-paragraph-sm-letter-spacing: -0.01em;
|
|
89
|
+
--font-sub-display-letter-spacing: 0.005em;
|
|
90
|
+
--font-sub-display-weight: 500;
|
|
91
|
+
--font-title-body-letter-spacing: -0.02em;
|
|
92
|
+
--font-title-body-weight: 700;
|
|
93
|
+
--material-symbols-weight: 500;
|
|
50
94
|
--motion-duration-base: 180ms;
|
|
51
95
|
--motion-duration-deliberate: 360ms;
|
|
52
96
|
--motion-duration-fast: 135ms;
|
|
@@ -65,6 +109,16 @@ html[data-brand="gold"] {
|
|
|
65
109
|
--primitive-blue-09: #1B2C71;
|
|
66
110
|
--primitive-blue-10: #0F193E;
|
|
67
111
|
--primitive-blue-11: #0A112B;
|
|
112
|
+
--primitive-gap-050: 2px;
|
|
113
|
+
--primitive-gap-100: 4px;
|
|
114
|
+
--primitive-gap-1000: 38px;
|
|
115
|
+
--primitive-gap-1500: 57px;
|
|
116
|
+
--primitive-gap-200: 8px;
|
|
117
|
+
--primitive-gap-2000: 76px;
|
|
118
|
+
--primitive-gap-300: 11px;
|
|
119
|
+
--primitive-gap-3000: 114px;
|
|
120
|
+
--primitive-gap-400: 15px;
|
|
121
|
+
--primitive-gap-500: 19px;
|
|
68
122
|
--primitive-green-00: #F8FDFB;
|
|
69
123
|
--primitive-green-01: #EFFAF6;
|
|
70
124
|
--primitive-green-02: #D1F1E6;
|
|
@@ -77,14 +131,14 @@ html[data-brand="gold"] {
|
|
|
77
131
|
--primitive-green-09: #1A6A50;
|
|
78
132
|
--primitive-green-10: #0F3E2F;
|
|
79
133
|
--primitive-green-11: #0C3024;
|
|
80
|
-
--primitive-neutral-00: #
|
|
81
|
-
--primitive-neutral-00-a01: rgba(255,
|
|
82
|
-
--primitive-neutral-00-a60: rgba(255,
|
|
83
|
-
--primitive-neutral-00-a90: rgba(255,
|
|
84
|
-
--primitive-neutral-01: #
|
|
85
|
-
--primitive-neutral-01-a01: rgba(
|
|
86
|
-
--primitive-neutral-01-a60: rgba(
|
|
87
|
-
--primitive-neutral-01-a82: rgba(
|
|
134
|
+
--primitive-neutral-00: #FFFEFC;
|
|
135
|
+
--primitive-neutral-00-a01: rgba(255, 254, 252, 0.01);
|
|
136
|
+
--primitive-neutral-00-a60: rgba(255, 254, 252, 0.6);
|
|
137
|
+
--primitive-neutral-00-a90: rgba(255, 254, 252, 0.9);
|
|
138
|
+
--primitive-neutral-01: #F1F0EE;
|
|
139
|
+
--primitive-neutral-01-a01: rgba(241, 240, 238, 0.01);
|
|
140
|
+
--primitive-neutral-01-a60: rgba(241, 240, 238, 0.6);
|
|
141
|
+
--primitive-neutral-01-a82: rgba(241, 240, 238, 0.82);
|
|
88
142
|
--primitive-neutral-02: #D8D6D2;
|
|
89
143
|
--primitive-neutral-02-a80: rgba(216, 214, 210, 0.8);
|
|
90
144
|
--primitive-neutral-03: #BFBDB9;
|
|
@@ -117,6 +171,15 @@ html[data-brand="gold"] {
|
|
|
117
171
|
--primitive-orange-09: #8A5321;
|
|
118
172
|
--primitive-orange-10: #523214;
|
|
119
173
|
--primitive-orange-11: #3D250F;
|
|
174
|
+
--primitive-padding-050: 2px;
|
|
175
|
+
--primitive-padding-100: 4px;
|
|
176
|
+
--primitive-padding-1000: 38px;
|
|
177
|
+
--primitive-padding-150: 6px;
|
|
178
|
+
--primitive-padding-1500: 57px;
|
|
179
|
+
--primitive-padding-200: 8px;
|
|
180
|
+
--primitive-padding-300: 11px;
|
|
181
|
+
--primitive-padding-400: 15px;
|
|
182
|
+
--primitive-padding-500: 19px;
|
|
120
183
|
--primitive-purple-00: #FCFAFE;
|
|
121
184
|
--primitive-purple-01: #F6F2FD;
|
|
122
185
|
--primitive-purple-02: #E2D2F9;
|
|
@@ -185,7 +248,33 @@ html[data-brand="gold"][data-theme="dark"] {
|
|
|
185
248
|
--color-core-ui-secondary: var(--primitive-yellow-09);
|
|
186
249
|
--color-input-border-hover: var(--primitive-yellow-08);
|
|
187
250
|
--color-input-border-selected: var(--primitive-yellow-08);
|
|
188
|
-
--font-
|
|
251
|
+
--font-caption-letter-spacing: -0.01em;
|
|
252
|
+
--font-display-1-letter-spacing: 0.01em;
|
|
253
|
+
--font-display-1-weight: 500;
|
|
254
|
+
--font-display-2-letter-spacing: 0.005em;
|
|
255
|
+
--font-display-2-weight: 500;
|
|
256
|
+
--font-family-heading: 'Space Grotesk', sans-serif;
|
|
257
|
+
--font-family-primary: 'Manrope', sans-serif;
|
|
258
|
+
--font-heading-1-letter-spacing: 0.005em;
|
|
259
|
+
--font-heading-1-weight: 700;
|
|
260
|
+
--font-heading-2-letter-spacing: 0.005em;
|
|
261
|
+
--font-heading-2-weight: 700;
|
|
262
|
+
--font-heading-3-letter-spacing: 0.005em;
|
|
263
|
+
--font-heading-3-weight: 700;
|
|
264
|
+
--font-mega-1-letter-spacing: 0.01em;
|
|
265
|
+
--font-mega-1-weight: 500;
|
|
266
|
+
--font-mega-2-letter-spacing: 0.01em;
|
|
267
|
+
--font-mega-2-weight: 500;
|
|
268
|
+
--font-overline-letter-spacing: 0.07em;
|
|
269
|
+
--font-paragraph-emphasis-letter-spacing: -0.02em;
|
|
270
|
+
--font-paragraph-letter-spacing: -0.01em;
|
|
271
|
+
--font-paragraph-sm-emphasis-letter-spacing: -0.01em;
|
|
272
|
+
--font-paragraph-sm-letter-spacing: -0.01em;
|
|
273
|
+
--font-sub-display-letter-spacing: 0.005em;
|
|
274
|
+
--font-sub-display-weight: 500;
|
|
275
|
+
--font-title-body-letter-spacing: -0.02em;
|
|
276
|
+
--font-title-body-weight: 700;
|
|
277
|
+
--material-symbols-weight: 500;
|
|
189
278
|
--motion-duration-base: 180ms;
|
|
190
279
|
--motion-duration-deliberate: 360ms;
|
|
191
280
|
--motion-duration-fast: 135ms;
|
|
@@ -204,6 +293,16 @@ html[data-brand="gold"][data-theme="dark"] {
|
|
|
204
293
|
--primitive-blue-09: #1B2C71;
|
|
205
294
|
--primitive-blue-10: #0F193E;
|
|
206
295
|
--primitive-blue-11: #0A112B;
|
|
296
|
+
--primitive-gap-050: 2px;
|
|
297
|
+
--primitive-gap-100: 4px;
|
|
298
|
+
--primitive-gap-1000: 38px;
|
|
299
|
+
--primitive-gap-1500: 57px;
|
|
300
|
+
--primitive-gap-200: 8px;
|
|
301
|
+
--primitive-gap-2000: 76px;
|
|
302
|
+
--primitive-gap-300: 11px;
|
|
303
|
+
--primitive-gap-3000: 114px;
|
|
304
|
+
--primitive-gap-400: 15px;
|
|
305
|
+
--primitive-gap-500: 19px;
|
|
207
306
|
--primitive-green-00: #F8FDFB;
|
|
208
307
|
--primitive-green-01: #EFFAF6;
|
|
209
308
|
--primitive-green-02: #D1F1E6;
|
|
@@ -256,6 +355,15 @@ html[data-brand="gold"][data-theme="dark"] {
|
|
|
256
355
|
--primitive-orange-09: #8A5321;
|
|
257
356
|
--primitive-orange-10: #523214;
|
|
258
357
|
--primitive-orange-11: #3D250F;
|
|
358
|
+
--primitive-padding-050: 2px;
|
|
359
|
+
--primitive-padding-100: 4px;
|
|
360
|
+
--primitive-padding-1000: 38px;
|
|
361
|
+
--primitive-padding-150: 6px;
|
|
362
|
+
--primitive-padding-1500: 57px;
|
|
363
|
+
--primitive-padding-200: 8px;
|
|
364
|
+
--primitive-padding-300: 11px;
|
|
365
|
+
--primitive-padding-400: 15px;
|
|
366
|
+
--primitive-padding-500: 19px;
|
|
259
367
|
--primitive-purple-00: #FCFAFE;
|
|
260
368
|
--primitive-purple-01: #F6F2FD;
|
|
261
369
|
--primitive-purple-02: #E2D2F9;
|
package/tokens/presets/mono.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 700;
|
|
40
40
|
font-display: swap;
|
|
41
41
|
src: url('../../fonts/presets/montserrat-300-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="mono"] {
|
package/tokens/presets/pink.css
CHANGED
|
@@ -7,39 +7,39 @@
|
|
|
7
7
|
* Import after tokens.css, then set data-brand="pink" on <html>.
|
|
8
8
|
*/
|
|
9
9
|
@font-face {
|
|
10
|
-
font-family: '
|
|
10
|
+
font-family: 'Nunito';
|
|
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/nunito-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: 'Nunito';
|
|
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/nunito-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: 'Fredoka';
|
|
29
29
|
font-style: normal;
|
|
30
30
|
font-weight: 300 700;
|
|
31
31
|
font-display: swap;
|
|
32
|
-
src: url('../../fonts/presets/
|
|
32
|
+
src: url('../../fonts/presets/fredoka-300-700-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: 'Fredoka';
|
|
38
38
|
font-style: normal;
|
|
39
39
|
font-weight: 300 700;
|
|
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/fredoka-300-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
html[data-brand="pink"] {
|
|
@@ -64,8 +64,29 @@ html[data-brand="pink"] {
|
|
|
64
64
|
--color-core-ui-secondary: var(--primitive-red-10);
|
|
65
65
|
--color-input-border-hover: var(--primitive-red-05);
|
|
66
66
|
--color-input-border-selected: var(--primitive-red-07);
|
|
67
|
-
--font-
|
|
68
|
-
--font-
|
|
67
|
+
--font-caption-letter-spacing: 0.005em;
|
|
68
|
+
--font-display-1-letter-spacing: 0.025em;
|
|
69
|
+
--font-display-1-weight: 400;
|
|
70
|
+
--font-display-2-letter-spacing: 0.02em;
|
|
71
|
+
--font-display-2-weight: 400;
|
|
72
|
+
--font-family-heading: 'Fredoka', sans-serif;
|
|
73
|
+
--font-family-primary: 'Nunito', sans-serif;
|
|
74
|
+
--font-heading-1-letter-spacing: 0.02em;
|
|
75
|
+
--font-heading-2-letter-spacing: 0.02em;
|
|
76
|
+
--font-heading-3-letter-spacing: 0.02em;
|
|
77
|
+
--font-mega-1-letter-spacing: 0.025em;
|
|
78
|
+
--font-mega-1-weight: 400;
|
|
79
|
+
--font-mega-2-letter-spacing: 0.025em;
|
|
80
|
+
--font-mega-2-weight: 400;
|
|
81
|
+
--font-overline-letter-spacing: 0.085em;
|
|
82
|
+
--font-paragraph-emphasis-letter-spacing: -0.005em;
|
|
83
|
+
--font-paragraph-letter-spacing: 0.005em;
|
|
84
|
+
--font-paragraph-sm-emphasis-letter-spacing: 0.005em;
|
|
85
|
+
--font-paragraph-sm-letter-spacing: 0.005em;
|
|
86
|
+
--font-sub-display-letter-spacing: 0.02em;
|
|
87
|
+
--font-sub-display-weight: 400;
|
|
88
|
+
--font-title-body-letter-spacing: -0.005em;
|
|
89
|
+
--material-symbols-weight: 400;
|
|
69
90
|
--motion-duration-base: 180ms;
|
|
70
91
|
--motion-duration-deliberate: 360ms;
|
|
71
92
|
--motion-duration-fast: 135ms;
|
|
@@ -84,6 +105,16 @@ html[data-brand="pink"] {
|
|
|
84
105
|
--primitive-blue-09: #283885;
|
|
85
106
|
--primitive-blue-10: #161F4A;
|
|
86
107
|
--primitive-blue-11: #0F1533;
|
|
108
|
+
--primitive-gap-050: 2px;
|
|
109
|
+
--primitive-gap-100: 4px;
|
|
110
|
+
--primitive-gap-1000: 42px;
|
|
111
|
+
--primitive-gap-1500: 63px;
|
|
112
|
+
--primitive-gap-200: 8px;
|
|
113
|
+
--primitive-gap-2000: 84px;
|
|
114
|
+
--primitive-gap-300: 13px;
|
|
115
|
+
--primitive-gap-3000: 126px;
|
|
116
|
+
--primitive-gap-400: 17px;
|
|
117
|
+
--primitive-gap-500: 21px;
|
|
87
118
|
--primitive-green-00: #F8FEFB;
|
|
88
119
|
--primitive-green-01: #EFFCF6;
|
|
89
120
|
--primitive-green-02: #D1F7E5;
|
|
@@ -96,14 +127,14 @@ html[data-brand="pink"] {
|
|
|
96
127
|
--primitive-green-09: #1A794D;
|
|
97
128
|
--primitive-green-10: #0F472D;
|
|
98
129
|
--primitive-green-11: #0C3723;
|
|
99
|
-
--primitive-neutral-00: #
|
|
100
|
-
--primitive-neutral-00-a01: rgba(
|
|
101
|
-
--primitive-neutral-00-a60: rgba(
|
|
102
|
-
--primitive-neutral-00-a90: rgba(
|
|
103
|
-
--primitive-neutral-01: #
|
|
104
|
-
--primitive-neutral-01-a01: rgba(
|
|
105
|
-
--primitive-neutral-01-a60: rgba(
|
|
106
|
-
--primitive-neutral-01-a82: rgba(
|
|
130
|
+
--primitive-neutral-00: #FEF8FB;
|
|
131
|
+
--primitive-neutral-00-a01: rgba(254, 248, 251, 0.01);
|
|
132
|
+
--primitive-neutral-00-a60: rgba(254, 248, 251, 0.6);
|
|
133
|
+
--primitive-neutral-00-a90: rgba(254, 248, 251, 0.9);
|
|
134
|
+
--primitive-neutral-01: #F0EAEE;
|
|
135
|
+
--primitive-neutral-01-a01: rgba(240, 234, 238, 0.01);
|
|
136
|
+
--primitive-neutral-01-a60: rgba(240, 234, 238, 0.6);
|
|
137
|
+
--primitive-neutral-01-a82: rgba(240, 234, 238, 0.82);
|
|
107
138
|
--primitive-neutral-02: #D6CAD1;
|
|
108
139
|
--primitive-neutral-02-a80: rgba(214, 202, 209, 0.8);
|
|
109
140
|
--primitive-neutral-03: #BDB2B8;
|
|
@@ -136,6 +167,15 @@ html[data-brand="pink"] {
|
|
|
136
167
|
--primitive-orange-09: #8A4221;
|
|
137
168
|
--primitive-orange-10: #522714;
|
|
138
169
|
--primitive-orange-11: #3D1D0F;
|
|
170
|
+
--primitive-padding-050: 2px;
|
|
171
|
+
--primitive-padding-100: 4px;
|
|
172
|
+
--primitive-padding-1000: 42px;
|
|
173
|
+
--primitive-padding-150: 6px;
|
|
174
|
+
--primitive-padding-1500: 63px;
|
|
175
|
+
--primitive-padding-200: 8px;
|
|
176
|
+
--primitive-padding-300: 13px;
|
|
177
|
+
--primitive-padding-400: 17px;
|
|
178
|
+
--primitive-padding-500: 21px;
|
|
139
179
|
--primitive-purple-00: #FDFAFF;
|
|
140
180
|
--primitive-purple-01: #F9F2FE;
|
|
141
181
|
--primitive-purple-02: #ECD2FB;
|
|
@@ -217,8 +257,29 @@ html[data-brand="pink"][data-theme="dark"] {
|
|
|
217
257
|
--color-core-ui-secondary: var(--primitive-red-09);
|
|
218
258
|
--color-input-border-hover: var(--primitive-red-08);
|
|
219
259
|
--color-input-border-selected: var(--primitive-red-08);
|
|
220
|
-
--font-
|
|
221
|
-
--font-
|
|
260
|
+
--font-caption-letter-spacing: 0.005em;
|
|
261
|
+
--font-display-1-letter-spacing: 0.025em;
|
|
262
|
+
--font-display-1-weight: 400;
|
|
263
|
+
--font-display-2-letter-spacing: 0.02em;
|
|
264
|
+
--font-display-2-weight: 400;
|
|
265
|
+
--font-family-heading: 'Fredoka', sans-serif;
|
|
266
|
+
--font-family-primary: 'Nunito', sans-serif;
|
|
267
|
+
--font-heading-1-letter-spacing: 0.02em;
|
|
268
|
+
--font-heading-2-letter-spacing: 0.02em;
|
|
269
|
+
--font-heading-3-letter-spacing: 0.02em;
|
|
270
|
+
--font-mega-1-letter-spacing: 0.025em;
|
|
271
|
+
--font-mega-1-weight: 400;
|
|
272
|
+
--font-mega-2-letter-spacing: 0.025em;
|
|
273
|
+
--font-mega-2-weight: 400;
|
|
274
|
+
--font-overline-letter-spacing: 0.085em;
|
|
275
|
+
--font-paragraph-emphasis-letter-spacing: -0.005em;
|
|
276
|
+
--font-paragraph-letter-spacing: 0.005em;
|
|
277
|
+
--font-paragraph-sm-emphasis-letter-spacing: 0.005em;
|
|
278
|
+
--font-paragraph-sm-letter-spacing: 0.005em;
|
|
279
|
+
--font-sub-display-letter-spacing: 0.02em;
|
|
280
|
+
--font-sub-display-weight: 400;
|
|
281
|
+
--font-title-body-letter-spacing: -0.005em;
|
|
282
|
+
--material-symbols-weight: 400;
|
|
222
283
|
--motion-duration-base: 180ms;
|
|
223
284
|
--motion-duration-deliberate: 360ms;
|
|
224
285
|
--motion-duration-fast: 135ms;
|
|
@@ -237,6 +298,16 @@ html[data-brand="pink"][data-theme="dark"] {
|
|
|
237
298
|
--primitive-blue-09: #283885;
|
|
238
299
|
--primitive-blue-10: #161F4A;
|
|
239
300
|
--primitive-blue-11: #0F1533;
|
|
301
|
+
--primitive-gap-050: 2px;
|
|
302
|
+
--primitive-gap-100: 4px;
|
|
303
|
+
--primitive-gap-1000: 42px;
|
|
304
|
+
--primitive-gap-1500: 63px;
|
|
305
|
+
--primitive-gap-200: 8px;
|
|
306
|
+
--primitive-gap-2000: 84px;
|
|
307
|
+
--primitive-gap-300: 13px;
|
|
308
|
+
--primitive-gap-3000: 126px;
|
|
309
|
+
--primitive-gap-400: 17px;
|
|
310
|
+
--primitive-gap-500: 21px;
|
|
240
311
|
--primitive-green-00: #F8FEFB;
|
|
241
312
|
--primitive-green-01: #EFFCF6;
|
|
242
313
|
--primitive-green-02: #D1F7E5;
|
|
@@ -289,6 +360,15 @@ html[data-brand="pink"][data-theme="dark"] {
|
|
|
289
360
|
--primitive-orange-09: #8A4221;
|
|
290
361
|
--primitive-orange-10: #522714;
|
|
291
362
|
--primitive-orange-11: #3D1D0F;
|
|
363
|
+
--primitive-padding-050: 2px;
|
|
364
|
+
--primitive-padding-100: 4px;
|
|
365
|
+
--primitive-padding-1000: 42px;
|
|
366
|
+
--primitive-padding-150: 6px;
|
|
367
|
+
--primitive-padding-1500: 63px;
|
|
368
|
+
--primitive-padding-200: 8px;
|
|
369
|
+
--primitive-padding-300: 13px;
|
|
370
|
+
--primitive-padding-400: 17px;
|
|
371
|
+
--primitive-padding-500: 21px;
|
|
292
372
|
--primitive-purple-00: #FDFAFF;
|
|
293
373
|
--primitive-purple-01: #F9F2FE;
|
|
294
374
|
--primitive-purple-02: #ECD2FB;
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
font-weight: 300;
|
|
58
58
|
font-display: swap;
|
|
59
59
|
src: url('../../fonts/presets/ibm-plex-mono-300-latin-ext.woff2') format('woff2');
|
|
60
|
-
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-
|
|
60
|
+
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;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
@font-face {
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
font-weight: 400;
|
|
67
67
|
font-display: swap;
|
|
68
68
|
src: url('../../fonts/presets/ibm-plex-mono-400-latin-ext.woff2') format('woff2');
|
|
69
|
-
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-
|
|
69
|
+
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;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
@font-face {
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
font-weight: 500;
|
|
76
76
|
font-display: swap;
|
|
77
77
|
src: url('../../fonts/presets/ibm-plex-mono-500-latin-ext.woff2') format('woff2');
|
|
78
|
-
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-
|
|
78
|
+
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;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
@font-face {
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
font-weight: 600;
|
|
85
85
|
font-display: swap;
|
|
86
86
|
src: url('../../fonts/presets/ibm-plex-mono-600-latin-ext.woff2') format('woff2');
|
|
87
|
-
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-
|
|
87
|
+
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;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
@font-face {
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
font-weight: 700;
|
|
94
94
|
font-display: swap;
|
|
95
95
|
src: url('../../fonts/presets/ibm-plex-mono-700-latin-ext.woff2') format('woff2');
|
|
96
|
-
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-
|
|
96
|
+
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;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
html[data-brand="terminal"] {
|
|
@@ -137,14 +137,14 @@ html[data-brand="terminal"] {
|
|
|
137
137
|
--primitive-blue-09: #162F55;
|
|
138
138
|
--primitive-blue-10: #0C1A2F;
|
|
139
139
|
--primitive-blue-11: #091221;
|
|
140
|
-
--primitive-neutral-00: #
|
|
141
|
-
--primitive-neutral-00-a01: rgba(
|
|
142
|
-
--primitive-neutral-00-a60: rgba(
|
|
143
|
-
--primitive-neutral-00-a90: rgba(
|
|
144
|
-
--primitive-neutral-01: #
|
|
145
|
-
--primitive-neutral-01-a01: rgba(
|
|
146
|
-
--primitive-neutral-01-a60: rgba(
|
|
147
|
-
--primitive-neutral-01-a82: rgba(
|
|
140
|
+
--primitive-neutral-00: #FAFEFD;
|
|
141
|
+
--primitive-neutral-00-a01: rgba(250, 254, 253, 0.01);
|
|
142
|
+
--primitive-neutral-00-a60: rgba(250, 254, 253, 0.6);
|
|
143
|
+
--primitive-neutral-00-a90: rgba(250, 254, 253, 0.9);
|
|
144
|
+
--primitive-neutral-01: #ECF0EF;
|
|
145
|
+
--primitive-neutral-01-a01: rgba(236, 240, 239, 0.01);
|
|
146
|
+
--primitive-neutral-01-a60: rgba(236, 240, 239, 0.6);
|
|
147
|
+
--primitive-neutral-01-a82: rgba(236, 240, 239, 0.82);
|
|
148
148
|
--primitive-neutral-02: #CED6D4;
|
|
149
149
|
--primitive-neutral-02-a80: rgba(206, 214, 212, 0.8);
|
|
150
150
|
--primitive-neutral-03: #B5BDBB;
|
|
@@ -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;
|
|
@@ -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
|