@manjunathhk/design-tokens 1.1.0 → 1.3.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.
Files changed (34) hide show
  1. package/LICENSE +2 -2
  2. package/README.md +19 -13
  3. package/dist/LICENSES/{IBM-Plex-Mono-OFL-1.1.txt → Inter-OFL.txt} +93 -93
  4. package/dist/LICENSES/{IBM-Plex-Sans-Condensed-OFL-1.1.txt → JetBrainsMono-OFL.txt} +93 -93
  5. package/dist/_tokens.scss +1 -1
  6. package/dist/base.css +7 -3
  7. package/dist/fonts/inter-latin-400-italic.woff2 +0 -0
  8. package/dist/fonts/inter-latin-400-normal.woff2 +0 -0
  9. package/dist/fonts/inter-latin-500-normal.woff2 +0 -0
  10. package/dist/fonts/inter-latin-600-normal.woff2 +0 -0
  11. package/dist/fonts/inter-latin-700-normal.woff2 +0 -0
  12. package/dist/fonts/jetbrains-mono-latin-400-italic.woff2 +0 -0
  13. package/dist/fonts/jetbrains-mono-latin-400-normal.woff2 +0 -0
  14. package/dist/fonts/jetbrains-mono-latin-500-normal.woff2 +0 -0
  15. package/dist/fonts/jetbrains-mono-latin-700-normal.woff2 +0 -0
  16. package/dist/fonts.css +30 -30
  17. package/dist/index.css +87 -83
  18. package/dist/stylelint.d.ts +1 -1
  19. package/dist/stylelint.mjs +1 -1
  20. package/dist/tokens.css +52 -52
  21. package/dist/tokens.d.ts +1 -1
  22. package/dist/tokens.json +36 -36
  23. package/dist/tokens.mjs +37 -37
  24. package/package.json +3 -4
  25. package/dist/LICENSES/IBM-Plex-Sans-OFL-1.1.txt +0 -93
  26. package/dist/fonts/IBMPlexMono-Medium-Latin1.woff2 +0 -0
  27. package/dist/fonts/IBMPlexMono-Regular-Latin1.woff2 +0 -0
  28. package/dist/fonts/IBMPlexSans-Italic-Latin1.woff2 +0 -0
  29. package/dist/fonts/IBMPlexSans-Medium-Latin1.woff2 +0 -0
  30. package/dist/fonts/IBMPlexSans-Regular-Latin1.woff2 +0 -0
  31. package/dist/fonts/IBMPlexSans-SemiBold-Latin1.woff2 +0 -0
  32. package/dist/fonts/IBMPlexSansCondensed-Bold-Latin1.woff2 +0 -0
  33. package/dist/fonts/IBMPlexSansCondensed-Medium-Latin1.woff2 +0 -0
  34. package/dist/fonts/IBMPlexSansCondensed-SemiBold-Latin1.woff2 +0 -0
package/dist/index.css CHANGED
@@ -1,105 +1,105 @@
1
- /*! @manjunathhk/design-tokens v1.1.0 */
1
+ /*! @manjunathhk/design-tokens v1.3.0 */
2
2
  @font-face {
3
- font-family: "IBM Plex Sans";
3
+ font-family: "Inter";
4
4
  font-style: normal;
5
5
  font-weight: 400;
6
6
  font-display: swap;
7
- src: local("IBM Plex Sans"), local("IBMPlexSans"), url("fonts/IBMPlexSans-Regular-Latin1.woff2") format("woff2");
7
+ src: local("Inter"), local("Inter Regular"), url("fonts/inter-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: "IBM Plex Sans";
12
+ font-family: "Inter";
13
13
  font-style: normal;
14
14
  font-weight: 500;
15
15
  font-display: swap;
16
- src: local("IBM Plex Sans Medium"), local("IBMPlexSans-Medium"), url("fonts/IBMPlexSans-Medium-Latin1.woff2") format("woff2");
16
+ src: local("Inter Medium"), local("Inter-Medium"), url("fonts/inter-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: "IBM Plex Sans";
21
+ font-family: "Inter";
22
22
  font-style: normal;
23
23
  font-weight: 600;
24
24
  font-display: swap;
25
- src: local("IBM Plex Sans SemiBold"), local("IBMPlexSans-SemiBold"), url("fonts/IBMPlexSans-SemiBold-Latin1.woff2") format("woff2");
25
+ src: local("Inter SemiBold"), local("Inter-SemiBold"), url("fonts/inter-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: "IBM Plex Sans";
31
- font-style: italic;
32
- font-weight: 400;
30
+ font-family: "Inter";
31
+ font-style: normal;
32
+ font-weight: 700;
33
33
  font-display: swap;
34
- src: local("IBM Plex Sans Italic"), local("IBMPlexSans-Italic"), url("fonts/IBMPlexSans-Italic-Latin1.woff2") format("woff2");
34
+ src: local("Inter Bold"), local("Inter-Bold"), url("fonts/inter-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: "IBM Plex Sans Condensed";
40
- font-style: normal;
41
- font-weight: 500;
39
+ font-family: "Inter";
40
+ font-style: italic;
41
+ font-weight: 400;
42
42
  font-display: swap;
43
- src: local("IBM Plex Sans Cond Medium"), local("IBMPlexSansCond-Medium"), url("fonts/IBMPlexSansCondensed-Medium-Latin1.woff2") format("woff2");
43
+ src: local("Inter Italic"), local("Inter-Italic"), url("fonts/inter-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: "IBM Plex Sans Condensed";
48
+ font-family: "JetBrains Mono";
49
49
  font-style: normal;
50
- font-weight: 600;
50
+ font-weight: 400;
51
51
  font-display: swap;
52
- src: local("IBM Plex Sans Cond SemiBold"), local("IBMPlexSansCond-SemiBold"), url("fonts/IBMPlexSansCondensed-SemiBold-Latin1.woff2") format("woff2");
52
+ src: local("JetBrains Mono"), local("JetBrainsMono-Regular"), url("fonts/jetbrains-mono-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: "IBM Plex Sans Condensed";
57
+ font-family: "JetBrains Mono";
58
58
  font-style: normal;
59
- font-weight: 700;
59
+ font-weight: 500;
60
60
  font-display: swap;
61
- src: local("IBM Plex Sans Cond Bold"), local("IBMPlexSansCond-Bold"), url("fonts/IBMPlexSansCondensed-Bold-Latin1.woff2") format("woff2");
61
+ src: local("JetBrains Mono Medium"), local("JetBrainsMono-Medium"), url("fonts/jetbrains-mono-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: "IBM Plex Mono";
66
+ font-family: "JetBrains Mono";
67
67
  font-style: normal;
68
- font-weight: 400;
68
+ font-weight: 700;
69
69
  font-display: swap;
70
- src: local("IBM Plex Mono"), local("IBMPlexMono"), url("fonts/IBMPlexMono-Regular-Latin1.woff2") format("woff2");
71
- unicode-range: U+0020-007E, U+00A0-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+20AC, U+2122, U+2212, U+FB01-FB02;
70
+ src: local("JetBrains Mono Bold"), local("JetBrainsMono-Bold"), url("fonts/jetbrains-mono-latin-700-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
72
  }
73
73
 
74
74
  @font-face {
75
- font-family: "IBM Plex Mono";
76
- font-style: normal;
77
- font-weight: 500;
75
+ font-family: "JetBrains Mono";
76
+ font-style: italic;
77
+ font-weight: 400;
78
78
  font-display: swap;
79
- src: local("IBM Plex Mono Medium"), local("IBMPlexMono-Medium"), url("fonts/IBMPlexMono-Medium-Latin1.woff2") format("woff2");
80
- unicode-range: U+0020-007E, U+00A0-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+20AC, U+2122, U+2212, U+FB01-FB02;
79
+ src: local("JetBrains Mono Italic"), local("JetBrainsMono-Italic"), url("fonts/jetbrains-mono-latin-400-italic.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
81
  }
82
82
  :root {
83
- --mk-color-accent: #2A5AA8;
84
- --mk-color-accent-subtle: rgba(42, 90, 168, 0.13);
85
- --mk-color-bg: #F2F0EB;
86
- --mk-color-bg-subtle: #E8E5DE;
87
- --mk-color-border: #D8D4CB;
88
- --mk-color-border-control: #87816F;
89
- --mk-color-border-strong: #BFBAAF;
90
- --mk-color-danger: #B42318;
91
- --mk-color-focus-ring: #2A5AA8;
92
- --mk-color-grid-line: rgba(22, 32, 46, 0.05);
83
+ --mk-color-accent: #B45309;
84
+ --mk-color-accent-subtle: rgba(180, 83, 9, 0.14);
85
+ --mk-color-bg: #F7F7F5;
86
+ --mk-color-bg-subtle: #F3F3F0;
87
+ --mk-color-border: rgba(56, 43, 31, 0.13);
88
+ --mk-color-border-control: #6C6C68;
89
+ --mk-color-border-strong: #6C6C68;
90
+ --mk-color-danger: #A93226;
91
+ --mk-color-focus-ring: #B45309;
92
+ --mk-color-grid-line: rgba(17, 17, 17, 0.05);
93
93
  --mk-color-on-accent: #FFFFFF;
94
- --mk-color-success: #1F6B45;
95
- --mk-color-surface: #FBFAF7;
96
- --mk-color-text: #16202E;
97
- --mk-color-text-muted: #5C6576;
98
- --mk-color-text-secondary: #3A4556;
99
- --mk-color-warning: #8C5300;
100
- --mk-font-family-display: 'IBM Plex Sans Condensed', 'IBM Plex Sans', 'Arial Narrow', sans-serif;
101
- --mk-font-family-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
102
- --mk-font-family-sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
94
+ --mk-color-success: #3F3F3F;
95
+ --mk-color-surface: #FFFFFF;
96
+ --mk-color-text: #111111;
97
+ --mk-color-text-muted: #6C6C68;
98
+ --mk-color-text-secondary: #3F3F3F;
99
+ --mk-color-warning: #B45309;
100
+ --mk-font-family-display: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
101
+ --mk-font-family-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
102
+ --mk-font-family-sans: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
103
103
  --mk-font-letter-spacing-display: -0.028em;
104
104
  --mk-font-letter-spacing-heading: -0.022em;
105
105
  --mk-font-letter-spacing-label: 0.07em;
@@ -156,45 +156,45 @@
156
156
 
157
157
  @media (prefers-color-scheme: dark) {
158
158
  :root:not([data-theme="light"]) {
159
- --mk-color-accent: #8DB2F2;
160
- --mk-color-accent-subtle: rgba(141, 178, 242, 0.13);
161
- --mk-color-bg: #0F141B;
162
- --mk-color-bg-subtle: #141A23;
163
- --mk-color-border: #242D3A;
164
- --mk-color-border-control: #5E6D83;
165
- --mk-color-border-strong: #334052;
166
- --mk-color-danger: #FF8A7A;
167
- --mk-color-focus-ring: #8DB2F2;
159
+ --mk-color-accent: #F59E0B;
160
+ --mk-color-accent-subtle: rgba(245, 158, 11, 0.14);
161
+ --mk-color-bg: #080A0D;
162
+ --mk-color-bg-subtle: #050608;
163
+ --mk-color-border: rgba(255, 255, 255, 0.12);
164
+ --mk-color-border-control: #898989;
165
+ --mk-color-border-strong: #898989;
166
+ --mk-color-danger: #EF9A9A;
167
+ --mk-color-focus-ring: #F59E0B;
168
168
  --mk-color-grid-line: rgba(255, 255, 255, 0.04);
169
- --mk-color-on-accent: #0B1422;
170
- --mk-color-success: #86C99A;
171
- --mk-color-surface: #18202B;
172
- --mk-color-text: #E7EBF1;
173
- --mk-color-text-muted: #8792A2;
174
- --mk-color-text-secondary: #B3BCC9;
175
- --mk-color-warning: #F0B860;
169
+ --mk-color-on-accent: #111111;
170
+ --mk-color-success: #34D399;
171
+ --mk-color-surface: #101216;
172
+ --mk-color-text: #F7F7F7;
173
+ --mk-color-text-muted: #898989;
174
+ --mk-color-text-secondary: #B6B6B6;
175
+ --mk-color-warning: #F59E0B;
176
176
  color-scheme: dark;
177
177
  }
178
178
  }
179
179
 
180
180
  :root[data-theme="dark"] {
181
- --mk-color-accent: #8DB2F2;
182
- --mk-color-accent-subtle: rgba(141, 178, 242, 0.13);
183
- --mk-color-bg: #0F141B;
184
- --mk-color-bg-subtle: #141A23;
185
- --mk-color-border: #242D3A;
186
- --mk-color-border-control: #5E6D83;
187
- --mk-color-border-strong: #334052;
188
- --mk-color-danger: #FF8A7A;
189
- --mk-color-focus-ring: #8DB2F2;
181
+ --mk-color-accent: #F59E0B;
182
+ --mk-color-accent-subtle: rgba(245, 158, 11, 0.14);
183
+ --mk-color-bg: #080A0D;
184
+ --mk-color-bg-subtle: #050608;
185
+ --mk-color-border: rgba(255, 255, 255, 0.12);
186
+ --mk-color-border-control: #898989;
187
+ --mk-color-border-strong: #898989;
188
+ --mk-color-danger: #EF9A9A;
189
+ --mk-color-focus-ring: #F59E0B;
190
190
  --mk-color-grid-line: rgba(255, 255, 255, 0.04);
191
- --mk-color-on-accent: #0B1422;
192
- --mk-color-success: #86C99A;
193
- --mk-color-surface: #18202B;
194
- --mk-color-text: #E7EBF1;
195
- --mk-color-text-muted: #8792A2;
196
- --mk-color-text-secondary: #B3BCC9;
197
- --mk-color-warning: #F0B860;
191
+ --mk-color-on-accent: #111111;
192
+ --mk-color-success: #34D399;
193
+ --mk-color-surface: #101216;
194
+ --mk-color-text: #F7F7F7;
195
+ --mk-color-text-muted: #898989;
196
+ --mk-color-text-secondary: #B6B6B6;
197
+ --mk-color-warning: #F59E0B;
198
198
  color-scheme: dark;
199
199
  }
200
200
 
@@ -204,7 +204,9 @@
204
204
  */
205
205
 
206
206
  /* Reset */
207
- :where(*, *::before, *::after) {
207
+ :where(*),
208
+ :where(*)::before,
209
+ :where(*)::after {
208
210
  box-sizing: border-box;
209
211
  }
210
212
 
@@ -273,7 +275,9 @@
273
275
 
274
276
  /* Reduced motion */
275
277
  @media (prefers-reduced-motion: reduce) {
276
- :where(*, *::before, *::after) {
278
+ :where(*),
279
+ :where(*)::before,
280
+ :where(*)::after {
277
281
  animation-duration: 0.01ms !important;
278
282
  animation-iteration-count: 1 !important;
279
283
  scroll-behavior: auto !important;
@@ -1,4 +1,4 @@
1
- /*! @manjunathhk/design-tokens v1.1.0 */
1
+ /*! @manjunathhk/design-tokens v1.3.0 */
2
2
  import type { Config } from "stylelint";
3
3
 
4
4
  declare const config: Config;
@@ -1,4 +1,4 @@
1
- /*! @manjunathhk/design-tokens v1.1.0 */
1
+ /*! @manjunathhk/design-tokens v1.3.0 */
2
2
  export default {
3
3
  rules: {
4
4
  "color-no-hex": true,
package/dist/tokens.css CHANGED
@@ -1,25 +1,25 @@
1
- /*! @manjunathhk/design-tokens v1.1.0 */
1
+ /*! @manjunathhk/design-tokens v1.3.0 */
2
2
  :root {
3
- --mk-color-accent: #2A5AA8;
4
- --mk-color-accent-subtle: rgba(42, 90, 168, 0.13);
5
- --mk-color-bg: #F2F0EB;
6
- --mk-color-bg-subtle: #E8E5DE;
7
- --mk-color-border: #D8D4CB;
8
- --mk-color-border-control: #87816F;
9
- --mk-color-border-strong: #BFBAAF;
10
- --mk-color-danger: #B42318;
11
- --mk-color-focus-ring: #2A5AA8;
12
- --mk-color-grid-line: rgba(22, 32, 46, 0.05);
3
+ --mk-color-accent: #B45309;
4
+ --mk-color-accent-subtle: rgba(180, 83, 9, 0.14);
5
+ --mk-color-bg: #F7F7F5;
6
+ --mk-color-bg-subtle: #F3F3F0;
7
+ --mk-color-border: rgba(56, 43, 31, 0.13);
8
+ --mk-color-border-control: #6C6C68;
9
+ --mk-color-border-strong: #6C6C68;
10
+ --mk-color-danger: #A93226;
11
+ --mk-color-focus-ring: #B45309;
12
+ --mk-color-grid-line: rgba(17, 17, 17, 0.05);
13
13
  --mk-color-on-accent: #FFFFFF;
14
- --mk-color-success: #1F6B45;
15
- --mk-color-surface: #FBFAF7;
16
- --mk-color-text: #16202E;
17
- --mk-color-text-muted: #5C6576;
18
- --mk-color-text-secondary: #3A4556;
19
- --mk-color-warning: #8C5300;
20
- --mk-font-family-display: 'IBM Plex Sans Condensed', 'IBM Plex Sans', 'Arial Narrow', sans-serif;
21
- --mk-font-family-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
22
- --mk-font-family-sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
14
+ --mk-color-success: #3F3F3F;
15
+ --mk-color-surface: #FFFFFF;
16
+ --mk-color-text: #111111;
17
+ --mk-color-text-muted: #6C6C68;
18
+ --mk-color-text-secondary: #3F3F3F;
19
+ --mk-color-warning: #B45309;
20
+ --mk-font-family-display: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
21
+ --mk-font-family-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
22
+ --mk-font-family-sans: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
23
23
  --mk-font-letter-spacing-display: -0.028em;
24
24
  --mk-font-letter-spacing-heading: -0.022em;
25
25
  --mk-font-letter-spacing-label: 0.07em;
@@ -76,44 +76,44 @@
76
76
 
77
77
  @media (prefers-color-scheme: dark) {
78
78
  :root:not([data-theme="light"]) {
79
- --mk-color-accent: #8DB2F2;
80
- --mk-color-accent-subtle: rgba(141, 178, 242, 0.13);
81
- --mk-color-bg: #0F141B;
82
- --mk-color-bg-subtle: #141A23;
83
- --mk-color-border: #242D3A;
84
- --mk-color-border-control: #5E6D83;
85
- --mk-color-border-strong: #334052;
86
- --mk-color-danger: #FF8A7A;
87
- --mk-color-focus-ring: #8DB2F2;
79
+ --mk-color-accent: #F59E0B;
80
+ --mk-color-accent-subtle: rgba(245, 158, 11, 0.14);
81
+ --mk-color-bg: #080A0D;
82
+ --mk-color-bg-subtle: #050608;
83
+ --mk-color-border: rgba(255, 255, 255, 0.12);
84
+ --mk-color-border-control: #898989;
85
+ --mk-color-border-strong: #898989;
86
+ --mk-color-danger: #EF9A9A;
87
+ --mk-color-focus-ring: #F59E0B;
88
88
  --mk-color-grid-line: rgba(255, 255, 255, 0.04);
89
- --mk-color-on-accent: #0B1422;
90
- --mk-color-success: #86C99A;
91
- --mk-color-surface: #18202B;
92
- --mk-color-text: #E7EBF1;
93
- --mk-color-text-muted: #8792A2;
94
- --mk-color-text-secondary: #B3BCC9;
95
- --mk-color-warning: #F0B860;
89
+ --mk-color-on-accent: #111111;
90
+ --mk-color-success: #34D399;
91
+ --mk-color-surface: #101216;
92
+ --mk-color-text: #F7F7F7;
93
+ --mk-color-text-muted: #898989;
94
+ --mk-color-text-secondary: #B6B6B6;
95
+ --mk-color-warning: #F59E0B;
96
96
  color-scheme: dark;
97
97
  }
98
98
  }
99
99
 
100
100
  :root[data-theme="dark"] {
101
- --mk-color-accent: #8DB2F2;
102
- --mk-color-accent-subtle: rgba(141, 178, 242, 0.13);
103
- --mk-color-bg: #0F141B;
104
- --mk-color-bg-subtle: #141A23;
105
- --mk-color-border: #242D3A;
106
- --mk-color-border-control: #5E6D83;
107
- --mk-color-border-strong: #334052;
108
- --mk-color-danger: #FF8A7A;
109
- --mk-color-focus-ring: #8DB2F2;
101
+ --mk-color-accent: #F59E0B;
102
+ --mk-color-accent-subtle: rgba(245, 158, 11, 0.14);
103
+ --mk-color-bg: #080A0D;
104
+ --mk-color-bg-subtle: #050608;
105
+ --mk-color-border: rgba(255, 255, 255, 0.12);
106
+ --mk-color-border-control: #898989;
107
+ --mk-color-border-strong: #898989;
108
+ --mk-color-danger: #EF9A9A;
109
+ --mk-color-focus-ring: #F59E0B;
110
110
  --mk-color-grid-line: rgba(255, 255, 255, 0.04);
111
- --mk-color-on-accent: #0B1422;
112
- --mk-color-success: #86C99A;
113
- --mk-color-surface: #18202B;
114
- --mk-color-text: #E7EBF1;
115
- --mk-color-text-muted: #8792A2;
116
- --mk-color-text-secondary: #B3BCC9;
117
- --mk-color-warning: #F0B860;
111
+ --mk-color-on-accent: #111111;
112
+ --mk-color-success: #34D399;
113
+ --mk-color-surface: #101216;
114
+ --mk-color-text: #F7F7F7;
115
+ --mk-color-text-muted: #898989;
116
+ --mk-color-text-secondary: #B6B6B6;
117
+ --mk-color-warning: #F59E0B;
118
118
  color-scheme: dark;
119
119
  }
package/dist/tokens.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- /*! @manjunathhk/design-tokens v1.1.0 */
1
+ /*! @manjunathhk/design-tokens v1.3.0 */
2
2
  /** Colour tokens; light and dark share these keys. */
3
3
  export interface ColorTokens {
4
4
  readonly "color.accent": string;
package/dist/tokens.json CHANGED
@@ -1,47 +1,47 @@
1
1
  {
2
- "version": "1.1.0",
2
+ "version": "1.3.0",
3
3
  "light": {
4
- "color.accent": "#2A5AA8",
5
- "color.accent-subtle": "rgba(42, 90, 168, 0.13)",
6
- "color.bg": "#F2F0EB",
7
- "color.bg-subtle": "#E8E5DE",
8
- "color.border": "#D8D4CB",
9
- "color.border-control": "#87816F",
10
- "color.border-strong": "#BFBAAF",
11
- "color.danger": "#B42318",
12
- "color.focus-ring": "#2A5AA8",
13
- "color.grid-line": "rgba(22, 32, 46, 0.05)",
4
+ "color.accent": "#B45309",
5
+ "color.accent-subtle": "rgba(180, 83, 9, 0.14)",
6
+ "color.bg": "#F7F7F5",
7
+ "color.bg-subtle": "#F3F3F0",
8
+ "color.border": "rgba(56, 43, 31, 0.13)",
9
+ "color.border-control": "#6C6C68",
10
+ "color.border-strong": "#6C6C68",
11
+ "color.danger": "#A93226",
12
+ "color.focus-ring": "#B45309",
13
+ "color.grid-line": "rgba(17, 17, 17, 0.05)",
14
14
  "color.on-accent": "#FFFFFF",
15
- "color.success": "#1F6B45",
16
- "color.surface": "#FBFAF7",
17
- "color.text": "#16202E",
18
- "color.text-muted": "#5C6576",
19
- "color.text-secondary": "#3A4556",
20
- "color.warning": "#8C5300"
15
+ "color.success": "#3F3F3F",
16
+ "color.surface": "#FFFFFF",
17
+ "color.text": "#111111",
18
+ "color.text-muted": "#6C6C68",
19
+ "color.text-secondary": "#3F3F3F",
20
+ "color.warning": "#B45309"
21
21
  },
22
22
  "dark": {
23
- "color.accent": "#8DB2F2",
24
- "color.accent-subtle": "rgba(141, 178, 242, 0.13)",
25
- "color.bg": "#0F141B",
26
- "color.bg-subtle": "#141A23",
27
- "color.border": "#242D3A",
28
- "color.border-control": "#5E6D83",
29
- "color.border-strong": "#334052",
30
- "color.danger": "#FF8A7A",
31
- "color.focus-ring": "#8DB2F2",
23
+ "color.accent": "#F59E0B",
24
+ "color.accent-subtle": "rgba(245, 158, 11, 0.14)",
25
+ "color.bg": "#080A0D",
26
+ "color.bg-subtle": "#050608",
27
+ "color.border": "rgba(255, 255, 255, 0.12)",
28
+ "color.border-control": "#898989",
29
+ "color.border-strong": "#898989",
30
+ "color.danger": "#EF9A9A",
31
+ "color.focus-ring": "#F59E0B",
32
32
  "color.grid-line": "rgba(255, 255, 255, 0.04)",
33
- "color.on-accent": "#0B1422",
34
- "color.success": "#86C99A",
35
- "color.surface": "#18202B",
36
- "color.text": "#E7EBF1",
37
- "color.text-muted": "#8792A2",
38
- "color.text-secondary": "#B3BCC9",
39
- "color.warning": "#F0B860"
33
+ "color.on-accent": "#111111",
34
+ "color.success": "#34D399",
35
+ "color.surface": "#101216",
36
+ "color.text": "#F7F7F7",
37
+ "color.text-muted": "#898989",
38
+ "color.text-secondary": "#B6B6B6",
39
+ "color.warning": "#F59E0B"
40
40
  },
41
41
  "shared": {
42
- "font.family.display": "'IBM Plex Sans Condensed', 'IBM Plex Sans', 'Arial Narrow', sans-serif",
43
- "font.family.mono": "'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace",
44
- "font.family.sans": "'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif",
42
+ "font.family.display": "Inter, system-ui, -apple-system, 'Segoe UI', sans-serif",
43
+ "font.family.mono": "'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace",
44
+ "font.family.sans": "Inter, system-ui, -apple-system, 'Segoe UI', sans-serif",
45
45
  "font.letter-spacing.display": "-0.028em",
46
46
  "font.letter-spacing.heading": "-0.022em",
47
47
  "font.letter-spacing.label": "0.07em",
package/dist/tokens.mjs CHANGED
@@ -1,47 +1,47 @@
1
- /*! @manjunathhk/design-tokens v1.1.0 */
2
- export const version = "1.1.0";
1
+ /*! @manjunathhk/design-tokens v1.3.0 */
2
+ export const version = "1.3.0";
3
3
  export const light = {
4
- "color.accent": "#2A5AA8",
5
- "color.accent-subtle": "rgba(42, 90, 168, 0.13)",
6
- "color.bg": "#F2F0EB",
7
- "color.bg-subtle": "#E8E5DE",
8
- "color.border": "#D8D4CB",
9
- "color.border-control": "#87816F",
10
- "color.border-strong": "#BFBAAF",
11
- "color.danger": "#B42318",
12
- "color.focus-ring": "#2A5AA8",
13
- "color.grid-line": "rgba(22, 32, 46, 0.05)",
4
+ "color.accent": "#B45309",
5
+ "color.accent-subtle": "rgba(180, 83, 9, 0.14)",
6
+ "color.bg": "#F7F7F5",
7
+ "color.bg-subtle": "#F3F3F0",
8
+ "color.border": "rgba(56, 43, 31, 0.13)",
9
+ "color.border-control": "#6C6C68",
10
+ "color.border-strong": "#6C6C68",
11
+ "color.danger": "#A93226",
12
+ "color.focus-ring": "#B45309",
13
+ "color.grid-line": "rgba(17, 17, 17, 0.05)",
14
14
  "color.on-accent": "#FFFFFF",
15
- "color.success": "#1F6B45",
16
- "color.surface": "#FBFAF7",
17
- "color.text": "#16202E",
18
- "color.text-muted": "#5C6576",
19
- "color.text-secondary": "#3A4556",
20
- "color.warning": "#8C5300"
15
+ "color.success": "#3F3F3F",
16
+ "color.surface": "#FFFFFF",
17
+ "color.text": "#111111",
18
+ "color.text-muted": "#6C6C68",
19
+ "color.text-secondary": "#3F3F3F",
20
+ "color.warning": "#B45309"
21
21
  };
22
22
  export const dark = {
23
- "color.accent": "#8DB2F2",
24
- "color.accent-subtle": "rgba(141, 178, 242, 0.13)",
25
- "color.bg": "#0F141B",
26
- "color.bg-subtle": "#141A23",
27
- "color.border": "#242D3A",
28
- "color.border-control": "#5E6D83",
29
- "color.border-strong": "#334052",
30
- "color.danger": "#FF8A7A",
31
- "color.focus-ring": "#8DB2F2",
23
+ "color.accent": "#F59E0B",
24
+ "color.accent-subtle": "rgba(245, 158, 11, 0.14)",
25
+ "color.bg": "#080A0D",
26
+ "color.bg-subtle": "#050608",
27
+ "color.border": "rgba(255, 255, 255, 0.12)",
28
+ "color.border-control": "#898989",
29
+ "color.border-strong": "#898989",
30
+ "color.danger": "#EF9A9A",
31
+ "color.focus-ring": "#F59E0B",
32
32
  "color.grid-line": "rgba(255, 255, 255, 0.04)",
33
- "color.on-accent": "#0B1422",
34
- "color.success": "#86C99A",
35
- "color.surface": "#18202B",
36
- "color.text": "#E7EBF1",
37
- "color.text-muted": "#8792A2",
38
- "color.text-secondary": "#B3BCC9",
39
- "color.warning": "#F0B860"
33
+ "color.on-accent": "#111111",
34
+ "color.success": "#34D399",
35
+ "color.surface": "#101216",
36
+ "color.text": "#F7F7F7",
37
+ "color.text-muted": "#898989",
38
+ "color.text-secondary": "#B6B6B6",
39
+ "color.warning": "#F59E0B"
40
40
  };
41
41
  export const shared = {
42
- "font.family.display": "'IBM Plex Sans Condensed', 'IBM Plex Sans', 'Arial Narrow', sans-serif",
43
- "font.family.mono": "'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace",
44
- "font.family.sans": "'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif",
42
+ "font.family.display": "Inter, system-ui, -apple-system, 'Segoe UI', sans-serif",
43
+ "font.family.mono": "'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace",
44
+ "font.family.sans": "Inter, system-ui, -apple-system, 'Segoe UI', sans-serif",
45
45
  "font.letter-spacing.display": "-0.028em",
46
46
  "font.letter-spacing.heading": "-0.022em",
47
47
  "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.1.0",
3
+ "version": "1.3.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",
@@ -64,9 +64,8 @@
64
64
  },
65
65
  "devDependencies": {
66
66
  "@eslint/js": "^10.0.1",
67
- "@ibm/plex-mono": "2.5.0",
68
- "@ibm/plex-sans": "1.1.0",
69
- "@ibm/plex-sans-condensed": "2.0.0",
67
+ "@fontsource/inter": "5.3.0",
68
+ "@fontsource/jetbrains-mono": "5.3.0",
70
69
  "@playwright/test": "^1.63.0",
71
70
  "@types/node": "^24.13.6",
72
71
  "eslint": "^10.11.0",