@grantcodes/style-dictionary 1.3.0 → 1.3.1

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 (78) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/css/grantcodes/grantcodes.css +367 -0
  3. package/dist/css/grantcodes/tokens.css +367 -0
  4. package/dist/css/todomap/todomap.css +200 -0
  5. package/dist/css/todomap/tokens.css +200 -0
  6. package/dist/css/wireframe/tokens.css +426 -0
  7. package/dist/css/wireframe/wireframe.css +426 -0
  8. package/dist/js/grantcodes/style-dictionary.d.ts +361 -0
  9. package/dist/js/grantcodes/style-dictionary.js +386 -0
  10. package/dist/js/todomap/style-dictionary.d.ts +202 -0
  11. package/dist/js/todomap/style-dictionary.js +220 -0
  12. package/dist/js/wireframe/style-dictionary.d.ts +414 -0
  13. package/dist/js/wireframe/style-dictionary.js +427 -0
  14. package/dist/json/grantcodes/tokens.json +351 -0
  15. package/dist/json/todomap/tokens.json +200 -0
  16. package/dist/json/wireframe/tokens.json +404 -0
  17. package/package.json +66 -61
  18. package/.turbo/turbo-build.log +0 -45
  19. package/.turbo/turbo-lint.log +0 -10
  20. package/AGENTS.md +0 -67
  21. package/biome.json +0 -9
  22. package/build.js +0 -10
  23. package/config.js +0 -509
  24. package/demo.html +0 -171
  25. package/lib/color-generator.js +0 -13
  26. package/lib/get-style-dictionary-config.js +0 -223
  27. package/lib/get-themes.js +0 -10
  28. package/lib/index.js +0 -3
  29. package/tests/tokens.test.js +0 -87
  30. package/tokens/core/tier-1-definitions/colors.json +0 -174
  31. package/tokens/core/tier-1-definitions/z-index.json +0 -28
  32. package/tokens/grantcodes/tier-1-definitions/animation.json +0 -26
  33. package/tokens/grantcodes/tier-1-definitions/borders.json +0 -35
  34. package/tokens/grantcodes/tier-1-definitions/colors.json +0 -35
  35. package/tokens/grantcodes/tier-1-definitions/shadows.json +0 -38
  36. package/tokens/grantcodes/tier-1-definitions/spacing.json +0 -49
  37. package/tokens/grantcodes/tier-1-definitions/typography.json +0 -142
  38. package/tokens/grantcodes/tier-2-usage/00-colors-background.json +0 -71
  39. package/tokens/grantcodes/tier-2-usage/00-colors-border.json +0 -41
  40. package/tokens/grantcodes/tier-2-usage/00-colors-content.json +0 -44
  41. package/tokens/grantcodes/tier-2-usage/animation.json +0 -23
  42. package/tokens/grantcodes/tier-2-usage/borders.json +0 -26
  43. package/tokens/grantcodes/tier-2-usage/shadows.json +0 -38
  44. package/tokens/grantcodes/tier-2-usage/spacing.json +0 -25
  45. package/tokens/grantcodes/tier-2-usage/typography-usage.json +0 -276
  46. package/tokens/grantcodes/tier-3-components/button.json +0 -94
  47. package/tokens/grantcodes/tier-3-components/focus-ring.json +0 -25
  48. package/tokens/grantcodes/tier-3-components/form.json +0 -69
  49. package/tokens/grantcodes/tier-3-components/link.json +0 -38
  50. package/tokens/todomap/tier-1-definitions/colors.json +0 -91
  51. package/tokens/todomap/tier-1-definitions/spacing.json +0 -49
  52. package/tokens/todomap/tier-1-definitions/typography.json +0 -12
  53. package/tokens/todomap/tier-2-usage/00-colors-background.json +0 -35
  54. package/tokens/todomap/tier-2-usage/00-colors-content.json +0 -32
  55. package/tokens/todomap/tier-2-usage/spacing.json +0 -25
  56. package/tokens/todomap/tier-2-usage/typography-usage.json +0 -20
  57. package/tokens/todomap/tier-3-components/button.json +0 -140
  58. package/tokens/todomap/tier-3-components/focus-ring.json +0 -25
  59. package/tokens/todomap/tier-3-components/form.json +0 -69
  60. package/tokens/todomap/tier-3-components/link.json +0 -38
  61. package/tokens/wireframe/tier-1-definitions/animation.json +0 -17
  62. package/tokens/wireframe/tier-1-definitions/borders.json +0 -41
  63. package/tokens/wireframe/tier-1-definitions/colors.json +0 -35
  64. package/tokens/wireframe/tier-1-definitions/shadows.json +0 -38
  65. package/tokens/wireframe/tier-1-definitions/spacing.json +0 -49
  66. package/tokens/wireframe/tier-1-definitions/typography.json +0 -130
  67. package/tokens/wireframe/tier-2-usage/00-colors-background.json +0 -85
  68. package/tokens/wireframe/tier-2-usage/00-colors-border.json +0 -41
  69. package/tokens/wireframe/tier-2-usage/00-colors-content.json +0 -44
  70. package/tokens/wireframe/tier-2-usage/animation.json +0 -23
  71. package/tokens/wireframe/tier-2-usage/borders.json +0 -32
  72. package/tokens/wireframe/tier-2-usage/shadows.json +0 -38
  73. package/tokens/wireframe/tier-2-usage/spacing.json +0 -25
  74. package/tokens/wireframe/tier-2-usage/typography-usage.json +0 -444
  75. package/tokens/wireframe/tier-3-components/button.json +0 -94
  76. package/tokens/wireframe/tier-3-components/focus-ring.json +0 -25
  77. package/tokens/wireframe/tier-3-components/form.json +0 -69
  78. package/tokens/wireframe/tier-3-components/link.json +0 -38
@@ -0,0 +1,404 @@
1
+ {
2
+ "g-color-neutral-100": "oklch(95% 0 0)",
3
+ "g-color-neutral-200": "oklch(90% 0 0)",
4
+ "g-color-neutral-300": "oklch(80% 0 0)",
5
+ "g-color-neutral-400": "oklch(70% 0 0)",
6
+ "g-color-neutral-500": "oklch(60% 0 0)",
7
+ "g-color-neutral-600": "oklch(50% 0 0)",
8
+ "g-color-neutral-700": "oklch(40% 0 0)",
9
+ "g-color-neutral-800": "oklch(30% 0 0)",
10
+ "g-color-neutral-900": "oklch(20% 0 0)",
11
+ "g-color-neutral-white": "oklch(100% 0 0)",
12
+ "g-color-neutral-black": "oklch(0% 0 0)",
13
+ "g-color-utility-green-100": "oklch(96.73% 0.0537 129.1)",
14
+ "g-color-utility-green-200": "oklch(93.45% 0.107 131.96)",
15
+ "g-color-utility-green-300": "oklch(87.97% 0.1546 135.05)",
16
+ "g-color-utility-green-400": "oklch(81.78% 0.1827 137.62)",
17
+ "g-color-utility-green-500": "oklch(74.01% 0.2132 139.87)",
18
+ "g-color-utility-green-600": "oklch(65.44% 0.1981 141.12)",
19
+ "g-color-utility-green-700": "oklch(57.11% 0.1795 142.12)",
20
+ "g-color-utility-green-800": "oklch(48.67% 0.1572 142.68)",
21
+ "g-color-utility-green-900": "oklch(42.59% 0.1358 143.3)",
22
+ "g-color-utility-blue-100": "oklch(95.86% 0.0542 179.13)",
23
+ "g-color-utility-blue-200": "oklch(92.82% 0.0973 184.41)",
24
+ "g-color-utility-blue-300": "oklch(90.54% 0.1282 189.63)",
25
+ "g-color-utility-blue-500": "oklch(81.86% 0.141005 208.7047)",
26
+ "g-color-utility-blue-600": "oklch(68.89% 0.125872 220.4932)",
27
+ "g-color-utility-blue-700": "oklch(56.7% 0.116289 232.4331)",
28
+ "g-color-utility-blue-800": "oklch(45.75% 0.107158 241.2805)",
29
+ "g-color-utility-blue-900": "oklch(37.55% 0.1037 249.04)",
30
+ "g-color-utility-yellow-100": "oklch(97.66% 0.0606 103.43)",
31
+ "g-color-utility-yellow-200": "oklch(95.72% 0.1147 103.53)",
32
+ "g-color-utility-yellow-300": "oklch(93.47% 0.1552 102.21)",
33
+ "g-color-utility-yellow-400": "oklch(91.68% 0.1745 101.08)",
34
+ "g-color-utility-yellow-500": "oklch(88.99% 0.183778 97.6996)",
35
+ "g-color-utility-yellow-600": "oklch(78.68% 0.162 96.43)",
36
+ "g-color-utility-yellow-700": "oklch(68.35% 0.14027 94.7302)",
37
+ "g-color-utility-yellow-800": "oklch(58.04% 0.1189 93.71)",
38
+ "g-color-utility-yellow-900": "oklch(50.09% 0.1025 92.6)",
39
+ "g-color-utility-red-100": "oklch(94.96% 0.0395 73.45)",
40
+ "g-color-utility-red-200": "oklch(89.21% 0.076552 65.9429)",
41
+ "g-color-utility-red-300": "oklch(82.67% 0.1156 57.65)",
42
+ "g-color-utility-red-400": "oklch(77.04% 0.1486 49.15)",
43
+ "g-color-utility-red-500": "oklch(69.31% 0.203172 39.994)",
44
+ "g-color-utility-red-600": "oklch(60.03% 0.1938 35.81)",
45
+ "g-color-utility-red-700": "oklch(51.18% 0.1802 32.56)",
46
+ "g-color-utility-red-800": "oklch(42.79% 0.16 30.38)",
47
+ "g-color-utility-red-900": "oklch(36.89% 0.1443 28.98)",
48
+ "g-color-transparent-0": "oklch(100% 0 0 / 0)",
49
+ "g-color-transparent-10": "oklch(100% 0 0 / 0.1)",
50
+ "g-color-transparent-25": "oklch(100% 0 0 / 0.25)",
51
+ "g-color-transparent-50": "oklch(100% 0 0 / 0.5)",
52
+ "g-color-transparent-75": "oklch(100% 0 0 / 0.75)",
53
+ "g-color-transparent-90": "oklch(100% 0 0 / 0.9)",
54
+ "g-color-brand-gray-100": "oklch(95% 0 0)",
55
+ "g-color-brand-gray-200": "oklch(90% 0 0)",
56
+ "g-color-brand-gray-300": "oklch(80% 0 0)",
57
+ "g-color-brand-gray-400": "oklch(70% 0 0)",
58
+ "g-color-brand-gray-500": "oklch(60% 0 0)",
59
+ "g-color-brand-gray-600": "oklch(50% 0 0)",
60
+ "g-color-brand-gray-700": "oklch(40% 0 0)",
61
+ "g-color-brand-gray-800": "oklch(30% 0 0)",
62
+ "g-color-brand-gray-900": "oklch(20% 0 0)",
63
+ "g-theme-color-background-default": "oklch(100% 0 0)",
64
+ "g-theme-color-background-default-hover": "oklch(95% 0 0)",
65
+ "g-theme-color-background-subtle": "oklch(95% 0 0)",
66
+ "g-theme-color-background-subtle-hover": "oklch(90% 0 0)",
67
+ "g-theme-color-background-knockout": "oklch(0% 0 0)",
68
+ "g-theme-color-background-brand": "oklch(95% 0 0)",
69
+ "g-theme-color-background-brand-hover": "oklch(90% 0 0)",
70
+ "g-theme-color-background-brand-disabled": "oklch(90% 0 0)",
71
+ "g-theme-color-background-brand-knockout": "oklch(30% 0 0)",
72
+ "g-theme-color-background-brand-knockout-hover": "oklch(40% 0 0)",
73
+ "g-theme-color-background-utility-error": "oklch(94.96% 0.0395 73.45)",
74
+ "g-theme-color-background-utility-error-knockout": "oklch(60.03% 0.1938 35.81)",
75
+ "g-theme-color-background-utility-warning": "oklch(97.66% 0.0606 103.43)",
76
+ "g-theme-color-background-utility-warning-knockout": "oklch(78.68% 0.162 96.43)",
77
+ "g-theme-color-background-utility-success": "oklch(96.73% 0.0537 129.1)",
78
+ "g-theme-color-background-utility-success-knockout": "oklch(65.44% 0.1981 141.12)",
79
+ "g-theme-color-background-utility-info": "oklch(95.86% 0.0542 179.13)",
80
+ "g-theme-color-background-utility-info-knockout": "oklch(68.89% 0.125872 220.4932)",
81
+ "g-theme-color-background-dataviz-primary": "oklch(50% 0 0)",
82
+ "g-theme-color-background-dataviz-primary-subtle": "oklch(100% 0 0 / 0.25)",
83
+ "g-theme-color-background-dataviz-secondary": "oklch(90% 0 0)",
84
+ "g-theme-color-background-dataviz-tertiary": "oklch(70% 0 0)",
85
+ "g-theme-color-background-disabled": "oklch(90% 0 0)",
86
+ "g-theme-color-background-transparent": "oklch(100% 0 0 / 0.25)",
87
+ "g-theme-color-background-transparent-strong": "oklch(100% 0 0 / 0.9)",
88
+ "g-theme-color-border-default": "oklch(80% 0 0)",
89
+ "g-theme-color-border-default-hover": "oklch(60% 0 0)",
90
+ "g-theme-color-border-subtle": "oklch(90% 0 0)",
91
+ "g-theme-color-border-strong": "oklch(20% 0 0)",
92
+ "g-theme-color-border-knockout": "oklch(70% 0 0)",
93
+ "g-theme-color-border-brand": "oklch(80% 0 0)",
94
+ "g-theme-color-border-utility-error": "oklch(51.18% 0.1802 32.56)",
95
+ "g-theme-color-border-utility-warning": "oklch(68.35% 0.14027 94.7302)",
96
+ "g-theme-color-border-utility-success": "oklch(57.11% 0.1795 142.12)",
97
+ "g-theme-color-border-utility-info": "oklch(56.7% 0.116289 232.4331)",
98
+ "g-theme-color-border-disabled": "oklch(90% 0 0)",
99
+ "g-theme-color-content-default": "oklch(20% 0 0)",
100
+ "g-theme-color-content-default-hover": "oklch(0% 0 0)",
101
+ "g-theme-color-content-subtle": "oklch(60% 0 0)",
102
+ "g-theme-color-content-brand": "oklch(40% 0 0)",
103
+ "g-theme-color-content-brand-hover": "oklch(20% 0 0)",
104
+ "g-theme-color-content-brand-knockout": "oklch(95% 0 0)",
105
+ "g-theme-color-content-knockout": "oklch(100% 0 0)",
106
+ "g-theme-color-content-disabled": "oklch(50% 0 0)",
107
+ "g-theme-color-content-utility-error": "oklch(60.03% 0.1938 35.81)",
108
+ "g-theme-color-content-utility-warning": "oklch(78.68% 0.162 96.43)",
109
+ "g-theme-color-content-utility-success": "oklch(65.44% 0.1981 141.12)",
110
+ "g-theme-color-content-utility-info": "oklch(68.89% 0.125872 220.4932)",
111
+ "g-z-index-0": "0",
112
+ "g-z-index-100": "100",
113
+ "g-z-index-200": "200",
114
+ "g-z-index-300": "300",
115
+ "g-z-index-400": "400",
116
+ "g-z-index-500": "500",
117
+ "g-z-index-top": "99999",
118
+ "g-z-index-bottom": "-100",
119
+ "g-animation-duration-15": "0.15s",
120
+ "g-animation-duration-40": "0.4s",
121
+ "g-animation-easing-default": "ease",
122
+ "g-theme-animation-fade-quick": "0.15s",
123
+ "g-theme-animation-fade-long": "0.4s",
124
+ "g-theme-animation-move-quick": "0.15s",
125
+ "g-theme-animation-move-long": "0.4s",
126
+ "g-theme-animation-ease": "ease",
127
+ "g-border-radius-0": "0rem",
128
+ "g-border-radius-2": "0.125rem",
129
+ "g-border-radius-4": "0.25rem",
130
+ "g-border-radius-8": "0.5rem",
131
+ "g-border-radius-16": "1rem",
132
+ "g-border-radius-32": "2rem",
133
+ "g-border-radius-round": "62.4375rem",
134
+ "g-theme-border-radius-none": "0rem",
135
+ "g-theme-border-radius-sm": "0rem",
136
+ "g-theme-border-radius-md": "0rem",
137
+ "g-theme-border-radius-lg": "0rem",
138
+ "g-border-width-1": "0.0625rem",
139
+ "g-border-width-2": "0.125rem",
140
+ "g-border-width-4": "0.25rem",
141
+ "g-border-width-8": "0.5rem",
142
+ "g-theme-border-width-sm": "0.0625rem",
143
+ "g-theme-border-width-md": "0.125rem",
144
+ "g-theme-border-width-lg": "0.25rem",
145
+ "g-theme-border-width-xl": "0.5rem",
146
+ "g-shadow-sm-x": "0rem",
147
+ "g-shadow-sm-y": "0.25rem",
148
+ "g-shadow-sm-blur": "0.25rem",
149
+ "g-shadow-sm-spread": "0rem",
150
+ "g-shadow-sm-color": "#00000040",
151
+ "g-shadow-md-x": "0rem",
152
+ "g-shadow-md-y": "0.5rem",
153
+ "g-shadow-md-blur": "0.375rem",
154
+ "g-shadow-md-spread": "-0.375rem",
155
+ "g-shadow-md-color": "#0000001a",
156
+ "g-spacing-0": "0rem",
157
+ "g-spacing-1": "0.0625rem",
158
+ "g-spacing-2": "0.125rem",
159
+ "g-spacing-4": "0.25rem",
160
+ "g-spacing-6": "0.375rem",
161
+ "g-spacing-8": "0.5rem",
162
+ "g-spacing-10": "0.625rem",
163
+ "g-spacing-12": "0.75rem",
164
+ "g-spacing-16": "1rem",
165
+ "g-spacing-20": "1.25rem",
166
+ "g-spacing-24": "1.5rem",
167
+ "g-spacing-32": "2rem",
168
+ "g-spacing-40": "2.5rem",
169
+ "g-spacing-48": "3rem",
170
+ "g-spacing-64": "4rem",
171
+ "g-theme-spacing-xs": "0.25rem",
172
+ "g-theme-spacing-sm": "0.5rem",
173
+ "g-theme-spacing-md": "1rem",
174
+ "g-theme-spacing-lg": "1.5rem",
175
+ "g-theme-spacing-xl": "2rem",
176
+ "g-theme-spacing-2xl": "3rem",
177
+ "g-theme-spacing-3xl": "4rem",
178
+ "g-typography-font-family-system": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif",
179
+ "g-typography-font-family-helvetica": "Helvetica, sans-serif",
180
+ "g-typography-font-weight-400": "400",
181
+ "g-typography-font-weight-700": "700",
182
+ "g-typography-font-size-12": "0.75rem",
183
+ "g-typography-font-size-14": "0.875rem",
184
+ "g-typography-font-size-16": "1rem",
185
+ "g-typography-font-size-18": "1.125rem",
186
+ "g-typography-font-size-20": "1.25rem",
187
+ "g-typography-font-size-24": "1.5rem",
188
+ "g-typography-font-size-28": "1.75rem",
189
+ "g-typography-font-size-32": "2rem",
190
+ "g-typography-font-size-40": "2.5rem",
191
+ "g-typography-font-size-48": "3rem",
192
+ "g-typography-font-size-56": "3.5rem",
193
+ "g-typography-font-size-64": "4rem",
194
+ "g-typography-font-size-100": "6.25rem",
195
+ "g-typography-line-height-16": "1rem",
196
+ "g-typography-line-height-20": "1.25rem",
197
+ "g-typography-line-height-24": "1.5rem",
198
+ "g-typography-line-height-28": "1.75rem",
199
+ "g-typography-line-height-32": "2rem",
200
+ "g-typography-line-height-36": "2.25rem",
201
+ "g-typography-line-height-40": "2.5rem",
202
+ "g-typography-line-height-48": "3rem",
203
+ "g-typography-line-height-56": "3.5rem",
204
+ "g-typography-line-height-64": "4rem",
205
+ "g-typography-line-height-72": "4.5rem",
206
+ "g-typography-line-height-110": "6.875rem",
207
+ "g-typography-letter-spacing-0": "0rem",
208
+ "g-typography-letter-spacing-2": "0.125rem",
209
+ "g-typography-letter-spacing-minus-2": "-0.125rem",
210
+ "g-typography-letter-spacing-minus-1-half": "-0.0938rem",
211
+ "g-typography-letter-spacing-minus-1": "-0.0625rem",
212
+ "g-typography-letter-spacing-minus-half": "-0.0313rem",
213
+ "g-typography-letter-spacing-half": "0.0313rem",
214
+ "g-typography-text-transform-none": "none",
215
+ "g-typography-text-transform-uppercase": "uppercase",
216
+ "g-theme-typography-display-default-font-family": "Helvetica, sans-serif",
217
+ "g-theme-typography-display-default-font-weight": "700",
218
+ "g-theme-typography-display-default-font-size": "6.25rem",
219
+ "g-theme-typography-display-default-line-height": "6.875rem",
220
+ "g-theme-typography-display-default-letter-spacing": "-0.125rem",
221
+ "g-theme-typography-display-default-text-transform": "none",
222
+ "g-theme-typography-display-default-mobile-font-family": "Helvetica, sans-serif",
223
+ "g-theme-typography-display-default-mobile-font-weight": "700",
224
+ "g-theme-typography-display-default-mobile-font-size": "3rem",
225
+ "g-theme-typography-display-default-mobile-line-height": "3.5rem",
226
+ "g-theme-typography-display-default-mobile-letter-spacing": "-0.0938rem",
227
+ "g-theme-typography-display-default-mobile-text-transform": "none",
228
+ "g-theme-typography-display-sm-font-family": "Helvetica, sans-serif",
229
+ "g-theme-typography-display-sm-font-weight": "400",
230
+ "g-theme-typography-display-sm-font-size": "2.5rem",
231
+ "g-theme-typography-display-sm-line-height": "3rem",
232
+ "g-theme-typography-display-sm-letter-spacing": "-0.0938rem",
233
+ "g-theme-typography-display-sm-text-transform": "none",
234
+ "g-theme-typography-display-sm-mobile-font-family": "Helvetica, sans-serif",
235
+ "g-theme-typography-display-sm-mobile-font-weight": "400",
236
+ "g-theme-typography-display-sm-mobile-font-size": "2rem",
237
+ "g-theme-typography-display-sm-mobile-line-height": "2.5rem",
238
+ "g-theme-typography-display-sm-mobile-letter-spacing": "-0.0625rem",
239
+ "g-theme-typography-display-sm-mobile-text-transform": "none",
240
+ "g-theme-typography-headline-lg-font-family": "Helvetica, sans-serif",
241
+ "g-theme-typography-headline-lg-font-weight": "700",
242
+ "g-theme-typography-headline-lg-font-size": "3rem",
243
+ "g-theme-typography-headline-lg-line-height": "3.5rem",
244
+ "g-theme-typography-headline-lg-letter-spacing": "0.0313rem",
245
+ "g-theme-typography-headline-lg-text-transform": "none",
246
+ "g-theme-typography-headline-lg-mobile-font-family": "Helvetica, sans-serif",
247
+ "g-theme-typography-headline-lg-mobile-font-weight": "700",
248
+ "g-theme-typography-headline-lg-mobile-font-size": "2.5rem",
249
+ "g-theme-typography-headline-lg-mobile-line-height": "3rem",
250
+ "g-theme-typography-headline-lg-mobile-letter-spacing": "0.0313rem",
251
+ "g-theme-typography-headline-lg-mobile-text-transform": "none",
252
+ "g-theme-typography-headline-default-font-family": "Helvetica, sans-serif",
253
+ "g-theme-typography-headline-default-font-weight": "700",
254
+ "g-theme-typography-headline-default-font-size": "2.5rem",
255
+ "g-theme-typography-headline-default-line-height": "3rem",
256
+ "g-theme-typography-headline-default-letter-spacing": "0.0313rem",
257
+ "g-theme-typography-headline-default-text-transform": "none",
258
+ "g-theme-typography-headline-default-mobile-font-family": "Helvetica, sans-serif",
259
+ "g-theme-typography-headline-default-mobile-font-weight": "700",
260
+ "g-theme-typography-headline-default-mobile-font-size": "2rem",
261
+ "g-theme-typography-headline-default-mobile-line-height": "2.5rem",
262
+ "g-theme-typography-headline-default-mobile-letter-spacing": "0.0313rem",
263
+ "g-theme-typography-headline-default-mobile-text-transform": "none",
264
+ "g-theme-typography-headline-sm-font-family": "Helvetica, sans-serif",
265
+ "g-theme-typography-headline-sm-font-weight": "700",
266
+ "g-theme-typography-headline-sm-font-size": "2rem",
267
+ "g-theme-typography-headline-sm-line-height": "2.5rem",
268
+ "g-theme-typography-headline-sm-letter-spacing": "0.0313rem",
269
+ "g-theme-typography-headline-sm-text-transform": "none",
270
+ "g-theme-typography-headline-sm-mobile-font-family": "Helvetica, sans-serif",
271
+ "g-theme-typography-headline-sm-mobile-font-weight": "700",
272
+ "g-theme-typography-headline-sm-mobile-font-size": "1.75rem",
273
+ "g-theme-typography-headline-sm-mobile-line-height": "2.25rem",
274
+ "g-theme-typography-headline-sm-mobile-letter-spacing": "0.0313rem",
275
+ "g-theme-typography-headline-sm-mobile-text-transform": "none",
276
+ "g-theme-typography-title-lg-font-family": "Helvetica, sans-serif",
277
+ "g-theme-typography-title-lg-font-weight": "700",
278
+ "g-theme-typography-title-lg-font-size": "2rem",
279
+ "g-theme-typography-title-lg-line-height": "2.5rem",
280
+ "g-theme-typography-title-lg-letter-spacing": "-0.0625rem",
281
+ "g-theme-typography-title-lg-text-transform": "none",
282
+ "g-theme-typography-title-lg-mobile-font-family": "Helvetica, sans-serif",
283
+ "g-theme-typography-title-lg-mobile-font-weight": "700",
284
+ "g-theme-typography-title-lg-mobile-font-size": "1.75rem",
285
+ "g-theme-typography-title-lg-mobile-line-height": "2.25rem",
286
+ "g-theme-typography-title-lg-mobile-letter-spacing": "-0.0313rem",
287
+ "g-theme-typography-title-lg-mobile-text-transform": "none",
288
+ "g-theme-typography-title-default-font-family": "Helvetica, sans-serif",
289
+ "g-theme-typography-title-default-font-weight": "700",
290
+ "g-theme-typography-title-default-font-size": "1.75rem",
291
+ "g-theme-typography-title-default-line-height": "2.25rem",
292
+ "g-theme-typography-title-default-letter-spacing": "-0.0313rem",
293
+ "g-theme-typography-title-default-text-transform": "none",
294
+ "g-theme-typography-title-sm-font-family": "Helvetica, sans-serif",
295
+ "g-theme-typography-title-sm-font-weight": "700",
296
+ "g-theme-typography-title-sm-font-size": "1.5rem",
297
+ "g-theme-typography-title-sm-line-height": "2rem",
298
+ "g-theme-typography-title-sm-letter-spacing": "-0.0313rem",
299
+ "g-theme-typography-title-sm-text-transform": "none",
300
+ "g-theme-typography-label-lg-font-family": "Helvetica, sans-serif",
301
+ "g-theme-typography-label-lg-font-weight": "700",
302
+ "g-theme-typography-label-lg-font-size": "1.25rem",
303
+ "g-theme-typography-label-lg-line-height": "1.75rem",
304
+ "g-theme-typography-label-lg-letter-spacing": "0rem",
305
+ "g-theme-typography-label-lg-text-transform": "none",
306
+ "g-theme-typography-label-default-font-family": "Helvetica, sans-serif",
307
+ "g-theme-typography-label-default-font-weight": "700",
308
+ "g-theme-typography-label-default-font-size": "1rem",
309
+ "g-theme-typography-label-default-line-height": "1.5rem",
310
+ "g-theme-typography-label-default-letter-spacing": "0rem",
311
+ "g-theme-typography-label-default-text-transform": "none",
312
+ "g-theme-typography-label-sm-font-family": "Helvetica, sans-serif",
313
+ "g-theme-typography-label-sm-font-weight": "700",
314
+ "g-theme-typography-label-sm-font-size": "0.875rem",
315
+ "g-theme-typography-label-sm-line-height": "1.25rem",
316
+ "g-theme-typography-label-sm-letter-spacing": "0rem",
317
+ "g-theme-typography-label-sm-text-transform": "none",
318
+ "g-theme-typography-body-lg-font-family": "Helvetica, sans-serif",
319
+ "g-theme-typography-body-lg-font-weight": "400",
320
+ "g-theme-typography-body-lg-font-size": "1.25rem",
321
+ "g-theme-typography-body-lg-line-height": "1.75rem",
322
+ "g-theme-typography-body-lg-letter-spacing": "0rem",
323
+ "g-theme-typography-body-lg-text-transform": "none",
324
+ "g-theme-typography-body-default-font-family": "Helvetica, sans-serif",
325
+ "g-theme-typography-body-default-font-weight": "400",
326
+ "g-theme-typography-body-default-font-size": "1rem",
327
+ "g-theme-typography-body-default-line-height": "1.5rem",
328
+ "g-theme-typography-body-default-letter-spacing": "0rem",
329
+ "g-theme-typography-body-default-text-transform": "none",
330
+ "g-theme-typography-body-sm-font-family": "Helvetica, sans-serif",
331
+ "g-theme-typography-body-sm-font-weight": "400",
332
+ "g-theme-typography-body-sm-font-size": "0.875rem",
333
+ "g-theme-typography-body-sm-line-height": "1.25rem",
334
+ "g-theme-typography-body-sm-letter-spacing": "0rem",
335
+ "g-theme-typography-body-sm-text-transform": "none",
336
+ "g-theme-typography-meta-default-font-family": "Helvetica, sans-serif",
337
+ "g-theme-typography-meta-default-font-weight": "700",
338
+ "g-theme-typography-meta-default-font-size": "0.875rem",
339
+ "g-theme-typography-meta-default-line-height": "1.25rem",
340
+ "g-theme-typography-meta-default-letter-spacing": "0.125rem",
341
+ "g-theme-typography-meta-default-text-transform": "uppercase",
342
+ "g-theme-typography-meta-sm-font-family": "Helvetica, sans-serif",
343
+ "g-theme-typography-meta-sm-font-weight": "700",
344
+ "g-theme-typography-meta-sm-font-size": "0.75rem",
345
+ "g-theme-typography-meta-sm-line-height": "1rem",
346
+ "g-theme-typography-meta-sm-letter-spacing": "0.125rem",
347
+ "g-theme-typography-meta-sm-text-transform": "uppercase",
348
+ "g-theme-button-color-background-default": "oklch(95% 0 0)",
349
+ "g-theme-button-color-background-hover": "oklch(90% 0 0)",
350
+ "g-theme-button-color-background-active": "oklch(90% 0 0)",
351
+ "g-theme-button-color-background-disabled": "oklch(100% 0 0)",
352
+ "g-theme-button-color-content-default": "oklch(20% 0 0)",
353
+ "g-theme-button-color-content-hover": "oklch(95% 0 0)",
354
+ "g-theme-button-color-content-active": "oklch(95% 0 0)",
355
+ "g-theme-button-color-content-disabled": "oklch(50% 0 0)",
356
+ "g-theme-button-color-border-default": "oklch(80% 0 0)",
357
+ "g-theme-button-color-border-hover": "oklch(80% 0 0)",
358
+ "g-theme-button-color-border-active": "oklch(80% 0 0)",
359
+ "g-theme-button-color-border-disabled": "oklch(80% 0 0)",
360
+ "g-theme-button-primary-color-background-default": "oklch(40% 0 0)",
361
+ "g-theme-button-primary-color-background-hover": "oklch(30% 0 0)",
362
+ "g-theme-button-primary-color-background-active": "oklch(30% 0 0)",
363
+ "g-theme-button-primary-color-background-disabled": "oklch(90% 0 0)",
364
+ "g-theme-button-primary-color-content-default": "oklch(0% 0 0)",
365
+ "g-theme-button-primary-color-content-hover": "oklch(0% 0 0)",
366
+ "g-theme-button-primary-color-content-active": "oklch(0% 0 0)",
367
+ "g-theme-button-primary-color-content-disabled": "oklch(20% 0 0)",
368
+ "g-theme-button-primary-color-border-default": "oklch(40% 0 0)",
369
+ "g-theme-button-primary-color-border-hover": "oklch(30% 0 0)",
370
+ "g-theme-button-primary-color-border-active": "oklch(30% 0 0)",
371
+ "g-theme-button-primary-color-border-disabled": "oklch(80% 0 0)",
372
+ "g-theme-focus-ring-color-default": "rgba(0, 0, 0, 0.4)",
373
+ "g-theme-focus-ring-color-contrast": "oklch(90% 0 0)",
374
+ "g-theme-focus-ring-color-contrast-shadow": "oklch(30% 0 0)",
375
+ "g-theme-focus-ring-width-default": "0.2rem",
376
+ "g-theme-focus-ring-offset-default": "0rem",
377
+ "g-theme-form-color-background-default": "oklch(100% 0 0)",
378
+ "g-theme-form-color-background-focus": "oklch(100% 0 0)",
379
+ "g-theme-form-color-background-hover": "oklch(95% 0 0)",
380
+ "g-theme-form-color-background-active": "oklch(100% 0 0)",
381
+ "g-theme-form-color-background-disabled": "oklch(100% 0 0)",
382
+ "g-theme-form-color-content-default": "oklch(20% 0 0)",
383
+ "g-theme-form-color-content-focus": "oklch(20% 0 0)",
384
+ "g-theme-form-color-content-hover": "oklch(20% 0 0)",
385
+ "g-theme-form-color-content-active": "oklch(20% 0 0)",
386
+ "g-theme-form-color-content-disabled": "oklch(50% 0 0)",
387
+ "g-theme-form-color-border-default": "oklch(80% 0 0)",
388
+ "g-theme-form-color-border-focus": "oklch(80% 0 0)",
389
+ "g-theme-form-color-border-hover": "oklch(60% 0 0)",
390
+ "g-theme-form-color-border-active": "oklch(80% 0 0)",
391
+ "g-theme-form-color-border-disabled": "oklch(80% 0 0)",
392
+ "g-theme-form-color-border-error": "oklch(51.18% 0.1802 32.56)",
393
+ "g-theme-form-input-accent-color-default": "oklch(60% 0 0)",
394
+ "g-theme-link-color-content-default": "oklch(50% 0 0)",
395
+ "g-theme-link-color-content-hover": "oklch(20% 0 0)",
396
+ "g-theme-link-color-content-active": "oklch(20% 0 0)",
397
+ "g-theme-link-color-content-visited": "oklch(50% 0 0)",
398
+ "g-theme-link-knockout-color-content-default": "oklch(100% 0 0)",
399
+ "g-theme-link-knockout-color-content-hover": "oklch(100% 0 0)",
400
+ "g-theme-link-knockout-color-content-active": "oklch(100% 0 0)",
401
+ "g-theme-link-knockout-color-content-visited": "oklch(100% 0 0)",
402
+ "g-theme-box-shadow-sm": "0rem 0.25rem 0.25rem 0rem #00000040",
403
+ "g-theme-box-shadow-md": "0rem 0.5rem 0.375rem -0.375rem #0000001a"
404
+ }
package/package.json CHANGED
@@ -1,62 +1,67 @@
1
1
  {
2
- "name": "@grantcodes/style-dictionary",
3
- "version": "1.3.0",
4
- "type": "module",
5
- "description": "My personal style dictionary",
6
- "main": "./dist/js/default/style-dictionary.js",
7
- "exports": {
8
- "./wireframe/css": "./dist/css/wireframe/tokens.css",
9
- "./wireframe/css/theme": "./dist/css/wireframe/wireframe.css",
10
- "./wireframe/js": "./dist/js/wireframe/style-dictionary.js",
11
- "./wireframe/json": "./dist/json/wireframe/tokens.json",
12
- "./grantcodes/css": "./dist/css/grantcodes/tokens.css",
13
- "./grantcodes/css/theme": "./dist/css/grantcodes/grantcodes.css",
14
- "./grantcodes/js": "./dist/js/grantcodes/style-dictionary.js",
15
- "./grantcodes/json": "./dist/json/grantcodes/tokens.json",
16
- "./todomap/css": "./dist/css/todomap/tokens.css",
17
- "./todomap/css/theme": "./dist/css/todomap/todomap.css",
18
- "./todomap/js": "./dist/js/todomap/style-dictionary.js",
19
- "./todomap/json": "./dist/json/todomap/tokens.json",
20
- "./assets/fonts/greycliff": "./assets/fonts/greycliff.css",
21
- "./assets/fonts/quicksand": "./assets/fonts/quicksand.css"
22
- },
23
- "types": {
24
- "./wireframe/js": "./dist/js/wireframe/style-dictionary.d.ts",
25
- "./grantcodes/js": "./dist/js/grantcodes/style-dictionary.d.ts",
26
- "./todomap/js": "./dist/js/todomap/style-dictionary.d.ts"
27
- },
28
- "scripts": {
29
- "build": "node ./build.js",
30
- "clean": "rm -rf dist",
31
- "prepublishOnly": "npm run clean && npm run build",
32
- "fix": "run-s fix:lint",
33
- "fix:lint": "npx @biomejs/biome format --write tokens build.js",
34
- "test": "run-s lint",
35
- "lint": "npx @biomejs/biome lint tokens build.js lib",
36
- "test:unit": "node --test"
37
- },
38
- "author": {
39
- "email": "mail@grant.codes",
40
- "name": "Grant Richmond",
41
- "url": "https://grant.codes"
42
- },
43
- "repository": {
44
- "type": "git",
45
- "url": "git+https://github.com/grantcodes/style-dictionary.git"
46
- },
47
- "bugs": {
48
- "url": "https://github.com/grantcodes/style-dictionary/issues"
49
- },
50
- "homepage": "https://github.com/grantcodes/style-dictionary#readme",
51
- "license": "MIT",
52
- "devDependencies": {
53
- "@biomejs/biome": "2.1.1",
54
- "@grantcodes/commit": "^2.0.0",
55
- "minimist": "^1.2.8",
56
- "npm-run-all": "^4.1.5",
57
- "style-dictionary": "^5.0.1"
58
- },
59
- "dependencies": {
60
- "colorjs.io": "^0.5.2"
61
- }
62
- }
2
+ "name": "@grantcodes/style-dictionary",
3
+ "version": "1.3.1",
4
+ "type": "module",
5
+ "description": "My personal style dictionary",
6
+ "main": "./dist/js/default/style-dictionary.js",
7
+ "exports": {
8
+ "./wireframe/css": "./dist/css/wireframe/tokens.css",
9
+ "./wireframe/css/theme": "./dist/css/wireframe/wireframe.css",
10
+ "./wireframe/js": "./dist/js/wireframe/style-dictionary.js",
11
+ "./wireframe/json": "./dist/json/wireframe/tokens.json",
12
+ "./grantcodes/css": "./dist/css/grantcodes/tokens.css",
13
+ "./grantcodes/css/theme": "./dist/css/grantcodes/grantcodes.css",
14
+ "./grantcodes/js": "./dist/js/grantcodes/style-dictionary.js",
15
+ "./grantcodes/json": "./dist/json/grantcodes/tokens.json",
16
+ "./todomap/css": "./dist/css/todomap/tokens.css",
17
+ "./todomap/css/theme": "./dist/css/todomap/todomap.css",
18
+ "./todomap/js": "./dist/js/todomap/style-dictionary.js",
19
+ "./todomap/json": "./dist/json/todomap/tokens.json",
20
+ "./assets/fonts/greycliff": "./assets/fonts/greycliff.css",
21
+ "./assets/fonts/quicksand": "./assets/fonts/quicksand.css"
22
+ },
23
+ "types": {
24
+ "./wireframe/js": "./dist/js/wireframe/style-dictionary.d.ts",
25
+ "./grantcodes/js": "./dist/js/grantcodes/style-dictionary.d.ts",
26
+ "./todomap/js": "./dist/js/todomap/style-dictionary.d.ts"
27
+ },
28
+ "author": {
29
+ "email": "mail@grant.codes",
30
+ "name": "Grant Richmond",
31
+ "url": "https://grant.codes"
32
+ },
33
+ "repository": {
34
+ "type": "git",
35
+ "url": "git+https://github.com/grantcodes/style-dictionary.git"
36
+ },
37
+ "bugs": {
38
+ "url": "https://github.com/grantcodes/style-dictionary/issues"
39
+ },
40
+ "homepage": "https://github.com/grantcodes/style-dictionary#readme",
41
+ "license": "MIT",
42
+ "devDependencies": {
43
+ "@biomejs/biome": "2.1.1",
44
+ "@grantcodes/commit": "^2.0.0",
45
+ "minimist": "^1.2.8",
46
+ "npm-run-all": "^4.1.5",
47
+ "style-dictionary": "^5.0.1"
48
+ },
49
+ "dependencies": {
50
+ "colorjs.io": "^0.5.2"
51
+ },
52
+ "files": [
53
+ "dist/**/*",
54
+ "assets/**/*",
55
+ "README.md",
56
+ "CHANGELOG.md"
57
+ ],
58
+ "scripts": {
59
+ "build": "node ./build.js",
60
+ "clean": "rm -rf dist",
61
+ "fix": "run-s fix:lint",
62
+ "fix:lint": "npx @biomejs/biome format --write tokens build.js",
63
+ "test": "run-s lint",
64
+ "lint": "npx @biomejs/biome lint tokens build.js lib",
65
+ "test:unit": "node --test"
66
+ }
67
+ }
@@ -1,45 +0,0 @@
1
-
2
-
3
- > @grantcodes/style-dictionary@1.3.0 build /home/grantcodes/projects/@grantcodes/ui/packages/style-dictionary
4
- > node ./build.js
5
-
6
- 🚧 No theme specified, building all themes...
7
-
8
- 🏗️ Building WIREFRAME theme
9
-
10
- 🏗️ Building GRANTCODES theme
11
-
12
- 🏗️ Building TODOMAP theme
13
-
14
- css
15
- ✔︎ dist/css/todomap/tokens.css
16
- ✔︎ dist/css/todomap/todomap.css
17
-
18
- json
19
- ✔︎ dist/json/todomap/tokens.json
20
-
21
- css
22
- ✔︎ dist/css/grantcodes/tokens.css
23
- ✔︎ dist/css/grantcodes/grantcodes.css
24
-
25
- json
26
- ✔︎ dist/json/grantcodes/tokens.json
27
-
28
- css
29
- ✔︎ dist/css/wireframe/tokens.css
30
- ✔︎ dist/css/wireframe/wireframe.css
31
-
32
- json
33
- ✔︎ dist/json/wireframe/tokens.json
34
-
35
- ts
36
- ✔︎ dist/js/todomap/style-dictionary.js
37
- ✔︎ dist/js/todomap/style-dictionary.d.ts
38
-
39
- ts
40
- ✔︎ dist/js/grantcodes/style-dictionary.js
41
- ✔︎ dist/js/grantcodes/style-dictionary.d.ts
42
-
43
- ts
44
- ✔︎ dist/js/wireframe/style-dictionary.js
45
- ✔︎ dist/js/wireframe/style-dictionary.d.ts
@@ -1,10 +0,0 @@
1
-
2
-
3
- > @grantcodes/style-dictionary@1.2.1 lint /home/grantcodes/projects/@grantcodes/ui/packages/style-dictionary
4
- > npx @biomejs/biome lint tokens build.js lib
5
-
6
- npm warn Unknown env config "npm-globalconfig". This will stop working in the next major version of npm.
7
- npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm.
8
- npm warn Unknown env config "_jsr-registry". This will stop working in the next major version of npm.
9
- ⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏Checked 54 files in 6ms. No fixes applied.
10
- ⠙