@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/dist/tokens.mjs
CHANGED
|
@@ -1,59 +1,63 @@
|
|
|
1
|
-
/*! @manjunathhk/design-tokens
|
|
2
|
-
export const version = "1.
|
|
1
|
+
/*! @manjunathhk/design-tokens v2.1.0 */
|
|
2
|
+
export const version = "2.1.0";
|
|
3
3
|
export const light = {
|
|
4
|
-
"color.accent": "#
|
|
5
|
-
"color.accent-hover": "#
|
|
6
|
-
"color.accent-subtle": "rgba(
|
|
7
|
-
"color.backdrop": "rgba(28,
|
|
8
|
-
"color.bg": "#
|
|
9
|
-
"color.bg-subtle": "#
|
|
10
|
-
"color.border": "#
|
|
11
|
-
"color.border-control": "#
|
|
12
|
-
"color.border-strong": "#
|
|
13
|
-
"color.caption-bar": "rgba(
|
|
14
|
-
"color.danger": "#
|
|
15
|
-
"color.focus-ring": "#
|
|
16
|
-
"color.grid-line": "rgba(28,
|
|
4
|
+
"color.accent": "#A93E16",
|
|
5
|
+
"color.accent-hover": "#8A3112",
|
|
6
|
+
"color.accent-subtle": "rgba(169, 62, 22, 0.14)",
|
|
7
|
+
"color.backdrop": "rgba(28, 29, 31, 0.35)",
|
|
8
|
+
"color.bg": "#EEEEEB",
|
|
9
|
+
"color.bg-subtle": "#E1E1DD",
|
|
10
|
+
"color.border": "#CFCFCA",
|
|
11
|
+
"color.border-control": "#74777C",
|
|
12
|
+
"color.border-strong": "#74777C",
|
|
13
|
+
"color.caption-bar": "rgba(238, 238, 235, 0.9)",
|
|
14
|
+
"color.danger": "#9F1239",
|
|
15
|
+
"color.focus-ring": "#A93E16",
|
|
16
|
+
"color.grid-line": "rgba(28, 29, 31, 0.05)",
|
|
17
|
+
"color.highlight": "#C9A45A",
|
|
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": "#1C1D1F",
|
|
22
|
+
"color.selected-row": "rgba(169, 62, 22, 0.06)",
|
|
23
|
+
"color.success": "#115E59",
|
|
24
|
+
"color.surface": "#F9F9F7",
|
|
25
|
+
"color.text": "#1C1D1F",
|
|
26
|
+
"color.text-muted": "#53565B",
|
|
27
|
+
"color.text-secondary": "#3A3C40",
|
|
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(12, 10,
|
|
33
|
-
"color.bg": "#
|
|
34
|
-
"color.bg-subtle": "#
|
|
35
|
-
"color.border": "#
|
|
36
|
-
"color.border-control": "#
|
|
37
|
-
"color.border-strong": "#
|
|
38
|
-
"color.caption-bar": "rgba(12, 10,
|
|
31
|
+
"color.accent": "#C9A45A",
|
|
32
|
+
"color.accent-hover": "#DDBB78",
|
|
33
|
+
"color.accent-subtle": "rgba(201, 164, 90, 0.14)",
|
|
34
|
+
"color.backdrop": "rgba(12, 10, 8, 0.72)",
|
|
35
|
+
"color.bg": "#0C0A08",
|
|
36
|
+
"color.bg-subtle": "#181512",
|
|
37
|
+
"color.border": "#2E2923",
|
|
38
|
+
"color.border-control": "#7E7568",
|
|
39
|
+
"color.border-strong": "#7E7568",
|
|
40
|
+
"color.caption-bar": "rgba(12, 10, 8, 0.9)",
|
|
39
41
|
"color.danger": "#F87171",
|
|
40
|
-
"color.focus-ring": "#
|
|
42
|
+
"color.focus-ring": "#C9A45A",
|
|
41
43
|
"color.grid-line": "rgba(255, 255, 255, 0.04)",
|
|
44
|
+
"color.highlight": "#C9A45A",
|
|
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": "#0C0A08",
|
|
47
|
+
"color.on-danger": "#0C0A08",
|
|
48
|
+
"color.on-highlight": "#0C0A08",
|
|
49
|
+
"color.selected-row": "rgba(201, 164, 90, 0.06)",
|
|
50
|
+
"color.success": "#2DD4BF",
|
|
51
|
+
"color.surface": "#221E19",
|
|
52
|
+
"color.text": "#F5F1EA",
|
|
53
|
+
"color.text-muted": "#9A9288",
|
|
54
|
+
"color.text-secondary": "#D0C9BE",
|
|
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": "1.
|
|
3
|
+
"version": "2.1.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
|