@manjunathhk/design-tokens 1.7.0 → 2.0.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 +19 -4
- 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 +1 -1
- 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 +130 -79
- package/dist/stylelint.d.ts +1 -1
- package/dist/stylelint.mjs +1 -1
- package/dist/tokens.css +67 -61
- package/dist/tokens.d.ts +3 -1
- package/dist/tokens.json +46 -42
- package/dist/tokens.mjs +47 -43
- 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 |
|
|
@@ -419,7 +419,7 @@ for anything a user interacts with.
|
|
|
419
419
|
|
|
420
420
|
## Development
|
|
421
421
|
|
|
422
|
-
Node
|
|
422
|
+
Node 26 LTS (`.nvmrc`).
|
|
423
423
|
|
|
424
424
|
```sh
|
|
425
425
|
npm ci
|
|
@@ -430,7 +430,7 @@ npm test
|
|
|
430
430
|
```
|
|
431
431
|
|
|
432
432
|
Linux and Windows are both supported contributor environments (D37). On
|
|
433
|
-
Windows, use Node
|
|
433
|
+
Windows, use Node 26 and Git for Windows. Line endings are pinned to LF by
|
|
434
434
|
`.gitattributes`, so no global Git configuration change is needed. Run
|
|
435
435
|
`npm run build` before `npm test`: the output tests read the generated `dist/`.
|
|
436
436
|
Browser tests need Chromium: `npx playwright install chromium`, then
|
|
@@ -445,3 +445,18 @@ allowed):
|
|
|
445
445
|
- `ci` — install, lint, typecheck, build, test, API diff against the
|
|
446
446
|
published package;
|
|
447
447
|
- `playwright` — the cross-origin consumption smoke test.
|
|
448
|
+
|
|
449
|
+
## Upgrading from 1.x to 2.0
|
|
450
|
+
|
|
451
|
+
2.0.0 changes how every site looks (clay and pine palette, new fonts); no
|
|
452
|
+
token is renamed or removed. `/v1/` and `@1` keep serving amber and Inter, so
|
|
453
|
+
move one site at a time:
|
|
454
|
+
|
|
455
|
+
- Switch the link to `https://design.manjunathhk.in/v2/index.css` or
|
|
456
|
+
`@manjunathhk/design-tokens@2`, and look at the site in light and dark.
|
|
457
|
+
- Search for hardcoded amber (logos, SVGs, inline styles, WordPress
|
|
458
|
+
`theme.json`) and for `font-family: Inter` or `JetBrains Mono`; the faces
|
|
459
|
+
are gone, so use `var(--mk-font-family-sans)` and `-mono`.
|
|
460
|
+
- `--mk-color-success` is now teal; `--mk-color-highlight` and
|
|
461
|
+
`--mk-color-on-highlight` are new and optional.
|
|
462
|
+
- 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.0.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
|
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.0.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
|
}
|
package/dist/index.css
CHANGED
|
@@ -1,111 +1,158 @@
|
|
|
1
|
-
/*! @manjunathhk/design-tokens
|
|
1
|
+
/*! @manjunathhk/design-tokens v2.0.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
|
}
|
|
82
127
|
:root {
|
|
83
|
-
--mk-color-accent: #
|
|
84
|
-
--mk-color-accent-hover: #
|
|
85
|
-
--mk-color-accent-subtle: rgba(
|
|
86
|
-
--mk-color-backdrop: rgba(
|
|
87
|
-
--mk-color-bg: #
|
|
88
|
-
--mk-color-bg-subtle: #
|
|
89
|
-
--mk-color-border: #
|
|
90
|
-
--mk-color-border-control: #
|
|
91
|
-
--mk-color-border-strong: #
|
|
92
|
-
--mk-color-caption-bar: rgba(
|
|
128
|
+
--mk-color-accent: #2E5B44;
|
|
129
|
+
--mk-color-accent-hover: #234733;
|
|
130
|
+
--mk-color-accent-subtle: rgba(46, 91, 68, 0.14);
|
|
131
|
+
--mk-color-backdrop: rgba(34, 38, 31, 0.35);
|
|
132
|
+
--mk-color-bg: #EFE9E0;
|
|
133
|
+
--mk-color-bg-subtle: #E2D9CB;
|
|
134
|
+
--mk-color-border: #D0C6B6;
|
|
135
|
+
--mk-color-border-control: #7A7A6C;
|
|
136
|
+
--mk-color-border-strong: #7A7A6C;
|
|
137
|
+
--mk-color-caption-bar: rgba(239, 233, 224, 0.9);
|
|
93
138
|
--mk-color-danger: #B91C1C;
|
|
94
|
-
--mk-color-focus-ring: #
|
|
95
|
-
--mk-color-grid-line: rgba(
|
|
139
|
+
--mk-color-focus-ring: #2E5B44;
|
|
140
|
+
--mk-color-grid-line: rgba(34, 38, 31, 0.05);
|
|
141
|
+
--mk-color-highlight: #B8892F;
|
|
96
142
|
--mk-color-info: #1D4ED8;
|
|
97
143
|
--mk-color-on-accent: #FFFFFF;
|
|
98
144
|
--mk-color-on-danger: #FFFFFF;
|
|
99
|
-
--mk-color-
|
|
100
|
-
--mk-color-
|
|
101
|
-
--mk-color-
|
|
102
|
-
--mk-color-
|
|
103
|
-
--mk-color-text
|
|
104
|
-
--mk-color-text-
|
|
105
|
-
--mk-color-
|
|
106
|
-
--mk-
|
|
107
|
-
--mk-font-family-
|
|
108
|
-
--mk-font-family-
|
|
145
|
+
--mk-color-on-highlight: #22261F;
|
|
146
|
+
--mk-color-selected-row: rgba(46, 91, 68, 0.06);
|
|
147
|
+
--mk-color-success: #115E59;
|
|
148
|
+
--mk-color-surface: #FAF7F2;
|
|
149
|
+
--mk-color-text: #22261F;
|
|
150
|
+
--mk-color-text-muted: #575A50;
|
|
151
|
+
--mk-color-text-secondary: #3E4238;
|
|
152
|
+
--mk-color-warning: #854D0E;
|
|
153
|
+
--mk-font-family-display: 'MK Display', system-ui, -apple-system, 'Segoe UI', sans-serif;
|
|
154
|
+
--mk-font-family-mono: 'MK Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
155
|
+
--mk-font-family-sans: 'MK Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
|
|
109
156
|
--mk-font-letter-spacing-display: -0.028em;
|
|
110
157
|
--mk-font-letter-spacing-heading: -0.022em;
|
|
111
158
|
--mk-font-letter-spacing-label: 0.07em;
|
|
@@ -162,56 +209,60 @@
|
|
|
162
209
|
|
|
163
210
|
@media (prefers-color-scheme: dark) {
|
|
164
211
|
:root:not([data-theme="light"]) {
|
|
165
|
-
--mk-color-accent: #
|
|
166
|
-
--mk-color-accent-hover: #
|
|
167
|
-
--mk-color-accent-subtle: rgba(
|
|
168
|
-
--mk-color-backdrop: rgba(
|
|
169
|
-
--mk-color-bg: #
|
|
170
|
-
--mk-color-bg-subtle: #
|
|
171
|
-
--mk-color-border: #
|
|
172
|
-
--mk-color-border-control: #
|
|
173
|
-
--mk-color-border-strong: #
|
|
174
|
-
--mk-color-caption-bar: rgba(
|
|
212
|
+
--mk-color-accent: #8CC7A0;
|
|
213
|
+
--mk-color-accent-hover: #AFDABD;
|
|
214
|
+
--mk-color-accent-subtle: rgba(140, 199, 160, 0.14);
|
|
215
|
+
--mk-color-backdrop: rgba(17, 21, 15, 0.72);
|
|
216
|
+
--mk-color-bg: #11150F;
|
|
217
|
+
--mk-color-bg-subtle: #1A1F17;
|
|
218
|
+
--mk-color-border: #343B2F;
|
|
219
|
+
--mk-color-border-control: #7C8470;
|
|
220
|
+
--mk-color-border-strong: #7C8470;
|
|
221
|
+
--mk-color-caption-bar: rgba(17, 21, 15, 0.9);
|
|
175
222
|
--mk-color-danger: #F87171;
|
|
176
|
-
--mk-color-focus-ring: #
|
|
223
|
+
--mk-color-focus-ring: #8CC7A0;
|
|
177
224
|
--mk-color-grid-line: rgba(255, 255, 255, 0.04);
|
|
225
|
+
--mk-color-highlight: #D4AA55;
|
|
178
226
|
--mk-color-info: #60A5FA;
|
|
179
|
-
--mk-color-on-accent: #
|
|
180
|
-
--mk-color-on-danger: #
|
|
181
|
-
--mk-color-
|
|
182
|
-
--mk-color-
|
|
183
|
-
--mk-color-
|
|
184
|
-
--mk-color-
|
|
185
|
-
--mk-color-text
|
|
186
|
-
--mk-color-text-
|
|
227
|
+
--mk-color-on-accent: #11150F;
|
|
228
|
+
--mk-color-on-danger: #11150F;
|
|
229
|
+
--mk-color-on-highlight: #11150F;
|
|
230
|
+
--mk-color-selected-row: rgba(140, 199, 160, 0.06);
|
|
231
|
+
--mk-color-success: #2DD4BF;
|
|
232
|
+
--mk-color-surface: #242B20;
|
|
233
|
+
--mk-color-text: #EEEBE2;
|
|
234
|
+
--mk-color-text-muted: #9A9D8E;
|
|
235
|
+
--mk-color-text-secondary: #CBC9BC;
|
|
187
236
|
--mk-color-warning: #FB923C;
|
|
188
237
|
color-scheme: dark;
|
|
189
238
|
}
|
|
190
239
|
}
|
|
191
240
|
|
|
192
241
|
:root[data-theme="dark"] {
|
|
193
|
-
--mk-color-accent: #
|
|
194
|
-
--mk-color-accent-hover: #
|
|
195
|
-
--mk-color-accent-subtle: rgba(
|
|
196
|
-
--mk-color-backdrop: rgba(
|
|
197
|
-
--mk-color-bg: #
|
|
198
|
-
--mk-color-bg-subtle: #
|
|
199
|
-
--mk-color-border: #
|
|
200
|
-
--mk-color-border-control: #
|
|
201
|
-
--mk-color-border-strong: #
|
|
202
|
-
--mk-color-caption-bar: rgba(
|
|
242
|
+
--mk-color-accent: #8CC7A0;
|
|
243
|
+
--mk-color-accent-hover: #AFDABD;
|
|
244
|
+
--mk-color-accent-subtle: rgba(140, 199, 160, 0.14);
|
|
245
|
+
--mk-color-backdrop: rgba(17, 21, 15, 0.72);
|
|
246
|
+
--mk-color-bg: #11150F;
|
|
247
|
+
--mk-color-bg-subtle: #1A1F17;
|
|
248
|
+
--mk-color-border: #343B2F;
|
|
249
|
+
--mk-color-border-control: #7C8470;
|
|
250
|
+
--mk-color-border-strong: #7C8470;
|
|
251
|
+
--mk-color-caption-bar: rgba(17, 21, 15, 0.9);
|
|
203
252
|
--mk-color-danger: #F87171;
|
|
204
|
-
--mk-color-focus-ring: #
|
|
253
|
+
--mk-color-focus-ring: #8CC7A0;
|
|
205
254
|
--mk-color-grid-line: rgba(255, 255, 255, 0.04);
|
|
255
|
+
--mk-color-highlight: #D4AA55;
|
|
206
256
|
--mk-color-info: #60A5FA;
|
|
207
|
-
--mk-color-on-accent: #
|
|
208
|
-
--mk-color-on-danger: #
|
|
209
|
-
--mk-color-
|
|
210
|
-
--mk-color-
|
|
211
|
-
--mk-color-
|
|
212
|
-
--mk-color-
|
|
213
|
-
--mk-color-text
|
|
214
|
-
--mk-color-text-
|
|
257
|
+
--mk-color-on-accent: #11150F;
|
|
258
|
+
--mk-color-on-danger: #11150F;
|
|
259
|
+
--mk-color-on-highlight: #11150F;
|
|
260
|
+
--mk-color-selected-row: rgba(140, 199, 160, 0.06);
|
|
261
|
+
--mk-color-success: #2DD4BF;
|
|
262
|
+
--mk-color-surface: #242B20;
|
|
263
|
+
--mk-color-text: #EEEBE2;
|
|
264
|
+
--mk-color-text-muted: #9A9D8E;
|
|
265
|
+
--mk-color-text-secondary: #CBC9BC;
|
|
215
266
|
--mk-color-warning: #FB923C;
|
|
216
267
|
color-scheme: dark;
|
|
217
268
|
}
|
package/dist/stylelint.d.ts
CHANGED
package/dist/stylelint.mjs
CHANGED
package/dist/tokens.css
CHANGED
|
@@ -1,31 +1,33 @@
|
|
|
1
|
-
/*! @manjunathhk/design-tokens
|
|
1
|
+
/*! @manjunathhk/design-tokens v2.0.0 */
|
|
2
2
|
:root {
|
|
3
|
-
--mk-color-accent: #
|
|
4
|
-
--mk-color-accent-hover: #
|
|
5
|
-
--mk-color-accent-subtle: rgba(
|
|
6
|
-
--mk-color-backdrop: rgba(
|
|
7
|
-
--mk-color-bg: #
|
|
8
|
-
--mk-color-bg-subtle: #
|
|
9
|
-
--mk-color-border: #
|
|
10
|
-
--mk-color-border-control: #
|
|
11
|
-
--mk-color-border-strong: #
|
|
12
|
-
--mk-color-caption-bar: rgba(
|
|
3
|
+
--mk-color-accent: #2E5B44;
|
|
4
|
+
--mk-color-accent-hover: #234733;
|
|
5
|
+
--mk-color-accent-subtle: rgba(46, 91, 68, 0.14);
|
|
6
|
+
--mk-color-backdrop: rgba(34, 38, 31, 0.35);
|
|
7
|
+
--mk-color-bg: #EFE9E0;
|
|
8
|
+
--mk-color-bg-subtle: #E2D9CB;
|
|
9
|
+
--mk-color-border: #D0C6B6;
|
|
10
|
+
--mk-color-border-control: #7A7A6C;
|
|
11
|
+
--mk-color-border-strong: #7A7A6C;
|
|
12
|
+
--mk-color-caption-bar: rgba(239, 233, 224, 0.9);
|
|
13
13
|
--mk-color-danger: #B91C1C;
|
|
14
|
-
--mk-color-focus-ring: #
|
|
15
|
-
--mk-color-grid-line: rgba(
|
|
14
|
+
--mk-color-focus-ring: #2E5B44;
|
|
15
|
+
--mk-color-grid-line: rgba(34, 38, 31, 0.05);
|
|
16
|
+
--mk-color-highlight: #B8892F;
|
|
16
17
|
--mk-color-info: #1D4ED8;
|
|
17
18
|
--mk-color-on-accent: #FFFFFF;
|
|
18
19
|
--mk-color-on-danger: #FFFFFF;
|
|
19
|
-
--mk-color-
|
|
20
|
-
--mk-color-
|
|
21
|
-
--mk-color-
|
|
22
|
-
--mk-color-
|
|
23
|
-
--mk-color-text
|
|
24
|
-
--mk-color-text-
|
|
25
|
-
--mk-color-
|
|
26
|
-
--mk-
|
|
27
|
-
--mk-font-family-
|
|
28
|
-
--mk-font-family-
|
|
20
|
+
--mk-color-on-highlight: #22261F;
|
|
21
|
+
--mk-color-selected-row: rgba(46, 91, 68, 0.06);
|
|
22
|
+
--mk-color-success: #115E59;
|
|
23
|
+
--mk-color-surface: #FAF7F2;
|
|
24
|
+
--mk-color-text: #22261F;
|
|
25
|
+
--mk-color-text-muted: #575A50;
|
|
26
|
+
--mk-color-text-secondary: #3E4238;
|
|
27
|
+
--mk-color-warning: #854D0E;
|
|
28
|
+
--mk-font-family-display: 'MK Display', system-ui, -apple-system, 'Segoe UI', sans-serif;
|
|
29
|
+
--mk-font-family-mono: 'MK Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
30
|
+
--mk-font-family-sans: 'MK Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
|
|
29
31
|
--mk-font-letter-spacing-display: -0.028em;
|
|
30
32
|
--mk-font-letter-spacing-heading: -0.022em;
|
|
31
33
|
--mk-font-letter-spacing-label: 0.07em;
|
|
@@ -82,56 +84,60 @@
|
|
|
82
84
|
|
|
83
85
|
@media (prefers-color-scheme: dark) {
|
|
84
86
|
:root:not([data-theme="light"]) {
|
|
85
|
-
--mk-color-accent: #
|
|
86
|
-
--mk-color-accent-hover: #
|
|
87
|
-
--mk-color-accent-subtle: rgba(
|
|
88
|
-
--mk-color-backdrop: rgba(
|
|
89
|
-
--mk-color-bg: #
|
|
90
|
-
--mk-color-bg-subtle: #
|
|
91
|
-
--mk-color-border: #
|
|
92
|
-
--mk-color-border-control: #
|
|
93
|
-
--mk-color-border-strong: #
|
|
94
|
-
--mk-color-caption-bar: rgba(
|
|
87
|
+
--mk-color-accent: #8CC7A0;
|
|
88
|
+
--mk-color-accent-hover: #AFDABD;
|
|
89
|
+
--mk-color-accent-subtle: rgba(140, 199, 160, 0.14);
|
|
90
|
+
--mk-color-backdrop: rgba(17, 21, 15, 0.72);
|
|
91
|
+
--mk-color-bg: #11150F;
|
|
92
|
+
--mk-color-bg-subtle: #1A1F17;
|
|
93
|
+
--mk-color-border: #343B2F;
|
|
94
|
+
--mk-color-border-control: #7C8470;
|
|
95
|
+
--mk-color-border-strong: #7C8470;
|
|
96
|
+
--mk-color-caption-bar: rgba(17, 21, 15, 0.9);
|
|
95
97
|
--mk-color-danger: #F87171;
|
|
96
|
-
--mk-color-focus-ring: #
|
|
98
|
+
--mk-color-focus-ring: #8CC7A0;
|
|
97
99
|
--mk-color-grid-line: rgba(255, 255, 255, 0.04);
|
|
100
|
+
--mk-color-highlight: #D4AA55;
|
|
98
101
|
--mk-color-info: #60A5FA;
|
|
99
|
-
--mk-color-on-accent: #
|
|
100
|
-
--mk-color-on-danger: #
|
|
101
|
-
--mk-color-
|
|
102
|
-
--mk-color-
|
|
103
|
-
--mk-color-
|
|
104
|
-
--mk-color-
|
|
105
|
-
--mk-color-text
|
|
106
|
-
--mk-color-text-
|
|
102
|
+
--mk-color-on-accent: #11150F;
|
|
103
|
+
--mk-color-on-danger: #11150F;
|
|
104
|
+
--mk-color-on-highlight: #11150F;
|
|
105
|
+
--mk-color-selected-row: rgba(140, 199, 160, 0.06);
|
|
106
|
+
--mk-color-success: #2DD4BF;
|
|
107
|
+
--mk-color-surface: #242B20;
|
|
108
|
+
--mk-color-text: #EEEBE2;
|
|
109
|
+
--mk-color-text-muted: #9A9D8E;
|
|
110
|
+
--mk-color-text-secondary: #CBC9BC;
|
|
107
111
|
--mk-color-warning: #FB923C;
|
|
108
112
|
color-scheme: dark;
|
|
109
113
|
}
|
|
110
114
|
}
|
|
111
115
|
|
|
112
116
|
:root[data-theme="dark"] {
|
|
113
|
-
--mk-color-accent: #
|
|
114
|
-
--mk-color-accent-hover: #
|
|
115
|
-
--mk-color-accent-subtle: rgba(
|
|
116
|
-
--mk-color-backdrop: rgba(
|
|
117
|
-
--mk-color-bg: #
|
|
118
|
-
--mk-color-bg-subtle: #
|
|
119
|
-
--mk-color-border: #
|
|
120
|
-
--mk-color-border-control: #
|
|
121
|
-
--mk-color-border-strong: #
|
|
122
|
-
--mk-color-caption-bar: rgba(
|
|
117
|
+
--mk-color-accent: #8CC7A0;
|
|
118
|
+
--mk-color-accent-hover: #AFDABD;
|
|
119
|
+
--mk-color-accent-subtle: rgba(140, 199, 160, 0.14);
|
|
120
|
+
--mk-color-backdrop: rgba(17, 21, 15, 0.72);
|
|
121
|
+
--mk-color-bg: #11150F;
|
|
122
|
+
--mk-color-bg-subtle: #1A1F17;
|
|
123
|
+
--mk-color-border: #343B2F;
|
|
124
|
+
--mk-color-border-control: #7C8470;
|
|
125
|
+
--mk-color-border-strong: #7C8470;
|
|
126
|
+
--mk-color-caption-bar: rgba(17, 21, 15, 0.9);
|
|
123
127
|
--mk-color-danger: #F87171;
|
|
124
|
-
--mk-color-focus-ring: #
|
|
128
|
+
--mk-color-focus-ring: #8CC7A0;
|
|
125
129
|
--mk-color-grid-line: rgba(255, 255, 255, 0.04);
|
|
130
|
+
--mk-color-highlight: #D4AA55;
|
|
126
131
|
--mk-color-info: #60A5FA;
|
|
127
|
-
--mk-color-on-accent: #
|
|
128
|
-
--mk-color-on-danger: #
|
|
129
|
-
--mk-color-
|
|
130
|
-
--mk-color-
|
|
131
|
-
--mk-color-
|
|
132
|
-
--mk-color-
|
|
133
|
-
--mk-color-text
|
|
134
|
-
--mk-color-text-
|
|
132
|
+
--mk-color-on-accent: #11150F;
|
|
133
|
+
--mk-color-on-danger: #11150F;
|
|
134
|
+
--mk-color-on-highlight: #11150F;
|
|
135
|
+
--mk-color-selected-row: rgba(140, 199, 160, 0.06);
|
|
136
|
+
--mk-color-success: #2DD4BF;
|
|
137
|
+
--mk-color-surface: #242B20;
|
|
138
|
+
--mk-color-text: #EEEBE2;
|
|
139
|
+
--mk-color-text-muted: #9A9D8E;
|
|
140
|
+
--mk-color-text-secondary: #CBC9BC;
|
|
135
141
|
--mk-color-warning: #FB923C;
|
|
136
142
|
color-scheme: dark;
|
|
137
143
|
}
|
package/dist/tokens.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @manjunathhk/design-tokens
|
|
1
|
+
/*! @manjunathhk/design-tokens v2.0.0 */
|
|
2
2
|
/** Colour tokens; light and dark share these keys. */
|
|
3
3
|
export interface ColorTokens {
|
|
4
4
|
readonly "color.accent": string;
|
|
@@ -14,9 +14,11 @@ export interface ColorTokens {
|
|
|
14
14
|
readonly "color.danger": string;
|
|
15
15
|
readonly "color.focus-ring": string;
|
|
16
16
|
readonly "color.grid-line": string;
|
|
17
|
+
readonly "color.highlight": string;
|
|
17
18
|
readonly "color.info": string;
|
|
18
19
|
readonly "color.on-accent": string;
|
|
19
20
|
readonly "color.on-danger": string;
|
|
21
|
+
readonly "color.on-highlight": string;
|
|
20
22
|
readonly "color.selected-row": string;
|
|
21
23
|
readonly "color.success": string;
|
|
22
24
|
readonly "color.surface": string;
|
package/dist/tokens.json
CHANGED
|
@@ -1,59 +1,63 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "2.0.0",
|
|
3
3
|
"light": {
|
|
4
|
-
"color.accent": "#
|
|
5
|
-
"color.accent-hover": "#
|
|
6
|
-
"color.accent-subtle": "rgba(
|
|
7
|
-
"color.backdrop": "rgba(
|
|
8
|
-
"color.bg": "#
|
|
9
|
-
"color.bg-subtle": "#
|
|
10
|
-
"color.border": "#
|
|
11
|
-
"color.border-control": "#
|
|
12
|
-
"color.border-strong": "#
|
|
13
|
-
"color.caption-bar": "rgba(
|
|
4
|
+
"color.accent": "#2E5B44",
|
|
5
|
+
"color.accent-hover": "#234733",
|
|
6
|
+
"color.accent-subtle": "rgba(46, 91, 68, 0.14)",
|
|
7
|
+
"color.backdrop": "rgba(34, 38, 31, 0.35)",
|
|
8
|
+
"color.bg": "#EFE9E0",
|
|
9
|
+
"color.bg-subtle": "#E2D9CB",
|
|
10
|
+
"color.border": "#D0C6B6",
|
|
11
|
+
"color.border-control": "#7A7A6C",
|
|
12
|
+
"color.border-strong": "#7A7A6C",
|
|
13
|
+
"color.caption-bar": "rgba(239, 233, 224, 0.9)",
|
|
14
14
|
"color.danger": "#B91C1C",
|
|
15
|
-
"color.focus-ring": "#
|
|
16
|
-
"color.grid-line": "rgba(
|
|
15
|
+
"color.focus-ring": "#2E5B44",
|
|
16
|
+
"color.grid-line": "rgba(34, 38, 31, 0.05)",
|
|
17
|
+
"color.highlight": "#B8892F",
|
|
17
18
|
"color.info": "#1D4ED8",
|
|
18
19
|
"color.on-accent": "#FFFFFF",
|
|
19
20
|
"color.on-danger": "#FFFFFF",
|
|
20
|
-
"color.
|
|
21
|
-
"color.
|
|
22
|
-
"color.
|
|
23
|
-
"color.
|
|
24
|
-
"color.text
|
|
25
|
-
"color.text-
|
|
26
|
-
"color.
|
|
21
|
+
"color.on-highlight": "#22261F",
|
|
22
|
+
"color.selected-row": "rgba(46, 91, 68, 0.06)",
|
|
23
|
+
"color.success": "#115E59",
|
|
24
|
+
"color.surface": "#FAF7F2",
|
|
25
|
+
"color.text": "#22261F",
|
|
26
|
+
"color.text-muted": "#575A50",
|
|
27
|
+
"color.text-secondary": "#3E4238",
|
|
28
|
+
"color.warning": "#854D0E"
|
|
27
29
|
},
|
|
28
30
|
"dark": {
|
|
29
|
-
"color.accent": "#
|
|
30
|
-
"color.accent-hover": "#
|
|
31
|
-
"color.accent-subtle": "rgba(
|
|
32
|
-
"color.backdrop": "rgba(
|
|
33
|
-
"color.bg": "#
|
|
34
|
-
"color.bg-subtle": "#
|
|
35
|
-
"color.border": "#
|
|
36
|
-
"color.border-control": "#
|
|
37
|
-
"color.border-strong": "#
|
|
38
|
-
"color.caption-bar": "rgba(
|
|
31
|
+
"color.accent": "#8CC7A0",
|
|
32
|
+
"color.accent-hover": "#AFDABD",
|
|
33
|
+
"color.accent-subtle": "rgba(140, 199, 160, 0.14)",
|
|
34
|
+
"color.backdrop": "rgba(17, 21, 15, 0.72)",
|
|
35
|
+
"color.bg": "#11150F",
|
|
36
|
+
"color.bg-subtle": "#1A1F17",
|
|
37
|
+
"color.border": "#343B2F",
|
|
38
|
+
"color.border-control": "#7C8470",
|
|
39
|
+
"color.border-strong": "#7C8470",
|
|
40
|
+
"color.caption-bar": "rgba(17, 21, 15, 0.9)",
|
|
39
41
|
"color.danger": "#F87171",
|
|
40
|
-
"color.focus-ring": "#
|
|
42
|
+
"color.focus-ring": "#8CC7A0",
|
|
41
43
|
"color.grid-line": "rgba(255, 255, 255, 0.04)",
|
|
44
|
+
"color.highlight": "#D4AA55",
|
|
42
45
|
"color.info": "#60A5FA",
|
|
43
|
-
"color.on-accent": "#
|
|
44
|
-
"color.on-danger": "#
|
|
45
|
-
"color.
|
|
46
|
-
"color.
|
|
47
|
-
"color.
|
|
48
|
-
"color.
|
|
49
|
-
"color.text
|
|
50
|
-
"color.text-
|
|
46
|
+
"color.on-accent": "#11150F",
|
|
47
|
+
"color.on-danger": "#11150F",
|
|
48
|
+
"color.on-highlight": "#11150F",
|
|
49
|
+
"color.selected-row": "rgba(140, 199, 160, 0.06)",
|
|
50
|
+
"color.success": "#2DD4BF",
|
|
51
|
+
"color.surface": "#242B20",
|
|
52
|
+
"color.text": "#EEEBE2",
|
|
53
|
+
"color.text-muted": "#9A9D8E",
|
|
54
|
+
"color.text-secondary": "#CBC9BC",
|
|
51
55
|
"color.warning": "#FB923C"
|
|
52
56
|
},
|
|
53
57
|
"shared": {
|
|
54
|
-
"font.family.display": "
|
|
55
|
-
"font.family.mono": "'
|
|
56
|
-
"font.family.sans": "
|
|
58
|
+
"font.family.display": "'MK Display', system-ui, -apple-system, 'Segoe UI', sans-serif",
|
|
59
|
+
"font.family.mono": "'MK Mono', ui-monospace, SFMono-Regular, Menlo, monospace",
|
|
60
|
+
"font.family.sans": "'MK Sans', system-ui, -apple-system, 'Segoe UI', sans-serif",
|
|
57
61
|
"font.letter-spacing.display": "-0.028em",
|
|
58
62
|
"font.letter-spacing.heading": "-0.022em",
|
|
59
63
|
"font.letter-spacing.label": "0.07em",
|
package/dist/tokens.mjs
CHANGED
|
@@ -1,59 +1,63 @@
|
|
|
1
|
-
/*! @manjunathhk/design-tokens
|
|
2
|
-
export const version = "
|
|
1
|
+
/*! @manjunathhk/design-tokens v2.0.0 */
|
|
2
|
+
export const version = "2.0.0";
|
|
3
3
|
export const light = {
|
|
4
|
-
"color.accent": "#
|
|
5
|
-
"color.accent-hover": "#
|
|
6
|
-
"color.accent-subtle": "rgba(
|
|
7
|
-
"color.backdrop": "rgba(
|
|
8
|
-
"color.bg": "#
|
|
9
|
-
"color.bg-subtle": "#
|
|
10
|
-
"color.border": "#
|
|
11
|
-
"color.border-control": "#
|
|
12
|
-
"color.border-strong": "#
|
|
13
|
-
"color.caption-bar": "rgba(
|
|
4
|
+
"color.accent": "#2E5B44",
|
|
5
|
+
"color.accent-hover": "#234733",
|
|
6
|
+
"color.accent-subtle": "rgba(46, 91, 68, 0.14)",
|
|
7
|
+
"color.backdrop": "rgba(34, 38, 31, 0.35)",
|
|
8
|
+
"color.bg": "#EFE9E0",
|
|
9
|
+
"color.bg-subtle": "#E2D9CB",
|
|
10
|
+
"color.border": "#D0C6B6",
|
|
11
|
+
"color.border-control": "#7A7A6C",
|
|
12
|
+
"color.border-strong": "#7A7A6C",
|
|
13
|
+
"color.caption-bar": "rgba(239, 233, 224, 0.9)",
|
|
14
14
|
"color.danger": "#B91C1C",
|
|
15
|
-
"color.focus-ring": "#
|
|
16
|
-
"color.grid-line": "rgba(
|
|
15
|
+
"color.focus-ring": "#2E5B44",
|
|
16
|
+
"color.grid-line": "rgba(34, 38, 31, 0.05)",
|
|
17
|
+
"color.highlight": "#B8892F",
|
|
17
18
|
"color.info": "#1D4ED8",
|
|
18
19
|
"color.on-accent": "#FFFFFF",
|
|
19
20
|
"color.on-danger": "#FFFFFF",
|
|
20
|
-
"color.
|
|
21
|
-
"color.
|
|
22
|
-
"color.
|
|
23
|
-
"color.
|
|
24
|
-
"color.text
|
|
25
|
-
"color.text-
|
|
26
|
-
"color.
|
|
21
|
+
"color.on-highlight": "#22261F",
|
|
22
|
+
"color.selected-row": "rgba(46, 91, 68, 0.06)",
|
|
23
|
+
"color.success": "#115E59",
|
|
24
|
+
"color.surface": "#FAF7F2",
|
|
25
|
+
"color.text": "#22261F",
|
|
26
|
+
"color.text-muted": "#575A50",
|
|
27
|
+
"color.text-secondary": "#3E4238",
|
|
28
|
+
"color.warning": "#854D0E"
|
|
27
29
|
};
|
|
28
30
|
export const dark = {
|
|
29
|
-
"color.accent": "#
|
|
30
|
-
"color.accent-hover": "#
|
|
31
|
-
"color.accent-subtle": "rgba(
|
|
32
|
-
"color.backdrop": "rgba(
|
|
33
|
-
"color.bg": "#
|
|
34
|
-
"color.bg-subtle": "#
|
|
35
|
-
"color.border": "#
|
|
36
|
-
"color.border-control": "#
|
|
37
|
-
"color.border-strong": "#
|
|
38
|
-
"color.caption-bar": "rgba(
|
|
31
|
+
"color.accent": "#8CC7A0",
|
|
32
|
+
"color.accent-hover": "#AFDABD",
|
|
33
|
+
"color.accent-subtle": "rgba(140, 199, 160, 0.14)",
|
|
34
|
+
"color.backdrop": "rgba(17, 21, 15, 0.72)",
|
|
35
|
+
"color.bg": "#11150F",
|
|
36
|
+
"color.bg-subtle": "#1A1F17",
|
|
37
|
+
"color.border": "#343B2F",
|
|
38
|
+
"color.border-control": "#7C8470",
|
|
39
|
+
"color.border-strong": "#7C8470",
|
|
40
|
+
"color.caption-bar": "rgba(17, 21, 15, 0.9)",
|
|
39
41
|
"color.danger": "#F87171",
|
|
40
|
-
"color.focus-ring": "#
|
|
42
|
+
"color.focus-ring": "#8CC7A0",
|
|
41
43
|
"color.grid-line": "rgba(255, 255, 255, 0.04)",
|
|
44
|
+
"color.highlight": "#D4AA55",
|
|
42
45
|
"color.info": "#60A5FA",
|
|
43
|
-
"color.on-accent": "#
|
|
44
|
-
"color.on-danger": "#
|
|
45
|
-
"color.
|
|
46
|
-
"color.
|
|
47
|
-
"color.
|
|
48
|
-
"color.
|
|
49
|
-
"color.text
|
|
50
|
-
"color.text-
|
|
46
|
+
"color.on-accent": "#11150F",
|
|
47
|
+
"color.on-danger": "#11150F",
|
|
48
|
+
"color.on-highlight": "#11150F",
|
|
49
|
+
"color.selected-row": "rgba(140, 199, 160, 0.06)",
|
|
50
|
+
"color.success": "#2DD4BF",
|
|
51
|
+
"color.surface": "#242B20",
|
|
52
|
+
"color.text": "#EEEBE2",
|
|
53
|
+
"color.text-muted": "#9A9D8E",
|
|
54
|
+
"color.text-secondary": "#CBC9BC",
|
|
51
55
|
"color.warning": "#FB923C"
|
|
52
56
|
};
|
|
53
57
|
export const shared = {
|
|
54
|
-
"font.family.display": "
|
|
55
|
-
"font.family.mono": "'
|
|
56
|
-
"font.family.sans": "
|
|
58
|
+
"font.family.display": "'MK Display', system-ui, -apple-system, 'Segoe UI', sans-serif",
|
|
59
|
+
"font.family.mono": "'MK Mono', ui-monospace, SFMono-Regular, Menlo, monospace",
|
|
60
|
+
"font.family.sans": "'MK Sans', system-ui, -apple-system, 'Segoe UI', sans-serif",
|
|
57
61
|
"font.letter-spacing.display": "-0.028em",
|
|
58
62
|
"font.letter-spacing.heading": "-0.022em",
|
|
59
63
|
"font.letter-spacing.label": "0.07em",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@manjunathhk/design-tokens",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Design tokens and a small opt-in base stylesheet shared by Manjunath's websites.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Manjunath Krishnasa",
|
|
@@ -65,10 +65,11 @@
|
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@eslint/js": "^10.0.1",
|
|
68
|
-
"@fontsource/
|
|
69
|
-
"@fontsource/
|
|
68
|
+
"@fontsource/familjen-grotesk": "5.3.0",
|
|
69
|
+
"@fontsource/figtree": "5.3.0",
|
|
70
|
+
"@fontsource/spline-sans-mono": "5.3.0",
|
|
70
71
|
"@playwright/test": "^1.63.0",
|
|
71
|
-
"@types/node": "^
|
|
72
|
+
"@types/node": "^26.6.10",
|
|
72
73
|
"eslint": "^10.11.0",
|
|
73
74
|
"prettier": "^3.9.9",
|
|
74
75
|
"sass": "^1.105.0",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|