@tuuject/koi-tokens 0.0.0-stage → 0.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.
Files changed (140) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +39 -2
  3. package/dist/dimensions.d.ts +150 -0
  4. package/dist/dimensions.js +154 -0
  5. package/dist/native.d.ts +374 -0
  6. package/dist/native.js +380 -0
  7. package/dist/palette-kit.d.ts +35 -0
  8. package/dist/palette-kit.js +96 -0
  9. package/dist/palette.d.ts +779 -0
  10. package/dist/palette.js +1383 -0
  11. package/dist/panda-preset.d.ts +4 -0
  12. package/dist/panda-preset.js +1243 -0
  13. package/dist/theme-init.js +29 -0
  14. package/dist/tokens.css +420 -0
  15. package/fonts/00744f2b0f1e3a0e71521b7f5511b30c.woff2 +0 -0
  16. package/fonts/00b4ecd1817ecf947ca664b4fce8a4ad.woff2 +0 -0
  17. package/fonts/020f0fa79f25f5cfa8506d2f431df767.woff2 +0 -0
  18. package/fonts/03317bcae1fdca87a87769c43fd1ce47.woff2 +0 -0
  19. package/fonts/06d0a95f1efd8d124a255600ece94494.woff2 +0 -0
  20. package/fonts/06e7c4ae0fa82b85be634e3c308bf4b3.woff2 +0 -0
  21. package/fonts/0bad1aeeb4500b6301d8d3b64dcc3c73.woff2 +0 -0
  22. package/fonts/0d14b3729a41fc911ff13c3e4fe328c7.woff2 +0 -0
  23. package/fonts/0d6b7caaa1be1467b901364154c917b1.woff2 +0 -0
  24. package/fonts/0e73696b7f29da06cb67fe062f1b8a0c.woff2 +0 -0
  25. package/fonts/114edcf282654c7c63c8234c13b4b089.woff2 +0 -0
  26. package/fonts/1548b3024522036bb36484bbb82345c8.woff2 +0 -0
  27. package/fonts/17a63a64b5e2aac1dbe08b6b901f8856.woff2 +0 -0
  28. package/fonts/1f1f99649d10cf4638c162b7f5cd127a.woff2 +0 -0
  29. package/fonts/23f3a6ad5586406597914ccdfa6485a4.woff2 +0 -0
  30. package/fonts/242bc3d315aabb2c760c22901a294381.woff2 +0 -0
  31. package/fonts/28e0c9f4f663c3f04ba89ba81d19a2ad.woff2 +0 -0
  32. package/fonts/2928810ffc97278ca4fd2b599a1e9b6e.woff2 +0 -0
  33. package/fonts/2a66ebc75f6b74521f3042801a93ffe2.woff2 +0 -0
  34. package/fonts/2b46bd327dad644b0411ba6041e2e1cf.woff2 +0 -0
  35. package/fonts/30b3cf0ad50d03aeef55b669f99da4fa.woff2 +0 -0
  36. package/fonts/30c37e68fbeb4952e205077a53b7eab9.woff2 +0 -0
  37. package/fonts/333a4e28420bfab893a59cfa1c39c4b3.woff2 +0 -0
  38. package/fonts/34735fd05b36eaadb090efd3ba6409fa.woff2 +0 -0
  39. package/fonts/396b875417270491b2e4d246b980bbc8.woff2 +0 -0
  40. package/fonts/3a59340ca71997c84885188961d30e72.woff2 +0 -0
  41. package/fonts/3ab85b02fd30c5efe3dce62b69a7bea9.woff2 +0 -0
  42. package/fonts/3d54bf645647805f52d0281ed0228833.woff2 +0 -0
  43. package/fonts/409d74c42bdbae43d406a441af69a95f.woff2 +0 -0
  44. package/fonts/41050fd57f10e50907fd856f3a08346b.woff2 +0 -0
  45. package/fonts/418b784f58090a3a36c5dc1c53b62704.woff2 +0 -0
  46. package/fonts/42b4508a095cde5d8e9d25b07986f95f.woff2 +0 -0
  47. package/fonts/4409e57103e082215798f5214b4a3637.woff2 +0 -0
  48. package/fonts/44b889b0db6383d450ba3218ed64e108.woff2 +0 -0
  49. package/fonts/45f3d6d7263d515d4a2b58ff040fcc48.woff2 +0 -0
  50. package/fonts/46fe5b1f008721214771f40a4bd9bd72.woff2 +0 -0
  51. package/fonts/479f65c995cb67ce3a460c697dce9e22.woff2 +0 -0
  52. package/fonts/486b4a4a84c7578264e1303ecc433b16.woff2 +0 -0
  53. package/fonts/49b5445e12abe2d3eed431f38cfbb037.woff2 +0 -0
  54. package/fonts/4c4f826589fc39d61b1919ad8b627f80.woff2 +0 -0
  55. package/fonts/4cd5c9017bd228aca94124a40497f635.woff2 +0 -0
  56. package/fonts/4ecec2bf5c75f5ccb280052fb53157db.woff2 +0 -0
  57. package/fonts/4f0e75d692721110bee70b4e0d71300a.woff2 +0 -0
  58. package/fonts/518a6f44c506e83d1068d7515b0b8cb7.woff2 +0 -0
  59. package/fonts/5391ad919de181aa8608e4a0f1bd8c09.woff2 +0 -0
  60. package/fonts/53fe3ba2954fef70128d6733a90f8601.woff2 +0 -0
  61. package/fonts/56374bb0572ee6463de3cb83496d3f36.woff2 +0 -0
  62. package/fonts/574b1e1f154cecf2ac873c7a7544023b.woff2 +0 -0
  63. package/fonts/5a899d3bb4efd96c8fa0452768a3d456.woff2 +0 -0
  64. package/fonts/5e11c9b612776d9aee6b2062e3fccb55.woff2 +0 -0
  65. package/fonts/658767ed025bc501c3013e1f63c86bcb.woff2 +0 -0
  66. package/fonts/65c499c6e48d6c1b7827d6ff1d1eab60.woff2 +0 -0
  67. package/fonts/6760e79d75ce409f09427e56e3c025dc.woff2 +0 -0
  68. package/fonts/67d5234b7c17f407e8a242ce5ada493d.woff2 +0 -0
  69. package/fonts/6fbfc0af5a7ef4c448e8c1f5f1e91a60.woff2 +0 -0
  70. package/fonts/709e77d11c679cffc2dc25b032c67764.woff2 +0 -0
  71. package/fonts/75541edae19d80ac844e3d4a1b0e711a.woff2 +0 -0
  72. package/fonts/779acde69b4191ed711e89f176fae2d5.woff2 +0 -0
  73. package/fonts/7ade1c118b1bc97b3971f06048aa1e7a.woff2 +0 -0
  74. package/fonts/7f1ef4145bf986fb433cf7101594dbb8.woff2 +0 -0
  75. package/fonts/7ff32e4612a40f0203fe4d2409e515e8.woff2 +0 -0
  76. package/fonts/82afad3d44e99cbf1fb2a204740d7fd2.woff2 +0 -0
  77. package/fonts/86d79968a677302ec040c57fdbab6576.woff2 +0 -0
  78. package/fonts/8779a26aa266a22e886093a4ef65b0bd.woff2 +0 -0
  79. package/fonts/890aa53ea0c3bb3f35af8d1b17932473.woff2 +0 -0
  80. package/fonts/8cb1aba653e86d46fa31bf573631acd8.woff2 +0 -0
  81. package/fonts/8d9c6a762bbdfada274c0207bda44234.woff2 +0 -0
  82. package/fonts/8e9c72c231c8aa96c5b012f676fb54c3.woff2 +0 -0
  83. package/fonts/90501be40b3dbe4bb109d3f46dac3c61.woff2 +0 -0
  84. package/fonts/90e09d4c8c204194c134a583b5c1288b.woff2 +0 -0
  85. package/fonts/923694b5cdecd8647ba08a59697ab0cc.woff2 +0 -0
  86. package/fonts/9269e657048e89d04d79f8507e3cf1c3.woff2 +0 -0
  87. package/fonts/93de4eca97bc343ece70a4eeb03bd4a4.woff2 +0 -0
  88. package/fonts/98939883b0194fe74f877650c78b94c4.woff2 +0 -0
  89. package/fonts/993ac31171f7c467735857b80fe3cf7b.woff2 +0 -0
  90. package/fonts/9ae2fdcb005bd7479a071ecd605c4fd6.woff2 +0 -0
  91. package/fonts/9b4a1427f1fa323ed77767ee8f3a7321.woff2 +0 -0
  92. package/fonts/9c62c786a52ff747ef38e9acf9e65498.woff2 +0 -0
  93. package/fonts/9d53647c2ce0f4a1824203e0c644c41f.woff2 +0 -0
  94. package/fonts/9e1626f7a444a0a34b87a47d57de3e8b.woff2 +0 -0
  95. package/fonts/a07cb815b1d6dcee1e531a94d44aacdb.woff2 +0 -0
  96. package/fonts/a2a0ba09a982eca5baf40d99fd12196d.woff2 +0 -0
  97. package/fonts/a384403ad6999ff7528f25fff9ebf8cc.woff2 +0 -0
  98. package/fonts/aa37a3aaae61ab3cd934944af6ee9e10.woff2 +0 -0
  99. package/fonts/ab7939cba0d4b9d5a3b91073405b5704.woff2 +0 -0
  100. package/fonts/ad0be591acad4d101daab250ab3f6b13.woff2 +0 -0
  101. package/fonts/b1690dc0318a2d6ed494c70714c369fb.woff2 +0 -0
  102. package/fonts/b27ed0031d733b4f92aefe3a0bdad1a3.woff2 +0 -0
  103. package/fonts/b3a36aae2ce94efc1b33a812b0a63723.woff2 +0 -0
  104. package/fonts/b408e0a9c403f84d826fedddad4eafce.woff2 +0 -0
  105. package/fonts/b7552d432bbe1131f8b081a8a304c826.woff2 +0 -0
  106. package/fonts/b833866d3ed2eaf4157e4297f4db5818.woff2 +0 -0
  107. package/fonts/b86065dc8cf074e9da64f7cad2418175.woff2 +0 -0
  108. package/fonts/b90bb4ee23ef9b5e9a729a5a76885d8d.woff2 +0 -0
  109. package/fonts/bd6bc332a723d00071b7bd73098b1fca.woff2 +0 -0
  110. package/fonts/c1c4a62366427c476d7505d8d5607d43.woff2 +0 -0
  111. package/fonts/c37032acc02b2ec9bb82ea7e221a70f0.woff2 +0 -0
  112. package/fonts/c61c4905f06bdace00a01fee99fe4b4d.woff2 +0 -0
  113. package/fonts/c9e516ccf548caff87ac46d4a49d8439.woff2 +0 -0
  114. package/fonts/d29782161ecac8d5da44b6dbd63d98f1.woff2 +0 -0
  115. package/fonts/d5b155ab8ea80680e3a22b4b54282913.woff2 +0 -0
  116. package/fonts/d620b1ee2164749fe8d928f722896d1c.woff2 +0 -0
  117. package/fonts/d89b25cb16ce4004c3ba90531c1886d1.woff2 +0 -0
  118. package/fonts/d920f76005494dd4a42508a011b5bc7f.woff2 +0 -0
  119. package/fonts/d945c834b912b4ace6cf283b3731d66c.woff2 +0 -0
  120. package/fonts/deacad65f91899cb01176de287a9c00c.woff2 +0 -0
  121. package/fonts/dfb7d78b6b838654f246ad1b2b5b4b72.woff2 +0 -0
  122. package/fonts/dfe41a1b55be51bdac0d41e5c8b1e3b7.woff2 +0 -0
  123. package/fonts/e431ea7665f64dccbedcaa0ed19fccb7.woff2 +0 -0
  124. package/fonts/e71d1216d5e6b470598a17c11a0b132b.woff2 +0 -0
  125. package/fonts/e768b29b57d95b735c13984980dbd3b8.woff2 +0 -0
  126. package/fonts/e7efc76412d4935b4567b2760eb300fd.woff2 +0 -0
  127. package/fonts/ee11a2523b2c5b1ae3af86d162a95f8d.woff2 +0 -0
  128. package/fonts/efec9899498ea2c9be7453a7901c936e.woff2 +0 -0
  129. package/fonts/f1c118f9188115a5a596531b92587a83.woff2 +0 -0
  130. package/fonts/f36f25301e61cfb9d1f3200e047e927a.woff2 +0 -0
  131. package/fonts/f497194ba693571f76789df48028d494.woff2 +0 -0
  132. package/fonts/f6717ea5a513aacfe7494fdb6fdca2fa.woff2 +0 -0
  133. package/fonts/fab526c8b7ec2e57851baa1d4d61448f.woff2 +0 -0
  134. package/fonts/fb6e6ac34118a226d7cd3d1fbc5ddef1.woff2 +0 -0
  135. package/fonts/fd1d2083d4f38dc1f6f4dd0947f51f5d.woff2 +0 -0
  136. package/fonts/fonts.css +182 -0
  137. package/package.json +49 -3
  138. package/src/contrast-pairs.json +144 -0
  139. package/src/palette-kit.ts +140 -0
  140. package/src/tokens.json +1870 -0
@@ -0,0 +1,1383 @@
1
+ // GENERATED by packages/tokens/scripts/build.mjs from src/tokens.json. Do not edit.
2
+ // Palettes at runtime: `createColors(palettes.rose, 'dark')` gives every role token's color; `checkPalette(p)`
3
+ // lists the contrast pairs a user-made palette fails. Colors are #rrggbb or rgba(), on every platform.
4
+ import { createPaletteKit } from './palette-kit.js';
5
+ export { SHADES } from './palette-kit.js';
6
+ export const palettes = {
7
+ "koi": {
8
+ "primary": {
9
+ "50": "#f0f9ff",
10
+ "100": "#dff2fe",
11
+ "200": "#b8e6fe",
12
+ "300": "#74d4ff",
13
+ "400": "#00bcff",
14
+ "500": "#00a6f4",
15
+ "600": "#0084d1",
16
+ "700": "#0069a8",
17
+ "800": "#00598a",
18
+ "900": "#024a70",
19
+ "950": "#052f4a"
20
+ },
21
+ "accent": {
22
+ "50": "#fffbeb",
23
+ "100": "#fef3c6",
24
+ "200": "#fee685",
25
+ "300": "#ffd230",
26
+ "400": "#ffb900",
27
+ "500": "#fe9a00",
28
+ "600": "#e17100",
29
+ "700": "#bb4d00",
30
+ "800": "#973c00",
31
+ "900": "#7b3306",
32
+ "950": "#461901"
33
+ }
34
+ },
35
+ "rose": {
36
+ "primary": {
37
+ "50": "#fff1f2",
38
+ "100": "#ffe4e6",
39
+ "200": "#fecdd3",
40
+ "300": "#fda4af",
41
+ "400": "#fb7185",
42
+ "500": "#f43f5e",
43
+ "600": "#e11d48",
44
+ "700": "#be123c",
45
+ "800": "#9f1239",
46
+ "900": "#881337",
47
+ "950": "#4c0519"
48
+ },
49
+ "accent": {
50
+ "50": "#f5f3ff",
51
+ "100": "#ede9fe",
52
+ "200": "#ddd6fe",
53
+ "300": "#c4b5fd",
54
+ "400": "#a78bfa",
55
+ "500": "#8b5cf6",
56
+ "600": "#7c3aed",
57
+ "700": "#6d28d9",
58
+ "800": "#5b21b6",
59
+ "900": "#4c1d95",
60
+ "950": "#2e1065"
61
+ }
62
+ }
63
+ };
64
+ export const defaultPalette = "koi";
65
+ const roles = {
66
+ "page-bg": {
67
+ "light": {
68
+ "ref": "white"
69
+ },
70
+ "dark": {
71
+ "ref": "secondary-950"
72
+ }
73
+ },
74
+ "surface": {
75
+ "light": {
76
+ "ref": "white"
77
+ },
78
+ "dark": {
79
+ "ref": "secondary-900"
80
+ }
81
+ },
82
+ "surface-muted": {
83
+ "light": {
84
+ "ref": "secondary-100"
85
+ },
86
+ "dark": {
87
+ "ref": "secondary-800"
88
+ }
89
+ },
90
+ "surface-glass": {
91
+ "light": "rgba(255, 255, 255, 0.8)",
92
+ "dark": {
93
+ "ref": "secondary-950",
94
+ "alpha": 0.7
95
+ }
96
+ },
97
+ "surface-glass-tint": {
98
+ "light": "rgba(255, 255, 255, 0.8)",
99
+ "dark": {
100
+ "ref": "primary-950",
101
+ "alpha": 0.8
102
+ }
103
+ },
104
+ "backdrop": {
105
+ "light": "rgba(0, 0, 0, 0.4)",
106
+ "dark": "rgba(0, 0, 0, 0.6)"
107
+ },
108
+ "tooltip-bg": {
109
+ "light": {
110
+ "ref": "secondary-900"
111
+ },
112
+ "dark": {
113
+ "ref": "secondary-100"
114
+ }
115
+ },
116
+ "tooltip-text": {
117
+ "light": {
118
+ "ref": "white"
119
+ },
120
+ "dark": {
121
+ "ref": "black"
122
+ }
123
+ },
124
+ "text": {
125
+ "light": {
126
+ "ref": "black"
127
+ },
128
+ "dark": {
129
+ "ref": "white"
130
+ }
131
+ },
132
+ "text-muted": {
133
+ "light": "rgba(0, 0, 0, 0.6)",
134
+ "dark": "rgba(255, 255, 255, 0.6)"
135
+ },
136
+ "text-disabled": {
137
+ "light": "rgba(0, 0, 0, 0.38)",
138
+ "dark": "rgba(255, 255, 255, 0.38)"
139
+ },
140
+ "text-brand": {
141
+ "light": {
142
+ "ref": "primary-700"
143
+ },
144
+ "dark": {
145
+ "ref": "primary-300"
146
+ }
147
+ },
148
+ "border": {
149
+ "light": {
150
+ "ref": "secondary-200"
151
+ },
152
+ "dark": {
153
+ "ref": "secondary-800"
154
+ }
155
+ },
156
+ "border-control": {
157
+ "light": {
158
+ "ref": "secondary-500"
159
+ },
160
+ "dark": {
161
+ "ref": "secondary-500"
162
+ }
163
+ },
164
+ "border-control-hover": {
165
+ "light": {
166
+ "ref": "secondary-600"
167
+ },
168
+ "dark": {
169
+ "ref": "secondary-400"
170
+ }
171
+ },
172
+ "divider": {
173
+ "light": "rgba(0, 0, 0, 0.1)",
174
+ "dark": "rgba(255, 255, 255, 0.1)"
175
+ },
176
+ "focus-ring": {
177
+ "light": {
178
+ "ref": "primary-600"
179
+ },
180
+ "dark": {
181
+ "ref": "primary-400"
182
+ }
183
+ },
184
+ "action": {
185
+ "light": {
186
+ "ref": "primary-700"
187
+ },
188
+ "dark": {
189
+ "ref": "primary-700"
190
+ }
191
+ },
192
+ "action-hover": {
193
+ "light": {
194
+ "ref": "primary-800"
195
+ },
196
+ "dark": {
197
+ "ref": "primary-800"
198
+ }
199
+ },
200
+ "on-action": {
201
+ "light": {
202
+ "ref": "white"
203
+ },
204
+ "dark": {
205
+ "ref": "white"
206
+ }
207
+ },
208
+ "action-subtle": {
209
+ "light": {
210
+ "ref": "primary-100"
211
+ },
212
+ "dark": {
213
+ "ref": "primary-950"
214
+ }
215
+ },
216
+ "action-subtle-hover": {
217
+ "light": {
218
+ "ref": "primary-200"
219
+ },
220
+ "dark": {
221
+ "ref": "primary-900"
222
+ }
223
+ },
224
+ "on-action-subtle": {
225
+ "light": {
226
+ "ref": "primary-800"
227
+ },
228
+ "dark": {
229
+ "ref": "primary-200"
230
+ }
231
+ },
232
+ "control-checked": {
233
+ "light": {
234
+ "ref": "primary-700"
235
+ },
236
+ "dark": {
237
+ "ref": "primary-600"
238
+ }
239
+ },
240
+ "link": {
241
+ "light": {
242
+ "ref": "accent-700"
243
+ },
244
+ "dark": {
245
+ "ref": "accent-400"
246
+ }
247
+ },
248
+ "link-border": {
249
+ "light": {
250
+ "ref": "accent-300"
251
+ },
252
+ "dark": {
253
+ "ref": "accent-800"
254
+ }
255
+ },
256
+ "link-hover-bg": {
257
+ "light": {
258
+ "ref": "accent-100"
259
+ },
260
+ "dark": {
261
+ "ref": "accent-950"
262
+ }
263
+ },
264
+ "link-hover-border": {
265
+ "light": {
266
+ "ref": "accent-500"
267
+ },
268
+ "dark": {
269
+ "ref": "accent-600"
270
+ }
271
+ },
272
+ "danger": {
273
+ "light": {
274
+ "ref": "error-600"
275
+ },
276
+ "dark": {
277
+ "ref": "error-600"
278
+ }
279
+ },
280
+ "danger-hover": {
281
+ "light": {
282
+ "ref": "error-700"
283
+ },
284
+ "dark": {
285
+ "ref": "error-700"
286
+ }
287
+ },
288
+ "info-surface": {
289
+ "light": {
290
+ "ref": "primary-50"
291
+ },
292
+ "dark": {
293
+ "ref": "primary-950"
294
+ }
295
+ },
296
+ "info-border": {
297
+ "light": {
298
+ "ref": "primary-200"
299
+ },
300
+ "dark": {
301
+ "ref": "primary-800"
302
+ }
303
+ },
304
+ "info-text": {
305
+ "light": {
306
+ "ref": "primary-800"
307
+ },
308
+ "dark": {
309
+ "ref": "primary-200"
310
+ }
311
+ },
312
+ "warning-surface": {
313
+ "light": {
314
+ "ref": "warning-50"
315
+ },
316
+ "dark": {
317
+ "ref": "warning-950"
318
+ }
319
+ },
320
+ "warning-border": {
321
+ "light": {
322
+ "ref": "warning-300"
323
+ },
324
+ "dark": {
325
+ "ref": "warning-800"
326
+ }
327
+ },
328
+ "warning-text": {
329
+ "light": {
330
+ "ref": "warning-800"
331
+ },
332
+ "dark": {
333
+ "ref": "warning-200"
334
+ }
335
+ },
336
+ "error-surface": {
337
+ "light": {
338
+ "ref": "error-50"
339
+ },
340
+ "dark": {
341
+ "ref": "error-950"
342
+ }
343
+ },
344
+ "error-border": {
345
+ "light": {
346
+ "ref": "error-300"
347
+ },
348
+ "dark": {
349
+ "ref": "error-800"
350
+ }
351
+ },
352
+ "error-text": {
353
+ "light": {
354
+ "ref": "error-700"
355
+ },
356
+ "dark": {
357
+ "ref": "error-300"
358
+ }
359
+ },
360
+ "error-control": {
361
+ "light": {
362
+ "ref": "error-600"
363
+ },
364
+ "dark": {
365
+ "ref": "error-400"
366
+ }
367
+ },
368
+ "highlight": {
369
+ "light": {
370
+ "ref": "accent-100"
371
+ },
372
+ "dark": {
373
+ "ref": "accent-950"
374
+ }
375
+ },
376
+ "on-highlight": {
377
+ "light": {
378
+ "ref": "accent-800"
379
+ },
380
+ "dark": {
381
+ "ref": "accent-200"
382
+ }
383
+ },
384
+ "nav-item-text": {
385
+ "light": {
386
+ "ref": "secondary-700"
387
+ },
388
+ "dark": {
389
+ "ref": "secondary-300"
390
+ }
391
+ },
392
+ "nav-item-hover": {
393
+ "light": {
394
+ "ref": "secondary-50"
395
+ },
396
+ "dark": {
397
+ "ref": "secondary-900"
398
+ }
399
+ },
400
+ "table-row-hover": {
401
+ "light": {
402
+ "ref": "secondary-50"
403
+ },
404
+ "dark": {
405
+ "ref": "secondary-800",
406
+ "alpha": 0.5
407
+ }
408
+ },
409
+ "nav-item-active": {
410
+ "light": {
411
+ "ref": "secondary-100"
412
+ },
413
+ "dark": {
414
+ "ref": "secondary-800"
415
+ }
416
+ },
417
+ "skeleton": {
418
+ "light": {
419
+ "ref": "secondary-100"
420
+ },
421
+ "dark": {
422
+ "ref": "secondary-800"
423
+ }
424
+ },
425
+ "skeleton-highlight": {
426
+ "light": {
427
+ "ref": "secondary-50"
428
+ },
429
+ "dark": {
430
+ "ref": "secondary-700"
431
+ }
432
+ },
433
+ "prose-text": {
434
+ "light": {
435
+ "ref": "secondary-700"
436
+ },
437
+ "dark": {
438
+ "ref": "secondary-300"
439
+ }
440
+ },
441
+ "code-block-bg": {
442
+ "light": {
443
+ "ref": "secondary-800"
444
+ },
445
+ "dark": {
446
+ "ref": "secondary-800"
447
+ }
448
+ },
449
+ "code-block-text": {
450
+ "light": {
451
+ "ref": "secondary-200"
452
+ },
453
+ "dark": {
454
+ "ref": "secondary-300"
455
+ }
456
+ },
457
+ "primary-solid": {
458
+ "light": {
459
+ "ref": "action"
460
+ },
461
+ "dark": {
462
+ "ref": "action"
463
+ }
464
+ },
465
+ "primary-solid-hover": {
466
+ "light": {
467
+ "ref": "action-hover"
468
+ },
469
+ "dark": {
470
+ "ref": "action-hover"
471
+ }
472
+ },
473
+ "on-primary-solid": {
474
+ "light": {
475
+ "ref": "on-action"
476
+ },
477
+ "dark": {
478
+ "ref": "on-action"
479
+ }
480
+ },
481
+ "primary-soft": {
482
+ "light": {
483
+ "ref": "action-subtle"
484
+ },
485
+ "dark": {
486
+ "ref": "action-subtle"
487
+ }
488
+ },
489
+ "primary-soft-hover": {
490
+ "light": {
491
+ "ref": "action-subtle-hover"
492
+ },
493
+ "dark": {
494
+ "ref": "action-subtle-hover"
495
+ }
496
+ },
497
+ "on-primary-soft": {
498
+ "light": {
499
+ "ref": "on-action-subtle"
500
+ },
501
+ "dark": {
502
+ "ref": "on-action-subtle"
503
+ }
504
+ },
505
+ "primary-fg": {
506
+ "light": {
507
+ "ref": "text-brand"
508
+ },
509
+ "dark": {
510
+ "ref": "text-brand"
511
+ }
512
+ },
513
+ "primary-edge": {
514
+ "light": {
515
+ "ref": "primary-600"
516
+ },
517
+ "dark": {
518
+ "ref": "primary-400"
519
+ }
520
+ },
521
+ "accent-solid": {
522
+ "light": {
523
+ "ref": "accent-400"
524
+ },
525
+ "dark": {
526
+ "ref": "accent-400"
527
+ }
528
+ },
529
+ "accent-solid-hover": {
530
+ "light": {
531
+ "ref": "accent-300"
532
+ },
533
+ "dark": {
534
+ "ref": "accent-300"
535
+ }
536
+ },
537
+ "on-accent-solid": {
538
+ "light": {
539
+ "ref": "accent-950"
540
+ },
541
+ "dark": {
542
+ "ref": "accent-950"
543
+ }
544
+ },
545
+ "accent-soft": {
546
+ "light": {
547
+ "ref": "accent-100"
548
+ },
549
+ "dark": {
550
+ "ref": "accent-950"
551
+ }
552
+ },
553
+ "accent-soft-hover": {
554
+ "light": {
555
+ "ref": "accent-200"
556
+ },
557
+ "dark": {
558
+ "ref": "accent-900"
559
+ }
560
+ },
561
+ "on-accent-soft": {
562
+ "light": {
563
+ "ref": "accent-800"
564
+ },
565
+ "dark": {
566
+ "ref": "accent-200"
567
+ }
568
+ },
569
+ "accent-fg": {
570
+ "light": {
571
+ "ref": "accent-700"
572
+ },
573
+ "dark": {
574
+ "ref": "accent-400"
575
+ }
576
+ },
577
+ "accent-edge": {
578
+ "light": {
579
+ "ref": "accent-600"
580
+ },
581
+ "dark": {
582
+ "ref": "accent-500"
583
+ }
584
+ },
585
+ "secondary-solid": {
586
+ "light": {
587
+ "ref": "secondary-700"
588
+ },
589
+ "dark": {
590
+ "ref": "secondary-200"
591
+ }
592
+ },
593
+ "secondary-solid-hover": {
594
+ "light": {
595
+ "ref": "secondary-800"
596
+ },
597
+ "dark": {
598
+ "ref": "secondary-300"
599
+ }
600
+ },
601
+ "on-secondary-solid": {
602
+ "light": {
603
+ "ref": "white"
604
+ },
605
+ "dark": {
606
+ "ref": "secondary-950"
607
+ }
608
+ },
609
+ "secondary-soft": {
610
+ "light": {
611
+ "ref": "secondary-100"
612
+ },
613
+ "dark": {
614
+ "ref": "secondary-800"
615
+ }
616
+ },
617
+ "secondary-soft-hover": {
618
+ "light": {
619
+ "ref": "secondary-200"
620
+ },
621
+ "dark": {
622
+ "ref": "secondary-700"
623
+ }
624
+ },
625
+ "on-secondary-soft": {
626
+ "light": {
627
+ "ref": "secondary-800"
628
+ },
629
+ "dark": {
630
+ "ref": "secondary-100"
631
+ }
632
+ },
633
+ "secondary-fg": {
634
+ "light": {
635
+ "ref": "secondary-700"
636
+ },
637
+ "dark": {
638
+ "ref": "secondary-300"
639
+ }
640
+ },
641
+ "secondary-edge": {
642
+ "light": {
643
+ "ref": "secondary-500"
644
+ },
645
+ "dark": {
646
+ "ref": "secondary-500"
647
+ }
648
+ },
649
+ "warning-solid": {
650
+ "light": {
651
+ "ref": "warning-400"
652
+ },
653
+ "dark": {
654
+ "ref": "warning-400"
655
+ }
656
+ },
657
+ "warning-solid-hover": {
658
+ "light": {
659
+ "ref": "warning-300"
660
+ },
661
+ "dark": {
662
+ "ref": "warning-300"
663
+ }
664
+ },
665
+ "on-warning-solid": {
666
+ "light": {
667
+ "ref": "warning-950"
668
+ },
669
+ "dark": {
670
+ "ref": "warning-950"
671
+ }
672
+ },
673
+ "warning-soft": {
674
+ "light": {
675
+ "ref": "warning-100"
676
+ },
677
+ "dark": {
678
+ "ref": "warning-950"
679
+ }
680
+ },
681
+ "warning-soft-hover": {
682
+ "light": {
683
+ "ref": "warning-200"
684
+ },
685
+ "dark": {
686
+ "ref": "warning-900"
687
+ }
688
+ },
689
+ "on-warning-soft": {
690
+ "light": {
691
+ "ref": "warning-800"
692
+ },
693
+ "dark": {
694
+ "ref": "warning-200"
695
+ }
696
+ },
697
+ "warning-fg": {
698
+ "light": {
699
+ "ref": "warning-700"
700
+ },
701
+ "dark": {
702
+ "ref": "warning-400"
703
+ }
704
+ },
705
+ "warning-edge": {
706
+ "light": {
707
+ "ref": "warning-700"
708
+ },
709
+ "dark": {
710
+ "ref": "warning-500"
711
+ }
712
+ },
713
+ "error-solid": {
714
+ "light": {
715
+ "ref": "danger"
716
+ },
717
+ "dark": {
718
+ "ref": "danger"
719
+ }
720
+ },
721
+ "error-solid-hover": {
722
+ "light": {
723
+ "ref": "danger-hover"
724
+ },
725
+ "dark": {
726
+ "ref": "danger-hover"
727
+ }
728
+ },
729
+ "on-error-solid": {
730
+ "light": {
731
+ "ref": "on-action"
732
+ },
733
+ "dark": {
734
+ "ref": "on-action"
735
+ }
736
+ },
737
+ "error-soft": {
738
+ "light": {
739
+ "ref": "error-100"
740
+ },
741
+ "dark": {
742
+ "ref": "error-950"
743
+ }
744
+ },
745
+ "error-soft-hover": {
746
+ "light": {
747
+ "ref": "error-200"
748
+ },
749
+ "dark": {
750
+ "ref": "error-900"
751
+ }
752
+ },
753
+ "on-error-soft": {
754
+ "light": {
755
+ "ref": "error-800"
756
+ },
757
+ "dark": {
758
+ "ref": "error-200"
759
+ }
760
+ },
761
+ "error-fg": {
762
+ "light": {
763
+ "ref": "error-700"
764
+ },
765
+ "dark": {
766
+ "ref": "error-400"
767
+ }
768
+ },
769
+ "error-edge": {
770
+ "light": {
771
+ "ref": "error-600"
772
+ },
773
+ "dark": {
774
+ "ref": "error-400"
775
+ }
776
+ }
777
+ };
778
+ export const { createColors, checkPalette } = createPaletteKit({
779
+ roles,
780
+ fixed: {
781
+ "secondary-50": "#f9fafb",
782
+ "secondary-100": "#f3f4f6",
783
+ "secondary-200": "#e5e7eb",
784
+ "secondary-300": "#d1d5dc",
785
+ "secondary-400": "#99a1af",
786
+ "secondary-500": "#6a7282",
787
+ "secondary-600": "#4a5565",
788
+ "secondary-700": "#364153",
789
+ "secondary-800": "#1e2939",
790
+ "secondary-900": "#101828",
791
+ "secondary-950": "#030712",
792
+ "warning-50": "#fefce8",
793
+ "warning-100": "#fef9c2",
794
+ "warning-200": "#fff085",
795
+ "warning-300": "#ffdf20",
796
+ "warning-400": "#fdc700",
797
+ "warning-500": "#f0b100",
798
+ "warning-600": "#d08700",
799
+ "warning-700": "#a65f00",
800
+ "warning-800": "#894b00",
801
+ "warning-900": "#733e0a",
802
+ "warning-950": "#432004",
803
+ "error-50": "#fef2f2",
804
+ "error-100": "#ffe2e2",
805
+ "error-200": "#ffc9c9",
806
+ "error-300": "#ffa2a2",
807
+ "error-400": "#ff6467",
808
+ "error-500": "#fb2c36",
809
+ "error-600": "#e7000b",
810
+ "error-700": "#c10007",
811
+ "error-800": "#9f0712",
812
+ "error-900": "#82181a",
813
+ "error-950": "#460809",
814
+ "white": "#ffffff",
815
+ "black": "#000000"
816
+ },
817
+ pairs: {
818
+ "text": [
819
+ [
820
+ "text",
821
+ "page-bg"
822
+ ],
823
+ [
824
+ "text",
825
+ "surface"
826
+ ],
827
+ [
828
+ "text",
829
+ "surface-muted"
830
+ ],
831
+ [
832
+ "text",
833
+ "action-subtle"
834
+ ],
835
+ [
836
+ "text",
837
+ "action-subtle-hover"
838
+ ],
839
+ [
840
+ "text",
841
+ "table-row-hover",
842
+ "surface"
843
+ ],
844
+ [
845
+ "text-muted",
846
+ "table-row-hover",
847
+ "surface"
848
+ ],
849
+ [
850
+ "secondary-fg",
851
+ "table-row-hover",
852
+ "surface"
853
+ ],
854
+ [
855
+ "error-fg",
856
+ "table-row-hover",
857
+ "surface"
858
+ ],
859
+ [
860
+ "text",
861
+ "table-row-hover",
862
+ "page-bg"
863
+ ],
864
+ [
865
+ "text-muted",
866
+ "table-row-hover",
867
+ "page-bg"
868
+ ],
869
+ [
870
+ "secondary-fg",
871
+ "table-row-hover",
872
+ "page-bg"
873
+ ],
874
+ [
875
+ "error-fg",
876
+ "table-row-hover",
877
+ "page-bg"
878
+ ],
879
+ [
880
+ "text-muted",
881
+ "page-bg"
882
+ ],
883
+ [
884
+ "text-muted",
885
+ "surface"
886
+ ],
887
+ [
888
+ "text-muted",
889
+ "surface-muted"
890
+ ],
891
+ [
892
+ "text",
893
+ "surface-glass"
894
+ ],
895
+ [
896
+ "text-muted",
897
+ "surface-glass"
898
+ ],
899
+ [
900
+ "text",
901
+ "surface-glass-tint"
902
+ ],
903
+ [
904
+ "text-muted",
905
+ "surface-glass-tint"
906
+ ],
907
+ [
908
+ "primary-fg",
909
+ "surface-glass-tint"
910
+ ],
911
+ [
912
+ "error-fg",
913
+ "surface-glass-tint"
914
+ ],
915
+ [
916
+ "text-brand",
917
+ "page-bg"
918
+ ],
919
+ [
920
+ "text-brand",
921
+ "surface"
922
+ ],
923
+ [
924
+ "text-brand",
925
+ "surface-muted"
926
+ ],
927
+ [
928
+ "link",
929
+ "page-bg"
930
+ ],
931
+ [
932
+ "link",
933
+ "surface"
934
+ ],
935
+ [
936
+ "link",
937
+ "surface-muted"
938
+ ],
939
+ [
940
+ "link",
941
+ "link-hover-bg"
942
+ ],
943
+ [
944
+ "prose-text",
945
+ "page-bg"
946
+ ],
947
+ [
948
+ "prose-text",
949
+ "surface"
950
+ ],
951
+ [
952
+ "code-block-text",
953
+ "code-block-bg"
954
+ ],
955
+ [
956
+ "on-action",
957
+ "action"
958
+ ],
959
+ [
960
+ "on-action",
961
+ "action-hover"
962
+ ],
963
+ [
964
+ "on-action-subtle",
965
+ "action-subtle"
966
+ ],
967
+ [
968
+ "on-action-subtle",
969
+ "action-subtle-hover"
970
+ ],
971
+ [
972
+ "on-highlight",
973
+ "highlight"
974
+ ],
975
+ [
976
+ "tooltip-text",
977
+ "tooltip-bg"
978
+ ],
979
+ [
980
+ "info-text",
981
+ "info-surface"
982
+ ],
983
+ [
984
+ "warning-text",
985
+ "warning-surface"
986
+ ],
987
+ [
988
+ "error-text",
989
+ "error-surface"
990
+ ],
991
+ [
992
+ "text",
993
+ "info-surface"
994
+ ],
995
+ [
996
+ "text",
997
+ "warning-surface"
998
+ ],
999
+ [
1000
+ "text",
1001
+ "error-surface"
1002
+ ],
1003
+ [
1004
+ "primary-fg",
1005
+ "info-surface"
1006
+ ],
1007
+ [
1008
+ "warning-fg",
1009
+ "warning-surface"
1010
+ ],
1011
+ [
1012
+ "error-fg",
1013
+ "error-surface"
1014
+ ],
1015
+ [
1016
+ "error-text",
1017
+ "page-bg"
1018
+ ],
1019
+ [
1020
+ "error-text",
1021
+ "surface"
1022
+ ],
1023
+ [
1024
+ "error-text",
1025
+ "surface-muted"
1026
+ ],
1027
+ [
1028
+ "nav-item-text",
1029
+ "page-bg"
1030
+ ],
1031
+ [
1032
+ "nav-item-text",
1033
+ "surface"
1034
+ ],
1035
+ [
1036
+ "nav-item-text",
1037
+ "nav-item-hover"
1038
+ ],
1039
+ [
1040
+ "nav-item-text",
1041
+ "nav-item-active"
1042
+ ],
1043
+ [
1044
+ "text",
1045
+ "nav-item-active"
1046
+ ],
1047
+ [
1048
+ "on-primary-solid",
1049
+ "primary-solid"
1050
+ ],
1051
+ [
1052
+ "on-primary-solid",
1053
+ "primary-solid-hover"
1054
+ ],
1055
+ [
1056
+ "on-primary-soft",
1057
+ "primary-soft"
1058
+ ],
1059
+ [
1060
+ "on-primary-soft",
1061
+ "primary-soft-hover"
1062
+ ],
1063
+ [
1064
+ "primary-fg",
1065
+ "page-bg"
1066
+ ],
1067
+ [
1068
+ "primary-fg",
1069
+ "surface"
1070
+ ],
1071
+ [
1072
+ "primary-fg",
1073
+ "primary-soft"
1074
+ ],
1075
+ [
1076
+ "on-accent-solid",
1077
+ "accent-solid"
1078
+ ],
1079
+ [
1080
+ "on-accent-solid",
1081
+ "accent-solid-hover"
1082
+ ],
1083
+ [
1084
+ "on-accent-soft",
1085
+ "accent-soft"
1086
+ ],
1087
+ [
1088
+ "on-accent-soft",
1089
+ "accent-soft-hover"
1090
+ ],
1091
+ [
1092
+ "accent-fg",
1093
+ "page-bg"
1094
+ ],
1095
+ [
1096
+ "accent-fg",
1097
+ "surface"
1098
+ ],
1099
+ [
1100
+ "accent-fg",
1101
+ "accent-soft"
1102
+ ],
1103
+ [
1104
+ "on-secondary-solid",
1105
+ "secondary-solid"
1106
+ ],
1107
+ [
1108
+ "on-secondary-solid",
1109
+ "secondary-solid-hover"
1110
+ ],
1111
+ [
1112
+ "on-secondary-soft",
1113
+ "secondary-soft"
1114
+ ],
1115
+ [
1116
+ "on-secondary-soft",
1117
+ "secondary-soft-hover"
1118
+ ],
1119
+ [
1120
+ "secondary-fg",
1121
+ "page-bg"
1122
+ ],
1123
+ [
1124
+ "secondary-fg",
1125
+ "surface"
1126
+ ],
1127
+ [
1128
+ "secondary-fg",
1129
+ "secondary-soft"
1130
+ ],
1131
+ [
1132
+ "on-warning-solid",
1133
+ "warning-solid"
1134
+ ],
1135
+ [
1136
+ "on-warning-solid",
1137
+ "warning-solid-hover"
1138
+ ],
1139
+ [
1140
+ "on-warning-soft",
1141
+ "warning-soft"
1142
+ ],
1143
+ [
1144
+ "on-warning-soft",
1145
+ "warning-soft-hover"
1146
+ ],
1147
+ [
1148
+ "warning-fg",
1149
+ "page-bg"
1150
+ ],
1151
+ [
1152
+ "warning-fg",
1153
+ "surface"
1154
+ ],
1155
+ [
1156
+ "warning-fg",
1157
+ "warning-soft"
1158
+ ],
1159
+ [
1160
+ "on-error-solid",
1161
+ "error-solid"
1162
+ ],
1163
+ [
1164
+ "on-error-solid",
1165
+ "error-solid-hover"
1166
+ ],
1167
+ [
1168
+ "on-error-soft",
1169
+ "error-soft"
1170
+ ],
1171
+ [
1172
+ "on-error-soft",
1173
+ "error-soft-hover"
1174
+ ],
1175
+ [
1176
+ "error-fg",
1177
+ "page-bg"
1178
+ ],
1179
+ [
1180
+ "error-fg",
1181
+ "surface"
1182
+ ],
1183
+ [
1184
+ "error-fg",
1185
+ "error-soft"
1186
+ ],
1187
+ [
1188
+ "secondary-fg",
1189
+ "surface-glass-tint"
1190
+ ],
1191
+ [
1192
+ "text",
1193
+ "highlight"
1194
+ ],
1195
+ [
1196
+ "text-muted",
1197
+ "highlight"
1198
+ ],
1199
+ [
1200
+ "error-text",
1201
+ "highlight"
1202
+ ]
1203
+ ],
1204
+ "ui": [
1205
+ [
1206
+ "border-control",
1207
+ "surface"
1208
+ ],
1209
+ [
1210
+ "border-control",
1211
+ "page-bg"
1212
+ ],
1213
+ [
1214
+ "border-control-hover",
1215
+ "surface"
1216
+ ],
1217
+ [
1218
+ "error-control",
1219
+ "surface"
1220
+ ],
1221
+ [
1222
+ "error-control",
1223
+ "page-bg"
1224
+ ],
1225
+ [
1226
+ "border-control",
1227
+ "surface-muted"
1228
+ ],
1229
+ [
1230
+ "error-control",
1231
+ "surface-muted"
1232
+ ],
1233
+ [
1234
+ "focus-ring",
1235
+ "surface-muted"
1236
+ ],
1237
+ [
1238
+ "focus-ring",
1239
+ "page-bg"
1240
+ ],
1241
+ [
1242
+ "focus-ring",
1243
+ "surface"
1244
+ ],
1245
+ [
1246
+ "focus-ring",
1247
+ "info-surface"
1248
+ ],
1249
+ [
1250
+ "focus-ring",
1251
+ "warning-surface"
1252
+ ],
1253
+ [
1254
+ "focus-ring",
1255
+ "error-surface"
1256
+ ],
1257
+ [
1258
+ "info-text",
1259
+ "divider",
1260
+ "info-surface"
1261
+ ],
1262
+ [
1263
+ "warning-text",
1264
+ "divider",
1265
+ "warning-surface"
1266
+ ],
1267
+ [
1268
+ "error-text",
1269
+ "divider",
1270
+ "error-surface"
1271
+ ],
1272
+ [
1273
+ "primary-edge",
1274
+ "info-surface"
1275
+ ],
1276
+ [
1277
+ "warning-edge",
1278
+ "warning-surface"
1279
+ ],
1280
+ [
1281
+ "error-edge",
1282
+ "error-surface"
1283
+ ],
1284
+ [
1285
+ "control-checked",
1286
+ "surface"
1287
+ ],
1288
+ [
1289
+ "control-checked",
1290
+ "page-bg"
1291
+ ],
1292
+ [
1293
+ "control-checked",
1294
+ "surface-muted"
1295
+ ],
1296
+ [
1297
+ "on-action",
1298
+ "control-checked"
1299
+ ],
1300
+ [
1301
+ "border-control-hover",
1302
+ "page-bg"
1303
+ ],
1304
+ [
1305
+ "white",
1306
+ "border-control"
1307
+ ],
1308
+ [
1309
+ "white",
1310
+ "control-checked"
1311
+ ],
1312
+ [
1313
+ "focus-ring",
1314
+ "action-subtle"
1315
+ ],
1316
+ [
1317
+ "text-brand",
1318
+ "surface-glass-tint"
1319
+ ],
1320
+ [
1321
+ "warning-text",
1322
+ "surface-glass-tint"
1323
+ ],
1324
+ [
1325
+ "error-text",
1326
+ "surface-glass-tint"
1327
+ ],
1328
+ [
1329
+ "focus-ring",
1330
+ "surface-glass-tint"
1331
+ ],
1332
+ [
1333
+ "text",
1334
+ "divider",
1335
+ "surface-glass-tint"
1336
+ ],
1337
+ [
1338
+ "primary-edge",
1339
+ "page-bg"
1340
+ ],
1341
+ [
1342
+ "accent-edge",
1343
+ "page-bg"
1344
+ ],
1345
+ [
1346
+ "secondary-edge",
1347
+ "page-bg"
1348
+ ],
1349
+ [
1350
+ "warning-edge",
1351
+ "page-bg"
1352
+ ],
1353
+ [
1354
+ "error-edge",
1355
+ "page-bg"
1356
+ ],
1357
+ [
1358
+ "text-brand",
1359
+ "nav-item-hover"
1360
+ ],
1361
+ [
1362
+ "text-brand",
1363
+ "nav-item-active"
1364
+ ],
1365
+ [
1366
+ "error-text",
1367
+ "nav-item-hover"
1368
+ ],
1369
+ [
1370
+ "error-text",
1371
+ "nav-item-active"
1372
+ ],
1373
+ [
1374
+ "border-control",
1375
+ "highlight"
1376
+ ],
1377
+ [
1378
+ "focus-ring",
1379
+ "highlight"
1380
+ ]
1381
+ ]
1382
+ },
1383
+ });