@lostgradient/cinder 0.27.0 → 0.28.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 (261) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/components.json +1 -1
  3. package/dist/_internal/code-highlighter-context.d.ts +28 -0
  4. package/dist/cli/index.js +12 -8
  5. package/dist/components/approval-card/index.js +4 -4
  6. package/dist/components/button/button.css +25 -0
  7. package/dist/components/calendar/calendar.css +14 -0
  8. package/dist/components/capability-gate/capability-gate.css +5 -0
  9. package/dist/components/checkbox/checkbox.css +19 -0
  10. package/dist/components/chip/chip.css +14 -0
  11. package/dist/components/code-block/code-block.d.svelte.ts +1 -1
  12. package/dist/components/code-block/code-block.examples.json +1 -1
  13. package/dist/components/code-block/code-block.schema.js +3 -3
  14. package/dist/components/code-block/code-block.svelte.d.ts +1 -1
  15. package/dist/components/code-block/code-block.types.d.ts +14 -12
  16. package/dist/components/code-block/index.js +2 -2
  17. package/dist/components/color-picker/color-picker.css +2 -0
  18. package/dist/components/combobox/combobox.css +9 -1
  19. package/dist/components/command-palette/command-palette.css +7 -5
  20. package/dist/components/file-upload/file-upload.css +2 -1
  21. package/dist/components/guidance-region/index.css +1 -1
  22. package/dist/components/image/image.examples.json +1 -1
  23. package/dist/components/input/input.css +20 -6
  24. package/dist/components/json-schema-editor/index.js +5 -5
  25. package/dist/components/json-schema-editor/json-view-highlighter.d.ts +14 -0
  26. package/dist/components/key-value-editor/index.css +1 -1
  27. package/dist/components/modal-region/index.css +1 -1
  28. package/dist/components/multi-select/multi-select.css +9 -0
  29. package/dist/components/pagination/pagination.css +12 -0
  30. package/dist/components/pin-input/pin-input.css +9 -1
  31. package/dist/components/radio-group/radio-group.css +16 -0
  32. package/dist/components/run-step-timeline/index.js +2 -2
  33. package/dist/components/schema-form/index.js +2 -2
  34. package/dist/components/schema-form/schema-form.css +9 -0
  35. package/dist/components/segmented-control/segmented-control.css +3 -3
  36. package/dist/components/selection-popover/selection-popover.css +7 -1
  37. package/dist/components/tag-input/tag-input.css +10 -1
  38. package/dist/components/terminal-frame/index.js +2 -2
  39. package/dist/components/terminal-frame/terminal-frame.schema.js +2 -2
  40. package/dist/components/terminal-frame/terminal-frame.types.d.ts +8 -0
  41. package/dist/components/textarea/textarea.css +1 -1
  42. package/dist/components/toggle/toggle.css +16 -0
  43. package/dist/components/tree/tree.examples.json +1 -1
  44. package/dist/components/virtual-list/index.js +2 -2
  45. package/dist/components/virtual-list/virtual-list.css +42 -9
  46. package/dist/highlighters/shiki/default.d.ts +13 -1
  47. package/dist/highlighters/shiki/default.js +2 -2
  48. package/dist/highlighters/shiki/index.d.ts +20 -12
  49. package/dist/highlighters/shiki/index.js +2 -2
  50. package/dist/index.browser.css +1 -1
  51. package/dist/index.d.ts +2 -0
  52. package/dist/index.js +23 -23
  53. package/dist/scripts/knowledge/index.d.ts +5 -1
  54. package/dist/server/components/approval-card/index.js +1 -1
  55. package/dist/server/components/code-block/index.js +1 -1
  56. package/dist/server/components/color-field/index.js +2 -2
  57. package/dist/server/components/color-picker/index.js +2 -2
  58. package/dist/server/components/json-schema-editor/index.js +2 -2
  59. package/dist/server/components/run-step-timeline/index.js +1 -1
  60. package/dist/server/components/terminal-frame/index.js +1 -1
  61. package/dist/server/components/virtual-list/index.js +1 -1
  62. package/dist/server/github-dark-e7nywpbe.js +3 -0
  63. package/dist/server/github-light-bqtmm1zq.js +3 -0
  64. package/dist/server/highlighters/shiki/default.js +2 -2
  65. package/dist/server/highlighters/shiki/index.js +2 -2
  66. package/dist/server/index.js +6 -6
  67. package/dist/server/{index.server-4qyyw4y5.js → index.server-043cfznf.js} +1 -1
  68. package/dist/server/{index.server-p46tn4eb.js → index.server-09tjs48p.js} +2 -2
  69. package/dist/server/index.server-0hyvdf74.js +8 -0
  70. package/dist/server/{index.server-dxgkh9tk.js → index.server-17thvpd3.js} +1 -1
  71. package/dist/server/index.server-19z6hqd6.js +4 -0
  72. package/dist/server/index.server-31020qgk.js +3 -0
  73. package/dist/server/{index.server-w3nqzde5.js → index.server-45wmvjrn.js} +3 -3
  74. package/dist/server/{index.server-3tkgm2gn.js → index.server-6mb7w5g4.js} +2 -2
  75. package/dist/server/{index.server-2vxmn7x1.js → index.server-c5yajkkc.js} +4 -4
  76. package/dist/server/index.server-e6fknxd9.js +4 -0
  77. package/dist/server/index.server-fev4kwm0.js +4 -0
  78. package/dist/server/index.server-k4vjk75r.js +4 -0
  79. package/dist/server/index.server-mjbtd1gs.js +7 -0
  80. package/dist/server/{index.server-2bfkhzzq.js → index.server-rkp4py5n.js} +2 -2
  81. package/dist/server/index.server-wdz9tsq4.js +3 -0
  82. package/dist/server/index.server-zj9909hd.js +4 -0
  83. package/dist/server/json-68twtta3.js +3 -0
  84. package/dist/server/tokens/registry.generated.js +1 -1
  85. package/dist/server/tokens/runtime/index.js +92 -0
  86. package/dist/styles/check-token-contrast-test-values.d.ts +1 -3
  87. package/dist/styles/token-contrast-test-readers.d.ts +1 -1
  88. package/dist/tokens/registry.generated.js +2 -2
  89. package/dist/tokens/resolved/dark-reduced-motion.json +104 -43
  90. package/dist/tokens/resolved/dark.json +104 -43
  91. package/dist/tokens/resolved/light-reduced-motion.json +104 -43
  92. package/dist/tokens/resolved/light.json +104 -43
  93. package/dist/tokens/runtime/authoring-catalogue.d.ts +19 -0
  94. package/dist/tokens/runtime/authoring-catalogue.generated.d.ts +8 -0
  95. package/dist/tokens/runtime/authoring-palette.d.ts +25 -0
  96. package/dist/tokens/runtime/authoring-profiles.d.ts +48 -0
  97. package/dist/tokens/runtime/authoring-provenance.d.ts +31 -0
  98. package/dist/tokens/runtime/authoring-types.d.ts +182 -0
  99. package/dist/tokens/runtime/base-corpus.d.ts +29 -0
  100. package/dist/tokens/runtime/base-corpus.generated.d.ts +8 -0
  101. package/dist/tokens/runtime/context-order.d.ts +60 -0
  102. package/dist/tokens/runtime/context-stack.d.ts +11 -0
  103. package/dist/tokens/runtime/contrast/color-difference.d.ts +16 -0
  104. package/dist/{styles/color-contrast-utilities.d.ts → tokens/runtime/contrast/color-math.d.ts} +2 -17
  105. package/dist/tokens/runtime/contrast/color-mix.d.ts +3 -0
  106. package/dist/tokens/runtime/contrast/css-color.d.ts +29 -0
  107. package/dist/tokens/runtime/contrast/index.d.ts +7 -0
  108. package/dist/tokens/runtime/contrast/measure.d.ts +45 -0
  109. package/dist/tokens/runtime/contrast/pairings.d.ts +36 -0
  110. package/dist/tokens/runtime/contrast/thresholds.d.ts +47 -0
  111. package/dist/tokens/runtime/corpus-documents.d.ts +36 -0
  112. package/dist/tokens/runtime/corpus-validation.d.ts +10 -0
  113. package/dist/tokens/runtime/corpus.d.ts +35 -0
  114. package/dist/tokens/runtime/css-configuration.d.ts +1 -0
  115. package/dist/tokens/runtime/css-stylelint.d.ts +2 -0
  116. package/dist/tokens/runtime/css-support.d.ts +110 -0
  117. package/dist/tokens/runtime/evaluate.d.ts +95 -0
  118. package/dist/tokens/runtime/evaluated-provenance.d.ts +36 -0
  119. package/dist/tokens/runtime/index.d.ts +38 -0
  120. package/dist/tokens/runtime/index.js +95 -0
  121. package/dist/tokens/runtime/package-version.generated.d.ts +9 -0
  122. package/dist/tokens/runtime/projection.d.ts +32 -0
  123. package/dist/tokens/runtime/registry.d.ts +125 -0
  124. package/dist/tokens/runtime/resolve-extends.d.ts +30 -0
  125. package/dist/tokens/runtime/resolve-references.d.ts +49 -0
  126. package/dist/tokens/runtime/resolve-shared.d.ts +34 -0
  127. package/dist/tokens/runtime/resolve.d.ts +44 -0
  128. package/dist/tokens/runtime/resolver-order.d.ts +89 -0
  129. package/dist/tokens/runtime/source-digest.d.ts +20 -0
  130. package/dist/tokens/runtime/stylesheet-skeleton.d.ts +31 -0
  131. package/dist/tokens/runtime/theme-runtime.test-support.d.ts +24 -0
  132. package/dist/tokens/runtime/theme-sources.d.ts +46 -0
  133. package/dist/tokens/runtime/theme-stylesheet.d.ts +31 -0
  134. package/dist/tokens/runtime/types.d.ts +115 -0
  135. package/dist/tokens/runtime/validate-resolver.d.ts +31 -0
  136. package/dist/tokens/runtime/validate-schema.d.ts +22 -0
  137. package/dist/tokens/runtime/validate-tokens.d.ts +25 -0
  138. package/dist/tokens/runtime/validate-values.d.ts +33 -0
  139. package/dist/tokens/runtime/validate.d.ts +3 -0
  140. package/dist/tokens/runtime/value-color-parse.d.ts +128 -0
  141. package/dist/tokens/runtime/value-color.d.ts +85 -0
  142. package/dist/tokens/runtime/value-entry.d.ts +3 -0
  143. package/dist/tokens/runtime/value-formatters.d.ts +59 -0
  144. package/dist/tokens/sets/colors.tokens.json +65 -13
  145. package/dist/tokens/sets/foundation.tokens.json +23 -0
  146. package/dist/tokens/sets/semantic.tokens.json +136 -30
  147. package/dist/utilities/highlighter.d.ts +5 -5
  148. package/dist/utilities/retrying-loader-cache.d.ts +3 -6
  149. package/package.json +15 -3
  150. package/src/_internal/code-highlighter-context.ts +41 -0
  151. package/src/components/button/button.css +25 -0
  152. package/src/components/calendar/calendar.css +14 -0
  153. package/src/components/capability-gate/capability-gate.css +5 -0
  154. package/src/components/checkbox/checkbox.css +19 -0
  155. package/src/components/chip/chip.css +14 -0
  156. package/src/components/code-block/code-block.examples.json +1 -1
  157. package/src/components/code-block/code-block.schema.json +2 -2
  158. package/src/components/code-block/code-block.schema.ts +2 -2
  159. package/src/components/code-block/code-block.svelte +15 -19
  160. package/src/components/code-block/code-block.types.ts +14 -12
  161. package/src/components/color-picker/color-picker.css +2 -0
  162. package/src/components/combobox/combobox.css +9 -1
  163. package/src/components/command-palette/command-palette.css +7 -5
  164. package/src/components/file-upload/file-upload.css +2 -1
  165. package/src/components/image/image.examples.json +1 -1
  166. package/src/components/input/input.css +20 -6
  167. package/src/components/json-schema-editor/json-view-highlighter.ts +23 -0
  168. package/src/components/json-schema-editor/json-view.svelte +2 -0
  169. package/src/components/multi-select/multi-select.css +9 -0
  170. package/src/components/pagination/pagination.css +12 -0
  171. package/src/components/pin-input/pin-input.css +9 -1
  172. package/src/components/radio-group/radio-group.css +16 -0
  173. package/src/components/schema-form/schema-form.css +9 -0
  174. package/src/components/segmented-control/segmented-control.css +3 -3
  175. package/src/components/selection-popover/selection-popover.css +7 -1
  176. package/src/components/tag-input/tag-input.css +10 -1
  177. package/src/components/terminal-frame/terminal-frame.schema.json +5 -0
  178. package/src/components/terminal-frame/terminal-frame.schema.ts +6 -0
  179. package/src/components/terminal-frame/terminal-frame.svelte +6 -2
  180. package/src/components/terminal-frame/terminal-frame.types.ts +8 -0
  181. package/src/components/textarea/textarea.css +1 -1
  182. package/src/components/toggle/toggle.css +16 -0
  183. package/src/components/tree/tree.examples.json +1 -1
  184. package/src/components/virtual-list/virtual-list.css +42 -9
  185. package/src/components/virtual-list/virtual-list.svelte +54 -20
  186. package/src/highlighters/shiki/default.ts +13 -1
  187. package/src/highlighters/shiki/index.ts +20 -12
  188. package/src/index.ts +5 -0
  189. package/src/styles/foundation.css +33 -1
  190. package/src/styles/tokens-base.css +4 -4
  191. package/src/tokens/registry.generated.json +3 -3
  192. package/src/tokens/resolved/dark-reduced-motion.json +104 -43
  193. package/src/tokens/resolved/dark.json +104 -43
  194. package/src/tokens/resolved/light-reduced-motion.json +104 -43
  195. package/src/tokens/resolved/light.json +104 -43
  196. package/src/tokens/runtime/authoring-catalogue.generated.ts +19300 -0
  197. package/src/tokens/runtime/authoring-catalogue.ts +256 -0
  198. package/src/tokens/runtime/authoring-palette.ts +100 -0
  199. package/src/tokens/runtime/authoring-profiles.ts +288 -0
  200. package/src/tokens/runtime/authoring-provenance.ts +290 -0
  201. package/src/tokens/runtime/authoring-types.ts +199 -0
  202. package/src/tokens/runtime/base-corpus.generated.ts +10 -0
  203. package/src/tokens/runtime/base-corpus.ts +78 -0
  204. package/src/tokens/runtime/context-order.ts +182 -0
  205. package/src/tokens/runtime/context-stack.ts +52 -0
  206. package/src/tokens/runtime/contrast/color-difference.ts +114 -0
  207. package/src/tokens/runtime/contrast/color-math.ts +89 -0
  208. package/src/tokens/runtime/contrast/color-mix.ts +20 -0
  209. package/src/tokens/runtime/contrast/css-color.ts +312 -0
  210. package/src/tokens/runtime/contrast/index.ts +7 -0
  211. package/src/tokens/runtime/contrast/measure.ts +185 -0
  212. package/src/tokens/runtime/contrast/pairings.ts +324 -0
  213. package/src/tokens/runtime/contrast/thresholds.ts +81 -0
  214. package/src/tokens/runtime/corpus-documents.ts +289 -0
  215. package/src/tokens/runtime/corpus-validation.ts +336 -0
  216. package/src/tokens/runtime/corpus.ts +179 -0
  217. package/src/tokens/runtime/css-configuration.ts +1 -0
  218. package/src/tokens/runtime/css-stylelint.ts +15 -0
  219. package/src/tokens/runtime/css-support.ts +407 -0
  220. package/src/tokens/runtime/evaluate.ts +262 -0
  221. package/src/tokens/runtime/evaluated-provenance.ts +116 -0
  222. package/src/tokens/runtime/format-validator.generated.d.ts +18 -0
  223. package/src/tokens/runtime/format-validator.generated.js +13029 -0
  224. package/src/tokens/runtime/index.ts +78 -0
  225. package/src/tokens/runtime/package-version.generated.ts +9 -0
  226. package/src/tokens/runtime/projection.ts +65 -0
  227. package/src/tokens/runtime/registry.ts +365 -0
  228. package/src/tokens/runtime/resolve-extends.ts +211 -0
  229. package/src/tokens/runtime/resolve-references.ts +313 -0
  230. package/src/tokens/runtime/resolve-shared.ts +186 -0
  231. package/src/tokens/runtime/resolve.ts +246 -0
  232. package/src/tokens/runtime/resolver-order.ts +326 -0
  233. package/src/tokens/runtime/resolver-validator.generated.d.ts +18 -0
  234. package/src/tokens/runtime/resolver-validator.generated.js +15492 -0
  235. package/src/tokens/runtime/source-digest.ts +49 -0
  236. package/src/tokens/runtime/stylesheet-skeleton.ts +123 -0
  237. package/src/tokens/runtime/theme-sources.ts +121 -0
  238. package/src/tokens/runtime/theme-stylesheet.ts +177 -0
  239. package/src/tokens/runtime/types.ts +140 -0
  240. package/src/tokens/runtime/validate-resolver.ts +338 -0
  241. package/src/tokens/runtime/validate-schema.ts +269 -0
  242. package/src/tokens/runtime/validate-tokens.ts +181 -0
  243. package/src/tokens/runtime/validate-values.ts +396 -0
  244. package/src/tokens/runtime/validate.ts +57 -0
  245. package/src/tokens/runtime/value-color-parse.ts +309 -0
  246. package/src/tokens/runtime/value-color.ts +217 -0
  247. package/src/tokens/runtime/value-entry.ts +52 -0
  248. package/src/tokens/runtime/value-formatters.ts +414 -0
  249. package/src/tokens/sets/colors.tokens.json +65 -13
  250. package/src/tokens/sets/foundation.tokens.json +23 -0
  251. package/src/tokens/sets/semantic.tokens.json +136 -30
  252. package/src/utilities/highlighter.ts +5 -5
  253. package/src/utilities/retrying-loader-cache.ts +3 -6
  254. package/dist/components/code-block/code-block-default-highlighter.d.ts +0 -40
  255. package/dist/server/index.server-298z43yn.js +0 -4
  256. package/dist/server/index.server-3h11wjyh.js +0 -8
  257. package/dist/server/index.server-a3aerbfr.js +0 -4
  258. package/dist/server/index.server-kge3zp6n.js +0 -4
  259. package/dist/server/index.server-syf81nwz.js +0 -6
  260. package/dist/server/index.server-zs08f5te.js +0 -3
  261. package/src/components/code-block/code-block-default-highlighter.ts +0 -63
@@ -7,6 +7,7 @@
7
7
  "cssProperty": "--cinder-space-0",
8
8
  "public": true,
9
9
  "category": "spacing",
10
+ "scale": "spacing",
10
11
  "cssRecipe": null
11
12
  }
12
13
  },
@@ -20,6 +21,7 @@
20
21
  "cssProperty": "--cinder-space-2",
21
22
  "public": true,
22
23
  "category": "spacing",
24
+ "scale": "spacing",
23
25
  "cssRecipe": null
24
26
  }
25
27
  },
@@ -33,6 +35,7 @@
33
35
  "cssProperty": "--cinder-space-3",
34
36
  "public": true,
35
37
  "category": "spacing",
38
+ "scale": "spacing",
36
39
  "cssRecipe": null
37
40
  }
38
41
  },
@@ -46,6 +49,7 @@
46
49
  "cssProperty": "--cinder-space-4",
47
50
  "public": true,
48
51
  "category": "spacing",
52
+ "scale": "spacing",
49
53
  "cssRecipe": null
50
54
  }
51
55
  },
@@ -59,6 +63,7 @@
59
63
  "cssProperty": "--cinder-space-5",
60
64
  "public": true,
61
65
  "category": "spacing",
66
+ "scale": "spacing",
62
67
  "cssRecipe": null
63
68
  }
64
69
  },
@@ -72,6 +77,7 @@
72
77
  "cssProperty": "--cinder-space-6",
73
78
  "public": true,
74
79
  "category": "spacing",
80
+ "scale": "spacing",
75
81
  "cssRecipe": null
76
82
  }
77
83
  },
@@ -85,6 +91,7 @@
85
91
  "cssProperty": "--cinder-space-7",
86
92
  "public": true,
87
93
  "category": "spacing",
94
+ "scale": "spacing",
88
95
  "cssRecipe": null
89
96
  }
90
97
  },
@@ -98,6 +105,7 @@
98
105
  "cssProperty": "--cinder-space-8",
99
106
  "public": true,
100
107
  "category": "spacing",
108
+ "scale": "spacing",
101
109
  "cssRecipe": null
102
110
  }
103
111
  },
@@ -111,6 +119,7 @@
111
119
  "cssProperty": "--cinder-space-10",
112
120
  "public": true,
113
121
  "category": "spacing",
122
+ "scale": "spacing",
114
123
  "cssRecipe": null
115
124
  }
116
125
  },
@@ -124,6 +133,7 @@
124
133
  "cssProperty": "--cinder-space-12",
125
134
  "public": true,
126
135
  "category": "spacing",
136
+ "scale": "spacing",
127
137
  "cssRecipe": null
128
138
  }
129
139
  },
@@ -137,6 +147,7 @@
137
147
  "cssProperty": "--cinder-space-16",
138
148
  "public": true,
139
149
  "category": "spacing",
150
+ "scale": "spacing",
140
151
  "cssRecipe": null
141
152
  }
142
153
  },
@@ -150,6 +161,7 @@
150
161
  "cssProperty": "--cinder-space-20",
151
162
  "public": true,
152
163
  "category": "spacing",
164
+ "scale": "spacing",
153
165
  "cssRecipe": null
154
166
  }
155
167
  },
@@ -163,6 +175,7 @@
163
175
  "cssProperty": "--cinder-space-24",
164
176
  "public": true,
165
177
  "category": "spacing",
178
+ "scale": "spacing",
166
179
  "cssRecipe": null
167
180
  }
168
181
  },
@@ -176,6 +189,7 @@
176
189
  "cssProperty": "--cinder-space-32",
177
190
  "public": true,
178
191
  "category": "spacing",
192
+ "scale": "spacing",
179
193
  "cssRecipe": null
180
194
  }
181
195
  },
@@ -189,6 +203,7 @@
189
203
  "cssProperty": "--cinder-space-0-5",
190
204
  "public": true,
191
205
  "category": "spacing",
206
+ "scale": "spacing",
192
207
  "cssRecipe": null
193
208
  }
194
209
  },
@@ -202,6 +217,7 @@
202
217
  "cssProperty": "--cinder-space-1",
203
218
  "public": true,
204
219
  "category": "spacing",
220
+ "scale": "spacing",
205
221
  "cssRecipe": null
206
222
  }
207
223
  },
@@ -215,6 +231,7 @@
215
231
  "cssProperty": "--cinder-space-1-5",
216
232
  "public": true,
217
233
  "category": "spacing",
234
+ "scale": "spacing",
218
235
  "cssRecipe": null
219
236
  }
220
237
  },
@@ -228,6 +245,7 @@
228
245
  "cssProperty": "--cinder-space-2-5",
229
246
  "public": true,
230
247
  "category": "spacing",
248
+ "scale": "spacing",
231
249
  "cssRecipe": null
232
250
  }
233
251
  },
@@ -241,6 +259,7 @@
241
259
  "cssProperty": "--cinder-space-3-5",
242
260
  "public": true,
243
261
  "category": "spacing",
262
+ "scale": "spacing",
244
263
  "cssRecipe": null
245
264
  }
246
265
  },
@@ -254,6 +273,7 @@
254
273
  "cssProperty": "--cinder-radius-sm",
255
274
  "public": true,
256
275
  "category": "radius",
276
+ "scale": "radius",
257
277
  "cssRecipe": null
258
278
  }
259
279
  },
@@ -267,6 +287,7 @@
267
287
  "cssProperty": "--cinder-radius-md",
268
288
  "public": true,
269
289
  "category": "radius",
290
+ "scale": "radius",
270
291
  "cssRecipe": null
271
292
  }
272
293
  },
@@ -280,6 +301,7 @@
280
301
  "cssProperty": "--cinder-radius-lg",
281
302
  "public": true,
282
303
  "category": "radius",
304
+ "scale": "radius",
283
305
  "cssRecipe": null
284
306
  }
285
307
  },
@@ -293,6 +315,7 @@
293
315
  "cssProperty": "--cinder-radius-full",
294
316
  "public": true,
295
317
  "category": "radius",
318
+ "scale": "radius",
296
319
  "cssRecipe": null
297
320
  }
298
321
  },
@@ -1226,7 +1249,8 @@
1226
1249
  "cssProperty": "--cinder-surface",
1227
1250
  "public": true,
1228
1251
  "category": "color",
1229
- "contrastPairs": ["text.default"]
1252
+ "contrastPairs": ["text.default"],
1253
+ "palette": { "family": "neutral", "role": "surface-base" }
1230
1254
  }
1231
1255
  },
1232
1256
  "$type": "color"
@@ -1239,7 +1263,8 @@
1239
1263
  "cssProperty": "--cinder-surface-raised",
1240
1264
  "public": true,
1241
1265
  "category": "color",
1242
- "contrastPairs": ["text.default"]
1266
+ "contrastPairs": ["text.default"],
1267
+ "palette": { "family": "neutral", "role": "surface-raised" }
1243
1268
  }
1244
1269
  },
1245
1270
  "$type": "color"
@@ -1277,7 +1302,8 @@
1277
1302
  "com.lostgradient.cinder": {
1278
1303
  "cssProperty": "--cinder-surface-inset",
1279
1304
  "public": true,
1280
- "category": "color"
1305
+ "category": "color",
1306
+ "palette": { "family": "neutral", "role": "surface-inset" }
1281
1307
  }
1282
1308
  },
1283
1309
  "$type": "color"
@@ -1340,7 +1366,8 @@
1340
1366
  "com.lostgradient.cinder": {
1341
1367
  "cssProperty": "--cinder-surface-canvas",
1342
1368
  "public": true,
1343
- "category": "color"
1369
+ "category": "color",
1370
+ "palette": { "family": "neutral", "role": "surface-canvas" }
1344
1371
  }
1345
1372
  }
1346
1373
  },
@@ -1363,7 +1390,8 @@
1363
1390
  "com.lostgradient.cinder": {
1364
1391
  "cssProperty": "--cinder-border-ink",
1365
1392
  "public": true,
1366
- "category": "color"
1393
+ "category": "color",
1394
+ "palette": { "family": "neutral", "role": "border-ink" }
1367
1395
  }
1368
1396
  },
1369
1397
  "$type": "color"
@@ -1389,7 +1417,8 @@
1389
1417
  "com.lostgradient.cinder": {
1390
1418
  "cssProperty": "--cinder-border-faint",
1391
1419
  "public": true,
1392
- "category": "color"
1420
+ "category": "color",
1421
+ "palette": { "family": "neutral", "role": "border-faint" }
1393
1422
  }
1394
1423
  },
1395
1424
  "$type": "color"
@@ -1439,7 +1468,8 @@
1439
1468
  "com.lostgradient.cinder": {
1440
1469
  "cssProperty": "--cinder-text-muted",
1441
1470
  "public": true,
1442
- "category": "color"
1471
+ "category": "color",
1472
+ "palette": { "family": "neutral", "role": "text-muted" }
1443
1473
  }
1444
1474
  },
1445
1475
  "$type": "color"
@@ -1451,7 +1481,8 @@
1451
1481
  "com.lostgradient.cinder": {
1452
1482
  "cssProperty": "--cinder-text-subtle",
1453
1483
  "public": true,
1454
- "category": "color"
1484
+ "category": "color",
1485
+ "palette": { "family": "neutral", "role": "text-subtle" }
1455
1486
  }
1456
1487
  },
1457
1488
  "$type": "color"
@@ -1463,7 +1494,8 @@
1463
1494
  "com.lostgradient.cinder": {
1464
1495
  "cssProperty": "--cinder-text-disabled",
1465
1496
  "public": true,
1466
- "category": "color"
1497
+ "category": "color",
1498
+ "palette": { "family": "neutral", "role": "text-disabled" }
1467
1499
  }
1468
1500
  },
1469
1501
  "$type": "color"
@@ -1488,7 +1520,8 @@
1488
1520
  "com.lostgradient.cinder": {
1489
1521
  "cssProperty": "--cinder-text-default",
1490
1522
  "public": true,
1491
- "category": "color"
1523
+ "category": "color",
1524
+ "palette": { "family": "neutral", "role": "text-default", "anchor": true }
1492
1525
  }
1493
1526
  }
1494
1527
  },
@@ -1499,7 +1532,8 @@
1499
1532
  "com.lostgradient.cinder": {
1500
1533
  "cssProperty": "--cinder-fill-disabled",
1501
1534
  "public": true,
1502
- "category": "color"
1535
+ "category": "color",
1536
+ "palette": { "family": "neutral", "role": "fill-disabled" }
1503
1537
  }
1504
1538
  },
1505
1539
  "$type": "color"
@@ -1523,7 +1557,8 @@
1523
1557
  "com.lostgradient.cinder": {
1524
1558
  "cssProperty": "--cinder-accent-text",
1525
1559
  "public": true,
1526
- "category": "color"
1560
+ "category": "color",
1561
+ "palette": { "family": "accent", "role": "text" }
1527
1562
  }
1528
1563
  },
1529
1564
  "$type": "color"
@@ -1548,7 +1583,8 @@
1548
1583
  "com.lostgradient.cinder": {
1549
1584
  "cssProperty": "--cinder-accent-solid",
1550
1585
  "public": true,
1551
- "category": "color"
1586
+ "category": "color",
1587
+ "palette": { "family": "accent", "role": "solid", "anchor": true }
1552
1588
  }
1553
1589
  },
1554
1590
  "$type": "color"
@@ -1633,21 +1669,21 @@
1633
1669
  },
1634
1670
  "ring.offset": {
1635
1671
  "$type": "dimension",
1636
- "$value": { "value": 2, "unit": "px" },
1637
- "$description": "Focus ring offset from the control edge.",
1672
+ "$value": { "value": 0, "unit": "px" },
1673
+ "$description": "Focus ring offset from the control edge. Zero: the ring sits directly on the control edge with no offset band, so focus reads as one tight 2px line rather than a 4px double band (COR-1498). Filled controls add a private 2px gap instead; see `ring.offset-color`. Emitted as `0px`, not a bare `0`, because the ring recipes add it to `--cinder-ring-width` inside `calc()`, where a unitless zero is a number and invalidates the sum.",
1638
1674
  "$extensions": {
1639
1675
  "com.lostgradient.cinder": {
1640
1676
  "cssProperty": "--cinder-ring-offset",
1641
1677
  "public": true,
1642
1678
  "category": "size",
1643
- "cssRecipe": null
1679
+ "cssRecipe": "0px"
1644
1680
  }
1645
1681
  }
1646
1682
  },
1647
1683
  "ring.offset-color": {
1648
1684
  "$type": "color",
1649
1685
  "$value": { "colorSpace": "oklch", "components": [0.28, 0.045, 245] },
1650
- "$description": "Focus ring offset band color. The ring is a two-stop box-shadow and box-shadow cannot paint a transparent gap, so the offset band has to be some real color. Pinned to `surface.raised` (the top of the ramp) so the band disappears into raised surfaces, where controls overwhelmingly live, and reads as a light halo on recessed tiers.",
1686
+ "$description": "Color of the gap band between a focus ring and the control. Filled controls (a solid accent, danger or status fill on the focused element) paint a 2px gap in this color before the ring, so the accent-hued ring sits on the page instead of on a same-hue fill. Unfilled controls use `ring.offset`, which is zero, so they paint no gap. box-shadow cannot paint a transparent gap, so the band needs a real color; it is pinned to `surface.raised`, where controls overwhelmingly live.",
1651
1687
  "$extensions": {
1652
1688
  "com.lostgradient.cinder": {
1653
1689
  "cssProperty": "--cinder-ring-offset-color",
@@ -1672,7 +1708,7 @@
1672
1708
  "ring.on-accent": {
1673
1709
  "$type": "color",
1674
1710
  "$value": { "colorSpace": "oklch", "components": [1, 0, 0] },
1675
- "$description": "Ring color tuned for use on solid accent/fill surfaces (FloatingAction primary variant). Light arm is a near-black that contrasts both the accent fill and the page background; dark arm is a near-white that contrasts the bright dark-mode accent and the dark page background.",
1711
+ "$description": "Ring color used by the FloatingAction primary variant, whose ring sits directly on its accent fill. Light arm is a near-black and dark arm a near-white, both strongly contrasting the page background. Against the fill itself it measures about 3:1 in light mode and about 2.5:1 in dark mode, so other filled controls use a `ring.offset-color` gap and the standard ring instead (focus-ring-policy.md).",
1676
1712
  "$extensions": {
1677
1713
  "com.lostgradient.cinder": {
1678
1714
  "cssProperty": "--cinder-ring-on-accent",
@@ -1951,7 +1987,8 @@
1951
1987
  "com.lostgradient.cinder": {
1952
1988
  "cssProperty": "--cinder-status-success-solid",
1953
1989
  "public": true,
1954
- "category": "color"
1990
+ "category": "color",
1991
+ "palette": { "family": "success", "role": "solid", "anchor": true }
1955
1992
  }
1956
1993
  },
1957
1994
  "$type": "color"
@@ -1964,7 +2001,8 @@
1964
2001
  "com.lostgradient.cinder": {
1965
2002
  "cssProperty": "--cinder-status-success-solid-active",
1966
2003
  "public": true,
1967
- "category": "color"
2004
+ "category": "color",
2005
+ "palette": { "family": "success", "role": "solid-active" }
1968
2006
  }
1969
2007
  }
1970
2008
  },
@@ -1976,7 +2014,8 @@
1976
2014
  "com.lostgradient.cinder": {
1977
2015
  "cssProperty": "--cinder-status-success-solid-hover",
1978
2016
  "public": true,
1979
- "category": "color"
2017
+ "category": "color",
2018
+ "palette": { "family": "success", "role": "solid-hover" }
1980
2019
  }
1981
2020
  }
1982
2021
  },
@@ -1988,7 +2027,8 @@
1988
2027
  "com.lostgradient.cinder": {
1989
2028
  "cssProperty": "--cinder-status-success-background",
1990
2029
  "public": true,
1991
- "category": "color"
2030
+ "category": "color",
2031
+ "palette": { "family": "success", "role": "background" }
1992
2032
  }
1993
2033
  }
1994
2034
  },
@@ -2000,7 +2040,8 @@
2000
2040
  "com.lostgradient.cinder": {
2001
2041
  "cssProperty": "--cinder-status-success-text",
2002
2042
  "public": true,
2003
- "category": "color"
2043
+ "category": "color",
2044
+ "palette": { "family": "success", "role": "text" }
2004
2045
  }
2005
2046
  }
2006
2047
  },
@@ -2012,7 +2053,8 @@
2012
2053
  "com.lostgradient.cinder": {
2013
2054
  "cssProperty": "--cinder-status-success-border",
2014
2055
  "public": true,
2015
- "category": "color"
2056
+ "category": "color",
2057
+ "palette": { "family": "success", "role": "border" }
2016
2058
  }
2017
2059
  }
2018
2060
  },
@@ -2061,7 +2103,8 @@
2061
2103
  "com.lostgradient.cinder": {
2062
2104
  "cssProperty": "--cinder-status-warning-solid",
2063
2105
  "public": true,
2064
- "category": "color"
2106
+ "category": "color",
2107
+ "palette": { "family": "warning", "role": "solid", "anchor": true }
2065
2108
  }
2066
2109
  },
2067
2110
  "$type": "color"
@@ -2074,7 +2117,8 @@
2074
2117
  "com.lostgradient.cinder": {
2075
2118
  "cssProperty": "--cinder-status-warning-solid-active",
2076
2119
  "public": true,
2077
- "category": "color"
2120
+ "category": "color",
2121
+ "palette": { "family": "warning", "role": "solid-active" }
2078
2122
  }
2079
2123
  }
2080
2124
  },
@@ -2086,7 +2130,8 @@
2086
2130
  "com.lostgradient.cinder": {
2087
2131
  "cssProperty": "--cinder-status-warning-solid-hover",
2088
2132
  "public": true,
2089
- "category": "color"
2133
+ "category": "color",
2134
+ "palette": { "family": "warning", "role": "solid-hover" }
2090
2135
  }
2091
2136
  }
2092
2137
  },
@@ -2098,7 +2143,8 @@
2098
2143
  "com.lostgradient.cinder": {
2099
2144
  "cssProperty": "--cinder-status-warning-background",
2100
2145
  "public": true,
2101
- "category": "color"
2146
+ "category": "color",
2147
+ "palette": { "family": "warning", "role": "background" }
2102
2148
  }
2103
2149
  }
2104
2150
  },
@@ -2110,7 +2156,8 @@
2110
2156
  "com.lostgradient.cinder": {
2111
2157
  "cssProperty": "--cinder-status-warning-text",
2112
2158
  "public": true,
2113
- "category": "color"
2159
+ "category": "color",
2160
+ "palette": { "family": "warning", "role": "text" }
2114
2161
  }
2115
2162
  }
2116
2163
  },
@@ -2122,7 +2169,8 @@
2122
2169
  "com.lostgradient.cinder": {
2123
2170
  "cssProperty": "--cinder-status-warning-border",
2124
2171
  "public": true,
2125
- "category": "color"
2172
+ "category": "color",
2173
+ "palette": { "family": "warning", "role": "border" }
2126
2174
  }
2127
2175
  }
2128
2176
  },
@@ -2171,7 +2219,8 @@
2171
2219
  "com.lostgradient.cinder": {
2172
2220
  "cssProperty": "--cinder-status-danger-solid",
2173
2221
  "public": true,
2174
- "category": "color"
2222
+ "category": "color",
2223
+ "palette": { "family": "danger", "role": "solid", "anchor": true }
2175
2224
  }
2176
2225
  },
2177
2226
  "$type": "color"
@@ -2184,7 +2233,8 @@
2184
2233
  "com.lostgradient.cinder": {
2185
2234
  "cssProperty": "--cinder-status-danger-solid-active",
2186
2235
  "public": true,
2187
- "category": "color"
2236
+ "category": "color",
2237
+ "palette": { "family": "danger", "role": "solid-active" }
2188
2238
  }
2189
2239
  }
2190
2240
  },
@@ -2196,7 +2246,8 @@
2196
2246
  "com.lostgradient.cinder": {
2197
2247
  "cssProperty": "--cinder-status-danger-solid-hover",
2198
2248
  "public": true,
2199
- "category": "color"
2249
+ "category": "color",
2250
+ "palette": { "family": "danger", "role": "solid-hover" }
2200
2251
  }
2201
2252
  }
2202
2253
  },
@@ -2208,7 +2259,8 @@
2208
2259
  "com.lostgradient.cinder": {
2209
2260
  "cssProperty": "--cinder-status-danger-background",
2210
2261
  "public": true,
2211
- "category": "color"
2262
+ "category": "color",
2263
+ "palette": { "family": "danger", "role": "background" }
2212
2264
  }
2213
2265
  }
2214
2266
  },
@@ -2220,7 +2272,8 @@
2220
2272
  "com.lostgradient.cinder": {
2221
2273
  "cssProperty": "--cinder-status-danger-text",
2222
2274
  "public": true,
2223
- "category": "color"
2275
+ "category": "color",
2276
+ "palette": { "family": "danger", "role": "text" }
2224
2277
  }
2225
2278
  }
2226
2279
  },
@@ -2232,7 +2285,8 @@
2232
2285
  "com.lostgradient.cinder": {
2233
2286
  "cssProperty": "--cinder-status-danger-border",
2234
2287
  "public": true,
2235
- "category": "color"
2288
+ "category": "color",
2289
+ "palette": { "family": "danger", "role": "border" }
2236
2290
  }
2237
2291
  }
2238
2292
  },
@@ -2281,7 +2335,8 @@
2281
2335
  "com.lostgradient.cinder": {
2282
2336
  "cssProperty": "--cinder-status-info-solid",
2283
2337
  "public": true,
2284
- "category": "color"
2338
+ "category": "color",
2339
+ "palette": { "family": "info", "role": "solid", "anchor": true }
2285
2340
  }
2286
2341
  },
2287
2342
  "$type": "color"
@@ -2294,7 +2349,8 @@
2294
2349
  "com.lostgradient.cinder": {
2295
2350
  "cssProperty": "--cinder-status-info-solid-active",
2296
2351
  "public": true,
2297
- "category": "color"
2352
+ "category": "color",
2353
+ "palette": { "family": "info", "role": "solid-active" }
2298
2354
  }
2299
2355
  }
2300
2356
  },
@@ -2306,7 +2362,8 @@
2306
2362
  "com.lostgradient.cinder": {
2307
2363
  "cssProperty": "--cinder-status-info-solid-hover",
2308
2364
  "public": true,
2309
- "category": "color"
2365
+ "category": "color",
2366
+ "palette": { "family": "info", "role": "solid-hover" }
2310
2367
  }
2311
2368
  }
2312
2369
  },
@@ -2318,7 +2375,8 @@
2318
2375
  "com.lostgradient.cinder": {
2319
2376
  "cssProperty": "--cinder-status-info-background",
2320
2377
  "public": true,
2321
- "category": "color"
2378
+ "category": "color",
2379
+ "palette": { "family": "info", "role": "background" }
2322
2380
  }
2323
2381
  }
2324
2382
  },
@@ -2330,7 +2388,8 @@
2330
2388
  "com.lostgradient.cinder": {
2331
2389
  "cssProperty": "--cinder-status-info-text",
2332
2390
  "public": true,
2333
- "category": "color"
2391
+ "category": "color",
2392
+ "palette": { "family": "info", "role": "text" }
2334
2393
  }
2335
2394
  }
2336
2395
  },
@@ -2342,7 +2401,8 @@
2342
2401
  "com.lostgradient.cinder": {
2343
2402
  "cssProperty": "--cinder-status-info-border",
2344
2403
  "public": true,
2345
- "category": "color"
2404
+ "category": "color",
2405
+ "palette": { "family": "info", "role": "border" }
2346
2406
  }
2347
2407
  }
2348
2408
  },
@@ -2380,7 +2440,8 @@
2380
2440
  "com.lostgradient.cinder": {
2381
2441
  "cssProperty": "--cinder-status-neutral-background",
2382
2442
  "public": true,
2383
- "category": "color"
2443
+ "category": "color",
2444
+ "palette": { "family": "neutral", "role": "status-neutral-background" }
2384
2445
  }
2385
2446
  }
2386
2447
  },