@manjunathhk/design-tokens 1.7.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +62 -28
- package/dist/LICENSES/FamiljenGrotesk-OFL.txt +93 -0
- package/dist/LICENSES/{Inter-OFL.txt → Figtree-OFL.txt} +1 -1
- package/dist/LICENSES/{JetBrainsMono-OFL.txt → SplineSansMono-OFL.txt} +1 -1
- package/dist/_tokens.scss +3 -1
- package/dist/base.css +1 -1
- package/dist/controls.js +17 -2
- package/dist/fonts/familjen-grotesk-latin-400-italic.woff2 +0 -0
- package/dist/fonts/familjen-grotesk-latin-400-normal.woff2 +0 -0
- package/dist/fonts/familjen-grotesk-latin-500-normal.woff2 +0 -0
- package/dist/fonts/familjen-grotesk-latin-600-normal.woff2 +0 -0
- package/dist/fonts/familjen-grotesk-latin-700-normal.woff2 +0 -0
- package/dist/fonts/figtree-latin-400-italic.woff2 +0 -0
- package/dist/fonts/figtree-latin-400-normal.woff2 +0 -0
- package/dist/fonts/figtree-latin-500-normal.woff2 +0 -0
- package/dist/fonts/figtree-latin-600-normal.woff2 +0 -0
- package/dist/fonts/figtree-latin-700-normal.woff2 +0 -0
- package/dist/fonts/spline-sans-mono-latin-400-italic.woff2 +0 -0
- package/dist/fonts/spline-sans-mono-latin-400-normal.woff2 +0 -0
- package/dist/fonts/spline-sans-mono-latin-500-normal.woff2 +0 -0
- package/dist/fonts/spline-sans-mono-latin-700-normal.woff2 +0 -0
- package/dist/fonts.css +64 -19
- package/dist/index.css +131 -80
- package/dist/stylelint.d.ts +1 -1
- package/dist/stylelint.mjs +1 -1
- package/dist/tokens.css +68 -62
- package/dist/tokens.d.ts +3 -1
- package/dist/tokens.json +47 -43
- package/dist/tokens.mjs +48 -44
- package/package.json +5 -4
- package/dist/fonts/inter-latin-400-italic.woff2 +0 -0
- package/dist/fonts/inter-latin-400-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-500-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-600-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-700-normal.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-latin-400-italic.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-latin-400-normal.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-latin-500-normal.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-latin-700-normal.woff2 +0 -0
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ This package is tokens and a small opt-in base stylesheet, nothing else:
|
|
|
12
12
|
- `base.css`, a small opt-in base (reset, body, links, selection, focus ring,
|
|
13
13
|
reduced motion, reading defaults, a content-width hook) built only on the
|
|
14
14
|
tokens;
|
|
15
|
-
- self-hosted
|
|
15
|
+
- self-hosted fonts and `fonts.css`, served under the role names `MK Display`, `MK Sans` and `MK Mono`;
|
|
16
16
|
- `controls.js`, an opt-in script for a light/dark/system theme switch and a
|
|
17
17
|
Fit/Full width toggle.
|
|
18
18
|
|
|
@@ -31,7 +31,7 @@ Each file in `dist/` has a subpath export (`@manjunathhk/design-tokens/<file>`).
|
|
|
31
31
|
| `index.css` | Fonts, tokens and base in one file (the package `style` entry) |
|
|
32
32
|
| `tokens.css` | `--mk-*` custom properties, light and dark |
|
|
33
33
|
| `base.css` | Opt-in reset and base styles, zero specificity, plus `.mk-grid-bg` |
|
|
34
|
-
| `fonts.css` | Self-hosted
|
|
34
|
+
| `fonts.css` | Self-hosted `@font-face` rules for `MK Display`, `MK Sans` and `MK Mono` |
|
|
35
35
|
| `controls.js` | Opt-in theme switch and width toggle ([Site controls](#site-controls)) |
|
|
36
36
|
| `tokens.json` | `{ version, light, dark, shared, breakpoints }`, flat, keyed by token path |
|
|
37
37
|
| `tokens.mjs` | The same five groups as typed constants (`tokens.d.ts`); also the package root import |
|
|
@@ -338,44 +338,63 @@ tokens. `transparent`, `currentcolor` and system colours stay allowed.
|
|
|
338
338
|
|
|
339
339
|
Semantic versioning is what makes "change once, reflect everywhere" safe:
|
|
340
340
|
|
|
341
|
-
- removing or renaming an emitted token is **MAJOR
|
|
342
|
-
enforces this);
|
|
341
|
+
- removing or renaming an emitted token is **MAJOR**;
|
|
343
342
|
- adding a token, or changing a value, is **MINOR** — value changes are
|
|
344
343
|
minor on purpose, since that is what lets `@1` / `/v1/` consumers receive a
|
|
345
344
|
palette change without asking for it;
|
|
346
345
|
- a build or doc fix is **PATCH**.
|
|
347
346
|
|
|
347
|
+
See [docs/decisions.md#tests](docs/decisions.md#tests) for how CI enforces the
|
|
348
|
+
versioning contract.
|
|
349
|
+
|
|
348
350
|
## How to change the palette
|
|
349
351
|
|
|
350
|
-
1.
|
|
352
|
+
1. **Check the first contrast constraints and update primitives.** Review the
|
|
353
|
+
**Tightest contrast headroom** record under **Contrast contract** in
|
|
354
|
+
[docs/decisions.md](docs/decisions.md) (#139) to see which light, dark and
|
|
355
|
+
composited pairs sit closest to the WCAG 2.2 AA floor (D52). Never invent a
|
|
356
|
+
colour value: every hex must come from D47 in
|
|
357
|
+
[docs/decisions.md](docs/decisions.md) or an approved PR description. If
|
|
358
|
+
introducing a new hue, add its raw scale to `tokens/primitive/color.json`
|
|
359
|
+
first and remove any unused primitive group — `test/naming.test.ts` reads
|
|
360
|
+
group names from `tokens/primitive/color.json` and fails if any primitive
|
|
361
|
+
name leaks into `dist/tokens.css`.
|
|
362
|
+
2. **Update the semantic tokens.** Edit `tokens/semantic/color.light.json` and
|
|
351
363
|
`tokens/semantic/color.dark.json` (both files, same keys — see
|
|
352
|
-
[Light and dark](#light-and-dark))
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
364
|
+
[Light and dark](#light-and-dark)) to reference the primitives.
|
|
365
|
+
3. **Update `docs/decisions.md` in the same PR.** `docs/decisions.md` (D47)
|
|
366
|
+
names the active hues and steps in prose, and the **Tightest contrast
|
|
367
|
+
headroom** record tracks the narrowest margins. Edit D47 (and update the
|
|
368
|
+
headroom record if the tightest pairs move) in place in the same PR so the
|
|
369
|
+
documented rules match the tokens.
|
|
370
|
+
4. **Bump `package.json` and update snapshots.** Value changes are **MINOR**
|
|
371
|
+
(D20/D45), and `npm run api-diff` passes on the PR only if `package.json`
|
|
372
|
+
is already bumped to at least **MINOR**, so bump `package.json` in this PR
|
|
373
|
+
(leave `CHANGELOG.md` entries under `## [Unreleased]` for the Release PR).
|
|
374
|
+
Run `npm run build` and update the snapshots (`npx vitest run -u`), because
|
|
375
|
+
`npm test` (`test/snapshot.test.ts`) snapshots `dist/tokens.css` and
|
|
376
|
+
`dist/tokens.json` including the version banner (the Release PR updates the
|
|
377
|
+
banner snapshot again when cutting the release).
|
|
378
|
+
5. **Preview and run the checks.** Open `docs/index.html` (generated, not
|
|
379
|
+
committed) to inspect swatches, contrast ratios, token-in-use examples and
|
|
380
|
+
the type scale in both modes. Run `npm run lint`, `npm run typecheck`,
|
|
381
|
+
`npm test` (contrast contract, naming contract, parity and snapshots),
|
|
382
|
+
`npm run test:e2e` and `npm run api-diff`.
|
|
383
|
+
6. **Open the PR for approval.** Per
|
|
384
|
+
[docs/workflow/implement-issue.md](docs/workflow/implement-issue.md), list
|
|
385
|
+
any new hex values and their light/dark contrast ratios at the top of the
|
|
386
|
+
PR description under **Needs your approval** before merging.
|
|
361
387
|
|
|
362
388
|
## Release process
|
|
363
389
|
|
|
364
390
|
GitHub Flow: short-lived branches off `main`, merged by PR. A release is a
|
|
365
|
-
tag on a `main` commit, pushed by a human only
|
|
366
|
-
|
|
367
|
-
a "Release X.Y.Z" PR before tagging.
|
|
368
|
-
|
|
369
|
-
Pushing the tag `vX.Y.Z` builds and tests the package, uploads it to the
|
|
370
|
-
CDN under the pinned prefix `/vX.Y.Z/` and verifies it over HTTPS, publishes
|
|
371
|
-
to npm, then promotes the pinned files to the alias prefix `/vMAJOR/`,
|
|
372
|
-
purges that alias from Cloudflare's cache, verifies it, and creates the
|
|
373
|
-
GitHub Release. There are no release candidates; a failed run is safe to
|
|
374
|
-
rerun on the same tag. Step by step: [docs/workflow/release.md](docs/workflow/release.md).
|
|
391
|
+
tag on a `main` commit, pushed by a human only, which publishes the package to
|
|
392
|
+
npm and the CDN.
|
|
375
393
|
|
|
376
394
|
Pinned CDN paths (`/vX.Y.Z/`) are immutable; only the alias (`/vMAJOR/`) is
|
|
377
|
-
ever rewritten.
|
|
378
|
-
|
|
395
|
+
ever rewritten. For the enforcement rules and pipeline details, see
|
|
396
|
+
[docs/decisions.md#release-and-cdn](docs/decisions.md#release-and-cdn); for the
|
|
397
|
+
step-by-step checklist, see [docs/workflow/release.md](docs/workflow/release.md).
|
|
379
398
|
|
|
380
399
|
## Theme control
|
|
381
400
|
|
|
@@ -419,7 +438,7 @@ for anything a user interacts with.
|
|
|
419
438
|
|
|
420
439
|
## Development
|
|
421
440
|
|
|
422
|
-
Node
|
|
441
|
+
Node 26 LTS (`.nvmrc`).
|
|
423
442
|
|
|
424
443
|
```sh
|
|
425
444
|
npm ci
|
|
@@ -430,7 +449,7 @@ npm test
|
|
|
430
449
|
```
|
|
431
450
|
|
|
432
451
|
Linux and Windows are both supported contributor environments (D37). On
|
|
433
|
-
Windows, use Node
|
|
452
|
+
Windows, use Node 26 and Git for Windows. Line endings are pinned to LF by
|
|
434
453
|
`.gitattributes`, so no global Git configuration change is needed. Run
|
|
435
454
|
`npm run build` before `npm test`: the output tests read the generated `dist/`.
|
|
436
455
|
Browser tests need Chromium: `npx playwright install chromium`, then
|
|
@@ -445,3 +464,18 @@ allowed):
|
|
|
445
464
|
- `ci` — install, lint, typecheck, build, test, API diff against the
|
|
446
465
|
published package;
|
|
447
466
|
- `playwright` — the cross-origin consumption smoke test.
|
|
467
|
+
|
|
468
|
+
## Upgrading from 1.x to 2.0
|
|
469
|
+
|
|
470
|
+
2.0.0 changes how every site looks (clay and pine palette, new fonts); no
|
|
471
|
+
token is renamed or removed. `/v1/` and `@1` keep serving amber and Inter, so
|
|
472
|
+
move one site at a time:
|
|
473
|
+
|
|
474
|
+
- Switch the link to `https://design.manjunathhk.in/v2/index.css` or
|
|
475
|
+
`@manjunathhk/design-tokens@2`, and look at the site in light and dark.
|
|
476
|
+
- Search for hardcoded amber (logos, SVGs, inline styles, WordPress
|
|
477
|
+
`theme.json`) and for `font-family: Inter` or `JetBrains Mono`; the faces
|
|
478
|
+
are gone, so use `var(--mk-font-family-sans)` and `-mono`.
|
|
479
|
+
- `--mk-color-success` is now teal; `--mk-color-highlight` and
|
|
480
|
+
`--mk-color-on-highlight` are new and optional.
|
|
481
|
+
- To stay on the old look, pin `/v1.7.0/`.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2021 The Familjen Grotesk Project Authors (https://github.com/Familjen-Sthlm/Familjen-Grotesk) FamiljenGrotesk-Italic[wght].ttf: Copyright 2021 The Familjen Grotesk Project Authors (https://github.com/Familjen-Sthlm/Familjen-Grotesk)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Copyright
|
|
1
|
+
Copyright 2022 The Figtree Project Authors (https://github.com/erikdkennedy/figtree) Figtree-Italic[wght].ttf: Copyright 2022 The Figtree Project Authors (https://github.com/erikdkennedy/figtree)
|
|
2
2
|
|
|
3
3
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
4
|
This license is copied below, and is also available with a FAQ at:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Copyright
|
|
1
|
+
Copyright 2022 The Spline Sans Mono Project Authors (https://github.com/SorkinType/SplineSansMono) SplineSansMono-Italic[wght].ttf: Copyright 2022 The Spline Sans Mono Project Authors (https://github.com/SorkinType/SplineSansMono)
|
|
2
2
|
|
|
3
3
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
4
|
This license is copied below, and is also available with a FAQ at:
|
package/dist/_tokens.scss
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @manjunathhk/design-tokens
|
|
1
|
+
/*! @manjunathhk/design-tokens v2.1.0 */
|
|
2
2
|
@use "sass:map";
|
|
3
3
|
|
|
4
4
|
$mk-color-accent: var(--mk-color-accent);
|
|
@@ -14,9 +14,11 @@ $mk-color-caption-bar: var(--mk-color-caption-bar);
|
|
|
14
14
|
$mk-color-danger: var(--mk-color-danger);
|
|
15
15
|
$mk-color-focus-ring: var(--mk-color-focus-ring);
|
|
16
16
|
$mk-color-grid-line: var(--mk-color-grid-line);
|
|
17
|
+
$mk-color-highlight: var(--mk-color-highlight);
|
|
17
18
|
$mk-color-info: var(--mk-color-info);
|
|
18
19
|
$mk-color-on-accent: var(--mk-color-on-accent);
|
|
19
20
|
$mk-color-on-danger: var(--mk-color-on-danger);
|
|
21
|
+
$mk-color-on-highlight: var(--mk-color-on-highlight);
|
|
20
22
|
$mk-color-selected-row: var(--mk-color-selected-row);
|
|
21
23
|
$mk-color-success: var(--mk-color-success);
|
|
22
24
|
$mk-color-surface: var(--mk-color-surface);
|
package/dist/base.css
CHANGED
package/dist/controls.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @manjunathhk/design-tokens
|
|
1
|
+
/*! @manjunathhk/design-tokens v2.1.0 */
|
|
2
2
|
"use strict";
|
|
3
3
|
/*
|
|
4
4
|
* Site controls (D54): a three-state theme switch and a Fit/Full width toggle.
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
dark: '[data-mk-theme-choice="dark"]',
|
|
17
17
|
};
|
|
18
18
|
const WIDTH_TOGGLE = "[data-mk-width-toggle]";
|
|
19
|
+
const ANY_CONTROL = `[data-mk-theme-choice],${WIDTH_TOGGLE}`;
|
|
19
20
|
const THEMES = Object.keys(THEME_BUTTONS);
|
|
20
21
|
const root = document.documentElement;
|
|
21
22
|
// Storage can be missing or throw (private mode, blocked cookies); the
|
|
@@ -81,7 +82,21 @@
|
|
|
81
82
|
}
|
|
82
83
|
apply();
|
|
83
84
|
});
|
|
85
|
+
function addsControl(records) {
|
|
86
|
+
for (const record of records) {
|
|
87
|
+
for (const node of record.addedNodes) {
|
|
88
|
+
if (node instanceof Element &&
|
|
89
|
+
(node.matches(ANY_CONTROL) || node.querySelector(ANY_CONTROL) !== null)) {
|
|
90
|
+
return true;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
return false;
|
|
95
|
+
}
|
|
84
96
|
// Buttons parsed or rendered after this script (the page body, Angular,
|
|
85
97
|
// WordPress blocks) get the current aria-pressed as soon as they appear.
|
|
86
|
-
new MutationObserver(
|
|
98
|
+
new MutationObserver((records) => {
|
|
99
|
+
if (addsControl(records))
|
|
100
|
+
sync();
|
|
101
|
+
}).observe(root, { childList: true, subtree: true });
|
|
87
102
|
})();
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/fonts.css
CHANGED
|
@@ -1,81 +1,126 @@
|
|
|
1
|
-
/*! @manjunathhk/design-tokens
|
|
1
|
+
/*! @manjunathhk/design-tokens v2.1.0 */
|
|
2
2
|
@font-face {
|
|
3
|
-
font-family: "
|
|
3
|
+
font-family: "MK Display";
|
|
4
4
|
font-style: normal;
|
|
5
5
|
font-weight: 400;
|
|
6
6
|
font-display: swap;
|
|
7
|
-
src: local("
|
|
7
|
+
src: local("Familjen Grotesk"), local("FamiljenGrotesk-Regular"), url("fonts/familjen-grotesk-latin-400-normal.woff2") format("woff2");
|
|
8
8
|
unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
@font-face {
|
|
12
|
-
font-family: "
|
|
12
|
+
font-family: "MK Display";
|
|
13
13
|
font-style: normal;
|
|
14
14
|
font-weight: 500;
|
|
15
15
|
font-display: swap;
|
|
16
|
-
src: local("
|
|
16
|
+
src: local("Familjen Grotesk Medium"), local("FamiljenGrotesk-Medium"), url("fonts/familjen-grotesk-latin-500-normal.woff2") format("woff2");
|
|
17
17
|
unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
@font-face {
|
|
21
|
-
font-family: "
|
|
21
|
+
font-family: "MK Display";
|
|
22
22
|
font-style: normal;
|
|
23
23
|
font-weight: 600;
|
|
24
24
|
font-display: swap;
|
|
25
|
-
src: local("
|
|
25
|
+
src: local("Familjen Grotesk SemiBold"), local("FamiljenGrotesk-SemiBold"), url("fonts/familjen-grotesk-latin-600-normal.woff2") format("woff2");
|
|
26
26
|
unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
@font-face {
|
|
30
|
-
font-family: "
|
|
30
|
+
font-family: "MK Display";
|
|
31
31
|
font-style: normal;
|
|
32
32
|
font-weight: 700;
|
|
33
33
|
font-display: swap;
|
|
34
|
-
src: local("
|
|
34
|
+
src: local("Familjen Grotesk Bold"), local("FamiljenGrotesk-Bold"), url("fonts/familjen-grotesk-latin-700-normal.woff2") format("woff2");
|
|
35
35
|
unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
@font-face {
|
|
39
|
-
font-family: "
|
|
39
|
+
font-family: "MK Display";
|
|
40
40
|
font-style: italic;
|
|
41
41
|
font-weight: 400;
|
|
42
42
|
font-display: swap;
|
|
43
|
-
src: local("
|
|
43
|
+
src: local("Familjen Grotesk Italic"), local("FamiljenGrotesk-Italic"), url("fonts/familjen-grotesk-latin-400-italic.woff2") format("woff2");
|
|
44
44
|
unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
@font-face {
|
|
48
|
-
font-family: "
|
|
48
|
+
font-family: "MK Sans";
|
|
49
49
|
font-style: normal;
|
|
50
50
|
font-weight: 400;
|
|
51
51
|
font-display: swap;
|
|
52
|
-
src: local("
|
|
52
|
+
src: local("Figtree"), local("Figtree-Regular"), url("fonts/figtree-latin-400-normal.woff2") format("woff2");
|
|
53
53
|
unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
@font-face {
|
|
57
|
-
font-family: "
|
|
57
|
+
font-family: "MK Sans";
|
|
58
58
|
font-style: normal;
|
|
59
59
|
font-weight: 500;
|
|
60
60
|
font-display: swap;
|
|
61
|
-
src: local("
|
|
61
|
+
src: local("Figtree Medium"), local("Figtree-Medium"), url("fonts/figtree-latin-500-normal.woff2") format("woff2");
|
|
62
62
|
unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
@font-face {
|
|
66
|
-
font-family: "
|
|
66
|
+
font-family: "MK Sans";
|
|
67
|
+
font-style: normal;
|
|
68
|
+
font-weight: 600;
|
|
69
|
+
font-display: swap;
|
|
70
|
+
src: local("Figtree SemiBold"), local("Figtree-SemiBold"), url("fonts/figtree-latin-600-normal.woff2") format("woff2");
|
|
71
|
+
unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@font-face {
|
|
75
|
+
font-family: "MK Sans";
|
|
76
|
+
font-style: normal;
|
|
77
|
+
font-weight: 700;
|
|
78
|
+
font-display: swap;
|
|
79
|
+
src: local("Figtree Bold"), local("Figtree-Bold"), url("fonts/figtree-latin-700-normal.woff2") format("woff2");
|
|
80
|
+
unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
@font-face {
|
|
84
|
+
font-family: "MK Sans";
|
|
85
|
+
font-style: italic;
|
|
86
|
+
font-weight: 400;
|
|
87
|
+
font-display: swap;
|
|
88
|
+
src: local("Figtree Italic"), local("Figtree-Italic"), url("fonts/figtree-latin-400-italic.woff2") format("woff2");
|
|
89
|
+
unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
@font-face {
|
|
93
|
+
font-family: "MK Mono";
|
|
94
|
+
font-style: normal;
|
|
95
|
+
font-weight: 400;
|
|
96
|
+
font-display: swap;
|
|
97
|
+
src: local("Spline Sans Mono"), local("SplineSansMono-Regular"), url("fonts/spline-sans-mono-latin-400-normal.woff2") format("woff2");
|
|
98
|
+
unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
@font-face {
|
|
102
|
+
font-family: "MK Mono";
|
|
103
|
+
font-style: normal;
|
|
104
|
+
font-weight: 500;
|
|
105
|
+
font-display: swap;
|
|
106
|
+
src: local("Spline Sans Mono Medium"), local("SplineSansMono-Medium"), url("fonts/spline-sans-mono-latin-500-normal.woff2") format("woff2");
|
|
107
|
+
unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
@font-face {
|
|
111
|
+
font-family: "MK Mono";
|
|
67
112
|
font-style: normal;
|
|
68
113
|
font-weight: 700;
|
|
69
114
|
font-display: swap;
|
|
70
|
-
src: local("
|
|
115
|
+
src: local("Spline Sans Mono Bold"), local("SplineSansMono-Bold"), url("fonts/spline-sans-mono-latin-700-normal.woff2") format("woff2");
|
|
71
116
|
unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02;
|
|
72
117
|
}
|
|
73
118
|
|
|
74
119
|
@font-face {
|
|
75
|
-
font-family: "
|
|
120
|
+
font-family: "MK Mono";
|
|
76
121
|
font-style: italic;
|
|
77
122
|
font-weight: 400;
|
|
78
123
|
font-display: swap;
|
|
79
|
-
src: local("
|
|
124
|
+
src: local("Spline Sans Mono Italic"), local("SplineSansMono-Italic"), url("fonts/spline-sans-mono-latin-400-italic.woff2") format("woff2");
|
|
80
125
|
unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02;
|
|
81
126
|
}
|