@lostgradient/cinder 0.27.1 → 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 +35 -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
  },
@@ -1236,7 +1259,8 @@
1236
1259
  "cssProperty": "--cinder-surface",
1237
1260
  "public": true,
1238
1261
  "category": "color",
1239
- "contrastPairs": ["text.default"]
1262
+ "contrastPairs": ["text.default"],
1263
+ "palette": { "family": "neutral", "role": "surface-base" }
1240
1264
  }
1241
1265
  },
1242
1266
  "$type": "color"
@@ -1249,7 +1273,8 @@
1249
1273
  "cssProperty": "--cinder-surface-raised",
1250
1274
  "public": true,
1251
1275
  "category": "color",
1252
- "contrastPairs": ["text.default"]
1276
+ "contrastPairs": ["text.default"],
1277
+ "palette": { "family": "neutral", "role": "surface-raised" }
1253
1278
  }
1254
1279
  },
1255
1280
  "$type": "color"
@@ -1287,7 +1312,8 @@
1287
1312
  "com.lostgradient.cinder": {
1288
1313
  "cssProperty": "--cinder-surface-inset",
1289
1314
  "public": true,
1290
- "category": "color"
1315
+ "category": "color",
1316
+ "palette": { "family": "neutral", "role": "surface-inset" }
1291
1317
  }
1292
1318
  },
1293
1319
  "$type": "color"
@@ -1350,7 +1376,8 @@
1350
1376
  "com.lostgradient.cinder": {
1351
1377
  "cssProperty": "--cinder-surface-canvas",
1352
1378
  "public": true,
1353
- "category": "color"
1379
+ "category": "color",
1380
+ "palette": { "family": "neutral", "role": "surface-canvas" }
1354
1381
  }
1355
1382
  }
1356
1383
  },
@@ -1373,7 +1400,8 @@
1373
1400
  "com.lostgradient.cinder": {
1374
1401
  "cssProperty": "--cinder-border-ink",
1375
1402
  "public": true,
1376
- "category": "color"
1403
+ "category": "color",
1404
+ "palette": { "family": "neutral", "role": "border-ink" }
1377
1405
  }
1378
1406
  },
1379
1407
  "$type": "color"
@@ -1399,7 +1427,8 @@
1399
1427
  "com.lostgradient.cinder": {
1400
1428
  "cssProperty": "--cinder-border-faint",
1401
1429
  "public": true,
1402
- "category": "color"
1430
+ "category": "color",
1431
+ "palette": { "family": "neutral", "role": "border-faint" }
1403
1432
  }
1404
1433
  },
1405
1434
  "$type": "color"
@@ -1449,7 +1478,8 @@
1449
1478
  "com.lostgradient.cinder": {
1450
1479
  "cssProperty": "--cinder-text-muted",
1451
1480
  "public": true,
1452
- "category": "color"
1481
+ "category": "color",
1482
+ "palette": { "family": "neutral", "role": "text-muted" }
1453
1483
  }
1454
1484
  },
1455
1485
  "$type": "color"
@@ -1461,7 +1491,8 @@
1461
1491
  "com.lostgradient.cinder": {
1462
1492
  "cssProperty": "--cinder-text-subtle",
1463
1493
  "public": true,
1464
- "category": "color"
1494
+ "category": "color",
1495
+ "palette": { "family": "neutral", "role": "text-subtle" }
1465
1496
  }
1466
1497
  },
1467
1498
  "$type": "color"
@@ -1473,7 +1504,8 @@
1473
1504
  "com.lostgradient.cinder": {
1474
1505
  "cssProperty": "--cinder-text-disabled",
1475
1506
  "public": true,
1476
- "category": "color"
1507
+ "category": "color",
1508
+ "palette": { "family": "neutral", "role": "text-disabled" }
1477
1509
  }
1478
1510
  },
1479
1511
  "$type": "color"
@@ -1498,7 +1530,8 @@
1498
1530
  "com.lostgradient.cinder": {
1499
1531
  "cssProperty": "--cinder-text-default",
1500
1532
  "public": true,
1501
- "category": "color"
1533
+ "category": "color",
1534
+ "palette": { "family": "neutral", "role": "text-default", "anchor": true }
1502
1535
  }
1503
1536
  }
1504
1537
  },
@@ -1509,7 +1542,8 @@
1509
1542
  "com.lostgradient.cinder": {
1510
1543
  "cssProperty": "--cinder-fill-disabled",
1511
1544
  "public": true,
1512
- "category": "color"
1545
+ "category": "color",
1546
+ "palette": { "family": "neutral", "role": "fill-disabled" }
1513
1547
  }
1514
1548
  },
1515
1549
  "$type": "color"
@@ -1533,7 +1567,8 @@
1533
1567
  "com.lostgradient.cinder": {
1534
1568
  "cssProperty": "--cinder-accent-text",
1535
1569
  "public": true,
1536
- "category": "color"
1570
+ "category": "color",
1571
+ "palette": { "family": "accent", "role": "text" }
1537
1572
  }
1538
1573
  },
1539
1574
  "$type": "color"
@@ -1558,7 +1593,8 @@
1558
1593
  "com.lostgradient.cinder": {
1559
1594
  "cssProperty": "--cinder-accent-solid",
1560
1595
  "public": true,
1561
- "category": "color"
1596
+ "category": "color",
1597
+ "palette": { "family": "accent", "role": "solid", "anchor": true }
1562
1598
  }
1563
1599
  },
1564
1600
  "$type": "color"
@@ -1643,21 +1679,21 @@
1643
1679
  },
1644
1680
  "ring.offset": {
1645
1681
  "$type": "dimension",
1646
- "$value": { "value": 2, "unit": "px" },
1647
- "$description": "Focus ring offset from the control edge.",
1682
+ "$value": { "value": 0, "unit": "px" },
1683
+ "$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.",
1648
1684
  "$extensions": {
1649
1685
  "com.lostgradient.cinder": {
1650
1686
  "cssProperty": "--cinder-ring-offset",
1651
1687
  "public": true,
1652
1688
  "category": "size",
1653
- "cssRecipe": null
1689
+ "cssRecipe": "0px"
1654
1690
  }
1655
1691
  }
1656
1692
  },
1657
1693
  "ring.offset-color": {
1658
1694
  "$type": "color",
1659
1695
  "$value": { "colorSpace": "oklch", "components": [1, 0, 255] },
1660
- "$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.",
1696
+ "$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.",
1661
1697
  "$extensions": {
1662
1698
  "com.lostgradient.cinder": {
1663
1699
  "cssProperty": "--cinder-ring-offset-color",
@@ -1682,7 +1718,7 @@
1682
1718
  "ring.on-accent": {
1683
1719
  "$type": "color",
1684
1720
  "$value": { "colorSpace": "oklch", "components": [0.15, 0.035, 245] },
1685
- "$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.",
1721
+ "$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).",
1686
1722
  "$extensions": {
1687
1723
  "com.lostgradient.cinder": {
1688
1724
  "cssProperty": "--cinder-ring-on-accent",
@@ -1961,7 +1997,8 @@
1961
1997
  "com.lostgradient.cinder": {
1962
1998
  "cssProperty": "--cinder-status-success-solid",
1963
1999
  "public": true,
1964
- "category": "color"
2000
+ "category": "color",
2001
+ "palette": { "family": "success", "role": "solid", "anchor": true }
1965
2002
  }
1966
2003
  },
1967
2004
  "$type": "color"
@@ -1974,7 +2011,8 @@
1974
2011
  "com.lostgradient.cinder": {
1975
2012
  "cssProperty": "--cinder-status-success-solid-active",
1976
2013
  "public": true,
1977
- "category": "color"
2014
+ "category": "color",
2015
+ "palette": { "family": "success", "role": "solid-active" }
1978
2016
  }
1979
2017
  }
1980
2018
  },
@@ -1986,7 +2024,8 @@
1986
2024
  "com.lostgradient.cinder": {
1987
2025
  "cssProperty": "--cinder-status-success-solid-hover",
1988
2026
  "public": true,
1989
- "category": "color"
2027
+ "category": "color",
2028
+ "palette": { "family": "success", "role": "solid-hover" }
1990
2029
  }
1991
2030
  }
1992
2031
  },
@@ -1998,7 +2037,8 @@
1998
2037
  "com.lostgradient.cinder": {
1999
2038
  "cssProperty": "--cinder-status-success-background",
2000
2039
  "public": true,
2001
- "category": "color"
2040
+ "category": "color",
2041
+ "palette": { "family": "success", "role": "background" }
2002
2042
  }
2003
2043
  }
2004
2044
  },
@@ -2010,7 +2050,8 @@
2010
2050
  "com.lostgradient.cinder": {
2011
2051
  "cssProperty": "--cinder-status-success-text",
2012
2052
  "public": true,
2013
- "category": "color"
2053
+ "category": "color",
2054
+ "palette": { "family": "success", "role": "text" }
2014
2055
  }
2015
2056
  }
2016
2057
  },
@@ -2022,7 +2063,8 @@
2022
2063
  "com.lostgradient.cinder": {
2023
2064
  "cssProperty": "--cinder-status-success-border",
2024
2065
  "public": true,
2025
- "category": "color"
2066
+ "category": "color",
2067
+ "palette": { "family": "success", "role": "border" }
2026
2068
  }
2027
2069
  }
2028
2070
  },
@@ -2071,7 +2113,8 @@
2071
2113
  "com.lostgradient.cinder": {
2072
2114
  "cssProperty": "--cinder-status-warning-solid",
2073
2115
  "public": true,
2074
- "category": "color"
2116
+ "category": "color",
2117
+ "palette": { "family": "warning", "role": "solid", "anchor": true }
2075
2118
  }
2076
2119
  },
2077
2120
  "$type": "color"
@@ -2084,7 +2127,8 @@
2084
2127
  "com.lostgradient.cinder": {
2085
2128
  "cssProperty": "--cinder-status-warning-solid-active",
2086
2129
  "public": true,
2087
- "category": "color"
2130
+ "category": "color",
2131
+ "palette": { "family": "warning", "role": "solid-active" }
2088
2132
  }
2089
2133
  }
2090
2134
  },
@@ -2096,7 +2140,8 @@
2096
2140
  "com.lostgradient.cinder": {
2097
2141
  "cssProperty": "--cinder-status-warning-solid-hover",
2098
2142
  "public": true,
2099
- "category": "color"
2143
+ "category": "color",
2144
+ "palette": { "family": "warning", "role": "solid-hover" }
2100
2145
  }
2101
2146
  }
2102
2147
  },
@@ -2108,7 +2153,8 @@
2108
2153
  "com.lostgradient.cinder": {
2109
2154
  "cssProperty": "--cinder-status-warning-background",
2110
2155
  "public": true,
2111
- "category": "color"
2156
+ "category": "color",
2157
+ "palette": { "family": "warning", "role": "background" }
2112
2158
  }
2113
2159
  }
2114
2160
  },
@@ -2120,7 +2166,8 @@
2120
2166
  "com.lostgradient.cinder": {
2121
2167
  "cssProperty": "--cinder-status-warning-text",
2122
2168
  "public": true,
2123
- "category": "color"
2169
+ "category": "color",
2170
+ "palette": { "family": "warning", "role": "text" }
2124
2171
  }
2125
2172
  }
2126
2173
  },
@@ -2132,7 +2179,8 @@
2132
2179
  "com.lostgradient.cinder": {
2133
2180
  "cssProperty": "--cinder-status-warning-border",
2134
2181
  "public": true,
2135
- "category": "color"
2182
+ "category": "color",
2183
+ "palette": { "family": "warning", "role": "border" }
2136
2184
  }
2137
2185
  }
2138
2186
  },
@@ -2181,7 +2229,8 @@
2181
2229
  "com.lostgradient.cinder": {
2182
2230
  "cssProperty": "--cinder-status-danger-solid",
2183
2231
  "public": true,
2184
- "category": "color"
2232
+ "category": "color",
2233
+ "palette": { "family": "danger", "role": "solid", "anchor": true }
2185
2234
  }
2186
2235
  },
2187
2236
  "$type": "color"
@@ -2194,7 +2243,8 @@
2194
2243
  "com.lostgradient.cinder": {
2195
2244
  "cssProperty": "--cinder-status-danger-solid-active",
2196
2245
  "public": true,
2197
- "category": "color"
2246
+ "category": "color",
2247
+ "palette": { "family": "danger", "role": "solid-active" }
2198
2248
  }
2199
2249
  }
2200
2250
  },
@@ -2206,7 +2256,8 @@
2206
2256
  "com.lostgradient.cinder": {
2207
2257
  "cssProperty": "--cinder-status-danger-solid-hover",
2208
2258
  "public": true,
2209
- "category": "color"
2259
+ "category": "color",
2260
+ "palette": { "family": "danger", "role": "solid-hover" }
2210
2261
  }
2211
2262
  }
2212
2263
  },
@@ -2218,7 +2269,8 @@
2218
2269
  "com.lostgradient.cinder": {
2219
2270
  "cssProperty": "--cinder-status-danger-background",
2220
2271
  "public": true,
2221
- "category": "color"
2272
+ "category": "color",
2273
+ "palette": { "family": "danger", "role": "background" }
2222
2274
  }
2223
2275
  }
2224
2276
  },
@@ -2230,7 +2282,8 @@
2230
2282
  "com.lostgradient.cinder": {
2231
2283
  "cssProperty": "--cinder-status-danger-text",
2232
2284
  "public": true,
2233
- "category": "color"
2285
+ "category": "color",
2286
+ "palette": { "family": "danger", "role": "text" }
2234
2287
  }
2235
2288
  }
2236
2289
  },
@@ -2242,7 +2295,8 @@
2242
2295
  "com.lostgradient.cinder": {
2243
2296
  "cssProperty": "--cinder-status-danger-border",
2244
2297
  "public": true,
2245
- "category": "color"
2298
+ "category": "color",
2299
+ "palette": { "family": "danger", "role": "border" }
2246
2300
  }
2247
2301
  }
2248
2302
  },
@@ -2291,7 +2345,8 @@
2291
2345
  "com.lostgradient.cinder": {
2292
2346
  "cssProperty": "--cinder-status-info-solid",
2293
2347
  "public": true,
2294
- "category": "color"
2348
+ "category": "color",
2349
+ "palette": { "family": "info", "role": "solid", "anchor": true }
2295
2350
  }
2296
2351
  },
2297
2352
  "$type": "color"
@@ -2304,7 +2359,8 @@
2304
2359
  "com.lostgradient.cinder": {
2305
2360
  "cssProperty": "--cinder-status-info-solid-active",
2306
2361
  "public": true,
2307
- "category": "color"
2362
+ "category": "color",
2363
+ "palette": { "family": "info", "role": "solid-active" }
2308
2364
  }
2309
2365
  }
2310
2366
  },
@@ -2316,7 +2372,8 @@
2316
2372
  "com.lostgradient.cinder": {
2317
2373
  "cssProperty": "--cinder-status-info-solid-hover",
2318
2374
  "public": true,
2319
- "category": "color"
2375
+ "category": "color",
2376
+ "palette": { "family": "info", "role": "solid-hover" }
2320
2377
  }
2321
2378
  }
2322
2379
  },
@@ -2328,7 +2385,8 @@
2328
2385
  "com.lostgradient.cinder": {
2329
2386
  "cssProperty": "--cinder-status-info-background",
2330
2387
  "public": true,
2331
- "category": "color"
2388
+ "category": "color",
2389
+ "palette": { "family": "info", "role": "background" }
2332
2390
  }
2333
2391
  }
2334
2392
  },
@@ -2340,7 +2398,8 @@
2340
2398
  "com.lostgradient.cinder": {
2341
2399
  "cssProperty": "--cinder-status-info-text",
2342
2400
  "public": true,
2343
- "category": "color"
2401
+ "category": "color",
2402
+ "palette": { "family": "info", "role": "text" }
2344
2403
  }
2345
2404
  }
2346
2405
  },
@@ -2352,7 +2411,8 @@
2352
2411
  "com.lostgradient.cinder": {
2353
2412
  "cssProperty": "--cinder-status-info-border",
2354
2413
  "public": true,
2355
- "category": "color"
2414
+ "category": "color",
2415
+ "palette": { "family": "info", "role": "border" }
2356
2416
  }
2357
2417
  }
2358
2418
  },
@@ -2390,7 +2450,8 @@
2390
2450
  "com.lostgradient.cinder": {
2391
2451
  "cssProperty": "--cinder-status-neutral-background",
2392
2452
  "public": true,
2393
- "category": "color"
2453
+ "category": "color",
2454
+ "palette": { "family": "neutral", "role": "status-neutral-background" }
2394
2455
  }
2395
2456
  }
2396
2457
  },