@lostgradient/cinder 0.27.1 → 0.28.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (261) hide show
  1. package/CHANGELOG.md +41 -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
@@ -0,0 +1,4 @@
1
+ var cinder_resolver_default={$schema:"https://www.designtokens.org/schemas/2025.10/resolver.json",version:"2025.10",sets:{foundation:{sources:[{$ref:"sets/foundation.tokens.json"},{$ref:"sets/semantic.tokens.json"},{$ref:"sets/colors.tokens.json"},{$ref:"sets/components.tokens.json"}]}},modifiers:{theme:{contexts:{light:[{$ref:"themes/light.tokens.json"}],dark:[{$ref:"themes/dark.tokens.json"}]},default:"light"},motion:{contexts:{default:[{$ref:"modes/motion-default.tokens.json"}],reduced:[{$ref:"modes/motion-reduced.tokens.json"}],"forced-reduced-motion":[{$ref:"modes/motion-forced-reduced.tokens.json"}]},default:"default"}},resolutionOrder:[{$ref:"#/sets/foundation"},{$ref:"#/modifiers/theme"},{$ref:"#/modifiers/motion"}]};var motion_default_tokens_default={$schema:"https://www.designtokens.org/schemas/2025.10/format.json",$description:"The default motion context applies no overrides: the base motion tokens in sets/foundation.tokens.json are already the default-motion values. This document exists because the resolver's motion modifier needs a source for every context, and it is deliberately empty. Re-declaring the motion tree here would replace those canonical tokens during resolution, dropping their $description and $extensions and flattening motion.normal's {motion} alias into a literal."};var motion_forced_reduced_tokens_default={$schema:"https://www.designtokens.org/schemas/2025.10/format.json",motion:{$type:"duration",fast:{$value:{value:0,unit:"ms"}},instant:{$value:{value:0,unit:"ms"}},normal:{$value:{value:0,unit:"ms"}},moderate:{$value:{value:0,unit:"ms"}},slow:{$value:{value:0,unit:"ms"}},spin:{$value:{value:0,unit:"ms"}},pulse:{$value:{value:0,unit:"ms"}},progress:{bar:{indeterminate:{$value:{value:0,unit:"ms"}}},ring:{spin:{$value:{value:0,unit:"ms"}}}},base:{$type:"duration",$value:{value:0,unit:"ms"}}}};var motion_reduced_tokens_default={$schema:"https://www.designtokens.org/schemas/2025.10/format.json",motion:{$type:"duration",fast:{$value:{value:0,unit:"ms"}},instant:{$value:{value:0,unit:"ms"}},normal:{$value:{value:0,unit:"ms"}},moderate:{$value:{value:0,unit:"ms"}},slow:{$value:{value:0,unit:"ms"}},spin:{$value:{value:0,unit:"ms"}},pulse:{$value:{value:0,unit:"ms"}},progress:{bar:{indeterminate:{$value:{value:0,unit:"ms"}}},ring:{spin:{$value:{value:0,unit:"ms"}}}},base:{$type:"duration",$value:{value:0,unit:"ms"}}}};var colors_tokens_default={$schema:"https://www.designtokens.org/schemas/2025.10/format.json",color:{$type:"color",$description:"Status and role color triples (background/foreground/border) for soft tinted surfaces, plus muted/subtle derivatives. Used by components like Alert and Toast that need a soft tinted surface with semantically-paired text and border colors; the solid `accent.solid`/`status.danger.solid`/`status.info.solid`/`status.success.solid`/`status.warning.solid` tokens remain for accent fills such as solid badges."},status:{success:{background:{$type:"color",$value:{colorSpace:"oklch",components:[0.945,0.045,145]},$description:"Soft success-tinted surface background.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-success-background",public:true,category:"color",cssRecipe:"light-dark(oklch(94.5% 0.045 145), oklch(28% 0.07 145))",palette:{family:"success",role:"background"}}}},text:{$type:"color",$value:{colorSpace:"oklch",components:[0.4,0.127,145]},$description:"Foreground color on the soft success surface.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-success-text",public:true,category:"color",cssRecipe:"light-dark(oklch(40% 0.127 145), oklch(88% 0.11 145))",palette:{family:"success",role:"text"}}}},border:{$type:"color",$value:{colorSpace:"oklch",components:[0.8,0.05,145]},$description:"Border color on the soft success surface.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-success-border",public:true,category:"color",cssRecipe:"light-dark(oklch(80% 0.05 145), oklch(45% 0.09 145))",palette:{family:"success",role:"border"}}}},subtle:{$type:"color",$value:{colorSpace:"oklch",components:[0.392,0.05,181]},$description:"Success color moved toward the current text color. Derived in one polarity-aware recipe shared by all four status colors.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-success-subtle",public:true,category:"color",cssRecipe:"oklch( from color-mix(in oklch, var(--cinder-status-success-solid), var(--cinder-text-default) 36%) l min(c, 0.05) h )"}}},muted:{$type:"color",$value:{colorSpace:"oklch",components:[0.67784,0.05,184.6]},$description:"Success color moved toward the current surface. Derived in one polarity-aware recipe shared by all four status colors.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-success-muted",public:true,category:"color",cssRecipe:"oklch( from color-mix(in oklch, var(--cinder-status-success-solid), var(--cinder-surface) 36%) l min(c, 0.05) h )"}}}},warning:{background:{$type:"color",$value:{colorSpace:"oklch",components:[0.945,0.042,75]},$description:"Soft warning-tinted surface background.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-warning-background",public:true,category:"color",cssRecipe:"light-dark(oklch(94.5% 0.042 75), oklch(28% 0.06 75))",palette:{family:"warning",role:"background"}}}},text:{$type:"color",$value:{colorSpace:"oklch",components:[0.4,0.085,75]},$description:"Foreground color on the soft warning surface.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-warning-text",public:true,category:"color",cssRecipe:"light-dark(oklch(40% 0.085 75), oklch(90% 0.08 75))",palette:{family:"warning",role:"text"}}}},border:{$type:"color",$value:{colorSpace:"oklch",components:[0.8,0.06,75]},$description:"Border color on the soft warning surface.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-warning-border",public:true,category:"color",cssRecipe:"light-dark(oklch(80% 0.06 75), oklch(50% 0.1 75))",palette:{family:"warning",role:"border"}}}},subtle:{$type:"color",$value:{colorSpace:"oklch",components:[0.4176,0.05,136.2]},$description:"Warning color moved toward the current text color. Derived in one polarity-aware recipe shared by all four status colors.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-warning-subtle",public:true,category:"color",cssRecipe:"oklch( from color-mix(in oklch, var(--cinder-status-warning-solid), var(--cinder-text-default) 36%) l min(c, 0.05) h )"}}},muted:{$type:"color",$value:{colorSpace:"oklch",components:[0.70344,0.05,139.8]},$description:"Warning color moved toward the current surface. Derived in one polarity-aware recipe shared by all four status colors.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-warning-muted",public:true,category:"color",cssRecipe:"oklch( from color-mix(in oklch, var(--cinder-status-warning-solid), var(--cinder-surface) 36%) l min(c, 0.05) h )"}}}},neutral:{background:{$type:"color",$value:{colorSpace:"oklch",components:[0.945,0.004,255]},$description:"Soft neutral-tinted surface background. Neutral retains the status-triple shape so components never need ad hoc surface mixing for the default variant.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-neutral-background",public:true,category:"color",cssRecipe:"light-dark(oklch(94.5% 0.004 255), oklch(28% 0.04 245))",palette:{family:"neutral",role:"status-neutral-background"}}}},text:{$type:"color",$value:"{text.default}",$description:"Foreground color on the soft neutral surface.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-neutral-text",public:true,category:"color",cssRecipe:null}}},border:{$type:"color",$value:"{border.control}",$description:"Border color on the soft neutral surface.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-neutral-border",public:true,category:"color",cssRecipe:null}}}},danger:{background:{$type:"color",$value:{colorSpace:"oklch",components:[0.945,0.026,25]},$description:"Soft danger-tinted surface background.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-danger-background",public:true,category:"color",cssRecipe:"light-dark(oklch(94.5% 0.026 25), oklch(28% 0.09 25))",palette:{family:"danger",role:"background"}}}},text:{$type:"color",$value:{colorSpace:"oklch",components:[0.42,0.16,25]},$description:"Foreground color on the soft danger surface.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-danger-text",public:true,category:"color",cssRecipe:"light-dark(oklch(42% 0.16 25), oklch(90% 0.05 25))",palette:{family:"danger",role:"text"}}}},border:{$type:"color",$value:{colorSpace:"oklch",components:[0.8,0.06,25]},$description:"Border color on the soft danger surface.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-danger-border",public:true,category:"color",cssRecipe:"light-dark(oklch(80% 0.06 25), oklch(50% 0.11 25))",palette:{family:"danger",role:"border"}}}},subtle:{$type:"color",$value:{colorSpace:"oklch",components:[0.392,0.05,334.6]},$description:"Danger color moved toward the current text color. Derived in one polarity-aware recipe shared by all four status colors.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-danger-subtle",public:true,category:"color",cssRecipe:"oklch( from color-mix(in oklch, var(--cinder-status-danger-solid), var(--cinder-text-default) 36%) l min(c, 0.05) h )"}}},muted:{$type:"color",$value:{colorSpace:"oklch",components:[0.67784,0.05,338.2]},$description:"Danger color moved toward the current surface. Derived in one polarity-aware recipe shared by all four status colors.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-danger-muted",public:true,category:"color",cssRecipe:"oklch( from color-mix(in oklch, var(--cinder-status-danger-solid), var(--cinder-surface) 36%) l min(c, 0.05) h )"}}}},info:{background:{$type:"color",$value:{colorSpace:"oklch",components:[0.945,0.03,230]},$description:"Soft info-tinted surface background.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-info-background",public:true,category:"color",cssRecipe:"light-dark(oklch(94.5% 0.03 230), oklch(28% 0.057 230))",palette:{family:"info",role:"background"}}}},text:{$type:"color",$value:{colorSpace:"oklch",components:[0.4,0.079,230]},$description:"Foreground color on the soft info surface.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-info-text",public:true,category:"color",cssRecipe:"light-dark(oklch(40% 0.079 230), oklch(88% 0.071 230))",palette:{family:"info",role:"text"}}}},border:{$type:"color",$value:{colorSpace:"oklch",components:[0.8,0.05,230]},$description:"Border color on the soft info surface.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-info-border",public:true,category:"color",cssRecipe:"light-dark(oklch(80% 0.05 230), oklch(45% 0.08 230))",palette:{family:"info",role:"border"}}}},subtle:{$type:"color",$value:{colorSpace:"oklch",components:[0.392,0.05,235.4]},$description:"Info color moved toward the current text color. Derived in one polarity-aware recipe shared by all four status colors.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-info-subtle",public:true,category:"color",cssRecipe:"oklch( from color-mix(in oklch, var(--cinder-status-info-solid), var(--cinder-text-default) 36%) l min(c, 0.05) h )"}}},muted:{$type:"color",$value:{colorSpace:"oklch",components:[0.67784,0.05,239]},$description:"Info color moved toward the current surface. Derived in one polarity-aware recipe shared by all four status colors.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-info-muted",public:true,category:"color",cssRecipe:"oklch( from color-mix(in oklch, var(--cinder-status-info-solid), var(--cinder-surface) 36%) l min(c, 0.05) h )"}}}}},accent:{background:{$type:"color",$value:{colorSpace:"oklch",components:[0.93472,0.02816,256.8]},$description:"Soft accent-tinted background, mixed 88% toward the current surface.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-accent-background",public:true,category:"color",cssRecipe:"color-mix(in oklch, var(--cinder-accent-solid), var(--cinder-surface) 88%)"}}},border:{$type:"color",$value:{colorSpace:"oklch",components:[0.5,0.22,270],alpha:0.4},$description:"Soft accent-tinted border, the accent color mixed 60% toward transparent.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-accent-border",public:true,category:"color",cssRecipe:"color-mix(in oklch, var(--cinder-accent-solid), transparent 60%)"}}}},checker:{base:{$type:"color",$value:{colorSpace:"srgb",components:[1,1,1],hex:"#ffffff"},$description:"Transparency checkerboard base tile, shared by color-domain components. Light mode preserves the historical white/gray grid; dark mode keeps the pattern visible without flashing a white backing inside dark chrome.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-checker-base",public:true,category:"color",cssRecipe:"light-dark(#fff, oklch(28% 0.02 245))"}}},tile:{$type:"color",$value:{colorSpace:"srgb",components:[0.8,0.8,0.8],hex:"#cccccc"},$description:"Transparency checkerboard alternate tile.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-checker-tile",public:true,category:"color",cssRecipe:"light-dark(#ccc, oklch(38% 0.02 245))"}}}}};var components_tokens_default={$schema:"https://www.designtokens.org/schemas/2025.10/format.json",button:{$description:"Button component tokens. Most values alias shared foundation/semantic tokens (kept here, per component, for discoverability and ownership reporting); the height ladder is genuinely Button-owned, using its own tighter Tailwind-style scale instead of the shared `control.height.*` tier (per-component height tokens alias the shared family where the values happen to match, as `height.xs` does here).",background:{$type:"color",$value:"{surface.raised}",$description:"Secondary (default) button fill.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-button-background",public:true,category:"color",component:"button",cssRecipe:null}}},foreground:{$type:"color",$value:"{text.default}",$description:"Secondary (default) button label color.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-button-foreground",public:true,category:"color",component:"button",cssRecipe:null}}},border:{$type:"color",$value:{colorSpace:"oklch",components:[0.63,0.006,255]},$description:"Secondary (default) button border.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-button-border",public:true,category:"color",component:"button",cssRecipe:"light-dark(var(--cinder-border), var(--cinder-border-strong))"}}},radius:{$type:"dimension",$root:{$value:"{radius.medium}",$description:"Default button corner radius.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-button-radius",public:true,category:"radius",component:"button",cssRecipe:null}}},xs:{$value:"{radius.small}",$description:"Extra-small button corner radius.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-button-radius-xs",public:true,category:"radius",component:"button",cssRecipe:null}}},sm:{$value:"{radius.small}",$description:"Small button corner radius.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-button-radius-sm",public:true,category:"radius",component:"button",cssRecipe:null}}},md:{$value:"{radius.medium}",$description:"Medium button corner radius.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-button-radius-md",public:true,category:"radius",component:"button",cssRecipe:null}}},lg:{$value:"{radius.medium}",$description:"Large button corner radius.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-button-radius-lg",public:true,category:"radius",component:"button",cssRecipe:null}}},xl:{$value:"{radius.medium}",$description:"Extra-large button corner radius.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-button-radius-xl",public:true,category:"radius",component:"button",cssRecipe:null}}}},height:{$type:"dimension",$description:"Button's own tighter Tailwind-style height ladder, distinct from the shared `control.height.*` tier.",xs:{$value:"{control.height.xs}",$description:"Extra-small button height (24px), aliasing the shared control-height tier.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-button-height-xs",public:true,category:"size",component:"button",cssRecipe:null}}},sm:{$value:{value:1.75,unit:"rem"},$description:"Small button height (28px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-button-height-sm",public:true,category:"size",component:"button",cssRecipe:null}}},md:{$value:{value:2,unit:"rem"},$description:"Medium button height (32px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-button-height-md",public:true,category:"size",component:"button",cssRecipe:null}}},lg:{$value:{value:2.25,unit:"rem"},$description:"Large button height (36px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-button-height-lg",public:true,category:"size",component:"button",cssRecipe:null}}},xl:{$value:{value:2.5,unit:"rem"},$description:"Extra-large button height (40px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-button-height-xl",public:true,category:"size",component:"button",cssRecipe:null}}}},padding:{$type:"dimension",x:{xs:{$value:"{space.1-5}",$description:"Extra-small button horizontal padding.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-button-padding-x-xs",public:true,category:"spacing",component:"button",cssRecipe:null}}},sm:{$value:"{space.2}",$description:"Small button horizontal padding.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-button-padding-x-sm",public:true,category:"spacing",component:"button",cssRecipe:null}}},md:{$value:"{space.2-5}",$description:"Medium button horizontal padding.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-button-padding-x-md",public:true,category:"spacing",component:"button",cssRecipe:null}}},lg:{$value:"{space.3}",$description:"Large button horizontal padding.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-button-padding-x-lg",public:true,category:"spacing",component:"button",cssRecipe:null}}},xl:{$value:"{space.3-5}",$description:"Extra-large button horizontal padding.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-button-padding-x-xl",public:true,category:"spacing",component:"button",cssRecipe:null}}}},y:{xs:{$value:"{space.0-5}",$description:"Extra-small button vertical padding.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-button-padding-y-xs",public:true,category:"spacing",component:"button",cssRecipe:null}}},sm:{$value:"{space.one}",$description:"Small button vertical padding.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-button-padding-y-sm",public:true,category:"spacing",component:"button",cssRecipe:null}}},md:{$value:"{space.1-5}",$description:"Medium button vertical padding.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-button-padding-y-md",public:true,category:"spacing",component:"button",cssRecipe:null}}},lg:{$value:"{space.2}",$description:"Large button vertical padding.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-button-padding-y-lg",public:true,category:"spacing",component:"button",cssRecipe:null}}},xl:{$value:"{space.2-5}",$description:"Extra-large button vertical padding.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-button-padding-y-xl",public:true,category:"spacing",component:"button",cssRecipe:null}}}}},font:{size:{$type:"dimension",xs:{$value:"{font.size.xs}",$description:"Extra-small button label font size.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-button-font-size-xs",public:true,category:"typography",component:"button",cssRecipe:null}}},sm:{$value:"{font.size.sm}",$description:"Small button label font size.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-button-font-size-sm",public:true,category:"typography",component:"button",cssRecipe:null}}},md:{$value:"{font.size.sm}",$description:"Medium button label font size.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-button-font-size-md",public:true,category:"typography",component:"button",cssRecipe:null}}},lg:{$value:"{font.size.md}",$description:"Large button label font size.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-button-font-size-lg",public:true,category:"typography",component:"button",cssRecipe:null}}},xl:{$value:"{font.size.lg}",$description:"Extra-large button label font size.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-button-font-size-xl",public:true,category:"typography",component:"button",cssRecipe:null}}}}}},toggle:{$type:"color",$description:"Toggle-track tokens. Single-consumer (toggle.css); encode the dark-arm contrast improvement here so toggle.css uses only var() references and stays theme-guard clean.",track:{"off-resting":{$value:{colorSpace:"oklch",components:[0.85,0.004,255]},$description:"Toggle track color in the off, resting state. Light arm preserves the `border.muted` look; dark arm raises lightness for >=3:1 shape contrast against the surface.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-toggle-track-off-resting",public:true,category:"color",component:"toggle",cssRecipe:"light-dark(var(--cinder-border-muted), oklch(45% 0.02 245))"}}},"off-hover-resting":{$value:{colorSpace:"oklch",components:[0.63,0.006,255]},$description:"Toggle track color in the off state on hover. Steps up from `off-resting` to be distinguishable.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-toggle-track-off-hover-resting",public:true,category:"color",component:"toggle",cssRecipe:"light-dark(var(--cinder-border), oklch(52% 0.02 245))"}}}}},"accordion-item":{$description:"AccordionItem trigger and panel tokens.",trigger:{gap:{$type:"dimension",$value:"{space.4}",$description:"Gap between the trigger's disclosure icon and label.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-accordion-item-trigger-gap",public:true,category:"spacing",component:"accordion-item",cssRecipe:null}}},"padding-block":{$type:"dimension",$value:"{space.4}",$description:"Trigger block padding.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-accordion-item-trigger-padding-block",public:true,category:"spacing",component:"accordion-item",cssRecipe:null}}},"padding-inline":{$type:"dimension",$value:"{space.5}",$description:"Trigger inline padding.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-accordion-item-trigger-padding-inline",public:true,category:"spacing",component:"accordion-item",cssRecipe:null}}},"font-size":{$type:"dimension",$value:"{font.size.base}",$description:"Trigger label font size.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-accordion-item-trigger-font-size",public:true,category:"typography",component:"accordion-item",cssRecipe:null}}},"font-weight":{$type:"fontWeight",$value:"{font.semibold}",$description:"Trigger label font weight.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-accordion-item-trigger-font-weight",public:true,category:"typography",component:"accordion-item",cssRecipe:null}}}},panel:{"inner-padding-block-start":{$type:"dimension",$value:"{space.4}",$description:"Panel content padding, block-start edge.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-accordion-item-panel-inner-padding-block-start",public:true,category:"spacing",component:"accordion-item",cssRecipe:null}}},"inner-padding-block-end":{$type:"dimension",$value:"{space.5}",$description:"Panel content padding, block-end edge.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-accordion-item-panel-inner-padding-block-end",public:true,category:"spacing",component:"accordion-item",cssRecipe:null}}},"inner-padding-inline":{$type:"dimension",$value:"{space.5}",$description:"Panel content inline padding.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-accordion-item-panel-inner-padding-inline",public:true,category:"spacing",component:"accordion-item",cssRecipe:null}}},"font-size":{$type:"dimension",$value:"{font.size.base}",$description:"Panel content font size.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-accordion-item-panel-font-size",public:true,category:"typography",component:"accordion-item",cssRecipe:null}}},"line-height":{$type:"number",$value:"{leading.normal}",$description:"Panel content line height.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-accordion-item-panel-line-height",public:true,category:"typography",component:"accordion-item",cssRecipe:null}}}}},"action-row":{$description:"ActionRow default (non-condensed) density tokens. `[data-cinder-density='condensed']` overrides padding-block/padding-inline locally in action-row.css; that variant is a component-owned density state, not a separate corpus token.","padding-block":{$type:"dimension",$value:"{space.3}",$description:"Row block padding (default density).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-action-row-padding-block",public:true,category:"spacing",component:"action-row",cssRecipe:null}}},"padding-inline":{$type:"dimension",$value:"{space.4}",$description:"Row inline padding (default density).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-action-row-padding-inline",public:true,category:"spacing",component:"action-row",cssRecipe:null}}},layout:{"column-gap":{$type:"dimension",$value:"{space.3}",$description:"Grid column gap between leading/body/trailing regions.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-action-row-layout-column-gap",public:true,category:"spacing",component:"action-row",cssRecipe:null}}},"row-gap":{$type:"dimension",$value:"{space.2}",$description:"Grid row gap between leading/body/trailing regions.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-action-row-layout-row-gap",public:true,category:"spacing",component:"action-row",cssRecipe:null}}}},"body-gap":{$type:"dimension",$value:"{space.one}",$description:"Gap between title, description, and meta lines.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-action-row-body-gap",public:true,category:"spacing",component:"action-row",cssRecipe:null}}},"title-font-size":{$type:"dimension",$value:"{font.size.sm}",$description:"Title font size.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-action-row-title-font-size",public:true,category:"typography",component:"action-row",cssRecipe:null}}},"description-font-size":{$type:"dimension",$value:"{font.size.sm}",$description:"Description font size.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-action-row-description-font-size",public:true,category:"typography",component:"action-row",cssRecipe:null}}},"meta-font-size":{$type:"dimension",$value:"{font.size.xs}",$description:"Meta line font size.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-action-row-meta-font-size",public:true,category:"typography",component:"action-row",cssRecipe:null}}},"trailing-gap":{$type:"dimension",$value:"{space.2}",$description:"Gap between items in the trailing region.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-action-row-trailing-gap",public:true,category:"spacing",component:"action-row",cssRecipe:null}}}},alert:{info:{$type:"color",$value:{colorSpace:"oklch",components:[0.45,0.14,245]},$description:"Alert `info` tone ring/status-base color, single-consumer (alert.css); encodes the light/dark pair directly here so alert.css stays var()-only.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-alert-info",public:true,category:"color",component:"alert",cssRecipe:"light-dark(oklch(45% 0.14 245), oklch(78% 0.15 245))"}}}},"avatar-group":{overlap:{$type:"dimension",$value:"{space.3}",$description:"Horizontal overlap between stacked avatars.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-avatar-group-overlap",public:true,category:"spacing",component:"avatar-group",cssRecipe:null}}}},card:{"mobile-bleed":{$type:"dimension",$value:"{space.4}",$description:"Horizontal bleed a card's mobile layout extends past its container on each side.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-card-mobile-bleed",public:true,category:"spacing",component:"card",cssRecipe:null}}}},carousel:{$description:"Carousel layout tokens. `slide-size` and `aspect-ratio` have no DTCG-representable dimension shape (a bare percentage and a ratio, not a `{value, unit}` pair) -- `$value` is a nominal numeric placeholder; `cssRecipe` is authoritative for emission. Flagged in the CIN-472 PR body.","slide-size":{$type:"number",$value:100,$description:"Slide inline-size as a percentage of the viewport. `$value` (100) is the percentage number, not a dimension -- CSS `100%` has no DTCG dimension representation. Excluded from the published resolved-context JSON (`nonRepresentableValue`) so a generic consumer does not apply a bare unitless `100` as a CSS length.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-carousel-slide-size",public:true,category:"layout",component:"carousel",nonRepresentableValue:true,cssRecipe:"100%"}}},gap:{$type:"dimension",$value:"{space.3}",$description:"Gap between slides.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-carousel-gap",public:true,category:"spacing",component:"carousel",cssRecipe:null}}},"aspect-ratio":{$type:"number",$value:1.7778,$description:"Slide aspect ratio (16:9). `$value` is the ratio as a number (16/9); `cssRecipe` emits the exact `16 / 9` CSS `aspect-ratio` syntax. Excluded from the published resolved-context JSON (`nonRepresentableValue`) so a generic consumer does not apply the bare ratio number as a CSS `aspect-ratio` value.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-carousel-aspect-ratio",public:true,category:"layout",component:"carousel",nonRepresentableValue:true,cssRecipe:"16 / 9"}}},"dot-size":{$type:"dimension",$value:{value:2.75,unit:"rem"},$description:"Pagination dot hit-target size.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-carousel-dot-size",public:true,category:"size",component:"carousel",cssRecipe:null}}}},"code-block":{background:{$type:"color",$value:"{surface.raised}",$description:"Code surface background. Light arm MUST stay pure `surface-raised` (not `surface-inset`) -- Shiki's github-light token colors measure their AA contrast against that surface with almost no margin; darkening it fails the axe sweep. See code-block.css for the full rationale. Dark arm uses `surface-inset` for the deeper github-dark ground.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-code-block-background",public:true,category:"color",component:"code-block",cssRecipe:"light-dark(var(--cinder-surface-raised), var(--cinder-surface-inset))"}}},"font-size":{$type:"dimension",$value:"{font.size.sm}",$description:"Code text font size.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-code-block-font-size",public:true,category:"typography",component:"code-block",cssRecipe:null}}},height:{$type:"dimension",$value:{value:0,unit:"rem"},$description:"Block height. Real value is CSS `auto` (intrinsic content height); DTCG's dimension type has no keyword form, so `$value` is a non-authoritative placeholder and `cssRecipe` governs emission. Flagged in the CIN-472 PR body as a type-system limitation, not a design decision. Excluded from the published resolved-context JSON (`nonRepresentableValue`) so a generic consumer applying `$value` literally does not collapse the block to zero height.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-code-block-height",public:true,category:"size",component:"code-block",nonRepresentableValue:true,cssRecipe:"auto"}}},"line-height":{$type:"number",$value:"{leading.relaxed}",$description:"Code text line height.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-code-block-line-height",public:true,category:"typography",component:"code-block",cssRecipe:null}}},padding:{$type:"dimension",$value:"{space.4}",$description:"Code viewport padding.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-code-block-padding",public:true,category:"spacing",component:"code-block",cssRecipe:null}}}},"data-table":{height:{$type:"dimension",$value:{value:24,unit:"rem"},$description:"Default scroll-viewport height.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-data-table-height",public:true,category:"size",component:"data-table",cssRecipe:null}}}},"feed-event":{"rail-size":{$type:"dimension",$value:"{space.6}",$description:"Rail marker box size (width and height).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-feed-event-rail-size",public:true,category:"size",component:"feed-event",cssRecipe:null}}}},"file-upload":{background:{$type:"color",$value:"{surface.base}",$description:"Dropzone background.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-file-upload-background",public:true,category:"color",component:"file-upload",cssRecipe:null}}},"border-color":{$type:"color",$value:"{border.control}",$description:"Dropzone border color.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-file-upload-border-color",public:true,category:"color",component:"file-upload",cssRecipe:null}}},progress:{background:{$type:"color",$value:"{surface.inset}",$description:"Progress bar track background.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-file-upload-progress-background",public:true,category:"color",component:"file-upload",cssRecipe:null}}},fill:{$type:"color",$value:"{accent.solid}",$description:"Progress bar fill.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-file-upload-progress-fill",public:true,category:"color",component:"file-upload",cssRecipe:null}}}}},"kanban-board":{$description:"KanbanBoard column and card tokens.",column:{width:{$type:"dimension",$value:{value:18,unit:"rem"},$description:"Column inline-size.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-kanban-column-width",public:true,category:"size",component:"kanban-board",cssRecipe:null}}},gap:{$type:"dimension",$value:"{space.4}",$description:"Gap between columns.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-kanban-column-gap",public:true,category:"spacing",component:"kanban-board",cssRecipe:null}}},background:{$type:"color",$value:"{surface.raised}",$description:"Column background.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-kanban-column-background",public:true,category:"color",component:"kanban-board",cssRecipe:null}}}},card:{background:{$type:"color",$value:"{surface.base}",$description:"Card background.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-kanban-card-background",public:true,category:"color",component:"kanban-board",cssRecipe:null}}}},board:{"scroll-edge":{$type:"color",$value:{colorSpace:"oklch",components:[0.2,0.018,245],alpha:0.12},$description:"Horizontal scroll-edge fade gradient color -- `text-default` at 12% opacity, tracking whichever theme arm resolves.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-kanban-board-scroll-edge",public:true,category:"color",component:"kanban-board",cssRecipe:"color-mix(in oklch, var(--cinder-text-default), transparent 88%)"}}}}},marquee:{$description:"Marquee layout/timing tokens. The play-state channel is not modeled here: it is the component's own hover/focus/manual-pause/ready state wiring, not a theming knob, and was renamed from the public `--cinder-marquee-play-state` to the private `--_cinder-marquee-play-state` (see marquee.css) so its naming honestly reflects that it is internal implementation state, not part of the public token contract.",duration:{$type:"duration",$value:{value:24,unit:"s"},$description:"Default scroll duration for one full loop.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-marquee-duration",public:true,category:"motion",component:"marquee",cssRecipe:null}}},gap:{$type:"dimension",$value:"{space.6}",$description:"Gap between marquee items.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-marquee-gap",public:true,category:"spacing",component:"marquee",cssRecipe:null}}}},modal:{backdrop:{$type:"color",$value:"{overlay.backdrop}",$description:"`::backdrop` fill color override point. A consumer override should target `::backdrop` directly for cross-engine reliability.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-modal-backdrop",public:true,category:"color",component:"modal",cssRecipe:null}}}},"selectable-row":{$description:"SelectableRow default (non-condensed) density tokens. `.cinder-selectable-row--condensed` overrides padding-block/padding-inline locally in selectable-row.css; that variant is a component-owned density state, not a separate corpus token.","padding-block":{$type:"dimension",$value:"{space.3}",$description:"Row block padding (default density).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-selectable-row-padding-block",public:true,category:"spacing",component:"selectable-row",cssRecipe:null}}},"padding-inline":{$type:"dimension",$value:"{space.4}",$description:"Row inline padding (default density).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-selectable-row-padding-inline",public:true,category:"spacing",component:"selectable-row",cssRecipe:null}}},"column-gap":{$type:"dimension",$value:"{space.2}",$description:"Gap between the row's leading/primary/trailing regions.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-selectable-row-column-gap",public:true,category:"spacing",component:"selectable-row",cssRecipe:null}}},"content-gap":{$type:"dimension",$value:"{space.one}",$description:"Gap between primary content lines.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-selectable-row-content-gap",public:true,category:"spacing",component:"selectable-row",cssRecipe:null}}},"leading-gap":{$type:"dimension",$value:"{space.3}",$description:"Gap between the leading control and label.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-selectable-row-leading-gap",public:true,category:"spacing",component:"selectable-row",cssRecipe:null}}},"trailing-actions-gap":{$type:"dimension",$value:"{space.2}",$description:"Gap between trailing action items.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-selectable-row-trailing-actions-gap",public:true,category:"spacing",component:"selectable-row",cssRecipe:null}}}},"side-navigation":{"list-gap":{$type:"dimension",$value:"{space.one}",$description:"Gap between top-level navigation items.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-side-navigation-list-gap",public:true,category:"spacing",component:"side-navigation",cssRecipe:null}}}},spinner:{$description:"Spinner default (unsized, `md`) tokens. `[data-cinder-size='sm'|'md'|'lg']` locally override `size` per variant in spinner.css, the same way Button's own height ladder is component-owned rather than aliased to the shared `control.height.*` tier.",indicator:{$type:"color",$value:"{text.default}",$description:"Spinner arc color. Default is `currentColor` (inherits from context); the reduced-motion static state re-asserts the same track-color fallback explicitly. `$value` aliases `text.default` as the closest resolvable stand-in for `currentColor`'s typical resolution. Excluded from the published resolved-context JSON (`nonRepresentableValue`) so a generic consumer does not apply this fixed color in place of the real, context-inheriting `currentColor`.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-spinner-indicator",public:true,category:"color",component:"spinner",nonRepresentableValue:true,cssRecipe:"currentColor"}}},size:{$type:"dimension",$value:{value:1.5,unit:"rem"},$description:"Spinner diameter (md default; 24px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-spinner-size",public:true,category:"size",component:"spinner",cssRecipe:null}}}},statistic:{"row-gap":{$type:"dimension",$value:"{space.one}",$description:"Gap between label/value/change rows.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-statistic-row-gap",public:true,category:"spacing",component:"statistic",cssRecipe:null}}},"column-gap":{$type:"dimension",$value:"{space.3}",$description:"Gap between statistic columns when laid out inline.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-statistic-column-gap",public:true,category:"spacing",component:"statistic",cssRecipe:null}}},"label-font-size":{$type:"dimension",$value:"{font.size.sm}",$description:"Label font size.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-statistic-label-font-size",public:true,category:"typography",component:"statistic",cssRecipe:null}}},value:{"font-size":{$type:"dimension",$value:"{font.size.4xl}",$description:"Value font size.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-statistic-value-font-size",public:true,category:"typography",component:"statistic",cssRecipe:null}}},"font-weight":{$type:"fontWeight",$value:"{font.semibold}",$description:"Value font weight.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-statistic-value-font-weight",public:true,category:"typography",component:"statistic",cssRecipe:null}}},"line-height":{$type:"number",$value:1.1,$description:"Value line height (unitless).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-statistic-value-line-height",public:true,category:"typography",component:"statistic",cssRecipe:null}}}},change:{gap:{$type:"dimension",$value:"{space.one}",$description:"Gap between the change indicator icon and its label.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-statistic-change-gap",public:true,category:"spacing",component:"statistic",cssRecipe:null}}},"font-size":{$type:"dimension",$value:"{font.size.sm}",$description:"Change indicator font size.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-statistic-change-font-size",public:true,category:"typography",component:"statistic",cssRecipe:null}}}}},"statistic-group":{$description:"StatisticGroup default (card layout) tokens. The shared-border layout mode overrides `gap` to `1px` locally in statistic-group.css to create hairline dividers between cells; that variant is a component-owned layout mode, not a separate corpus token.",gap:{$type:"dimension",$value:"{space.4}",$description:"Gap between statistic cards.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-statistic-group-gap",public:true,category:"spacing",component:"statistic-group",cssRecipe:null}}},"card-padding":{$type:"dimension",$value:"{space.4}",$description:"Padding inside each statistic card.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-statistic-group-card-padding",public:true,category:"spacing",component:"statistic-group",cssRecipe:null}}},"shared-cell-padding":{$type:"dimension",$value:"{space.4}",$description:"Padding inside each cell in the shared-border layout mode.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-statistic-group-shared-cell-padding",public:true,category:"spacing",component:"statistic-group",cssRecipe:null}}}},"status-dot":{$description:"StatusDot default (unstatused, `md`) tokens. `[data-cinder-status='*']` and `[data-cinder-size='sm'|'md']` locally override `color`/`size` per variant in status-dot.css -- component-owned state, not separate corpus tokens.",color:{$type:"color",$value:"{text.muted}",$description:"Dot fill color (default, no status set).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-dot-color",public:true,category:"color",component:"status-dot",cssRecipe:null}}},size:{$type:"dimension",$value:{value:0.625,unit:"rem"},$description:"Dot diameter (md default; 10px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-dot-size",public:true,category:"size",component:"status-dot",cssRecipe:null}}}},"table-of-contents":{link:{color:{$type:"color",$value:"{text.muted}",$description:"Inactive link color.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-table-of-contents-link-color",public:true,category:"color",component:"table-of-contents",cssRecipe:null}}},"active-color":{$type:"color",$value:"{text.default}",$description:"Active link color.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-table-of-contents-link-active-color",public:true,category:"color",component:"table-of-contents",cssRecipe:null}}},"indent-step":{$type:"dimension",$value:"{space.3}",$description:"Indent added per heading-depth level.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-table-of-contents-link-indent-step",public:true,category:"spacing",component:"table-of-contents",cssRecipe:null}}}}},tree:{$description:"Tree drag-and-drop indicator tokens. `drop-line-color` switches to the `Highlight` system color under `forced-colors: active` -- a standard accessibility fallback kept local to tree.css, not a separate corpus token.","drop-line-color":{$type:"color",$value:"{accent.solid}",$description:"Drop-target indicator line/ring color.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-tree-drop-line-color",public:true,category:"color",component:"tree",cssRecipe:null}}},"drop-line-thickness":{$type:"dimension",$value:{value:2,unit:"px"},$description:"Drop-target indicator line thickness.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-tree-drop-line-thickness",public:true,category:"size",component:"tree",cssRecipe:null}}},"item-dragging-opacity":{$type:"number",$value:0.55,$description:"Opacity of an item's row while being dragged.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-tree-item-dragging-opacity",public:true,category:"opacity",component:"tree",cssRecipe:null}}}},"virtual-list":{height:{$type:"dimension",$value:{value:20,unit:"rem"},$description:"Default scroll-viewport height.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-virtual-list-height",public:true,category:"size",component:"virtual-list",cssRecipe:null}}}}};var foundation_tokens_default={$schema:"https://www.designtokens.org/schemas/2025.10/format.json",space:{$type:"dimension","0":{$value:{value:0,unit:"rem"},$description:"Zero spacing step, used to explicitly reset a spacing property.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-space-0",public:true,category:"spacing",scale:"spacing",cssRecipe:null}}},"0-5":{$value:{value:0.125,unit:"rem"},$description:"Spacing scale half-step between 0 and 1 (2px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-space-0-5",public:true,category:"spacing",scale:"spacing",cssRecipe:null}}},one:{$value:{value:0.25,unit:"rem"},$description:"Base spacing increment.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-space-1",public:true,category:"spacing",scale:"spacing",cssRecipe:null}}},"1-5":{$value:{value:0.375,unit:"rem"},$description:"Spacing scale half-step between 1 and 2 (6px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-space-1-5",public:true,category:"spacing",scale:"spacing",cssRecipe:null}}},"2":{$value:{value:0.5,unit:"rem"},$description:"Spacing scale step (8px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-space-2",public:true,category:"spacing",scale:"spacing",cssRecipe:null}}},"2-5":{$value:{value:0.625,unit:"rem"},$description:"Spacing scale half-step between 2 and 3 (10px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-space-2-5",public:true,category:"spacing",scale:"spacing",cssRecipe:null}}},"3":{$value:{value:0.75,unit:"rem"},$description:"Spacing scale step (12px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-space-3",public:true,category:"spacing",scale:"spacing",cssRecipe:null}}},"3-5":{$value:{value:0.875,unit:"rem"},$description:"Spacing scale half-step between 3 and 4 (14px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-space-3-5",public:true,category:"spacing",scale:"spacing",cssRecipe:null}}},"4":{$value:{value:1,unit:"rem"},$description:"Spacing scale step (16px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-space-4",public:true,category:"spacing",scale:"spacing",cssRecipe:null}}},"5":{$value:{value:1.25,unit:"rem"},$description:"Spacing scale step (20px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-space-5",public:true,category:"spacing",scale:"spacing",cssRecipe:null}}},"6":{$value:{value:1.5,unit:"rem"},$description:"Spacing scale step (24px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-space-6",public:true,category:"spacing",scale:"spacing",cssRecipe:null}}},"7":{$value:{value:1.75,unit:"rem"},$description:"Spacing scale step (28px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-space-7",public:true,category:"spacing",scale:"spacing",cssRecipe:null}}},"8":{$value:{value:2,unit:"rem"},$description:"Spacing scale step (32px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-space-8",public:true,category:"spacing",scale:"spacing",cssRecipe:null}}},"10":{$value:{value:2.5,unit:"rem"},$description:"Spacing scale step (40px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-space-10",public:true,category:"spacing",scale:"spacing",cssRecipe:null}}},"12":{$value:{value:3,unit:"rem"},$description:"Spacing scale step (48px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-space-12",public:true,category:"spacing",scale:"spacing",cssRecipe:null}}},"16":{$value:{value:4,unit:"rem"},$description:"Spacing scale step (64px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-space-16",public:true,category:"spacing",scale:"spacing",cssRecipe:null}}},"20":{$value:{value:5,unit:"rem"},$description:"Spacing scale step (80px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-space-20",public:true,category:"spacing",scale:"spacing",cssRecipe:null}}},"24":{$value:{value:6,unit:"rem"},$description:"Spacing scale step (96px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-space-24",public:true,category:"spacing",scale:"spacing",cssRecipe:null}}},"32":{$value:{value:8,unit:"rem"},$description:"Spacing scale step (128px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-space-32",public:true,category:"spacing",scale:"spacing",cssRecipe:null}}}},radius:{$type:"dimension",$description:"6 / 8 / 12px corner radii. A previous pass stepped the whole scale down to 4/6/8 on the theory that rounding compounds when controls nest — it does, but the fix for a bubbly nested corner is the concentric nesting rule, not shrinking every radius: at 4/6/8, large panels (code blocks, cards, dialogs) read as hard-cornered plates, since a radius proportionate on a 28px button is nearly invisible on a 600px panel. An inner element inset by N inside a rounded container is concentric only at `outer - N`; express the inner radius as `calc(var(--cinder-radius-<outer>) - <inset>)` so it tracks the outer token instead of drifting.",small:{$value:{value:0.375,unit:"rem"},$description:"Compact control corner radius (6px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-radius-sm",public:true,category:"radius",scale:"radius",cssRecipe:null}}},medium:{$value:{value:0.5,unit:"rem"},$description:"Default control corner radius.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-radius-md",public:true,category:"radius",scale:"radius",cssRecipe:null}}},large:{$value:{value:0.75,unit:"rem"},$description:"Surface-level corner radius for cards, dialogs, and other large panels (12px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-radius-lg",public:true,category:"radius",scale:"radius",cssRecipe:null}}},full:{$value:{value:9999,unit:"px"},$description:"Fully rounded corner radius for pills and circular controls.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-radius-full",public:true,category:"radius",scale:"radius",cssRecipe:null}}}},shadow:{$type:"shadow",$description:"Elevation shadows. Each color argument is wrapped in `light-dark()` individually so dark mode paints a light-neutral elevation instead of invisible black-on-dark; within any one token the offsets, blur radii, and spread radii are identical across the light and dark arms, only the color/alpha branches differ per theme.",small:{$value:[{color:{colorSpace:"oklch",components:[0,0,0],alpha:0.1},offsetX:{value:0,unit:"px"},offsetY:{value:1,unit:"px"},blur:{value:2,unit:"px"},spread:{value:0,unit:"px"}},{color:{colorSpace:"oklch",components:[0,0,0],alpha:0.06},offsetX:{value:0,unit:"px"},offsetY:{value:1,unit:"px"},blur:{value:1,unit:"px"},spread:{value:0,unit:"px"}}],$description:"Hairline elevation for barely-raised surfaces. Gained a second hairline layer and higher alphas in this refinement pass (light 0.08 -> 0.1 plus a new 0.06 layer; dark 0.06 -> 0.09 plus a new 0.05 layer) for deeper, crisper elevation. Light and dark themes carry distinct explicit values (see the theme modifier documents) alongside this `light-dark()` recipe.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-shadow-sm",public:true,category:"shadow",cssRecipe:"0 1px 2px light-dark(oklch(0% 0 0 / 0.1), oklch(100% 0 0 / 0.09)), 0 1px 1px light-dark(oklch(0% 0 0 / 0.06), oklch(100% 0 0 / 0.05))"}}},medium:{$value:[{color:{colorSpace:"oklch",components:[0,0,0],alpha:0.12},offsetX:{value:0,unit:"px"},offsetY:{value:4,unit:"px"},blur:{value:6,unit:"px"},spread:{value:-1,unit:"px"}},{color:{colorSpace:"oklch",components:[0,0,0],alpha:0.1},offsetX:{value:0,unit:"px"},offsetY:{value:2,unit:"px"},blur:{value:4,unit:"px"},spread:{value:-2,unit:"px"}}],$description:"Mid elevation for raised surfaces such as popovers.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-shadow-md",public:true,category:"shadow",cssRecipe:"0 4px 6px -1px light-dark(oklch(0% 0 0 / 0.12), oklch(100% 0 0 / 0.09)), 0 2px 4px -2px light-dark(oklch(0% 0 0 / 0.1), oklch(100% 0 0 / 0.06))"}}},large:{$value:[{color:{colorSpace:"oklch",components:[0,0,0],alpha:0.14},offsetX:{value:0,unit:"px"},offsetY:{value:10,unit:"px"},blur:{value:15,unit:"px"},spread:{value:-3,unit:"px"}},{color:{colorSpace:"oklch",components:[0,0,0],alpha:0.12},offsetX:{value:0,unit:"px"},offsetY:{value:4,unit:"px"},blur:{value:6,unit:"px"},spread:{value:-4,unit:"px"}}],$description:"High elevation for dialogs and drawers.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-shadow-lg",public:true,category:"shadow",cssRecipe:"0 10px 15px -3px light-dark(oklch(0% 0 0 / 0.14), oklch(100% 0 0 / 0.11)), 0 4px 6px -4px light-dark(oklch(0% 0 0 / 0.12), oklch(100% 0 0 / 0.07))"}}},overlay:{$value:[{color:{colorSpace:"oklch",components:[0,0,0],alpha:0.14},offsetX:{value:0,unit:"px"},offsetY:{value:10,unit:"px"},blur:{value:15,unit:"px"},spread:{value:-3,unit:"px"}},{color:{colorSpace:"oklch",components:[0,0,0],alpha:0.12},offsetX:{value:0,unit:"px"},offsetY:{value:4,unit:"px"},blur:{value:6,unit:"px"},spread:{value:-4,unit:"px"}}],$description:"Elevation for modal/drawer overlay panels. Dark mode uses a stronger black shadow rather than the light-neutral lift the other tiers use, since overlay panels sit above a dimmed backdrop rather than page content.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-shadow-overlay",public:true,category:"shadow",cssRecipe:"0 10px 15px -3px light-dark(oklch(0% 0 0 / 0.14), oklch(0% 0 0 / 0.45)), 0 4px 6px -4px light-dark(oklch(0% 0 0 / 0.12), oklch(0% 0 0 / 0.32))"}}}},control:{height:{$type:"dimension",$description:"Shared height tier for any interactive control that needs to align with its siblings in a toolbar, button group, or form row. Adoption is opt-in per component; Buttons use their own tighter height ladder (see `button.height.*`).",xs:{$value:{value:1.5,unit:"rem"},$description:"Extra-small control height (24px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-control-height-xs",public:true,category:"size",cssRecipe:null}}},sm:{$value:{value:2,unit:"rem"},$description:"Small control height; the toolbar default (32px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-control-height-sm",public:true,category:"size",cssRecipe:null}}},lg:{$value:{value:2.75,unit:"rem"},$description:"Large control height; clears the WCAG AAA touch target (44px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-control-height-lg",public:true,category:"size",cssRecipe:null}}}}},font:{sans:{$type:"fontFamily",$value:["system-ui","-apple-system","BlinkMacSystemFont","Segoe UI","Roboto","Helvetica Neue","sans-serif"],$description:"Default UI font stack.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-font-sans",public:true,category:"typography",cssRecipe:null}}},mono:{$type:"fontFamily",$value:["ui-monospace","SFMono-Regular","SF Mono","Menlo","Consolas","Liberation Mono","monospace"],$description:"Monospace font stack for code surfaces.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-font-mono",public:true,category:"typography",cssRecipe:null}}},normal:{$type:"fontWeight",$value:400,$description:"Normal font weight.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-font-normal",public:true,category:"typography",cssRecipe:null}}},medium:{$type:"fontWeight",$value:500,$description:"Medium font weight.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-font-medium",public:true,category:"typography",cssRecipe:null}}},semibold:{$type:"fontWeight",$value:600,$description:"Semibold font weight.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-font-semibold",public:true,category:"typography",cssRecipe:null}}},bold:{$type:"fontWeight",$value:700,$description:"Bold font weight.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-font-bold",public:true,category:"typography",cssRecipe:null}}},size:{$type:"dimension",$description:"Font-size scale. Named `font.size.*` in the DTCG corpus rather than `text.*` because the CSS property prefix `--cinder-text-*` would otherwise collide with the `text.default` semantic color role (`--cinder-text-default`, `--cinder-text-muted`, ...); `cssProperty` still preserves the real `--cinder-text-*` name.","2xs":{$value:{value:0.6875,unit:"rem"},$description:"Smallest font size (11px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-text-2xs",public:true,category:"typography",cssRecipe:null}}},xs:{$value:{value:0.75,unit:"rem"},$description:"Extra-small font size (12px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-text-xs",public:true,category:"typography",cssRecipe:null}}},sm:{$value:{value:0.8125,unit:"rem"},$description:"Small font size (13px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-text-sm",public:true,category:"typography",cssRecipe:null}}},base:{$value:{value:0.875,unit:"rem"},$description:"Base body font size (14px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-text-base",public:true,category:"typography",cssRecipe:null}}},md:{$value:{value:0.9375,unit:"rem"},$description:"Medium font size; the button ladder step between base and lg (15px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-text-md",public:true,category:"typography",cssRecipe:null}}},lg:{$value:{value:1,unit:"rem"},$description:"Large font size (16px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-text-lg",public:true,category:"typography",cssRecipe:null}}},xl:{$value:{value:1.125,unit:"rem"},$description:"Extra-large font size (18px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-text-xl",public:true,category:"typography",cssRecipe:null}}},"2xl":{$value:{value:1.25,unit:"rem"},$description:"2xl font size (20px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-text-2xl",public:true,category:"typography",cssRecipe:null}}},"3xl":{$value:{value:1.5,unit:"rem"},$description:"3xl font size (24px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-text-3xl",public:true,category:"typography",cssRecipe:null}}},"4xl":{$value:{value:1.875,unit:"rem"},$description:"4xl font size (30px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-text-4xl",public:true,category:"typography",cssRecipe:null}}},"5xl":{$value:{value:2.25,unit:"rem"},$description:"5xl font size (36px).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-text-5xl",public:true,category:"typography",cssRecipe:null}}}}},leading:{$type:"number",$description:"Unitless line-height scale.",none:{$value:1,$description:"No extra line height.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-leading-none",public:true,category:"typography",cssRecipe:null}}},tight:{$value:1.15,$description:"Tight line height for headings.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-leading-tight",public:true,category:"typography",cssRecipe:null}}},snug:{$value:1.3,$description:"Snug line height.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-leading-snug",public:true,category:"typography",cssRecipe:null}}},normal:{$value:1.5,$description:"Default body line height.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-leading-normal",public:true,category:"typography",cssRecipe:null}}},relaxed:{$value:1.625,$description:"Relaxed line height for long-form reading.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-leading-relaxed",public:true,category:"typography",cssRecipe:null}}}},tracking:{normal:{$type:"dimension",$value:{value:0,unit:"rem"},$description:"Default letter spacing (no adjustment).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-tracking-normal",public:true,category:"typography",cssRecipe:null}}},tight:{$type:"number",$value:-0.01,$description:"Tight letter-spacing, -0.01em. Expressed as a unitless number with an em recipe because DTCG dimension units are limited to px and rem.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-tracking-tight",public:true,category:"typography",cssRecipe:"-0.01em"}}},wide:{$type:"number",$value:0.02,$description:"Wide letter-spacing, 0.02em. Expressed as a unitless number with an em recipe because DTCG dimension units are limited to px and rem.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-tracking-wide",public:true,category:"typography",cssRecipe:"0.02em"}}}},type:{"tab-size":{$type:"number",$value:2,$description:'Tab width for monospace/code surfaces (`variant="code"` on Input/Textarea, CodeBlock). Tab characters render as this many spaces\' worth.',$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-type-tab-size",public:true,category:"typography",cssRecipe:null}}}},touch:{"target-min":{$type:"dimension",$value:{value:44,unit:"px"},$description:"Minimum touch target size.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-touch-target-min",public:true,category:"size",cssRecipe:null}}}},content:{width:{$type:"dimension",$description:"Named content-width scale for the Container primitive.",$root:{$value:{value:72,unit:"rem"},$description:"Maximum inline size for primary page content. Caps line length and keeps content readable on wide viewports. Used by page layout styles; consumers can override per scope.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-content-width",public:true,category:"size",cssRecipe:null}}},narrow:{$value:{value:40,unit:"rem"},$description:"Tighter centered column width.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-content-width-narrow",public:true,category:"size",cssRecipe:null}}},wide:{$value:{value:90,unit:"rem"},$description:"Roomier centered column width.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-content-width-wide",public:true,category:"size",cssRecipe:null}}},prose:{$type:"number",$value:65,$description:"Prose column width, 65ch — caps line length at a readable measure. Expressed as a unitless number with a ch recipe because DTCG dimension units are limited to px and rem.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-content-width-prose",public:true,category:"layout",cssRecipe:"65ch"}}}}},ease:{$type:"cubicBezier",standard:{$value:[0.2,0,0,1],$description:"Standard easing curve.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-ease-standard",public:true,category:"motion",cssRecipe:null}}},decelerate:{$value:[0,0,0,1],$description:"Decelerate-in easing curve.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-ease-decelerate",public:true,category:"motion",cssRecipe:null}}},accelerate:{$value:[0.3,0,1,1],$description:"Accelerate-out easing curve.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-ease-accelerate",public:true,category:"motion",cssRecipe:null}}},"in-out":{$value:[0.4,0,0.2,1],$description:"Ease-in-out curve.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-ease-in-out",public:true,category:"motion",cssRecipe:null}}},spring:{$value:[0.22,1,0.36,1],$description:"A fast, settled ease-out with no overshoot. Previously cubic-bezier(0.34, 1.56, 0.64, 1) — a back-ease whose y1=1.56 overshot to 156% of travel, which on the sheet/drawer (100%-of-panel translate) flung the panel past the viewport edge before settling. This curve keeps the snappy decelerate-in feel with no overshoot.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-ease-spring",public:true,category:"motion",cssRecipe:null}}}},motion:{$type:"duration",$description:"Transition and repeating-animation durations. Every token in this group is re-declared verbatim (to 0ms) by the `motion=reduced` and `motion=forced-reduced-motion` modifier documents.",instant:{$value:{value:0,unit:"ms"},$description:"Instant (no) transition duration.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-duration-instant",public:true,category:"motion",cssRecipe:null}}},fast:{$value:{value:120,unit:"ms"},$description:"Fast interaction duration before a reduced-motion modifier applies.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-duration-fast",public:true,category:"motion",cssRecipe:null}}},normal:{$value:"{motion.base}",$description:"Alias of the base transition duration.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-duration-normal",public:true,category:"motion",cssRecipe:null}}},moderate:{$value:{value:280,unit:"ms"},$description:"Moderate transition duration.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-duration-moderate",public:true,category:"motion",cssRecipe:null}}},slow:{$value:{value:400,unit:"ms"},$description:"Slow transition duration.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-duration-slow",public:true,category:"motion",cssRecipe:null}}},spin:{$value:{value:750,unit:"ms"},$description:"Repeating spin animation duration.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-duration-spin",public:true,category:"motion",cssRecipe:null}}},pulse:{$value:{value:1.4,unit:"s"},$description:"Repeating pulse animation duration, for the breathing opacity loop shared by status indicators and skeleton placeholders. Numerically equal to `motion.progress.ring.spin` today, but deliberately its own token: a pulse and a spinner are unrelated motions and either may be retuned without the other.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-duration-pulse",public:true,category:"motion",cssRecipe:null}}},progress:{bar:{indeterminate:{$value:{value:1.6,unit:"s"},$description:"Repeating indeterminate progress-bar animation duration.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-duration-progress-bar-indeterminate",public:true,category:"motion",cssRecipe:null}}}},ring:{spin:{$value:{value:1.4,unit:"s"},$description:"Repeating progress-ring spin animation duration.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-duration-progress-ring-spin",public:true,category:"motion",cssRecipe:null}}}}},base:{$type:"duration",$value:{value:200,unit:"ms"},$description:"Base transition duration.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-duration-base",public:true,category:"motion",cssRecipe:null}}}},opacity:{$type:"number",$description:"Shared opacity values for disabled/muted/faint UI states. No opacity hover tier exists deliberately: state colors preserve text contrast where whole-element opacity would dim labels against an unknown backdrop.",disabled:{$value:0.55,$description:"Opacity for disabled elements.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-opacity-disabled",public:true,category:"opacity",cssRecipe:null}}},muted:{$value:0.72,$description:"Opacity for muted elements.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-opacity-muted",public:true,category:"opacity",cssRecipe:null}}},faint:{$value:0.4,$description:"Opacity for faint elements.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-opacity-faint",public:true,category:"opacity",cssRecipe:null}}}},z:{$type:"number",$description:"Layering order: tooltip < dropdown/popover < backdrop < modal/drawer < toast < focused affordance < drag preview. Backdrop sits between floating surfaces and dialogs so it dims the page and floating surfaces (tooltips, dropdowns) without obscuring the dialog panel it is paired with. Toast sits above modal so confirmations and warnings reach users even when a modal is open.",tooltip:{$value:1000,$description:"Tooltip layer.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-z-tooltip",public:true,category:"z-index",cssRecipe:null}}},dropdown:{$value:1100,$description:"Dropdown layer.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-z-dropdown",public:true,category:"z-index",cssRecipe:null}}},popover:{$value:1100,$description:"Popover layer.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-z-popover",public:true,category:"z-index",cssRecipe:null}}},backdrop:{$value:1150,$description:"Modal/drawer backdrop layer.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-z-backdrop",public:true,category:"z-index",cssRecipe:null}}},modal:{$value:1200,$description:"Modal/drawer panel layer.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-z-modal",public:true,category:"z-index",cssRecipe:null}}},toast:{$value:1300,$description:"Toast layer, above modal so confirmations reach users even when a modal is open.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-z-toast",public:true,category:"z-index",cssRecipe:null}}},"focused-affordance":{$value:1350,$description:"Focused-affordance layer.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-z-focused-affordance",public:true,category:"z-index",cssRecipe:null}}},"drag-preview":{$value:1400,$description:"Drag-preview layer, the topmost tier.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-z-drag-preview",public:true,category:"z-index",cssRecipe:null}}}}};var semantic_tokens_default={$schema:"https://www.designtokens.org/schemas/2025.10/format.json",surface:{$type:"color",$description:"Cinder layers surfaces in three tiers, each with one job: `surface.raised` is the outer background of a card/container, `surface.base` is a card body (primary content area), and `surface.inset` is a sunken region inside a card body. A card root sets one background; nested regions inherit it unless the component deliberately changes tiers. Light mode anchors at white: the ramp is `inset 0.960 -> bg 0.984 -> surface 0.994 -> raised 1.000`, with elevation carried by border + shadow rather than fill separation. Dark mode builds up from near-black across a wider span. Hover/pressed derivatives mix toward the accent in light mode (proportional lightness mixes have no room left once the ramp is anchored at white) and toward white in dark mode (which still has headroom).",base:{$value:{colorSpace:"oklch",components:[0.994,0.002,255]},$description:"Default semantic surface. Theme modifiers provide its dark value.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-surface",public:true,category:"color",contrastPairs:["text.default"],cssRecipe:"light-dark(oklch(99.4% 0.002 255), oklch(21% 0.04 245))",palette:{family:"neutral",role:"surface-base"}}}},raised:{$root:{$value:{colorSpace:"oklch",components:[1,0,255]},$description:"Elevated semantic surface. Theme modifiers provide its dark value.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-surface-raised",public:true,category:"color",contrastPairs:["text.default"],cssRecipe:"light-dark(oklch(100% 0 255), oklch(28% 0.045 245))",palette:{family:"neutral",role:"surface-raised"}}}},hover:{$value:{colorSpace:"oklch",components:[0.97,0.0132,255.9]},$description:"Hover state of the raised surface. Light mode washes toward the accent; dark mode mixes toward white.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-surface-raised-hover",public:true,category:"color",cssRecipe:"light-dark( color-mix(in oklch, var(--cinder-surface-raised), var(--cinder-accent-solid) 6%), color-mix(in oklch, var(--cinder-surface-raised), oklch(100% 0 0) 2.5%) )"}}},pressed:{$value:{colorSpace:"oklch",components:[0.94,0.0264,256.8]},$description:"Pressed state of the raised surface. Light mode washes toward the accent; dark mode mixes toward white.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-surface-raised-pressed",public:true,category:"color",cssRecipe:"light-dark( color-mix(in oklch, var(--cinder-surface-raised), var(--cinder-accent-solid) 12%), color-mix(in oklch, var(--cinder-surface-raised), oklch(100% 0 0) 6%) )"}}}},inset:{$value:{colorSpace:"oklch",components:[0.96,0.005,255]},$description:"Sunken region inside a card body (code blocks, wells, recessed sub-regions).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-surface-inset",public:true,category:"color",cssRecipe:"light-dark(oklch(96% 0.005 255), oklch(11% 0.03 245))",palette:{family:"neutral",role:"surface-inset"}}}},hover:{$value:{colorSpace:"oklch",components:[0.96436,0.01508,255.9]},$description:"Hover state of the default surface. Light mode washes toward the accent rather than darkening toward black: once the light ramp is anchored at white, its four resting tiers occupy only 0.040 lightness points, so a proportional lightness-only mix would be wider than the whole ramp it has to stay clear of. A light-mode hover that washes toward the brand accent separates by chroma and hue as well, staying legible at a lightness step small enough to fit the ramp.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-surface-hover",public:true,category:"color",cssRecipe:"light-dark( color-mix(in oklch, var(--cinder-surface), var(--cinder-accent-solid) 6%), color-mix(in oklch, var(--cinder-surface), oklch(100% 0 0) 2.5%) )"}}},pressed:{$value:{colorSpace:"oklch",components:[0.93472,0.02816,256.8]},$description:"Pressed state of the default surface. Same accent-wash rationale as `surface.hover`, at a stronger mix percentage.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-surface-pressed",public:true,category:"color",cssRecipe:"light-dark( color-mix(in oklch, var(--cinder-surface), var(--cinder-accent-solid) 12%), color-mix(in oklch, var(--cinder-surface), oklch(100% 0 0) 6%) )"}}},inverse:{$value:{colorSpace:"oklch",components:[0.2,0.018,245]},$description:"Inverse surface, used by Tooltip to stay a dark overlay in both themes. Light arm mirrors the text/surface swap (dark bg, light fg); dark arm uses the elevated surface + near-white text so the tooltip reads as a dark elevated layer rather than inverting to light.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-surface-inverse",public:true,category:"color",cssRecipe:"light-dark(var(--cinder-text-default), var(--cinder-surface-raised))"}}},"upcoming-marker":{$value:{colorSpace:"oklch",components:[0.96,0.005,255]},$description:"Upcoming step marker background. Keeps the inset treatment in light mode (surface-inset is visibly recessed vs surface), but lifts to surface in dark mode where surface-inset is nearly invisible against the dark stage.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-surface-upcoming-marker",public:true,category:"color",cssRecipe:"light-dark(var(--cinder-surface-inset), var(--cinder-surface))"}}},canvas:{$type:"color",$value:{colorSpace:"oklch",components:[0.984,0.003,255]},$description:"Page canvas background, distinct from `surface.base` (a card body). Sits on the surface ramp that runs inset -> bg -> surface -> raised. Light mode anchors that ramp at white (0.960 -> 0.984 -> 0.994 -> 1.000); dark mode runs the same ordering at low lightness.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-surface-canvas",public:true,category:"color",cssRecipe:"light-dark(oklch(98.4% 0.003 255), oklch(15% 0.035 245))",palette:{family:"neutral",role:"surface-canvas"}}}}},polarity:{$type:"color",ink:{$value:{colorSpace:"oklch",components:[0,0,0]},$description:"The neutral ink that contrasts with the current theme's surfaces: black in light mode, white in dark mode. It is a complete color value, not a bare component triplet, so it can be assigned directly to any color-valued property and mixed with `color-mix()` to build a wash at any alpha. The scrollbar washes (track, thumb, thumb-hover) derive from this one token, so overriding it at :root or in a [data-theme] block re-polarizes them together; a subtree override does not reach them, because the washes are declared at :root and descendants inherit the already-resolved values. The shadow tokens are NOT derived from it and do not follow an override: shadow.small/medium/large carry independently tuned per-arm alphas (0.10 light against 0.09 dark, and so on) that one ink cannot express without changing what they paint.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-polarity-ink",public:true,category:"color",cssRecipe:"light-dark(oklch(0% 0 0), oklch(100% 0 0))"}}}},border:{$type:"color",ink:{$value:{colorSpace:"oklch",components:[0.2,0.02,255]},$description:"The single polarity-aware ink every neutral structural border tier is mixed from: a dark cool ink in light mode, a light cool ink in dark mode. `border.muted`, `border.control`, and `border.strong` are alpha steps over it, so each tier tracks the surface underneath it instead of being tuned per surface -- which is what holds each tier's contrast spread across the four legal surface tiers under 15% in both arms, against 29% for the opaque dark values it replaces. Overriding this one token at :root or in a [data-theme] block re-tints all three together; a subtree override does not reach them, because the tiers are declared at :root and descendants inherit the already-resolved values. The four HUED status borders (info, success, warning, danger) are deliberately NOT derived from it and stay opaque, because a translucent status border would take its hue from whatever it happened to sit on. Two neutral aliases do follow it and become translucent with it: status.neutral.border aliases border.control, and border.inverse's dark arm aliases border.strong.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-border-ink",public:true,category:"color",cssRecipe:"light-dark(oklch(20% 0.02 255), oklch(86% 0.065 250))",palette:{family:"neutral",role:"border-ink"}}}},control:{$value:{colorSpace:"oklch",components:[0.2,0.02,255],alpha:0.48},$description:"Functional control boundary that clears WCAG 1.4.11's 3:1 floor against every supported surface. It is the border of the secondary Button, whose fill is `surface.raised` -- white in light mode, a raised dark surface in dark mode -- so in both themes it is the only thing making that control read as a control. Composed as a 48% alpha step over `border.ink` rather than authored per arm, so it can no longer drift out of step with the other two tiers.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-border",public:true,category:"color",contrastPairs:["surface.base","surface.raised"],cssRecipe:"color-mix(in oklch, var(--cinder-border-ink), transparent 52%)"}}},faint:{$value:{colorSpace:"oklch",components:[0.92,0.003,255]},$description:"Decorative-only hairline. Never use as a control boundary: it is intentionally below the WCAG 1.4.11 3:1 non-text threshold.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-border-faint",public:true,category:"color",cssRecipe:"light-dark(oklch(92% 0.003 255), oklch(33% 0.03 245))",palette:{family:"neutral",role:"border-faint"}}}},muted:{$value:{colorSpace:"oklch",components:[0.2,0.02,255],alpha:0.19},$description:"Decorative divider that wants less weight than `border.control`. Clears a separate 1.4:1 floor against its backdrop. Composed as a 19% alpha step over `border.ink`.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-border-muted",public:true,category:"color",cssRecipe:"color-mix(in oklch, var(--cinder-border-ink), transparent 81%)"}}},strong:{$value:{colorSpace:"oklch",components:[0.2,0.02,255],alpha:0.58},$description:"Stronger control boundary. Clears WCAG 1.4.11's 3:1 floor against every supported surface, like `border.control`, with more weight. Composed as a 58% alpha step over `border.ink`.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-border-strong",public:true,category:"color",cssRecipe:"color-mix(in oklch, var(--cinder-border-ink), transparent 42%)"}}},inverse:{$value:{colorSpace:"srgb",components:[0,0,0],alpha:0},$description:"Border for surfaces using `surface.inverse` (Tooltip). Transparent in light mode; adds a 1px delineation in dark mode only.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-border-inverse",public:true,category:"color",cssRecipe:"light-dark(transparent, var(--cinder-border-strong))"}}}},text:{$type:"color",muted:{$value:{colorSpace:"oklch",components:[0.32,0.014,245]},$description:"Muted (secondary) text color.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-text-muted",public:true,category:"color",cssRecipe:"light-dark(oklch(32% 0.014 245), oklch(82% 0.02 245))",palette:{family:"neutral",role:"text-muted"}}}},subtle:{$value:{colorSpace:"oklch",components:[0.42,0.012,245]},$description:"Subtle (tertiary) text color.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-text-subtle",public:true,category:"color",cssRecipe:"light-dark(oklch(42% 0.012 245), oklch(72% 0.02 245))",palette:{family:"neutral",role:"text-subtle"}}}},disabled:{$value:{colorSpace:"oklch",components:[0.52,0.01,245]},$description:"Disabled text color. Clears the 3:1 UI floor in both themes even though disabled controls are exempt from WCAG text contrast; a disabled control still has to be visible as a control.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-text-disabled",public:true,category:"color",cssRecipe:"light-dark(oklch(52% 0.01 245), oklch(64% 0.02 245))",palette:{family:"neutral",role:"text-disabled"}}}},inverse:{$value:{colorSpace:"oklch",components:[0.994,0.002,255]},$description:"Text color for use on `surface.inverse` (Tooltip).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-text-inverse",public:true,category:"color",cssRecipe:"light-dark(var(--cinder-surface), var(--cinder-text-default))"}}},default:{$type:"color",$value:{colorSpace:"oklch",components:[0.2,0.018,245]},$description:"Default body text color.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-text-default",public:true,category:"color",cssRecipe:"light-dark(oklch(20% 0.018 245), oklch(92% 0.02 245))",palette:{family:"neutral",role:"text-default",anchor:true}}}}},fill:{$type:"color",disabled:{$value:{colorSpace:"oklch",components:[0.86,0.006,255]},$description:"Neutral fill for disabled solid controls (disabled-checked checkbox/radio) so they stop misusing `text.disabled` (a text-lightness token) as an assertive fill. The glyph on top must use `text.disabled`, not `accent.contrast`: accent-contrast is dark ink in both arms and would be near-invisible on the dark-arm fill.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-fill-disabled",public:true,category:"color",cssRecipe:"light-dark(oklch(86% 0.006 255), oklch(30% 0.015 245))",palette:{family:"neutral",role:"fill-disabled"}}}}},accent:{$type:"color",$description:"Brand accent - indigo (hue 270). Light arm is a deep indigo at L=0.50, dark enough that white clears WCAG AA on it (6.45:1), so the brand fill carries white labels in light mode. Dark arm is a bright periwinkle-indigo (chroma clamped to stay in sRGB gamut at L=0.72) that carries a dark-ink contrast label.",contrast:{$value:{colorSpace:"oklch",components:[1,0,0]},$description:"Label color for solid accent fills. Light arm flips to white (the indigo fill is dark enough); dark arm keeps dark ink against the bright dark-mode fill.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-accent-contrast",public:true,category:"color",cssRecipe:"light-dark(oklch(100% 0 0), oklch(15% 0.035 245))"}}},active:{},text:{$root:{$value:{colorSpace:"oklch",components:[0.45,0.22,270]},$description:"Accent used as text/icon on light surfaces. The light-mode fill accent (L=0.50) reads as a foreground at only ~4.7:1, just clearing AA, so this dedicated, slightly darker foreground token stays necessary for comfortable link/icon legibility. The dark arm matches the dark-mode accent fill.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-accent-text",public:true,category:"color",cssRecipe:"light-dark(oklch(45% 0.22 270), oklch(72% 0.14 270))",palette:{family:"accent",role:"text"}}}},hover:{$value:{colorSpace:"oklch",components:[0.37,0.22,270]},$description:"Hover step for text/icon links, derived as a darker step of `accent.text` (not the bright fill-derived `accent.solid.hover`, which is lighter than the resting text color and drops below WCAG AA on near-white).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-accent-text-hover",public:true,category:"color",cssRecipe:"oklch(from var(--cinder-accent-text) calc(l - 0.08) c h)"}}}},solid:{$type:"color",$root:{$value:{colorSpace:"oklch",components:[0.5,0.22,270]},$description:"Brand accent fill color.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-accent-solid",public:true,category:"color",cssRecipe:"light-dark(oklch(50% 0.22 270), oklch(72% 0.14 270))",palette:{family:"accent",role:"solid",anchor:true}}}},active:{$type:"color",$root:{$value:{colorSpace:"oklch",components:[0.35,0.22,270]},$description:"Active/pressed step for solid accent fills, derived as a darker step of `accent.solid` (l - 0.15, c and h held constant).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-accent-solid-active",public:true,category:"color",cssRecipe:"oklch(from var(--cinder-accent-solid) calc(l - 0.15) c h)"}}},"on-fill":{$type:"color",$value:{colorSpace:"oklch",components:[0.39,0.22,270]},$description:"Pressed fill for solid accent surfaces that carry the `accent.contrast` label (primary Button, FloatingAction). Kept distinct from `accent.solid.active` so label-bearing and non-label consumers can diverge if ever needed.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-accent-solid-active-on-fill",public:true,category:"color",cssRecipe:"oklch(from var(--cinder-accent-solid) calc(l - 0.11) c h)"}}}},hover:{$type:"color",$value:{colorSpace:"oklch",components:[0.42,0.22,270]},$description:"Hover step for solid accent fills, derived as a darker step of `accent.solid` (l - 0.08, c and h held constant).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-accent-solid-hover",public:true,category:"color",cssRecipe:"oklch(from var(--cinder-accent-solid) calc(l - 0.08) c h)"}}}}},danger:{$type:"color",$description:"Danger status color. Hover/active are authored explicitly rather than derived via relative-color: the relative-color form holds chroma constant while dropping lightness, but red (h 25) is near the sRGB gamut boundary, so a held chroma would silently clamp and desaturate at the light-arm hover/active lightnesses. Each light-arm state is pinned to its own in-gamut chroma maximum, keeping the darkening monotonic and in gamut."},info:{$type:"color",$description:"Info status color, hue 230. Nudged from hue 245 with the brand now indigo (h270): a 245 info sat only 25 degrees away and competed with it, while 230 reads as an unambiguous blue 40 degrees off the brand."},success:{$type:"color",$description:"Success status color, hue 145. Chroma fitted to the sRGB gamut so the browser renders the authored color instead of silently clamping it."},warning:{$type:"color",$description:"Warning status color, hue 75. Chroma fitted to the sRGB gamut (warning-light was over-saturated at 0.165 and rendered nearer 0.113 before fitting)."},ring:{$description:"Focus ring geometry and color.",width:{$type:"dimension",$value:{value:2,unit:"px"},$description:"Focus ring stroke width. A floor, not a preference: WCAG 2.4.13 wants an indicator at least as large as a 2px-thick perimeter of the control.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-ring-width",public:true,category:"size",cssRecipe:null}}},offset:{$type:"dimension",$value:{value:0,unit:"px"},$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.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-ring-offset",public:true,category:"size",cssRecipe:"0px"}}},"offset-color":{$type:"color",$value:"{surface.raised}",$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.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-ring-offset-color",public:true,category:"color",cssRecipe:null}}},color:{$type:"color",$value:{colorSpace:"oklch",components:[0.55,0.16,270]},$description:"Focus ring color, relative to `accent.solid` so a consumer override re-derives the ring hue. Light arm clamps L to 0.55 for 3.56:1 against the widened ramp's darkest surface; `h` tracks the accent hue.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-ring-color",public:true,category:"color",cssRecipe:"light-dark( oklch(from var(--cinder-accent-solid) 0.55 0.16 h), oklch(from var(--cinder-accent-solid) 0.7 0.14 h) )"}}},"on-accent":{$type:"color",$value:{colorSpace:"oklch",components:[0.15,0.035,245]},$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).",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-ring-on-accent",public:true,category:"color",cssRecipe:"light-dark(oklch(15% 0.035 245), oklch(100% 0 0))"}}}},scrollbar:{$description:"Themed native scrollbars, used by the ScrollArea component and any consumer that opts into `scrollbar-width`/`::-webkit-scrollbar-*` theming. Thumb alpha is tuned so the resolved thumb-on-surface contrast clears WCAG 1.4.11 (3:1) over common surfaces.",size:{$type:"dimension",$value:{value:0.625,unit:"rem"},$description:"Scrollbar thickness.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-scrollbar-size",public:true,category:"size",cssRecipe:null}}},track:{$type:"color",$value:{colorSpace:"oklch",components:[0,0,0],alpha:0.04},$description:"Scrollbar track color.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-scrollbar-track",public:true,category:"color",cssRecipe:"color-mix(in oklch, var(--cinder-polarity-ink), transparent 96%)"}}},thumb:{$type:"color",$value:{colorSpace:"oklch",components:[0,0,0],alpha:0.45},$description:"Scrollbar thumb color.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-scrollbar-thumb",public:true,category:"color",cssRecipe:"color-mix(in oklch, var(--cinder-polarity-ink), transparent 55%)"}}},"thumb-hover":{$type:"color",$value:{colorSpace:"oklch",components:[0,0,0],alpha:0.65},$description:"Scrollbar thumb hover color.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-scrollbar-thumb-hover",public:true,category:"color",cssRecipe:"color-mix(in oklch, var(--cinder-polarity-ink), transparent 35%)"}}}},overlay:{$description:"Backdrop, blur, and panel padding shared by Modal, Drawer, and Popover.",backdrop:{$type:"color",$value:{colorSpace:"oklch",components:[0.2,0.03,245],alpha:0.5},$description:"Overlay backdrop scrim color.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-overlay-backdrop",public:true,category:"color",cssRecipe:"light-dark(oklch(20% 0.03 245 / 0.5), oklch(8% 0.02 245 / 0.65))"}}},blur:{$type:"dimension",$value:{value:4,unit:"px"},$description:"Overlay backdrop blur radius.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-overlay-blur",public:true,category:"size",cssRecipe:null}}},padding:{$type:"dimension",$value:"{space.6}",$description:"Overlay panel padding.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-overlay-padding",public:true,category:"spacing",cssRecipe:null}}},radius:{$type:"dimension",$value:"{radius.large}",$description:"Overlay panel corner radius.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-overlay-radius",public:true,category:"radius",cssRecipe:null}}}},chart:{series:{$type:"color",$description:"8 categorical chart colors retuned for the indigo brand. Solved so the set is brand-safe (no hue in 248-292), mutually distinguishable in normal vision (min CIEDE2000 dE00 >= 12 in both arms), and carries a minimum pairwise CIE L* separation >= 4 in each arm as a secondary distinguishing channel for colour-vision-deficient viewers. Every color is in sRGB gamut, chroma >= 0.06, and >= 3:1 on its theme's chart background. Light and dark arms are tuned independently for in-theme contrast and gamut, so a series is not guaranteed the same hue across themes.","1":{$value:{colorSpace:"oklch",components:[0.33,0.121,8]},$description:"Chart series 1.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-chart-series-1",public:true,category:"color",cssRecipe:"light-dark(oklch(33% 0.121 8), oklch(58% 0.089 205))"}}},"2":{$value:{colorSpace:"oklch",components:[0.36,0.069,80]},$description:"Chart series 2.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-chart-series-2",public:true,category:"color",cssRecipe:"light-dark(oklch(36% 0.069 80), oklch(67% 0.275 330))"}}},"3":{$value:{colorSpace:"oklch",components:[0.4,0.082,160]},$description:"Chart series 3.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-chart-series-3",public:true,category:"color",cssRecipe:"light-dark(oklch(40% 0.082 160), oklch(69% 0.182 44))"}}},"4":{$value:{colorSpace:"oklch",components:[0.45,0.087,235]},$description:"Chart series 4.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-chart-series-4",public:true,category:"color",cssRecipe:"light-dark(oklch(45% 0.087 235), oklch(70% 0.144 160))"}}},"5":{$value:{colorSpace:"oklch",components:[0.53,0.218,330]},$description:"Chart series 5.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-chart-series-5",public:true,category:"color",cssRecipe:"light-dark(oklch(53% 0.218 330), oklch(78% 0.12 8))"}}},"6":{$value:{colorSpace:"oklch",components:[0.56,0.148,44]},$description:"Chart series 6.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-chart-series-6",public:true,category:"color",cssRecipe:"light-dark(oklch(56% 0.148 44), oklch(81% 0.152 80))"}}},"7":{$value:{colorSpace:"oklch",components:[0.59,0.126,120]},$description:"Chart series 7.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-chart-series-7",public:true,category:"color",cssRecipe:"light-dark(oklch(59% 0.126 120), oklch(85% 0.078 235))"}}},"8":{$value:{colorSpace:"oklch",components:[0.63,0.098,205]},$description:"Chart series 8.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-chart-series-8",public:true,category:"color",cssRecipe:"light-dark(oklch(63% 0.098 205), oklch(89% 0.19 120))"}}}}},gap:{$type:"dimension",$description:"Intent layer over the raw spacing scale for common flex/grid gaps.",stack:{$value:"{space.3}",$description:"Default vertical stack gap.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-gap-stack",public:true,category:"spacing",cssRecipe:null}}},inline:{$value:"{space.2}",$description:"Default inline gap.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-gap-inline",public:true,category:"spacing",cssRecipe:null}}}},pad:{$type:"dimension",$description:"Intent layer over the raw spacing scale for common padding.",control:{$value:"{space.2-5}",$description:"Default control padding.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-pad-control",public:true,category:"spacing",cssRecipe:null}}},card:{$value:"{space.4}",$description:"Default card padding.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-pad-card",public:true,category:"spacing",cssRecipe:null}}}},radius:{$type:"dimension",$description:"Intent layer over the raw radius scale.",control:{$value:"{radius.medium}",$description:"Default control corner radius alias.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-radius-control",public:true,category:"radius",cssRecipe:null}}},surface:{$value:"{radius.large}",$description:"Default surface corner radius alias.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-radius-surface",public:true,category:"radius",cssRecipe:null}}}},status:{success:{contrast:{$type:"color",$value:{colorSpace:"oklch",components:[1,0,0]},$description:"Label color for solid success fills.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-success-contrast",public:true,category:"color",cssRecipe:"light-dark(oklch(100% 0 0), oklch(15% 0.03 145))"}}},solid:{$type:"color",$root:{$value:{colorSpace:"oklch",components:[0.5,0.157,145]},$description:"Success status fill color.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-success-solid",public:true,category:"color",cssRecipe:"light-dark(oklch(50% 0.157 145), oklch(78% 0.14 145))",palette:{family:"success",role:"solid",anchor:true}}}},active:{$type:"color",$value:{colorSpace:"oklch",components:[0.35,0.1,145]},$description:"Active/pressed step for solid success fills.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-success-solid-active",public:true,category:"color",cssRecipe:"light-dark(oklch(35% 0.1 145), oklch(62% 0.14 145))",palette:{family:"success",role:"solid-active"}}}},hover:{$type:"color",$value:{colorSpace:"oklch",components:[0.42,0.12,145]},$description:"Hover step for solid success fills.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-success-solid-hover",public:true,category:"color",cssRecipe:"light-dark(oklch(42% 0.12 145), oklch(70% 0.14 145))",palette:{family:"success",role:"solid-hover"}}}}}},warning:{contrast:{$type:"color",$value:{colorSpace:"oklch",components:[1,0,0]},$description:"Label color for solid warning fills.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-warning-contrast",public:true,category:"color",cssRecipe:"light-dark(oklch(100% 0 0), oklch(20% 0.04 75))"}}},solid:{$type:"color",$root:{$value:{colorSpace:"oklch",components:[0.54,0.113,75]},$description:"Warning status fill color.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-warning-solid",public:true,category:"color",cssRecipe:"light-dark(oklch(54% 0.113 75), oklch(82% 0.156 75))",palette:{family:"warning",role:"solid",anchor:true}}}},active:{$type:"color",$value:{colorSpace:"oklch",components:[0.38,0.07,75]},$description:"Active/pressed step for solid warning fills.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-warning-solid-active",public:true,category:"color",cssRecipe:"light-dark(oklch(38% 0.07 75), oklch(66% 0.13 75))",palette:{family:"warning",role:"solid-active"}}}},hover:{$type:"color",$value:{colorSpace:"oklch",components:[0.42,0.08,75]},$description:"Hover step for solid warning fills.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-warning-solid-hover",public:true,category:"color",cssRecipe:"light-dark(oklch(42% 0.08 75), oklch(74% 0.156 75))",palette:{family:"warning",role:"solid-hover"}}}}}},danger:{contrast:{$type:"color",$value:{colorSpace:"oklch",components:[1,0,0]},$description:"Label color for solid danger fills. Dark-mode danger is ~72% lightness; pure white fails WCAG AA on it, so the dark arm uses a near-black ink instead.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-danger-contrast",public:true,category:"color",cssRecipe:"light-dark(oklch(100% 0 0), oklch(12% 0.02 25))"}}},solid:{$type:"color",$root:{$value:{colorSpace:"oklch",components:[0.5,0.202,25]},$description:"Danger status fill color.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-danger-solid",public:true,category:"color",cssRecipe:"light-dark(oklch(50% 0.202 25), oklch(72% 0.172 25))",palette:{family:"danger",role:"solid",anchor:true}}}},active:{$type:"color",$value:{colorSpace:"oklch",components:[0.35,0.142,25]},$description:"Active/pressed step for solid danger fills, explicitly authored and fitted to the in-gamut chroma maximum at this lightness.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-danger-solid-active",public:true,category:"color",cssRecipe:"light-dark(oklch(35% 0.142 25), oklch(60% 0.172 25))",palette:{family:"danger",role:"solid-active"}}}},hover:{$type:"color",$value:{colorSpace:"oklch",components:[0.42,0.171,25]},$description:"Hover step for solid danger fills, explicitly authored and fitted to the in-gamut chroma maximum at this lightness.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-danger-solid-hover",public:true,category:"color",cssRecipe:"light-dark(oklch(42% 0.171 25), oklch(64% 0.172 25))",palette:{family:"danger",role:"solid-hover"}}}}}},info:{contrast:{$type:"color",$value:{colorSpace:"oklch",components:[1,0,0]},$description:"Label color for solid info fills.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-info-contrast",public:true,category:"color",cssRecipe:"light-dark(oklch(100% 0 0), oklch(15% 0.03 230))"}}},solid:{$type:"color",$root:{$value:{colorSpace:"oklch",components:[0.5,0.098,230]},$description:"Info status fill color.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-info-solid",public:true,category:"color",cssRecipe:"light-dark(oklch(50% 0.098 230), oklch(78% 0.13 230))",palette:{family:"info",role:"solid",anchor:true}}}},active:{$type:"color",$value:{colorSpace:"oklch",components:[0.35,0.065,230]},$description:"Active/pressed step for solid info fills.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-info-solid-active",public:true,category:"color",cssRecipe:"light-dark(oklch(35% 0.065 230), oklch(62% 0.12 230))",palette:{family:"info",role:"solid-active"}}}},hover:{$type:"color",$value:{colorSpace:"oklch",components:[0.42,0.079,230]},$description:"Hover step for solid info fills.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-status-info-solid-hover",public:true,category:"color",cssRecipe:"light-dark(oklch(42% 0.079 230), oklch(70% 0.13 230))",palette:{family:"info",role:"solid-hover"}}}}}}},severity:{$type:"color",critical:{$value:{colorSpace:"oklch",components:[0.38,0.18,25]},$description:"Highest-severity badge foreground.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-severity-critical",public:true,category:"color",cssRecipe:"light-dark(oklch(38% 0.18 25), oklch(95% 0.04 25))"}}},"critical-background":{$value:{colorSpace:"oklch",components:[0.93,0.045,25]},$description:"Highest-severity badge background.",$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-severity-critical-background",public:true,category:"color",cssRecipe:"light-dark(oklch(93% 0.045 25), oklch(24% 0.11 25))"}}}},terminal:{$type:"color",$description:"ANSI 16-color foreground ramp for terminal output.","ansi-black":{$value:{colorSpace:"oklch",components:[0.25,0,0]},$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-terminal-ansi-black",public:true,category:"color",cssRecipe:"light-dark(oklch(25% 0 0), oklch(82% 0 0))"}}},"ansi-red":{$value:{colorSpace:"oklch",components:[0.42,0.16,25]},$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-terminal-ansi-red",public:true,category:"color",cssRecipe:"light-dark(oklch(42% 0.16 25), oklch(72% 0.14 25))"}}},"ansi-green":{$value:{colorSpace:"oklch",components:[0.38,0.13,145]},$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-terminal-ansi-green",public:true,category:"color",cssRecipe:"light-dark(oklch(38% 0.13 145), oklch(72% 0.13 145))"}}},"ansi-yellow":{$value:{colorSpace:"oklch",components:[0.48,0.14,85]},$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-terminal-ansi-yellow",public:true,category:"color",cssRecipe:"light-dark(oklch(48% 0.14 85), oklch(82% 0.13 85))"}}},"ansi-blue":{$value:{colorSpace:"oklch",components:[0.4,0.16,260]},$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-terminal-ansi-blue",public:true,category:"color",cssRecipe:"light-dark(oklch(40% 0.16 260), oklch(72% 0.15 260))"}}},"ansi-magenta":{$value:{colorSpace:"oklch",components:[0.42,0.16,325]},$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-terminal-ansi-magenta",public:true,category:"color",cssRecipe:"light-dark(oklch(42% 0.16 325), oklch(75% 0.14 325))"}}},"ansi-cyan":{$value:{colorSpace:"oklch",components:[0.35,0.11,205]},$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-terminal-ansi-cyan",public:true,category:"color",cssRecipe:"light-dark(oklch(35% 0.11 205), oklch(75% 0.12 205))"}}},"ansi-white":{$value:{colorSpace:"oklch",components:[0.18,0,0]},$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-terminal-ansi-white",public:true,category:"color",cssRecipe:"light-dark(oklch(18% 0 0), oklch(94% 0 0))"}}},"ansi-bright-black":{$value:{colorSpace:"oklch",components:[0.42,0,0]},$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-terminal-ansi-bright-black",public:true,category:"color",cssRecipe:"light-dark(oklch(42% 0 0), oklch(68% 0 0))"}}},"ansi-bright-red":{$value:{colorSpace:"oklch",components:[0.52,0.18,25]},$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-terminal-ansi-bright-red",public:true,category:"color",cssRecipe:"light-dark(oklch(52% 0.18 25), oklch(78% 0.15 25))"}}},"ansi-bright-green":{$value:{colorSpace:"oklch",components:[0.48,0.15,145]},$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-terminal-ansi-bright-green",public:true,category:"color",cssRecipe:"light-dark(oklch(48% 0.15 145), oklch(80% 0.14 145))"}}},"ansi-bright-yellow":{$value:{colorSpace:"oklch",components:[0.52,0.16,85]},$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-terminal-ansi-bright-yellow",public:true,category:"color",cssRecipe:"light-dark(oklch(52% 0.16 85), oklch(88% 0.14 85))"}}},"ansi-bright-blue":{$value:{colorSpace:"oklch",components:[0.5,0.18,260]},$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-terminal-ansi-bright-blue",public:true,category:"color",cssRecipe:"light-dark(oklch(50% 0.18 260), oklch(80% 0.16 260))"}}},"ansi-bright-magenta":{$value:{colorSpace:"oklch",components:[0.54,0.18,325]},$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-terminal-ansi-bright-magenta",public:true,category:"color",cssRecipe:"light-dark(oklch(54% 0.18 325), oklch(82% 0.15 325))"}}},"ansi-bright-cyan":{$value:{colorSpace:"oklch",components:[0.45,0.13,205]},$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-terminal-ansi-bright-cyan",public:true,category:"color",cssRecipe:"light-dark(oklch(45% 0.13 205), oklch(82% 0.13 205))"}}},"ansi-bright-white":{$value:{colorSpace:"oklch",components:[0.1,0,0]},$extensions:{"com.lostgradient.cinder":{cssProperty:"--cinder-terminal-ansi-bright-white",public:true,category:"color",cssRecipe:"light-dark(oklch(10% 0 0), oklch(98% 0 0))"}}}}};var dark_tokens_default={$schema:"https://www.designtokens.org/schemas/2025.10/format.json",surface:{$type:"color",base:{$value:{colorSpace:"oklch",components:[0.21,0.04,245]}},raised:{$root:{$value:{colorSpace:"oklch",components:[0.28,0.045,245]}},hover:{$value:{colorSpace:"oklch",components:[0.298,0.04387,245]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"color-mix(in oklch, var(--cinder-surface-raised), oklch(100% 0 0) 2.5%)"}}},pressed:{$value:{colorSpace:"oklch",components:[0.3232,0.0423,245]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"color-mix(in oklch, var(--cinder-surface-raised), oklch(100% 0 0) 6%)"}}}},inset:{$value:{colorSpace:"oklch",components:[0.11,0.03,245]}},hover:{$value:{colorSpace:"oklch",components:[0.22975,0.039,245]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"color-mix(in oklch, var(--cinder-surface), oklch(100% 0 0) 2.5%)"}}},pressed:{$value:{colorSpace:"oklch",components:[0.2574,0.0376,245]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"color-mix(in oklch, var(--cinder-surface), oklch(100% 0 0) 6%)"}}},inverse:{$value:"{surface.raised}"},"upcoming-marker":{$value:"{surface.base}"},canvas:{$type:"color",$value:{colorSpace:"oklch",components:[0.15,0.035,245]}}},polarity:{$type:"color",ink:{$value:{colorSpace:"oklch",components:[1,0,0]}}},border:{$type:"color",ink:{$value:{colorSpace:"oklch",components:[0.86,0.065,250]}},control:{$value:{colorSpace:"oklch",components:[0.86,0.065,250],alpha:0.48},$extensions:{"com.lostgradient.cinder":{cssRecipe:"color-mix(in oklch, var(--cinder-border-ink), transparent 52%)"}}},faint:{$value:{colorSpace:"oklch",components:[0.33,0.03,245]}},muted:{$value:{colorSpace:"oklch",components:[0.86,0.065,250],alpha:0.19},$extensions:{"com.lostgradient.cinder":{cssRecipe:"color-mix(in oklch, var(--cinder-border-ink), transparent 81%)"}}},strong:{$value:{colorSpace:"oklch",components:[0.86,0.065,250],alpha:0.58},$extensions:{"com.lostgradient.cinder":{cssRecipe:"color-mix(in oklch, var(--cinder-border-ink), transparent 42%)"}}},inverse:{$value:"{border.strong}"}},text:{$type:"color",muted:{$value:{colorSpace:"oklch",components:[0.82,0.02,245]}},subtle:{$value:{colorSpace:"oklch",components:[0.72,0.02,245]}},disabled:{$value:{colorSpace:"oklch",components:[0.64,0.02,245]}},inverse:{$value:"{text.default}"},default:{$type:"color",$value:{colorSpace:"oklch",components:[0.92,0.02,245]}}},fill:{$type:"color",disabled:{$value:{colorSpace:"oklch",components:[0.3,0.015,245]}}},accent:{$type:"color",contrast:{$value:{colorSpace:"oklch",components:[0.15,0.035,245]}},active:{},text:{$root:{$value:{colorSpace:"oklch",components:[0.72,0.14,270]}},hover:{$value:{colorSpace:"oklch",components:[0.64,0.14,270]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"oklch(from var(--cinder-accent-text) calc(l - 0.08) c h)"}}}},background:{$type:"color",$value:{colorSpace:"oklch",components:[0.2712,0.052,248]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"color-mix(in oklch, var(--cinder-accent-solid), var(--cinder-surface) 88%)"}}},solid:{$type:"color",$root:{$value:{colorSpace:"oklch",components:[0.72,0.14,270]}},active:{$type:"color",$root:{$value:{colorSpace:"oklch",components:[0.57,0.14,270]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"oklch(from var(--cinder-accent-solid) calc(l - 0.15) c h)"}}},"on-fill":{$type:"color",$value:{colorSpace:"oklch",components:[0.61,0.14,270]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"oklch(from var(--cinder-accent-solid) calc(l - 0.11) c h)"}}}},hover:{$type:"color",$value:{colorSpace:"oklch",components:[0.64,0.14,270]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"oklch(from var(--cinder-accent-solid) calc(l - 0.08) c h)"}}}},border:{$type:"color",$value:{colorSpace:"oklch",components:[0.72,0.14,270],alpha:0.4},$extensions:{"com.lostgradient.cinder":{cssRecipe:"color-mix(in oklch, var(--cinder-accent-solid), transparent 60%)"}}}},danger:{$type:"color"},info:{$type:"color"},success:{$type:"color"},warning:{$type:"color"},ring:{color:{$type:"color",$value:{colorSpace:"oklch",components:[0.7,0.14,270]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"oklch(from var(--cinder-accent-solid) 0.7 0.14 h)"}}},"offset-color":{$type:"color",$value:"{surface.raised}"},"on-accent":{$type:"color",$value:{colorSpace:"oklch",components:[1,0,0]}}},scrollbar:{track:{$type:"color",$value:{colorSpace:"oklch",components:[1,0,0],alpha:0.04},$extensions:{"com.lostgradient.cinder":{cssRecipe:"color-mix(in oklch, var(--cinder-polarity-ink), transparent 96%)"}}},thumb:{$type:"color",$value:{colorSpace:"oklch",components:[1,0,0],alpha:0.45},$extensions:{"com.lostgradient.cinder":{cssRecipe:"color-mix(in oklch, var(--cinder-polarity-ink), transparent 55%)"}}},"thumb-hover":{$type:"color",$value:{colorSpace:"oklch",components:[1,0,0],alpha:0.65},$extensions:{"com.lostgradient.cinder":{cssRecipe:"color-mix(in oklch, var(--cinder-polarity-ink), transparent 35%)"}}}},overlay:{backdrop:{$type:"color",$value:{colorSpace:"oklch",components:[0.08,0.02,245],alpha:0.65}}},shadow:{$type:"shadow",small:{$value:[{color:{colorSpace:"oklch",components:[0,0,0],alpha:0.09},offsetX:{value:0,unit:"px"},offsetY:{value:1,unit:"px"},blur:{value:2,unit:"px"},spread:{value:0,unit:"px"}},{color:{colorSpace:"oklch",components:[0,0,0],alpha:0.05},offsetX:{value:0,unit:"px"},offsetY:{value:1,unit:"px"},blur:{value:1,unit:"px"},spread:{value:0,unit:"px"}}]},medium:{$value:[{color:{colorSpace:"oklch",components:[0,0,0],alpha:0.09},offsetX:{value:0,unit:"px"},offsetY:{value:4,unit:"px"},blur:{value:6,unit:"px"},spread:{value:-1,unit:"px"}},{color:{colorSpace:"oklch",components:[0,0,0],alpha:0.06},offsetX:{value:0,unit:"px"},offsetY:{value:2,unit:"px"},blur:{value:4,unit:"px"},spread:{value:-2,unit:"px"}}]},large:{$value:[{color:{colorSpace:"oklch",components:[0,0,0],alpha:0.11},offsetX:{value:0,unit:"px"},offsetY:{value:10,unit:"px"},blur:{value:15,unit:"px"},spread:{value:-3,unit:"px"}},{color:{colorSpace:"oklch",components:[0,0,0],alpha:0.07},offsetX:{value:0,unit:"px"},offsetY:{value:4,unit:"px"},blur:{value:6,unit:"px"},spread:{value:-4,unit:"px"}}]},overlay:{$value:[{color:{colorSpace:"oklch",components:[0,0,0],alpha:0.45},offsetX:{value:0,unit:"px"},offsetY:{value:10,unit:"px"},blur:{value:15,unit:"px"},spread:{value:-3,unit:"px"}},{color:{colorSpace:"oklch",components:[0,0,0],alpha:0.32},offsetX:{value:0,unit:"px"},offsetY:{value:4,unit:"px"},blur:{value:6,unit:"px"},spread:{value:-4,unit:"px"}}]}},color:{$type:"color"},button:{background:{$type:"color",$value:"{surface.raised}"},foreground:{$type:"color",$value:"{text.default}"},border:{$type:"color",$value:"{border.strong}"}},toggle:{$type:"color",track:{"off-resting":{$value:{colorSpace:"oklch",components:[0.45,0.02,245]}},"off-hover-resting":{$value:{colorSpace:"oklch",components:[0.52,0.02,245]}}}},chart:{series:{$type:"color","1":{$value:{colorSpace:"oklch",components:[0.58,0.089,205]}},"2":{$value:{colorSpace:"oklch",components:[0.67,0.275,330]}},"3":{$value:{colorSpace:"oklch",components:[0.69,0.182,44]}},"4":{$value:{colorSpace:"oklch",components:[0.7,0.144,160]}},"5":{$value:{colorSpace:"oklch",components:[0.78,0.12,8]}},"6":{$value:{colorSpace:"oklch",components:[0.81,0.152,80]}},"7":{$value:{colorSpace:"oklch",components:[0.85,0.078,235]}},"8":{$value:{colorSpace:"oklch",components:[0.89,0.19,120]}}}},status:{success:{background:{$type:"color",$value:{colorSpace:"oklch",components:[0.28,0.07,145]}},text:{$type:"color",$value:{colorSpace:"oklch",components:[0.88,0.11,145]}},border:{$type:"color",$value:{colorSpace:"oklch",components:[0.45,0.09,145]}},subtle:{$type:"color",$value:{colorSpace:"oklch",components:[0.8304,0.05,181]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"oklch( from color-mix(in oklch, var(--cinder-status-success-solid), var(--cinder-text-default) 36%) l min(c, 0.05) h )"}}},muted:{$type:"color",$value:{colorSpace:"oklch",components:[0.5748,0.05,181]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"oklch( from color-mix(in oklch, var(--cinder-status-success-solid), var(--cinder-surface) 36%) l min(c, 0.05) h )"}}},contrast:{$type:"color",$value:{colorSpace:"oklch",components:[0.15,0.03,145]}},solid:{$type:"color",$root:{$value:{colorSpace:"oklch",components:[0.78,0.14,145]}},active:{$type:"color",$value:{colorSpace:"oklch",components:[0.62,0.14,145]}},hover:{$type:"color",$value:{colorSpace:"oklch",components:[0.7,0.14,145]}}}},warning:{background:{$type:"color",$value:{colorSpace:"oklch",components:[0.28,0.06,75]}},text:{$type:"color",$value:{colorSpace:"oklch",components:[0.9,0.08,75]}},border:{$type:"color",$value:{colorSpace:"oklch",components:[0.5,0.1,75]}},subtle:{$type:"color",$value:{colorSpace:"oklch",components:[0.856,0.05,136.2]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"oklch( from color-mix(in oklch, var(--cinder-status-warning-solid), var(--cinder-text-default) 36%) l min(c, 0.05) h )"}}},muted:{$type:"color",$value:{colorSpace:"oklch",components:[0.6004,0.05,136.2]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"oklch( from color-mix(in oklch, var(--cinder-status-warning-solid), var(--cinder-surface) 36%) l min(c, 0.05) h )"}}},contrast:{$type:"color",$value:{colorSpace:"oklch",components:[0.2,0.04,75]}},solid:{$type:"color",$root:{$value:{colorSpace:"oklch",components:[0.82,0.156,75]}},active:{$type:"color",$value:{colorSpace:"oklch",components:[0.66,0.13,75]}},hover:{$type:"color",$value:{colorSpace:"oklch",components:[0.74,0.156,75]}}}},neutral:{background:{$type:"color",$value:{colorSpace:"oklch",components:[0.28,0.04,245]}},text:{$type:"color",$value:"{text.default}"},border:{$type:"color",$value:"{border.control}"}},danger:{background:{$type:"color",$value:{colorSpace:"oklch",components:[0.28,0.09,25]}},text:{$type:"color",$value:{colorSpace:"oklch",components:[0.9,0.05,25]}},border:{$type:"color",$value:{colorSpace:"oklch",components:[0.5,0.11,25]}},subtle:{$type:"color",$value:{colorSpace:"oklch",components:[0.792,0.05,334.6]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"oklch( from color-mix(in oklch, var(--cinder-status-danger-solid), var(--cinder-text-default) 36%) l min(c, 0.05) h )"}}},muted:{$type:"color",$value:{colorSpace:"oklch",components:[0.5364,0.05,334.6]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"oklch( from color-mix(in oklch, var(--cinder-status-danger-solid), var(--cinder-surface) 36%) l min(c, 0.05) h )"}}},contrast:{$type:"color",$value:{colorSpace:"oklch",components:[0.12,0.02,25]}},solid:{$type:"color",$root:{$value:{colorSpace:"oklch",components:[0.72,0.172,25]}},active:{$type:"color",$value:{colorSpace:"oklch",components:[0.6,0.172,25]}},hover:{$type:"color",$value:{colorSpace:"oklch",components:[0.64,0.172,25]}}}},info:{background:{$type:"color",$value:{colorSpace:"oklch",components:[0.28,0.057,230]}},text:{$type:"color",$value:{colorSpace:"oklch",components:[0.88,0.071,230]}},border:{$type:"color",$value:{colorSpace:"oklch",components:[0.45,0.08,230]}},subtle:{$type:"color",$value:{colorSpace:"oklch",components:[0.8304,0.05,235.4]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"oklch( from color-mix(in oklch, var(--cinder-status-info-solid), var(--cinder-text-default) 36%) l min(c, 0.05) h )"}}},muted:{$type:"color",$value:{colorSpace:"oklch",components:[0.5748,0.05,235.4]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"oklch( from color-mix(in oklch, var(--cinder-status-info-solid), var(--cinder-surface) 36%) l min(c, 0.05) h )"}}},contrast:{$type:"color",$value:{colorSpace:"oklch",components:[0.15,0.03,230]}},solid:{$type:"color",$root:{$value:{colorSpace:"oklch",components:[0.78,0.13,230]}},active:{$type:"color",$value:{colorSpace:"oklch",components:[0.62,0.12,230]}},hover:{$type:"color",$value:{colorSpace:"oklch",components:[0.7,0.13,230]}}}}},severity:{critical:{$type:"color",$value:{colorSpace:"oklch",components:[0.95,0.04,25]}},"critical-background":{$type:"color",$value:{colorSpace:"oklch",components:[0.24,0.11,25]}}},terminal:{"ansi-black":{$type:"color",$value:{colorSpace:"oklch",components:[0.82,0,0]}},"ansi-red":{$type:"color",$value:{colorSpace:"oklch",components:[0.72,0.14,25]}},"ansi-green":{$type:"color",$value:{colorSpace:"oklch",components:[0.72,0.13,145]}},"ansi-yellow":{$type:"color",$value:{colorSpace:"oklch",components:[0.82,0.13,85]}},"ansi-blue":{$type:"color",$value:{colorSpace:"oklch",components:[0.72,0.15,260]}},"ansi-magenta":{$type:"color",$value:{colorSpace:"oklch",components:[0.75,0.14,325]}},"ansi-cyan":{$type:"color",$value:{colorSpace:"oklch",components:[0.75,0.12,205]}},"ansi-white":{$type:"color",$value:{colorSpace:"oklch",components:[0.94,0,0]}},"ansi-bright-black":{$type:"color",$value:{colorSpace:"oklch",components:[0.68,0,0]}},"ansi-bright-red":{$type:"color",$value:{colorSpace:"oklch",components:[0.78,0.15,25]}},"ansi-bright-green":{$type:"color",$value:{colorSpace:"oklch",components:[0.8,0.14,145]}},"ansi-bright-yellow":{$type:"color",$value:{colorSpace:"oklch",components:[0.88,0.14,85]}},"ansi-bright-blue":{$type:"color",$value:{colorSpace:"oklch",components:[0.8,0.16,260]}},"ansi-bright-magenta":{$type:"color",$value:{colorSpace:"oklch",components:[0.82,0.15,325]}},"ansi-bright-cyan":{$type:"color",$value:{colorSpace:"oklch",components:[0.82,0.13,205]}},"ansi-bright-white":{$type:"color",$value:{colorSpace:"oklch",components:[0.98,0,0]}}},checker:{base:{$type:"color",$value:{colorSpace:"oklch",components:[0.28,0.02,245]}},tile:{$type:"color",$value:{colorSpace:"oklch",components:[0.38,0.02,245]}}},alert:{info:{$type:"color",$value:{colorSpace:"oklch",components:[0.78,0.15,245]}}},"code-block":{background:{$type:"color",$value:"{surface.inset}"}},"kanban-board":{board:{"scroll-edge":{$type:"color",$value:{colorSpace:"oklch",components:[0.92,0.02,245],alpha:0.12}}}}};var light_tokens_default={$schema:"https://www.designtokens.org/schemas/2025.10/format.json",surface:{$type:"color",base:{$value:{colorSpace:"oklch",components:[0.994,0.002,255]}},raised:{$root:{$value:{colorSpace:"oklch",components:[1,0,255]}},hover:{$value:{colorSpace:"oklch",components:[0.97,0.0132,255.9]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"color-mix(in oklch, var(--cinder-surface-raised), var(--cinder-accent-solid) 6%)"}}},pressed:{$value:{colorSpace:"oklch",components:[0.94,0.0264,256.8]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"color-mix(in oklch, var(--cinder-surface-raised), var(--cinder-accent-solid) 12%)"}}}},inset:{$value:{colorSpace:"oklch",components:[0.96,0.005,255]}},hover:{$value:{colorSpace:"oklch",components:[0.96436,0.01508,255.9]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"color-mix(in oklch, var(--cinder-surface), var(--cinder-accent-solid) 6%)"}}},pressed:{$value:{colorSpace:"oklch",components:[0.93472,0.02816,256.8]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"color-mix(in oklch, var(--cinder-surface), var(--cinder-accent-solid) 12%)"}}},inverse:{$value:"{text.default}"},"upcoming-marker":{$value:"{surface.inset}"},canvas:{$type:"color",$value:{colorSpace:"oklch",components:[0.984,0.003,255]}}},polarity:{$type:"color",ink:{$value:{colorSpace:"oklch",components:[0,0,0]}}},border:{$type:"color",ink:{$value:{colorSpace:"oklch",components:[0.2,0.02,255]}},control:{$value:{colorSpace:"oklch",components:[0.2,0.02,255],alpha:0.48},$extensions:{"com.lostgradient.cinder":{cssRecipe:"color-mix(in oklch, var(--cinder-border-ink), transparent 52%)"}}},faint:{$value:{colorSpace:"oklch",components:[0.92,0.003,255]}},muted:{$value:{colorSpace:"oklch",components:[0.2,0.02,255],alpha:0.19},$extensions:{"com.lostgradient.cinder":{cssRecipe:"color-mix(in oklch, var(--cinder-border-ink), transparent 81%)"}}},strong:{$value:{colorSpace:"oklch",components:[0.2,0.02,255],alpha:0.58},$extensions:{"com.lostgradient.cinder":{cssRecipe:"color-mix(in oklch, var(--cinder-border-ink), transparent 42%)"}}},inverse:{$value:{colorSpace:"srgb",components:[0,0,0],alpha:0}}},text:{$type:"color",muted:{$value:{colorSpace:"oklch",components:[0.32,0.014,245]}},subtle:{$value:{colorSpace:"oklch",components:[0.42,0.012,245]}},disabled:{$value:{colorSpace:"oklch",components:[0.52,0.01,245]}},inverse:{$value:"{surface.base}"},default:{$type:"color",$value:{colorSpace:"oklch",components:[0.2,0.018,245]}}},fill:{$type:"color",disabled:{$value:{colorSpace:"oklch",components:[0.86,0.006,255]}}},accent:{$type:"color",contrast:{$value:{colorSpace:"oklch",components:[1,0,0]}},active:{},text:{$root:{$value:{colorSpace:"oklch",components:[0.45,0.22,270]}},hover:{$value:{colorSpace:"oklch",components:[0.37,0.22,270]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"oklch(from var(--cinder-accent-text) calc(l - 0.08) c h)"}}}},background:{$type:"color",$value:{colorSpace:"oklch",components:[0.93472,0.02816,256.8]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"color-mix(in oklch, var(--cinder-accent-solid), var(--cinder-surface) 88%)"}}},solid:{$type:"color",$root:{$value:{colorSpace:"oklch",components:[0.5,0.22,270]}},active:{$type:"color",$root:{$value:{colorSpace:"oklch",components:[0.35,0.22,270]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"oklch(from var(--cinder-accent-solid) calc(l - 0.15) c h)"}}},"on-fill":{$type:"color",$value:{colorSpace:"oklch",components:[0.39,0.22,270]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"oklch(from var(--cinder-accent-solid) calc(l - 0.11) c h)"}}}},hover:{$type:"color",$value:{colorSpace:"oklch",components:[0.42,0.22,270]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"oklch(from var(--cinder-accent-solid) calc(l - 0.08) c h)"}}}},border:{$type:"color",$value:{colorSpace:"oklch",components:[0.5,0.22,270],alpha:0.4},$extensions:{"com.lostgradient.cinder":{cssRecipe:"color-mix(in oklch, var(--cinder-accent-solid), transparent 60%)"}}}},danger:{$type:"color"},info:{$type:"color"},success:{$type:"color"},warning:{$type:"color"},ring:{color:{$type:"color",$value:{colorSpace:"oklch",components:[0.55,0.16,270]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"oklch(from var(--cinder-accent-solid) 0.55 0.16 h)"}}},"offset-color":{$type:"color",$value:"{surface.raised}"},"on-accent":{$type:"color",$value:{colorSpace:"oklch",components:[0.15,0.035,245]}}},scrollbar:{track:{$type:"color",$value:{colorSpace:"oklch",components:[0,0,0],alpha:0.04},$extensions:{"com.lostgradient.cinder":{cssRecipe:"color-mix(in oklch, var(--cinder-polarity-ink), transparent 96%)"}}},thumb:{$type:"color",$value:{colorSpace:"oklch",components:[0,0,0],alpha:0.45},$extensions:{"com.lostgradient.cinder":{cssRecipe:"color-mix(in oklch, var(--cinder-polarity-ink), transparent 55%)"}}},"thumb-hover":{$type:"color",$value:{colorSpace:"oklch",components:[0,0,0],alpha:0.65},$extensions:{"com.lostgradient.cinder":{cssRecipe:"color-mix(in oklch, var(--cinder-polarity-ink), transparent 35%)"}}}},overlay:{backdrop:{$type:"color",$value:{colorSpace:"oklch",components:[0.2,0.03,245],alpha:0.5}}},shadow:{$type:"shadow",small:{$value:[{color:{colorSpace:"oklch",components:[0,0,0],alpha:0.1},offsetX:{value:0,unit:"px"},offsetY:{value:1,unit:"px"},blur:{value:2,unit:"px"},spread:{value:0,unit:"px"}},{color:{colorSpace:"oklch",components:[0,0,0],alpha:0.06},offsetX:{value:0,unit:"px"},offsetY:{value:1,unit:"px"},blur:{value:1,unit:"px"},spread:{value:0,unit:"px"}}]},medium:{$value:[{color:{colorSpace:"oklch",components:[0,0,0],alpha:0.12},offsetX:{value:0,unit:"px"},offsetY:{value:4,unit:"px"},blur:{value:6,unit:"px"},spread:{value:-1,unit:"px"}},{color:{colorSpace:"oklch",components:[0,0,0],alpha:0.1},offsetX:{value:0,unit:"px"},offsetY:{value:2,unit:"px"},blur:{value:4,unit:"px"},spread:{value:-2,unit:"px"}}]},large:{$value:[{color:{colorSpace:"oklch",components:[0,0,0],alpha:0.14},offsetX:{value:0,unit:"px"},offsetY:{value:10,unit:"px"},blur:{value:15,unit:"px"},spread:{value:-3,unit:"px"}},{color:{colorSpace:"oklch",components:[0,0,0],alpha:0.12},offsetX:{value:0,unit:"px"},offsetY:{value:4,unit:"px"},blur:{value:6,unit:"px"},spread:{value:-4,unit:"px"}}]},overlay:{$value:[{color:{colorSpace:"oklch",components:[0,0,0],alpha:0.14},offsetX:{value:0,unit:"px"},offsetY:{value:10,unit:"px"},blur:{value:15,unit:"px"},spread:{value:-3,unit:"px"}},{color:{colorSpace:"oklch",components:[0,0,0],alpha:0.12},offsetX:{value:0,unit:"px"},offsetY:{value:4,unit:"px"},blur:{value:6,unit:"px"},spread:{value:-4,unit:"px"}}]}},color:{$type:"color"},button:{background:{$type:"color",$value:"{surface.raised}"},foreground:{$type:"color",$value:"{text.default}"},border:{$type:"color",$value:"{border.control}"}},toggle:{$type:"color",track:{"off-resting":{$value:"{border.muted}"},"off-hover-resting":{$value:"{border.control}"}}},chart:{series:{$type:"color","1":{$value:{colorSpace:"oklch",components:[0.33,0.121,8]}},"2":{$value:{colorSpace:"oklch",components:[0.36,0.069,80]}},"3":{$value:{colorSpace:"oklch",components:[0.4,0.082,160]}},"4":{$value:{colorSpace:"oklch",components:[0.45,0.087,235]}},"5":{$value:{colorSpace:"oklch",components:[0.53,0.218,330]}},"6":{$value:{colorSpace:"oklch",components:[0.56,0.148,44]}},"7":{$value:{colorSpace:"oklch",components:[0.59,0.126,120]}},"8":{$value:{colorSpace:"oklch",components:[0.63,0.098,205]}}}},status:{success:{background:{$type:"color",$value:{colorSpace:"oklch",components:[0.945,0.045,145]}},text:{$type:"color",$value:{colorSpace:"oklch",components:[0.4,0.127,145]}},border:{$type:"color",$value:{colorSpace:"oklch",components:[0.8,0.05,145]}},subtle:{$type:"color",$value:{colorSpace:"oklch",components:[0.392,0.05,181]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"oklch( from color-mix(in oklch, var(--cinder-status-success-solid), var(--cinder-text-default) 36%) l min(c, 0.05) h )"}}},muted:{$type:"color",$value:{colorSpace:"oklch",components:[0.67784,0.05,184.6]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"oklch( from color-mix(in oklch, var(--cinder-status-success-solid), var(--cinder-surface) 36%) l min(c, 0.05) h )"}}},contrast:{$type:"color",$value:{colorSpace:"oklch",components:[1,0,0]}},solid:{$type:"color",$root:{$value:{colorSpace:"oklch",components:[0.5,0.157,145]}},active:{$type:"color",$value:{colorSpace:"oklch",components:[0.35,0.1,145]}},hover:{$type:"color",$value:{colorSpace:"oklch",components:[0.42,0.12,145]}}}},warning:{background:{$type:"color",$value:{colorSpace:"oklch",components:[0.945,0.042,75]}},text:{$type:"color",$value:{colorSpace:"oklch",components:[0.4,0.085,75]}},border:{$type:"color",$value:{colorSpace:"oklch",components:[0.8,0.06,75]}},subtle:{$type:"color",$value:{colorSpace:"oklch",components:[0.4176,0.05,136.2]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"oklch( from color-mix(in oklch, var(--cinder-status-warning-solid), var(--cinder-text-default) 36%) l min(c, 0.05) h )"}}},muted:{$type:"color",$value:{colorSpace:"oklch",components:[0.70344,0.05,139.8]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"oklch( from color-mix(in oklch, var(--cinder-status-warning-solid), var(--cinder-surface) 36%) l min(c, 0.05) h )"}}},contrast:{$type:"color",$value:{colorSpace:"oklch",components:[1,0,0]}},solid:{$type:"color",$root:{$value:{colorSpace:"oklch",components:[0.54,0.113,75]}},active:{$type:"color",$value:{colorSpace:"oklch",components:[0.38,0.07,75]}},hover:{$type:"color",$value:{colorSpace:"oklch",components:[0.42,0.08,75]}}}},neutral:{background:{$type:"color",$value:{colorSpace:"oklch",components:[0.945,0.004,255]}},text:{$type:"color",$value:"{text.default}"},border:{$type:"color",$value:"{border.control}"}},danger:{background:{$type:"color",$value:{colorSpace:"oklch",components:[0.945,0.026,25]}},text:{$type:"color",$value:{colorSpace:"oklch",components:[0.42,0.16,25]}},border:{$type:"color",$value:{colorSpace:"oklch",components:[0.8,0.06,25]}},subtle:{$type:"color",$value:{colorSpace:"oklch",components:[0.392,0.05,334.6]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"oklch( from color-mix(in oklch, var(--cinder-status-danger-solid), var(--cinder-text-default) 36%) l min(c, 0.05) h )"}}},muted:{$type:"color",$value:{colorSpace:"oklch",components:[0.67784,0.05,338.2]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"oklch( from color-mix(in oklch, var(--cinder-status-danger-solid), var(--cinder-surface) 36%) l min(c, 0.05) h )"}}},contrast:{$type:"color",$value:{colorSpace:"oklch",components:[1,0,0]}},solid:{$type:"color",$root:{$value:{colorSpace:"oklch",components:[0.5,0.202,25]}},active:{$type:"color",$value:{colorSpace:"oklch",components:[0.35,0.142,25]}},hover:{$type:"color",$value:{colorSpace:"oklch",components:[0.42,0.171,25]}}}},info:{background:{$type:"color",$value:{colorSpace:"oklch",components:[0.945,0.03,230]}},text:{$type:"color",$value:{colorSpace:"oklch",components:[0.4,0.079,230]}},border:{$type:"color",$value:{colorSpace:"oklch",components:[0.8,0.05,230]}},subtle:{$type:"color",$value:{colorSpace:"oklch",components:[0.392,0.05,235.4]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"oklch( from color-mix(in oklch, var(--cinder-status-info-solid), var(--cinder-text-default) 36%) l min(c, 0.05) h )"}}},muted:{$type:"color",$value:{colorSpace:"oklch",components:[0.67784,0.05,239]},$extensions:{"com.lostgradient.cinder":{cssRecipe:"oklch( from color-mix(in oklch, var(--cinder-status-info-solid), var(--cinder-surface) 36%) l min(c, 0.05) h )"}}},contrast:{$type:"color",$value:{colorSpace:"oklch",components:[1,0,0]}},solid:{$type:"color",$root:{$value:{colorSpace:"oklch",components:[0.5,0.098,230]}},active:{$type:"color",$value:{colorSpace:"oklch",components:[0.35,0.065,230]}},hover:{$type:"color",$value:{colorSpace:"oklch",components:[0.42,0.079,230]}}}}},checker:{base:{$type:"color",$value:{colorSpace:"srgb",components:[1,1,1],hex:"#ffffff"}},tile:{$type:"color",$value:{colorSpace:"srgb",components:[0.8,0.8,0.8],hex:"#cccccc"}}},alert:{info:{$type:"color",$value:{colorSpace:"oklch",components:[0.45,0.14,245]}}}};
2
+ export{cinder_resolver_default,motion_default_tokens_default,motion_forced_reduced_tokens_default,motion_reduced_tokens_default,colors_tokens_default,components_tokens_default,foundation_tokens_default,semantic_tokens_default,dark_tokens_default,light_tokens_default};
3
+
4
+ //# debugId=08C96D661919BB1964756E2164756E21
@@ -0,0 +1,7 @@
1
+ var converters={};var modes={};var parsers=[];var colorProfiles={};var identity=(v)=>v;var useMode=(definition)=>{converters[definition.mode]={...converters[definition.mode],...definition.toMode};Object.keys(definition.fromMode||{}).forEach((k)=>{if(!converters[k]){converters[k]={}}converters[k][definition.mode]=definition.fromMode[k]});if(!definition.ranges){definition.ranges={}}if(!definition.difference){definition.difference={}}definition.channels.forEach((channel)=>{if(definition.ranges[channel]===undefined){definition.ranges[channel]=[0,1]}if(!definition.interpolate[channel]){throw new Error(`Missing interpolator for: ${channel}`)}if(typeof definition.interpolate[channel]==="function"){definition.interpolate[channel]={use:definition.interpolate[channel]}}if(!definition.interpolate[channel].fixup){definition.interpolate[channel].fixup=identity}});modes[definition.mode]=definition;(definition.parse||[]).forEach((parser)=>{useParser(parser,definition.mode)});return converter_default(definition.mode)};var getMode=(mode)=>modes[mode];var useParser=(parser,mode)=>{if(typeof parser==="string"){if(!mode){throw new Error(`'mode' required when 'parser' is a string`)}colorProfiles[parser]=mode}else if(typeof parser==="function"){if(parsers.indexOf(parser)<0){parsers.push(parser)}}};var IdentStartCodePoint=/[^\x00-\x7F]|[a-zA-Z_]/;var IdentCodePoint=/[^\x00-\x7F]|[-\w]/;var Tok={Function:"function",Ident:"ident",Number:"number",Percentage:"percentage",ParenClose:")",None:"none",Hue:"hue",Alpha:"alpha"};var _i=0;function is_num(chars){let ch=chars[_i];let ch1=chars[_i+1];if(ch==="-"||ch==="+"){return/\d/.test(ch1)||ch1==="."&&/\d/.test(chars[_i+2])}if(ch==="."){return/\d/.test(ch1)}return/\d/.test(ch)}function is_ident(chars){if(_i>=chars.length){return false}let ch=chars[_i];if(IdentStartCodePoint.test(ch)){return true}if(ch==="-"){if(chars.length-_i<2){return false}let ch1=chars[_i+1];if(ch1==="-"||IdentStartCodePoint.test(ch1)){return true}return false}return false}var huenits={deg:1,rad:180/Math.PI,grad:9/10,turn:360};function num(chars){let value="";if(chars[_i]==="-"||chars[_i]==="+"){value+=chars[_i++]}value+=digits(chars);if(chars[_i]==="."&&/\d/.test(chars[_i+1])){value+=chars[_i++]+digits(chars)}if(chars[_i]==="e"||chars[_i]==="E"){if((chars[_i+1]==="-"||chars[_i+1]==="+")&&/\d/.test(chars[_i+2])){value+=chars[_i++]+chars[_i++]+digits(chars)}else if(/\d/.test(chars[_i+1])){value+=chars[_i++]+digits(chars)}}if(is_ident(chars)){let id=ident(chars);if(id==="deg"||id==="rad"||id==="turn"||id==="grad"){return{type:Tok.Hue,value:value*huenits[id]}}return}if(chars[_i]==="%"){_i++;return{type:Tok.Percentage,value:+value}}return{type:Tok.Number,value:+value}}function digits(chars){let v="";while(/\d/.test(chars[_i])){v+=chars[_i++]}return v}function ident(chars){let v="";while(_i<chars.length&&IdentCodePoint.test(chars[_i])){v+=chars[_i++]}return v}function identlike(chars){let v=ident(chars);if(chars[_i]==="("){_i++;return{type:Tok.Function,value:v}}if(v==="none"){return{type:Tok.None,value:undefined}}return{type:Tok.Ident,value:v}}function tokenize(str=""){let chars=str.trim();let tokens=[];let ch;_i=0;while(_i<chars.length){ch=chars[_i++];if(ch===`
2
+ `||ch==="\t"||ch===" "){while(_i<chars.length&&(chars[_i]===`
3
+ `||chars[_i]==="\t"||chars[_i]===" ")){_i++}continue}if(ch===","){return}if(ch===")"){tokens.push({type:Tok.ParenClose});continue}if(ch==="+"){_i--;if(is_num(chars)){tokens.push(num(chars));continue}return}if(ch==="-"){_i--;if(is_num(chars)){tokens.push(num(chars));continue}if(is_ident(chars)){tokens.push({type:Tok.Ident,value:ident(chars)});continue}return}if(ch==="."){_i--;if(is_num(chars)){tokens.push(num(chars));continue}return}if(ch==="/"){while(_i<chars.length&&(chars[_i]===`
4
+ `||chars[_i]==="\t"||chars[_i]===" ")){_i++}let alpha;if(is_num(chars)){alpha=num(chars);if(alpha.type!==Tok.Hue){tokens.push({type:Tok.Alpha,value:alpha});continue}}if(is_ident(chars)){if(ident(chars)==="none"){tokens.push({type:Tok.Alpha,value:{type:Tok.None,value:undefined}});continue}}return}if(/\d/.test(ch)){_i--;tokens.push(num(chars));continue}if(IdentStartCodePoint.test(ch)){_i--;tokens.push(identlike(chars));continue}return}return tokens}function parseColorSyntax(tokens){tokens._i=0;let token=tokens[tokens._i++];if(!token||token.type!==Tok.Function||token.value!=="color"){return}token=tokens[tokens._i++];if(token.type!==Tok.Ident){return}const mode=colorProfiles[token.value];if(!mode){return}const res={mode};const coords=consumeCoords(tokens,false);if(!coords){return}const channels=getMode(mode).channels;for(let ii=0,c,ch;ii<channels.length;ii++){c=coords[ii];ch=channels[ii];if(c.type!==Tok.None){res[ch]=c.type===Tok.Number?c.value:c.value/100;if(ch==="alpha"){res[ch]=Math.max(0,Math.min(1,res[ch]))}}}return res}function consumeCoords(tokens,includeHue){const coords=[];let token;while(tokens._i<tokens.length){token=tokens[tokens._i++];if(token.type===Tok.None||token.type===Tok.Number||token.type===Tok.Alpha||token.type===Tok.Percentage||includeHue&&token.type===Tok.Hue){coords.push(token);continue}if(token.type===Tok.ParenClose){if(tokens._i<tokens.length){return}continue}return}if(coords.length<3||coords.length>4){return}if(coords.length===4){if(coords[3].type!==Tok.Alpha){return}coords[3]=coords[3].value}if(coords.length===3){coords.push({type:Tok.None,value:undefined})}return coords.every((c)=>c.type!==Tok.Alpha)?coords:undefined}function parseModernSyntax(tokens,includeHue){tokens._i=0;let token=tokens[tokens._i++];if(!token||token.type!==Tok.Function){return}let coords=consumeCoords(tokens,includeHue);if(!coords){return}coords.unshift(token.value);return coords}var parse=(color)=>{if(typeof color!=="string"){return}const tokens=tokenize(color);const parsed=tokens?parseModernSyntax(tokens,true):undefined;let result=undefined;let i=0;let len=parsers.length;while(i<len){if((result=parsers[i++](color,parsed))!==undefined){return result}}return tokens?parseColorSyntax(tokens):undefined};var parse_default=parse;var prepare=(color,mode)=>color===undefined?undefined:typeof color!=="object"?parse_default(color):color.mode!==undefined?color:mode?{...color,mode}:undefined;var _prepare_default=prepare;var converter=(target_mode="rgb")=>(color)=>(color=_prepare_default(color,target_mode))!==undefined?color.mode===target_mode?color:converters[color.mode][target_mode]?converters[color.mode][target_mode](color):target_mode==="rgb"?converters[color.mode].rgb(color):converters.rgb[target_mode](converters[color.mode].rgb(color)):undefined;var converter_default=converter;var parseNumber=(color,len)=>{if(typeof color!=="number")return;if(len===3){return{mode:"rgb",r:(color>>8&15|color>>4&240)/255,g:(color>>4&15|color&240)/255,b:(color&15|color<<4&240)/255}}if(len===4){return{mode:"rgb",r:(color>>12&15|color>>8&240)/255,g:(color>>8&15|color>>4&240)/255,b:(color>>4&15|color&240)/255,alpha:(color&15|color<<4&240)/255}}if(len===6){return{mode:"rgb",r:(color>>16&255)/255,g:(color>>8&255)/255,b:(color&255)/255}}if(len===8){return{mode:"rgb",r:(color>>24&255)/255,g:(color>>16&255)/255,b:(color>>8&255)/255,alpha:(color&255)/255}}};var parseNumber_default=parseNumber;var named={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};var named_default=named;var parseNamed=(color)=>{return parseNumber_default(named_default[color.toLowerCase()],6)};var parseNamed_default=parseNamed;var hex=/^#?([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{4}|[0-9a-f]{3})$/i;var parseHex=(color)=>{let match;return(match=color.match(hex))?parseNumber_default(parseInt(match[1],16),match[1].length):undefined};var parseHex_default=parseHex;var num2="([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)";var num_none=`(?:${num2}|none)`;var per=`${num2}%`;var per_none=`(?:${num2}%|none)`;var num_per=`(?:${num2}%|${num2})`;var num_per_none=`(?:${num2}%|${num2}|none)`;var hue=`(?:${num2}(deg|grad|rad|turn)|${num2})`;var hue_none=`(?:${num2}(deg|grad|rad|turn)|${num2}|none)`;var c=`\\s*,\\s*`;var rx_num_per_none=new RegExp("^"+num_per_none+"$");var rgb_num_old=new RegExp(`^rgba?\\(\\s*${num2}${c}${num2}${c}${num2}\\s*(?:,\\s*${num_per}\\s*)?\\)$`);var rgb_per_old=new RegExp(`^rgba?\\(\\s*${per}${c}${per}${c}${per}\\s*(?:,\\s*${num_per}\\s*)?\\)$`);var parseRgbLegacy=(color)=>{let res={mode:"rgb"};let match;if(match=color.match(rgb_num_old)){if(match[1]!==undefined){res.r=match[1]/255}if(match[2]!==undefined){res.g=match[2]/255}if(match[3]!==undefined){res.b=match[3]/255}}else if(match=color.match(rgb_per_old)){if(match[1]!==undefined){res.r=match[1]/100}if(match[2]!==undefined){res.g=match[2]/100}if(match[3]!==undefined){res.b=match[3]/100}}else{return}if(match[4]!==undefined){res.alpha=Math.max(0,Math.min(1,match[4]/100))}else if(match[5]!==undefined){res.alpha=Math.max(0,Math.min(1,+match[5]))}return res};var parseRgbLegacy_default=parseRgbLegacy;function parseRgb(color,parsed){if(!parsed||parsed[0]!=="rgb"&&parsed[0]!=="rgba"){return}const res={mode:"rgb"};const[,r,g,b,alpha]=parsed;if(r.type===Tok.Hue||g.type===Tok.Hue||b.type===Tok.Hue){return}if(r.type!==Tok.None){res.r=r.type===Tok.Number?r.value/255:r.value/100}if(g.type!==Tok.None){res.g=g.type===Tok.Number?g.value/255:g.value/100}if(b.type!==Tok.None){res.b=b.type===Tok.Number?b.value/255:b.value/100}if(alpha.type!==Tok.None){res.alpha=Math.min(1,Math.max(0,alpha.type===Tok.Number?alpha.value:alpha.value/100))}return res}var parseRgb_default=parseRgb;var parseTransparent=(c)=>c==="transparent"?{mode:"rgb",r:0,g:0,b:0,alpha:0}:undefined;var parseTransparent_default=parseTransparent;var lerp=(a,b,t)=>a+t*(b-a);var get_classes=(arr)=>{let classes=[];for(let i=0;i<arr.length-1;i++){let a=arr[i];let b=arr[i+1];if(a===undefined&&b===undefined){classes.push(undefined)}else if(a!==undefined&&b!==undefined){classes.push([a,b])}else{classes.push(a!==undefined?[a,a]:[b,b])}}return classes};var interpolatorPiecewise=(interpolator)=>(arr)=>{let classes=get_classes(arr);return(t)=>{let cls=t*classes.length;let idx=t>=1?classes.length-1:Math.max(Math.floor(cls),0);let pair=classes[idx];return pair===undefined?undefined:interpolator(pair[0],pair[1],cls-idx)}};var interpolatorLinear=interpolatorPiecewise(lerp);var fixupAlpha=(arr)=>{let some_defined=false;let res=arr.map((v)=>{if(v!==undefined){some_defined=true;return v}return 1});return some_defined?res:arr};var definition={mode:"rgb",channels:["r","g","b","alpha"],parse:[parseRgb_default,parseHex_default,parseRgbLegacy_default,parseNamed_default,parseTransparent_default,"srgb"],serialize:"srgb",interpolate:{r:interpolatorLinear,g:interpolatorLinear,b:interpolatorLinear,alpha:{use:interpolatorLinear,fixup:fixupAlpha}},gamut:true,white:{r:1,g:1,b:1},black:{r:0,g:0,b:0}};var definition_default=definition;var linearize=(v=0)=>Math.pow(Math.abs(v),563/256)*Math.sign(v);var convertA98ToXyz65=(a98)=>{let r=linearize(a98.r);let g=linearize(a98.g);let b=linearize(a98.b);let res={mode:"xyz65",x:0.5766690429101305*r+0.1855582379065463*g+0.1882286462349947*b,y:0.297344975250536*r+0.6273635662554661*g+0.0752914584939979*b,z:0.0270313613864123*r+0.0706888525358272*g+0.9913375368376386*b};if(a98.alpha!==undefined){res.alpha=a98.alpha}return res};var convertA98ToXyz65_default=convertA98ToXyz65;var gamma=(v)=>Math.pow(Math.abs(v),256/563)*Math.sign(v);var convertXyz65ToA98=({x,y,z,alpha})=>{if(x===undefined)x=0;if(y===undefined)y=0;if(z===undefined)z=0;let res={mode:"a98",r:gamma(x*2.0415879038107465-y*0.5650069742788597-0.3447313507783297*z),g:gamma(x*-0.9692436362808798+y*1.8759675015077206+0.0415550574071756*z),b:gamma(x*0.0134442806320312-y*0.1183623922310184+1.0151749943912058*z)};if(alpha!==undefined){res.alpha=alpha}return res};var convertXyz65ToA98_default=convertXyz65ToA98;var fn=(c=0)=>{const abs=Math.abs(c);if(abs<=0.04045){return c/12.92}return(Math.sign(c)||1)*Math.pow((abs+0.055)/1.055,2.4)};var convertRgbToLrgb=({r,g,b,alpha})=>{let res={mode:"lrgb",r:fn(r),g:fn(g),b:fn(b)};if(alpha!==undefined)res.alpha=alpha;return res};var convertRgbToLrgb_default=convertRgbToLrgb;var convertRgbToXyz65=(rgb)=>{let{r,g,b,alpha}=convertRgbToLrgb_default(rgb);let res={mode:"xyz65",x:0.4123907992659593*r+0.357584339383878*g+0.1804807884018343*b,y:0.2126390058715102*r+0.715168678767756*g+0.0721923153607337*b,z:0.0193308187155918*r+0.119194779794626*g+0.9505321522496607*b};if(alpha!==undefined){res.alpha=alpha}return res};var convertRgbToXyz65_default=convertRgbToXyz65;var fn2=(c=0)=>{const abs=Math.abs(c);if(abs>0.0031308){return(Math.sign(c)||1)*(1.055*Math.pow(abs,1/2.4)-0.055)}return c*12.92};var convertLrgbToRgb=({r,g,b,alpha},mode="rgb")=>{let res={mode,r:fn2(r),g:fn2(g),b:fn2(b)};if(alpha!==undefined)res.alpha=alpha;return res};var convertLrgbToRgb_default=convertLrgbToRgb;var convertXyz65ToRgb=({x,y,z,alpha})=>{if(x===undefined)x=0;if(y===undefined)y=0;if(z===undefined)z=0;let res=convertLrgbToRgb_default({r:x*3.2409699419045226-y*1.537383177570094-0.4986107602930034*z,g:x*-0.9692436362808796+y*1.8759675015077204+0.0415550574071756*z,b:x*0.0556300796969936-y*0.2039769588889765+1.0569715142428784*z});if(alpha!==undefined){res.alpha=alpha}return res};var convertXyz65ToRgb_default=convertXyz65ToRgb;var definition2={...definition_default,mode:"a98",parse:["a98-rgb"],serialize:"a98-rgb",fromMode:{rgb:(color)=>convertXyz65ToA98_default(convertRgbToXyz65_default(color)),xyz65:convertXyz65ToA98_default},toMode:{rgb:(color)=>convertXyz65ToRgb_default(convertA98ToXyz65_default(color)),xyz65:convertA98ToXyz65_default}};var definition_default2=definition2;var normalizeHue=(hue)=>(hue=hue%360)<0?hue+360:hue;var normalizeHue_default=normalizeHue;var hue2=(hues,fn)=>{return hues.map((hue,idx,arr)=>{if(hue===undefined){return hue}let normalized=normalizeHue_default(hue);if(idx===0||hues[idx-1]===undefined){return normalized}return fn(normalized-normalizeHue_default(arr[idx-1]))}).reduce((acc,curr)=>{if(!acc.length||curr===undefined||acc[acc.length-1]===undefined){acc.push(curr);return acc}acc.push(curr+acc[acc.length-1]);return acc},[])};var fixupHueShorter=(arr)=>hue2(arr,(d)=>Math.abs(d)<=180?d:d-360*Math.sign(d));var M=[-0.14861,1.78277,-0.29227,-0.90649,1.97294,0];var degToRad=Math.PI/180;var radToDeg=180/Math.PI;var DE=M[3]*M[4];var BE=M[1]*M[4];var BCAD=M[1]*M[2]-M[0]*M[3];var convertRgbToCubehelix=({r,g,b,alpha})=>{if(r===undefined)r=0;if(g===undefined)g=0;if(b===undefined)b=0;let l=(BCAD*b+r*DE-g*BE)/(BCAD+DE-BE);let x=b-l;let y=(M[4]*(g-l)-M[2]*x)/M[3];let res={mode:"cubehelix",l,s:l===0||l===1?undefined:Math.sqrt(x*x+y*y)/(M[4]*l*(1-l))};if(res.s)res.h=Math.atan2(y,x)*radToDeg-120;if(alpha!==undefined)res.alpha=alpha;return res};var convertRgbToCubehelix_default=convertRgbToCubehelix;var convertCubehelixToRgb=({h,s,l,alpha})=>{let res={mode:"rgb"};h=(h===undefined?0:h+120)*degToRad;if(l===undefined)l=0;let amp=s===undefined?0:s*l*(1-l);let cosh=Math.cos(h);let sinh=Math.sin(h);res.r=l+amp*(M[0]*cosh+M[1]*sinh);res.g=l+amp*(M[2]*cosh+M[3]*sinh);res.b=l+amp*(M[4]*cosh+M[5]*sinh);if(alpha!==undefined)res.alpha=alpha;return res};var convertCubehelixToRgb_default=convertCubehelixToRgb;var differenceHueSaturation=(std,smp)=>{if(std.h===undefined||smp.h===undefined||!std.s||!smp.s){return 0}let std_h=normalizeHue_default(std.h);let smp_h=normalizeHue_default(smp.h);let dH=Math.sin((smp_h-std_h+360)/2*Math.PI/180);return 2*Math.sqrt(std.s*smp.s)*dH};var differenceHueNaive=(std,smp)=>{if(std.h===undefined||smp.h===undefined){return 0}let std_h=normalizeHue_default(std.h);let smp_h=normalizeHue_default(smp.h);if(Math.abs(smp_h-std_h)>180){return std_h-(smp_h-360*Math.sign(smp_h-std_h))}return smp_h-std_h};var differenceHueChroma=(std,smp)=>{if(std.h===undefined||smp.h===undefined||!std.c||!smp.c){return 0}let std_h=normalizeHue_default(std.h);let smp_h=normalizeHue_default(smp.h);let dH=Math.sin((smp_h-std_h+360)/2*Math.PI/180);return 2*Math.sqrt(std.c*smp.c)*dH};var differenceEuclidean=(mode="rgb",weights=[1,1,1,0])=>{let def=getMode(mode);let channels=def.channels;let diffs=def.difference;let conv=converter_default(mode);return(std,smp)=>{let ConvStd=conv(std);let ConvSmp=conv(smp);return Math.sqrt(channels.reduce((sum,k,idx)=>{let delta=diffs[k]?diffs[k](ConvStd,ConvSmp):ConvStd[k]-ConvSmp[k];return sum+(weights[idx]||0)*Math.pow(isNaN(delta)?0:delta,2)},0))}};var averageAngle=(val)=>{let sum=val.reduce((sum,val)=>{if(val!==undefined){let rad=val*Math.PI/180;sum.sin+=Math.sin(rad);sum.cos+=Math.cos(rad)}return sum},{sin:0,cos:0});let angle=Math.atan2(sum.sin,sum.cos)*180/Math.PI;return angle<0?360+angle:angle};var definition3={mode:"cubehelix",channels:["h","s","l","alpha"],parse:["--cubehelix"],serialize:"--cubehelix",ranges:{h:[0,360],s:[0,4.614],l:[0,1]},fromMode:{rgb:convertRgbToCubehelix_default},toMode:{rgb:convertCubehelixToRgb_default},interpolate:{h:{use:interpolatorLinear,fixup:fixupHueShorter},s:interpolatorLinear,l:interpolatorLinear,alpha:{use:interpolatorLinear,fixup:fixupAlpha}},difference:{h:differenceHueSaturation},average:{h:averageAngle}};var definition_default3=definition3;var convertLabToLch=({l,a,b,alpha},mode="lch")=>{if(a===undefined)a=0;if(b===undefined)b=0;let c=Math.sqrt(a*a+b*b);let res={mode,l,c};if(c)res.h=normalizeHue_default(Math.atan2(b,a)*180/Math.PI);if(alpha!==undefined)res.alpha=alpha;return res};var convertLabToLch_default=convertLabToLch;var convertLchToLab=({l,c,h,alpha},mode="lab")=>{if(h===undefined)h=0;let res={mode,l,a:c?c*Math.cos(h/180*Math.PI):0,b:c?c*Math.sin(h/180*Math.PI):0};if(alpha!==undefined)res.alpha=alpha;return res};var convertLchToLab_default=convertLchToLab;var k=Math.pow(29,3)/Math.pow(3,3);var e=Math.pow(6,3)/Math.pow(29,3);var D50={X:0.3457/0.3585,Y:1,Z:(1-0.3457-0.3585)/0.3585};var D65={X:0.3127/0.329,Y:1,Z:(1-0.3127-0.329)/0.329};var k2=Math.pow(29,3)/Math.pow(3,3);var e2=Math.pow(6,3)/Math.pow(29,3);var fn3=(v)=>Math.pow(v,3)>e?Math.pow(v,3):(116*v-16)/k;var convertLab65ToXyz65=({l,a,b,alpha})=>{if(l===undefined)l=0;if(a===undefined)a=0;if(b===undefined)b=0;let fy=(l+16)/116;let fx=a/500+fy;let fz=fy-b/200;let res={mode:"xyz65",x:fn3(fx)*D65.X,y:fn3(fy)*D65.Y,z:fn3(fz)*D65.Z};if(alpha!==undefined){res.alpha=alpha}return res};var convertLab65ToXyz65_default=convertLab65ToXyz65;var convertLab65ToRgb=(lab)=>convertXyz65ToRgb_default(convertLab65ToXyz65_default(lab));var convertLab65ToRgb_default=convertLab65ToRgb;var f=(value)=>value>e?Math.cbrt(value):(k*value+16)/116;var convertXyz65ToLab65=({x,y,z,alpha})=>{if(x===undefined)x=0;if(y===undefined)y=0;if(z===undefined)z=0;let f0=f(x/D65.X);let f1=f(y/D65.Y);let f2=f(z/D65.Z);let res={mode:"lab65",l:116*f1-16,a:500*(f0-f1),b:200*(f1-f2)};if(alpha!==undefined){res.alpha=alpha}return res};var convertXyz65ToLab65_default=convertXyz65ToLab65;var convertRgbToLab65=(rgb)=>{let res=convertXyz65ToLab65_default(convertRgbToXyz65_default(rgb));if(rgb.r===rgb.b&&rgb.b===rgb.g){res.a=res.b=0}return res};var convertRgbToLab65_default=convertRgbToLab65;var kE=1;var kCH=1;var θ=26/180*Math.PI;var cosθ=Math.cos(θ);var sinθ=Math.sin(θ);var factor=100/Math.log(139/100);var convertDlchToLab65=({l,c,h,alpha})=>{if(l===undefined)l=0;if(c===undefined)c=0;if(h===undefined)h=0;let res={mode:"lab65",l:(Math.exp(l*kE/factor)-1)/0.0039};let G=(Math.exp(0.0435*c*kCH*kE)-1)/0.075;let e=G*Math.cos(h/180*Math.PI-θ);let f=G*Math.sin(h/180*Math.PI-θ);res.a=e*cosθ-f/0.83*sinθ;res.b=e*sinθ+f/0.83*cosθ;if(alpha!==undefined)res.alpha=alpha;return res};var convertDlchToLab65_default=convertDlchToLab65;var convertLab65ToDlch=({l,a,b,alpha})=>{if(l===undefined)l=0;if(a===undefined)a=0;if(b===undefined)b=0;let e=a*cosθ+b*sinθ;let f=0.83*(b*cosθ-a*sinθ);let G=Math.sqrt(e*e+f*f);let res={mode:"dlch",l:factor/kE*Math.log(1+0.0039*l),c:Math.log(1+0.075*G)/(0.0435*kCH*kE)};if(res.c){res.h=normalizeHue_default((Math.atan2(f,e)+θ)/Math.PI*180)}if(alpha!==undefined)res.alpha=alpha;return res};var convertLab65ToDlch_default=convertLab65ToDlch;var convertDlabToLab65=(c)=>convertDlchToLab65_default(convertLabToLch_default(c,"dlch"));var convertLab65ToDlab=(c)=>convertLchToLab_default(convertLab65ToDlch_default(c),"dlab");var definition4={mode:"dlab",parse:["--din99o-lab"],serialize:"--din99o-lab",toMode:{lab65:convertDlabToLab65,rgb:(c)=>convertLab65ToRgb_default(convertDlabToLab65(c))},fromMode:{lab65:convertLab65ToDlab,rgb:(c)=>convertLab65ToDlab(convertRgbToLab65_default(c))},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-40.09,45.501],b:[-40.469,44.344]},interpolate:{l:interpolatorLinear,a:interpolatorLinear,b:interpolatorLinear,alpha:{use:interpolatorLinear,fixup:fixupAlpha}}};var definition_default4=definition4;var definition5={mode:"dlch",parse:["--din99o-lch"],serialize:"--din99o-lch",toMode:{lab65:convertDlchToLab65_default,dlab:(c)=>convertLchToLab_default(c,"dlab"),rgb:(c)=>convertLab65ToRgb_default(convertDlchToLab65_default(c))},fromMode:{lab65:convertLab65ToDlch_default,dlab:(c)=>convertLabToLch_default(c,"dlch"),rgb:(c)=>convertLab65ToDlch_default(convertRgbToLab65_default(c))},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,51.484],h:[0,360]},interpolate:{l:interpolatorLinear,c:interpolatorLinear,h:{use:interpolatorLinear,fixup:fixupHueShorter},alpha:{use:interpolatorLinear,fixup:fixupAlpha}},difference:{h:differenceHueChroma},average:{h:averageAngle}};var definition_default5=definition5;function convertHsiToRgb({h,s,i,alpha}){h=normalizeHue_default(h!==undefined?h:0);if(s===undefined)s=0;if(i===undefined)i=0;let f=Math.abs(h/60%2-1);let res;switch(Math.floor(h/60)){case 0:res={r:i*(1+s*(3/(2-f)-1)),g:i*(1+s*(3*(1-f)/(2-f)-1)),b:i*(1-s)};break;case 1:res={r:i*(1+s*(3*(1-f)/(2-f)-1)),g:i*(1+s*(3/(2-f)-1)),b:i*(1-s)};break;case 2:res={r:i*(1-s),g:i*(1+s*(3/(2-f)-1)),b:i*(1+s*(3*(1-f)/(2-f)-1))};break;case 3:res={r:i*(1-s),g:i*(1+s*(3*(1-f)/(2-f)-1)),b:i*(1+s*(3/(2-f)-1))};break;case 4:res={r:i*(1+s*(3*(1-f)/(2-f)-1)),g:i*(1-s),b:i*(1+s*(3/(2-f)-1))};break;case 5:res={r:i*(1+s*(3/(2-f)-1)),g:i*(1-s),b:i*(1+s*(3*(1-f)/(2-f)-1))};break;default:res={r:i*(1-s),g:i*(1-s),b:i*(1-s)}}res.mode="rgb";if(alpha!==undefined)res.alpha=alpha;return res}function convertRgbToHsi({r,g,b,alpha}){if(r===undefined)r=0;if(g===undefined)g=0;if(b===undefined)b=0;let M=Math.max(r,g,b),m=Math.min(r,g,b);let res={mode:"hsi",s:r+g+b===0?0:1-3*m/(r+g+b),i:(r+g+b)/3};if(M-m!==0)res.h=(M===r?(g-b)/(M-m)+(g<b)*6:M===g?(b-r)/(M-m)+2:(r-g)/(M-m)+4)*60;if(alpha!==undefined)res.alpha=alpha;return res}var definition6={mode:"hsi",toMode:{rgb:convertHsiToRgb},parse:["--hsi"],serialize:"--hsi",fromMode:{rgb:convertRgbToHsi},channels:["h","s","i","alpha"],ranges:{h:[0,360]},gamut:"rgb",interpolate:{h:{use:interpolatorLinear,fixup:fixupHueShorter},s:interpolatorLinear,i:interpolatorLinear,alpha:{use:interpolatorLinear,fixup:fixupAlpha}},difference:{h:differenceHueSaturation},average:{h:averageAngle}};var definition_default6=definition6;function convertHslToRgb({h,s,l,alpha}){h=normalizeHue_default(h!==undefined?h:0);if(s===undefined)s=0;if(l===undefined)l=0;let m1=l+s*(l<0.5?l:1-l);let m2=m1-(m1-l)*2*Math.abs(h/60%2-1);let res;switch(Math.floor(h/60)){case 0:res={r:m1,g:m2,b:2*l-m1};break;case 1:res={r:m2,g:m1,b:2*l-m1};break;case 2:res={r:2*l-m1,g:m1,b:m2};break;case 3:res={r:2*l-m1,g:m2,b:m1};break;case 4:res={r:m2,g:2*l-m1,b:m1};break;case 5:res={r:m1,g:2*l-m1,b:m2};break;default:res={r:2*l-m1,g:2*l-m1,b:2*l-m1}}res.mode="rgb";if(alpha!==undefined)res.alpha=alpha;return res}function convertRgbToHsl({r,g,b,alpha}){if(r===undefined)r=0;if(g===undefined)g=0;if(b===undefined)b=0;let M=Math.max(r,g,b),m=Math.min(r,g,b);let res={mode:"hsl",s:M===m?0:(M-m)/(1-Math.abs(M+m-1)),l:0.5*(M+m)};if(M-m!==0)res.h=(M===r?(g-b)/(M-m)+(g<b)*6:M===g?(b-r)/(M-m)+2:(r-g)/(M-m)+4)*60;if(alpha!==undefined)res.alpha=alpha;return res}var hueToDeg=(val,unit)=>{switch(unit){case"deg":return+val;case"rad":return val/Math.PI*180;case"grad":return val/10*9;case"turn":return val*360}};var hue_default=hueToDeg;var hsl_old=new RegExp(`^hsla?\\(\\s*${hue}${c}${per}${c}${per}\\s*(?:,\\s*${num_per}\\s*)?\\)$`);var parseHslLegacy=(color)=>{let match=color.match(hsl_old);if(!match)return;let res={mode:"hsl"};if(match[3]!==undefined){res.h=+match[3]}else if(match[1]!==undefined&&match[2]!==undefined){res.h=hue_default(match[1],match[2])}if(match[4]!==undefined){res.s=Math.min(Math.max(0,match[4]/100),1)}if(match[5]!==undefined){res.l=Math.min(Math.max(0,match[5]/100),1)}if(match[6]!==undefined){res.alpha=Math.max(0,Math.min(1,match[6]/100))}else if(match[7]!==undefined){res.alpha=Math.max(0,Math.min(1,+match[7]))}return res};var parseHslLegacy_default=parseHslLegacy;function parseHsl(color,parsed){if(!parsed||parsed[0]!=="hsl"&&parsed[0]!=="hsla"){return}const res={mode:"hsl"};const[,h,s,l,alpha]=parsed;if(h.type!==Tok.None){if(h.type===Tok.Percentage){return}res.h=h.value}if(s.type!==Tok.None){if(s.type===Tok.Hue){return}res.s=s.value/100}if(l.type!==Tok.None){if(l.type===Tok.Hue){return}res.l=l.value/100}if(alpha.type!==Tok.None){res.alpha=Math.min(1,Math.max(0,alpha.type===Tok.Number?alpha.value:alpha.value/100))}return res}var parseHsl_default=parseHsl;var definition7={mode:"hsl",toMode:{rgb:convertHslToRgb},fromMode:{rgb:convertRgbToHsl},channels:["h","s","l","alpha"],ranges:{h:[0,360]},gamut:"rgb",parse:[parseHsl_default,parseHslLegacy_default],serialize:(c)=>`hsl(${c.h!==undefined?c.h:"none"} ${c.s!==undefined?c.s*100+"%":"none"} ${c.l!==undefined?c.l*100+"%":"none"}${c.alpha<1?` / ${c.alpha}`:""})`,interpolate:{h:{use:interpolatorLinear,fixup:fixupHueShorter},s:interpolatorLinear,l:interpolatorLinear,alpha:{use:interpolatorLinear,fixup:fixupAlpha}},difference:{h:differenceHueSaturation},average:{h:averageAngle}};var definition_default7=definition7;function convertHsvToRgb({h,s,v,alpha}){h=normalizeHue_default(h!==undefined?h:0);if(s===undefined)s=0;if(v===undefined)v=0;let f=Math.abs(h/60%2-1);let res;switch(Math.floor(h/60)){case 0:res={r:v,g:v*(1-s*f),b:v*(1-s)};break;case 1:res={r:v*(1-s*f),g:v,b:v*(1-s)};break;case 2:res={r:v*(1-s),g:v,b:v*(1-s*f)};break;case 3:res={r:v*(1-s),g:v*(1-s*f),b:v};break;case 4:res={r:v*(1-s*f),g:v*(1-s),b:v};break;case 5:res={r:v,g:v*(1-s),b:v*(1-s*f)};break;default:res={r:v*(1-s),g:v*(1-s),b:v*(1-s)}}res.mode="rgb";if(alpha!==undefined)res.alpha=alpha;return res}function convertRgbToHsv({r,g,b,alpha}){if(r===undefined)r=0;if(g===undefined)g=0;if(b===undefined)b=0;let M=Math.max(r,g,b),m=Math.min(r,g,b);let res={mode:"hsv",s:M===0?0:1-m/M,v:M};if(M-m!==0)res.h=(M===r?(g-b)/(M-m)+(g<b)*6:M===g?(b-r)/(M-m)+2:(r-g)/(M-m)+4)*60;if(alpha!==undefined)res.alpha=alpha;return res}var definition8={mode:"hsv",toMode:{rgb:convertHsvToRgb},parse:["--hsv"],serialize:"--hsv",fromMode:{rgb:convertRgbToHsv},channels:["h","s","v","alpha"],ranges:{h:[0,360]},gamut:"rgb",interpolate:{h:{use:interpolatorLinear,fixup:fixupHueShorter},s:interpolatorLinear,v:interpolatorLinear,alpha:{use:interpolatorLinear,fixup:fixupAlpha}},difference:{h:differenceHueSaturation},average:{h:averageAngle}};var definition_default8=definition8;function convertHwbToRgb({h,w,b,alpha}){if(w===undefined)w=0;if(b===undefined)b=0;if(w+b>1){let s=w+b;w/=s;b/=s}return convertHsvToRgb({h,s:b===1?1:1-w/(1-b),v:1-b,alpha})}function convertRgbToHwb(rgba){let hsv=convertRgbToHsv(rgba);if(hsv===undefined)return;let s=hsv.s!==undefined?hsv.s:0;let v=hsv.v!==undefined?hsv.v:0;let res={mode:"hwb",w:(1-s)*v,b:1-v};if(hsv.h!==undefined)res.h=hsv.h;if(hsv.alpha!==undefined)res.alpha=hsv.alpha;return res}function ParseHwb(color,parsed){if(!parsed||parsed[0]!=="hwb"){return}const res={mode:"hwb"};const[,h,w,b,alpha]=parsed;if(h.type!==Tok.None){if(h.type===Tok.Percentage){return}res.h=h.value}if(w.type!==Tok.None){if(w.type===Tok.Hue){return}res.w=w.value/100}if(b.type!==Tok.None){if(b.type===Tok.Hue){return}res.b=b.value/100}if(alpha.type!==Tok.None){res.alpha=Math.min(1,Math.max(0,alpha.type===Tok.Number?alpha.value:alpha.value/100))}return res}var parseHwb_default=ParseHwb;var definition9={mode:"hwb",toMode:{rgb:convertHwbToRgb},fromMode:{rgb:convertRgbToHwb},channels:["h","w","b","alpha"],ranges:{h:[0,360]},gamut:"rgb",parse:[parseHwb_default],serialize:(c)=>`hwb(${c.h!==undefined?c.h:"none"} ${c.w!==undefined?c.w*100+"%":"none"} ${c.b!==undefined?c.b*100+"%":"none"}${c.alpha<1?` / ${c.alpha}`:""})`,interpolate:{h:{use:interpolatorLinear,fixup:fixupHueShorter},w:interpolatorLinear,b:interpolatorLinear,alpha:{use:interpolatorLinear,fixup:fixupAlpha}},difference:{h:differenceHueNaive},average:{h:averageAngle}};var definition_default9=definition9;var YW=203;var M1=0.1593017578125;var M2=78.84375;var C1=0.8359375;var C2=18.8515625;var C3=18.6875;function transferPqDecode(v){if(v<0)return 0;const c=Math.pow(v,1/M2);return 1e4*Math.pow(Math.max(0,c-C1)/(C2-C3*c),1/M1)}function transferPqEncode(v){if(v<0)return 0;const c=Math.pow(v/1e4,M1);return Math.pow((C1+C2*c)/(1+C3*c),M2)}var toRel=(c)=>Math.max(c/YW,0);var convertItpToXyz65=({i,t,p,alpha})=>{if(i===undefined)i=0;if(t===undefined)t=0;if(p===undefined)p=0;const l=transferPqDecode(i+0.008609037037932761*t+0.11102962500302593*p);const m=transferPqDecode(i-0.00860903703793275*t-0.11102962500302599*p);const s=transferPqDecode(i+0.5600313357106791*t-0.32062717498731885*p);const res={mode:"xyz65",x:toRel(2.070152218389422*l-1.3263473389671556*m+0.2066510476294051*s),y:toRel(0.3647385209748074*l+0.680566024947227*m-0.0453045459220346*s),z:toRel(-0.049747207535812*l-0.0492609666966138*m+1.1880659249923042*s)};if(alpha!==undefined){res.alpha=alpha}return res};var convertItpToXyz65_default=convertItpToXyz65;var toAbs=(c=0)=>Math.max(c*YW,0);var convertXyz65ToItp=({x,y,z,alpha})=>{const absX=toAbs(x);const absY=toAbs(y);const absZ=toAbs(z);const l=transferPqEncode(0.3592832590121217*absX+0.6976051147779502*absY-0.0358915932320289*absZ);const m=transferPqEncode(-0.1920808463704995*absX+1.1004767970374323*absY+0.0753748658519118*absZ);const s=transferPqEncode(0.0070797844607477*absX+0.0748396662186366*absY+0.8433265453898765*absZ);const i=0.5*l+0.5*m;const t=1.61376953125*l-3.323486328125*m+1.709716796875*s;const p=4.378173828125*l-4.24560546875*m-0.132568359375*s;const res={mode:"itp",i,t,p};if(alpha!==undefined){res.alpha=alpha}return res};var convertXyz65ToItp_default=convertXyz65ToItp;var definition10={mode:"itp",channels:["i","t","p","alpha"],parse:["--ictcp"],serialize:"--ictcp",toMode:{xyz65:convertItpToXyz65_default,rgb:(color)=>convertXyz65ToRgb_default(convertItpToXyz65_default(color))},fromMode:{xyz65:convertXyz65ToItp_default,rgb:(color)=>convertXyz65ToItp_default(convertRgbToXyz65_default(color))},ranges:{i:[0,0.581],t:[-0.369,0.272],p:[-0.164,0.331]},interpolate:{i:interpolatorLinear,t:interpolatorLinear,p:interpolatorLinear,alpha:{use:interpolatorLinear,fixup:fixupAlpha}}};var definition_default10=definition10;var p=134.03437499999998;var d0=0.000000000016295499532821565;var jabPqEncode=(v)=>{if(v<0)return 0;let vn=Math.pow(v/1e4,M1);return Math.pow((C1+C2*vn)/(1+C3*vn),p)};var abs=(v=0)=>Math.max(v*203,0);var convertXyz65ToJab=({x,y,z,alpha})=>{x=abs(x);y=abs(y);z=abs(z);let xp=1.15*x-0.15*z;let yp=0.66*y+0.34*x;let l=jabPqEncode(0.41478972*xp+0.579999*yp+0.014648*z);let m=jabPqEncode(-0.20151*xp+1.120649*yp+0.0531008*z);let s=jabPqEncode(-0.0166008*xp+0.2648*yp+0.6684799*z);let i=(l+m)/2;let res={mode:"jab",j:0.44*i/(1-0.56*i)-d0,a:3.524*l-4.066708*m+0.542708*s,b:0.199076*l+1.096799*m-1.295875*s};if(alpha!==undefined){res.alpha=alpha}return res};var convertXyz65ToJab_default=convertXyz65ToJab;var p2=134.03437499999998;var d02=0.000000000016295499532821565;var jabPqDecode=(v)=>{if(v<0)return 0;let vp=Math.pow(v,1/p2);return 1e4*Math.pow((C1-vp)/(C3*vp-C2),1/M1)};var rel=(v)=>v/203;var convertJabToXyz65=({j,a,b,alpha})=>{if(j===undefined)j=0;if(a===undefined)a=0;if(b===undefined)b=0;let i=(j+d02)/(0.44+0.56*(j+d02));let l=jabPqDecode(i+0.13860504*a+0.058047316*b);let m=jabPqDecode(i-0.13860504*a-0.058047316*b);let s=jabPqDecode(i-0.096019242*a-0.8118919*b);let res={mode:"xyz65",x:rel(1.661373024652174*l-0.914523081304348*m+0.23136208173913045*s),y:rel(-0.3250758611844533*l+1.571847026732543*m-0.21825383453227928*s),z:rel(-0.090982811*l-0.31272829*m+1.5227666*s)};if(alpha!==undefined){res.alpha=alpha}return res};var convertJabToXyz65_default=convertJabToXyz65;var convertRgbToJab=(rgb)=>{let res=convertXyz65ToJab_default(convertRgbToXyz65_default(rgb));if(rgb.r===rgb.b&&rgb.b===rgb.g){res.a=res.b=0}return res};var convertRgbToJab_default=convertRgbToJab;var convertJabToRgb=(color)=>convertXyz65ToRgb_default(convertJabToXyz65_default(color));var convertJabToRgb_default=convertJabToRgb;var definition11={mode:"jab",channels:["j","a","b","alpha"],parse:["--jzazbz"],serialize:"--jzazbz",fromMode:{rgb:convertRgbToJab_default,xyz65:convertXyz65ToJab_default},toMode:{rgb:convertJabToRgb_default,xyz65:convertJabToXyz65_default},ranges:{j:[0,0.222],a:[-0.109,0.129],b:[-0.185,0.134]},interpolate:{j:interpolatorLinear,a:interpolatorLinear,b:interpolatorLinear,alpha:{use:interpolatorLinear,fixup:fixupAlpha}}};var definition_default11=definition11;var convertJabToJch=({j,a,b,alpha})=>{if(a===undefined)a=0;if(b===undefined)b=0;let c=Math.sqrt(a*a+b*b);let res={mode:"jch",j,c};if(c){res.h=normalizeHue_default(Math.atan2(b,a)*180/Math.PI)}if(alpha!==undefined){res.alpha=alpha}return res};var convertJabToJch_default=convertJabToJch;var convertJchToJab=({j,c,h,alpha})=>{if(h===undefined)h=0;let res={mode:"jab",j,a:c?c*Math.cos(h/180*Math.PI):0,b:c?c*Math.sin(h/180*Math.PI):0};if(alpha!==undefined)res.alpha=alpha;return res};var convertJchToJab_default=convertJchToJab;var definition12={mode:"jch",parse:["--jzczhz"],serialize:"--jzczhz",toMode:{jab:convertJchToJab_default,rgb:(c)=>convertJabToRgb_default(convertJchToJab_default(c))},fromMode:{rgb:(c)=>convertJabToJch_default(convertRgbToJab_default(c)),jab:convertJabToJch_default},channels:["j","c","h","alpha"],ranges:{j:[0,0.221],c:[0,0.19],h:[0,360]},interpolate:{h:{use:interpolatorLinear,fixup:fixupHueShorter},c:interpolatorLinear,j:interpolatorLinear,alpha:{use:interpolatorLinear,fixup:fixupAlpha}},difference:{h:differenceHueChroma},average:{h:averageAngle}};var definition_default12=definition12;var k3=Math.pow(29,3)/Math.pow(3,3);var e3=Math.pow(6,3)/Math.pow(29,3);var fn4=(v)=>Math.pow(v,3)>e3?Math.pow(v,3):(116*v-16)/k3;var convertLabToXyz50=({l,a,b,alpha})=>{if(l===undefined)l=0;if(a===undefined)a=0;if(b===undefined)b=0;let fy=(l+16)/116;let fx=a/500+fy;let fz=fy-b/200;let res={mode:"xyz50",x:fn4(fx)*D50.X,y:fn4(fy)*D50.Y,z:fn4(fz)*D50.Z};if(alpha!==undefined){res.alpha=alpha}return res};var convertLabToXyz50_default=convertLabToXyz50;var convertXyz50ToRgb=({x,y,z,alpha})=>{if(x===undefined)x=0;if(y===undefined)y=0;if(z===undefined)z=0;let res=convertLrgbToRgb_default({r:x*3.1341359569958707-y*1.6173863321612538-0.4906619460083532*z,g:x*-0.978795502912089+y*1.916254567259524+0.03344273116131949*z,b:x*0.07195537988411677-y*0.2289768264158322+1.405386058324125*z});if(alpha!==undefined){res.alpha=alpha}return res};var convertXyz50ToRgb_default=convertXyz50ToRgb;var convertLabToRgb=(lab)=>convertXyz50ToRgb_default(convertLabToXyz50_default(lab));var convertLabToRgb_default=convertLabToRgb;var convertRgbToXyz50=(rgb)=>{let{r,g,b,alpha}=convertRgbToLrgb_default(rgb);let res={mode:"xyz50",x:0.436065742824811*r+0.3851514688337912*g+0.14307845442264197*b,y:0.22249319175623702*r+0.7168870538238823*g+0.06061979053616537*b,z:0.013923904500943465*r+0.09708128566574634*g+0.7140993584005155*b};if(alpha!==undefined){res.alpha=alpha}return res};var convertRgbToXyz50_default=convertRgbToXyz50;var f2=(value)=>value>e3?Math.cbrt(value):(k3*value+16)/116;var convertXyz50ToLab=({x,y,z,alpha})=>{if(x===undefined)x=0;if(y===undefined)y=0;if(z===undefined)z=0;let f0=f2(x/D50.X);let f1=f2(y/D50.Y);let f22=f2(z/D50.Z);let res={mode:"lab",l:116*f1-16,a:500*(f0-f1),b:200*(f1-f22)};if(alpha!==undefined){res.alpha=alpha}return res};var convertXyz50ToLab_default=convertXyz50ToLab;var convertRgbToLab=(rgb)=>{let res=convertXyz50ToLab_default(convertRgbToXyz50_default(rgb));if(rgb.r===rgb.b&&rgb.b===rgb.g){res.a=res.b=0}return res};var convertRgbToLab_default=convertRgbToLab;function parseLab(color,parsed){if(!parsed||parsed[0]!=="lab"){return}const res={mode:"lab"};const[,l,a,b,alpha]=parsed;if(l.type===Tok.Hue||a.type===Tok.Hue||b.type===Tok.Hue){return}if(l.type!==Tok.None){res.l=Math.min(Math.max(0,l.value),100)}if(a.type!==Tok.None){res.a=a.type===Tok.Number?a.value:a.value*125/100}if(b.type!==Tok.None){res.b=b.type===Tok.Number?b.value:b.value*125/100}if(alpha.type!==Tok.None){res.alpha=Math.min(1,Math.max(0,alpha.type===Tok.Number?alpha.value:alpha.value/100))}return res}var parseLab_default=parseLab;var definition13={mode:"lab",toMode:{xyz50:convertLabToXyz50_default,rgb:convertLabToRgb_default},fromMode:{xyz50:convertXyz50ToLab_default,rgb:convertRgbToLab_default},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-125,125],b:[-125,125]},parse:[parseLab_default],serialize:(c)=>`lab(${c.l!==undefined?c.l:"none"} ${c.a!==undefined?c.a:"none"} ${c.b!==undefined?c.b:"none"}${c.alpha<1?` / ${c.alpha}`:""})`,interpolate:{l:interpolatorLinear,a:interpolatorLinear,b:interpolatorLinear,alpha:{use:interpolatorLinear,fixup:fixupAlpha}}};var definition_default13=definition13;var definition14={...definition_default13,mode:"lab65",parse:["--lab-d65"],serialize:"--lab-d65",toMode:{xyz65:convertLab65ToXyz65_default,rgb:convertLab65ToRgb_default},fromMode:{xyz65:convertXyz65ToLab65_default,rgb:convertRgbToLab65_default},ranges:{l:[0,100],a:[-125,125],b:[-125,125]}};var definition_default14=definition14;function parseLch(color,parsed){if(!parsed||parsed[0]!=="lch"){return}const res={mode:"lch"};const[,l,c,h,alpha]=parsed;if(l.type!==Tok.None){if(l.type===Tok.Hue){return}res.l=Math.min(Math.max(0,l.value),100)}if(c.type!==Tok.None){res.c=Math.max(0,c.type===Tok.Number?c.value:c.value*150/100)}if(h.type!==Tok.None){if(h.type===Tok.Percentage){return}res.h=h.value}if(alpha.type!==Tok.None){res.alpha=Math.min(1,Math.max(0,alpha.type===Tok.Number?alpha.value:alpha.value/100))}return res}var parseLch_default=parseLch;var definition15={mode:"lch",toMode:{lab:convertLchToLab_default,rgb:(c)=>convertLabToRgb_default(convertLchToLab_default(c))},fromMode:{rgb:(c)=>convertLabToLch_default(convertRgbToLab_default(c)),lab:convertLabToLch_default},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,150],h:[0,360]},parse:[parseLch_default],serialize:(c)=>`lch(${c.l!==undefined?c.l:"none"} ${c.c!==undefined?c.c:"none"} ${c.h!==undefined?c.h:"none"}${c.alpha<1?` / ${c.alpha}`:""})`,interpolate:{h:{use:interpolatorLinear,fixup:fixupHueShorter},c:interpolatorLinear,l:interpolatorLinear,alpha:{use:interpolatorLinear,fixup:fixupAlpha}},difference:{h:differenceHueChroma},average:{h:averageAngle}};var definition_default15=definition15;var definition16={...definition_default15,mode:"lch65",parse:["--lch-d65"],serialize:"--lch-d65",toMode:{lab65:(c)=>convertLchToLab_default(c,"lab65"),rgb:(c)=>convertLab65ToRgb_default(convertLchToLab_default(c,"lab65"))},fromMode:{rgb:(c)=>convertLabToLch_default(convertRgbToLab65_default(c),"lch65"),lab65:(c)=>convertLabToLch_default(c,"lch65")},ranges:{l:[0,100],c:[0,150],h:[0,360]}};var definition_default16=definition16;var convertLuvToLchuv=({l,u,v,alpha})=>{if(u===undefined)u=0;if(v===undefined)v=0;let c=Math.sqrt(u*u+v*v);let res={mode:"lchuv",l,c};if(c){res.h=normalizeHue_default(Math.atan2(v,u)*180/Math.PI)}if(alpha!==undefined){res.alpha=alpha}return res};var convertLuvToLchuv_default=convertLuvToLchuv;var convertLchuvToLuv=({l,c,h,alpha})=>{if(h===undefined)h=0;let res={mode:"luv",l,u:c?c*Math.cos(h/180*Math.PI):0,v:c?c*Math.sin(h/180*Math.PI):0};if(alpha!==undefined){res.alpha=alpha}return res};var convertLchuvToLuv_default=convertLchuvToLuv;var u_fn=(x,y,z)=>4*x/(x+15*y+3*z);var v_fn=(x,y,z)=>9*y/(x+15*y+3*z);var un=u_fn(D50.X,D50.Y,D50.Z);var vn=v_fn(D50.X,D50.Y,D50.Z);var l_fn=(value)=>value<=e3?k3*value:116*Math.cbrt(value)-16;var convertXyz50ToLuv=({x,y,z,alpha})=>{if(x===undefined)x=0;if(y===undefined)y=0;if(z===undefined)z=0;let l=l_fn(y/D50.Y);let u=u_fn(x,y,z);let v=v_fn(x,y,z);if(!isFinite(u)||!isFinite(v)){l=u=v=0}else{u=13*l*(u-un);v=13*l*(v-vn)}let res={mode:"luv",l,u,v};if(alpha!==undefined){res.alpha=alpha}return res};var convertXyz50ToLuv_default=convertXyz50ToLuv;var u_fn2=(x,y,z)=>4*x/(x+15*y+3*z);var v_fn2=(x,y,z)=>9*y/(x+15*y+3*z);var un2=u_fn2(D50.X,D50.Y,D50.Z);var vn2=v_fn2(D50.X,D50.Y,D50.Z);var convertLuvToXyz50=({l,u,v,alpha})=>{if(l===undefined)l=0;if(l===0){return{mode:"xyz50",x:0,y:0,z:0}}if(u===undefined)u=0;if(v===undefined)v=0;let up=u/(13*l)+un2;let vp=v/(13*l)+vn2;let y=D50.Y*(l<=8?l/k3:Math.pow((l+16)/116,3));let x=y*(9*up)/(4*vp);let z=y*(12-3*up-20*vp)/(4*vp);let res={mode:"xyz50",x,y,z};if(alpha!==undefined){res.alpha=alpha}return res};var convertLuvToXyz50_default=convertLuvToXyz50;var convertRgbToLchuv=(rgb)=>convertLuvToLchuv_default(convertXyz50ToLuv_default(convertRgbToXyz50_default(rgb)));var convertLchuvToRgb=(lchuv)=>convertXyz50ToRgb_default(convertLuvToXyz50_default(convertLchuvToLuv_default(lchuv)));var definition17={mode:"lchuv",toMode:{luv:convertLchuvToLuv_default,rgb:convertLchuvToRgb},fromMode:{rgb:convertRgbToLchuv,luv:convertLuvToLchuv_default},channels:["l","c","h","alpha"],parse:["--lchuv"],serialize:"--lchuv",ranges:{l:[0,100],c:[0,176.956],h:[0,360]},interpolate:{h:{use:interpolatorLinear,fixup:fixupHueShorter},c:interpolatorLinear,l:interpolatorLinear,alpha:{use:interpolatorLinear,fixup:fixupAlpha}},difference:{h:differenceHueChroma},average:{h:averageAngle}};var definition_default17=definition17;var definition18={...definition_default,mode:"lrgb",toMode:{rgb:convertLrgbToRgb_default},fromMode:{rgb:convertRgbToLrgb_default},parse:["srgb-linear"],serialize:"srgb-linear"};var definition_default18=definition18;var definition19={mode:"luv",toMode:{xyz50:convertLuvToXyz50_default,rgb:(luv)=>convertXyz50ToRgb_default(convertLuvToXyz50_default(luv))},fromMode:{xyz50:convertXyz50ToLuv_default,rgb:(rgb)=>convertXyz50ToLuv_default(convertRgbToXyz50_default(rgb))},channels:["l","u","v","alpha"],parse:["--luv"],serialize:"--luv",ranges:{l:[0,100],u:[-84.936,175.042],v:[-125.882,87.243]},interpolate:{l:interpolatorLinear,u:interpolatorLinear,v:interpolatorLinear,alpha:{use:interpolatorLinear,fixup:fixupAlpha}}};var definition_default19=definition19;var convertLrgbToOklab=({r,g,b,alpha})=>{if(r===undefined)r=0;if(g===undefined)g=0;if(b===undefined)b=0;let L=Math.cbrt(0.412221469470763*r+0.5363325372617348*g+0.0514459932675022*b);let M=Math.cbrt(0.2119034958178252*r+0.6806995506452344*g+0.1073969535369406*b);let S=Math.cbrt(0.0883024591900564*r+0.2817188391361215*g+0.6299787016738222*b);let res={mode:"oklab",l:0.210454268309314*L+0.7936177747023054*M-0.0040720430116193*S,a:1.9779985324311684*L-2.42859224204858*M+0.450593709617411*S,b:0.0259040424655478*L+0.7827717124575296*M-0.8086757549230774*S};if(alpha!==undefined){res.alpha=alpha}return res};var convertLrgbToOklab_default=convertLrgbToOklab;var convertRgbToOklab=(rgb)=>{let res=convertLrgbToOklab_default(convertRgbToLrgb_default(rgb));if(rgb.r===rgb.b&&rgb.b===rgb.g){res.a=res.b=0}return res};var convertRgbToOklab_default=convertRgbToOklab;var convertOklabToLrgb=({l,a,b,alpha})=>{if(l===undefined)l=0;if(a===undefined)a=0;if(b===undefined)b=0;let L=Math.pow(l+0.3963377773761749*a+0.2158037573099136*b,3);let M=Math.pow(l-0.1055613458156586*a-0.0638541728258133*b,3);let S=Math.pow(l-0.0894841775298119*a-1.2914855480194092*b,3);let res={mode:"lrgb",r:4.076741636075957*L-3.3077115392580616*M+0.2309699031821044*S,g:-1.2684379732850317*L+2.6097573492876887*M-0.3413193760026573*S,b:-0.0041960761386756*L-0.7034186179359362*M+1.7076146940746117*S};if(alpha!==undefined){res.alpha=alpha}return res};var convertOklabToLrgb_default=convertOklabToLrgb;var convertOklabToRgb=(c)=>convertLrgbToRgb_default(convertOklabToLrgb_default(c));var convertOklabToRgb_default=convertOklabToRgb;function toe(x){const k_1=0.206;const k_2=0.03;const k_3=(1+k_1)/(1+k_2);return 0.5*(k_3*x-k_1+Math.sqrt((k_3*x-k_1)*(k_3*x-k_1)+4*k_2*k_3*x))}function toe_inv(x){const k_1=0.206;const k_2=0.03;const k_3=(1+k_1)/(1+k_2);return(x*x+k_1*x)/(k_3*(x+k_2))}function compute_max_saturation(a,b){let k0,k1,k2,k3,k4,wl,wm,ws;if(-1.88170328*a-0.80936493*b>1){k0=1.19086277;k1=1.76576728;k2=0.59662641;k3=0.75515197;k4=0.56771245;wl=4.0767416621;wm=-3.3077115913;ws=0.2309699292}else if(1.81444104*a-1.19445276*b>1){k0=0.73956515;k1=-0.45954404;k2=0.08285427;k3=0.1254107;k4=0.14503204;wl=-1.2684380046;wm=2.6097574011;ws=-0.3413193965}else{k0=1.35733652;k1=-0.00915799;k2=-1.1513021;k3=-0.50559606;k4=0.00692167;wl=-0.0041960863;wm=-0.7034186147;ws=1.707614701}let S=k0+k1*a+k2*b+k3*a*a+k4*a*b;let k_l=0.3963377774*a+0.2158037573*b;let k_m=-0.1055613458*a-0.0638541728*b;let k_s=-0.0894841775*a-1.291485548*b;{let l_=1+S*k_l;let m_=1+S*k_m;let s_=1+S*k_s;let l=l_*l_*l_;let m=m_*m_*m_;let s=s_*s_*s_;let l_dS=3*k_l*l_*l_;let m_dS=3*k_m*m_*m_;let s_dS=3*k_s*s_*s_;let l_dS2=6*k_l*k_l*l_;let m_dS2=6*k_m*k_m*m_;let s_dS2=6*k_s*k_s*s_;let f=wl*l+wm*m+ws*s;let f1=wl*l_dS+wm*m_dS+ws*s_dS;let f2=wl*l_dS2+wm*m_dS2+ws*s_dS2;S=S-f*f1/(f1*f1-0.5*f*f2)}return S}function find_cusp(a,b){let S_cusp=compute_max_saturation(a,b);let rgb=convertOklabToLrgb_default({l:1,a:S_cusp*a,b:S_cusp*b});let L_cusp=Math.cbrt(1/Math.max(rgb.r,rgb.g,rgb.b));let C_cusp=L_cusp*S_cusp;return[L_cusp,C_cusp]}function find_gamut_intersection(a,b,L1,C1,L0,cusp=null){if(!cusp){cusp=find_cusp(a,b)}let t;if((L1-L0)*cusp[1]-(cusp[0]-L0)*C1<=0){t=cusp[1]*L0/(C1*cusp[0]+cusp[1]*(L0-L1))}else{t=cusp[1]*(L0-1)/(C1*(cusp[0]-1)+cusp[1]*(L0-L1));{let dL=L1-L0;let dC=C1;let k_l=0.3963377774*a+0.2158037573*b;let k_m=-0.1055613458*a-0.0638541728*b;let k_s=-0.0894841775*a-1.291485548*b;let l_dt=dL+dC*k_l;let m_dt=dL+dC*k_m;let s_dt=dL+dC*k_s;{let L=L0*(1-t)+t*L1;let C=t*C1;let l_=L+C*k_l;let m_=L+C*k_m;let s_=L+C*k_s;let l=l_*l_*l_;let m=m_*m_*m_;let s=s_*s_*s_;let ldt=3*l_dt*l_*l_;let mdt=3*m_dt*m_*m_;let sdt=3*s_dt*s_*s_;let ldt2=6*l_dt*l_dt*l_;let mdt2=6*m_dt*m_dt*m_;let sdt2=6*s_dt*s_dt*s_;let r=4.0767416621*l-3.3077115913*m+0.2309699292*s-1;let r1=4.0767416621*ldt-3.3077115913*mdt+0.2309699292*sdt;let r2=4.0767416621*ldt2-3.3077115913*mdt2+0.2309699292*sdt2;let u_r=r1/(r1*r1-0.5*r*r2);let t_r=-r*u_r;let g=-1.2684380046*l+2.6097574011*m-0.3413193965*s-1;let g1=-1.2684380046*ldt+2.6097574011*mdt-0.3413193965*sdt;let g2=-1.2684380046*ldt2+2.6097574011*mdt2-0.3413193965*sdt2;let u_g=g1/(g1*g1-0.5*g*g2);let t_g=-g*u_g;let b=-0.0041960863*l-0.7034186147*m+1.707614701*s-1;let b1=-0.0041960863*ldt-0.7034186147*mdt+1.707614701*sdt;let b2=-0.0041960863*ldt2-0.7034186147*mdt2+1.707614701*sdt2;let u_b=b1/(b1*b1-0.5*b*b2);let t_b=-b*u_b;t_r=u_r>=0?t_r:1e6;t_g=u_g>=0?t_g:1e6;t_b=u_b>=0?t_b:1e6;t+=Math.min(t_r,Math.min(t_g,t_b))}}}return t}function get_ST_max(a_,b_,cusp=null){if(!cusp){cusp=find_cusp(a_,b_)}let L=cusp[0];let C=cusp[1];return[C/L,C/(1-L)]}function get_Cs(L,a_,b_){let cusp=find_cusp(a_,b_);let C_max=find_gamut_intersection(a_,b_,L,1,L,cusp);let ST_max=get_ST_max(a_,b_,cusp);let S_mid=0.11516993+1/(7.4477897+4.1590124*b_+a_*(-2.19557347+1.75198401*b_+a_*(-2.13704948-10.02301043*b_+a_*(-4.24894561+5.38770819*b_+4.69891013*a_))));let T_mid=0.11239642+1/(1.6132032-0.68124379*b_+a_*(0.40370612+0.90148123*b_+a_*(-0.27087943+0.6122399*b_+a_*(0.00299215-0.45399568*b_-0.14661872*a_))));let k=C_max/Math.min(L*ST_max[0],(1-L)*ST_max[1]);let C_a=L*S_mid;let C_b=(1-L)*T_mid;let C_mid=0.9*k*Math.sqrt(Math.sqrt(1/(1/(C_a*C_a*C_a*C_a)+1/(C_b*C_b*C_b*C_b))));C_a=L*0.4;C_b=(1-L)*0.8;let C_0=Math.sqrt(1/(1/(C_a*C_a)+1/(C_b*C_b)));return[C_0,C_mid,C_max]}function convertOklabToOkhsl(lab){const l=lab.l!==undefined?lab.l:0;const a=lab.a!==undefined?lab.a:0;const b=lab.b!==undefined?lab.b:0;const ret={mode:"okhsl",l:toe(l)};if(lab.alpha!==undefined){ret.alpha=lab.alpha}let c=Math.sqrt(a*a+b*b);if(!c){ret.s=0;return ret}let[C_0,C_mid,C_max]=get_Cs(l,a/c,b/c);let s;if(c<C_mid){let k_0=0;let k_1=0.8*C_0;let k_2=1-k_1/C_mid;let t=(c-k_0)/(k_1+k_2*(c-k_0));s=t*0.8}else{let k_0=C_mid;let k_1=0.2*C_mid*C_mid*1.25*1.25/C_0;let k_2=1-k_1/(C_max-C_mid);let t=(c-k_0)/(k_1+k_2*(c-k_0));s=0.8+0.2*t}if(s){ret.s=s;ret.h=normalizeHue_default(Math.atan2(b,a)*180/Math.PI)}return ret}function convertOkhslToOklab(hsl){let h=hsl.h!==undefined?hsl.h:0;let s=hsl.s!==undefined?hsl.s:0;let l=hsl.l!==undefined?hsl.l:0;const ret={mode:"oklab",l:toe_inv(l)};if(hsl.alpha!==undefined){ret.alpha=hsl.alpha}if(!s||l===1){ret.a=ret.b=0;return ret}let a_=Math.cos(h/180*Math.PI);let b_=Math.sin(h/180*Math.PI);let[C_0,C_mid,C_max]=get_Cs(ret.l,a_,b_);let t,k_0,k_1,k_2;if(s<0.8){t=1.25*s;k_0=0;k_1=0.8*C_0;k_2=1-k_1/C_mid}else{t=5*(s-0.8);k_0=C_mid;k_1=0.2*C_mid*C_mid*1.25*1.25/C_0;k_2=1-k_1/(C_max-C_mid)}let C=k_0+t*k_1/(1-k_2*t);ret.a=C*a_;ret.b=C*b_;return ret}var modeOkhsl={...definition_default7,mode:"okhsl",channels:["h","s","l","alpha"],parse:["--okhsl"],serialize:"--okhsl",fromMode:{oklab:convertOklabToOkhsl,rgb:(c)=>convertOklabToOkhsl(convertRgbToOklab_default(c))},toMode:{oklab:convertOkhslToOklab,rgb:(c)=>convertOklabToRgb_default(convertOkhslToOklab(c))}};var modeOkhsl_default=modeOkhsl;function convertOklabToOkhsv(lab){let l=lab.l!==undefined?lab.l:0;let a=lab.a!==undefined?lab.a:0;let b=lab.b!==undefined?lab.b:0;let c=Math.sqrt(a*a+b*b);let a_=c?a/c:1;let b_=c?b/c:1;let[S_max,T]=get_ST_max(a_,b_);let S_0=0.5;let k=1-S_0/S_max;let t=T/(c+l*T);let L_v=t*l;let C_v=t*c;let L_vt=toe_inv(L_v);let C_vt=C_v*L_vt/L_v;let rgb_scale=convertOklabToLrgb_default({l:L_vt,a:a_*C_vt,b:b_*C_vt});let scale_L=Math.cbrt(1/Math.max(rgb_scale.r,rgb_scale.g,rgb_scale.b,0));l=l/scale_L;c=c/scale_L*toe(l)/l;l=toe(l);const ret={mode:"okhsv",s:c?(S_0+T)*C_v/(T*S_0+T*k*C_v):0,v:l?l/L_v:0};if(ret.s){ret.h=normalizeHue_default(Math.atan2(b,a)*180/Math.PI)}if(lab.alpha!==undefined){ret.alpha=lab.alpha}return ret}function convertOkhsvToOklab(hsv){const ret={mode:"oklab"};if(hsv.alpha!==undefined){ret.alpha=hsv.alpha}const h=hsv.h!==undefined?hsv.h:0;const s=hsv.s!==undefined?hsv.s:0;const v=hsv.v!==undefined?hsv.v:0;const a_=Math.cos(h/180*Math.PI);const b_=Math.sin(h/180*Math.PI);const[S_max,T]=get_ST_max(a_,b_);const S_0=0.5;const k=1-S_0/S_max;const L_v=1-s*S_0/(S_0+T-T*k*s);const C_v=s*T*S_0/(S_0+T-T*k*s);const L_vt=toe_inv(L_v);const C_vt=C_v*L_vt/L_v;const rgb_scale=convertOklabToLrgb_default({l:L_vt,a:a_*C_vt,b:b_*C_vt});const scale_L=Math.cbrt(1/Math.max(rgb_scale.r,rgb_scale.g,rgb_scale.b,0));const L_new=toe_inv(v*L_v);const C=C_v*L_new/L_v;ret.l=L_new*scale_L;ret.a=C*a_*scale_L;ret.b=C*b_*scale_L;return ret}var modeOkhsv={...definition_default8,mode:"okhsv",channels:["h","s","v","alpha"],parse:["--okhsv"],serialize:"--okhsv",fromMode:{oklab:convertOklabToOkhsv,rgb:(c)=>convertOklabToOkhsv(convertRgbToOklab_default(c))},toMode:{oklab:convertOkhsvToOklab,rgb:(c)=>convertOklabToRgb_default(convertOkhsvToOklab(c))}};var modeOkhsv_default=modeOkhsv;function parseOklab(color,parsed){if(!parsed||parsed[0]!=="oklab"){return}const res={mode:"oklab"};const[,l,a,b,alpha]=parsed;if(l.type===Tok.Hue||a.type===Tok.Hue||b.type===Tok.Hue){return}if(l.type!==Tok.None){res.l=Math.min(Math.max(0,l.type===Tok.Number?l.value:l.value/100),1)}if(a.type!==Tok.None){res.a=a.type===Tok.Number?a.value:a.value*0.4/100}if(b.type!==Tok.None){res.b=b.type===Tok.Number?b.value:b.value*0.4/100}if(alpha.type!==Tok.None){res.alpha=Math.min(1,Math.max(0,alpha.type===Tok.Number?alpha.value:alpha.value/100))}return res}var parseOklab_default=parseOklab;var definition20={...definition_default13,mode:"oklab",toMode:{lrgb:convertOklabToLrgb_default,rgb:convertOklabToRgb_default},fromMode:{lrgb:convertLrgbToOklab_default,rgb:convertRgbToOklab_default},ranges:{l:[0,1],a:[-0.4,0.4],b:[-0.4,0.4]},parse:[parseOklab_default],serialize:(c)=>`oklab(${c.l!==undefined?c.l:"none"} ${c.a!==undefined?c.a:"none"} ${c.b!==undefined?c.b:"none"}${c.alpha<1?` / ${c.alpha}`:""})`};var definition_default20=definition20;function parseOklch(color,parsed){if(!parsed||parsed[0]!=="oklch"){return}const res={mode:"oklch"};const[,l,c,h,alpha]=parsed;if(l.type!==Tok.None){if(l.type===Tok.Hue){return}res.l=Math.min(Math.max(0,l.type===Tok.Number?l.value:l.value/100),1)}if(c.type!==Tok.None){res.c=Math.max(0,c.type===Tok.Number?c.value:c.value*0.4/100)}if(h.type!==Tok.None){if(h.type===Tok.Percentage){return}res.h=h.value}if(alpha.type!==Tok.None){res.alpha=Math.min(1,Math.max(0,alpha.type===Tok.Number?alpha.value:alpha.value/100))}return res}var parseOklch_default=parseOklch;var definition21={...definition_default15,mode:"oklch",toMode:{oklab:(c)=>convertLchToLab_default(c,"oklab"),rgb:(c)=>convertOklabToRgb_default(convertLchToLab_default(c,"oklab"))},fromMode:{rgb:(c)=>convertLabToLch_default(convertRgbToOklab_default(c),"oklch"),oklab:(c)=>convertLabToLch_default(c,"oklch")},parse:[parseOklch_default],serialize:(c)=>`oklch(${c.l!==undefined?c.l:"none"} ${c.c!==undefined?c.c:"none"} ${c.h!==undefined?c.h:"none"}${c.alpha<1?` / ${c.alpha}`:""})`,ranges:{l:[0,1],c:[0,0.4],h:[0,360]}};var definition_default21=definition21;var convertP3ToXyz65=(rgb)=>{let{r,g,b,alpha}=convertRgbToLrgb_default(rgb);let res={mode:"xyz65",x:0.486570948648216*r+0.265667693169093*g+0.1982172852343625*b,y:0.2289745640697487*r+0.6917385218365062*g+0.079286914093745*b,z:0*r+0.0451133818589026*g+1.043944368900976*b};if(alpha!==undefined){res.alpha=alpha}return res};var convertP3ToXyz65_default=convertP3ToXyz65;var convertXyz65ToP3=({x,y,z,alpha})=>{if(x===undefined)x=0;if(y===undefined)y=0;if(z===undefined)z=0;let res=convertLrgbToRgb_default({r:x*2.4934969119414263-y*0.9313836179191242-0.402710784450717*z,g:x*-0.8294889695615749+y*1.7626640603183465+0.0236246858419436*z,b:x*0.0358458302437845-y*0.0761723892680418+0.9568845240076871*z},"p3");if(alpha!==undefined){res.alpha=alpha}return res};var convertXyz65ToP3_default=convertXyz65ToP3;var definition22={...definition_default,mode:"p3",parse:["display-p3"],serialize:"display-p3",fromMode:{rgb:(color)=>convertXyz65ToP3_default(convertRgbToXyz65_default(color)),xyz65:convertXyz65ToP3_default},toMode:{rgb:(color)=>convertXyz65ToRgb_default(convertP3ToXyz65_default(color)),xyz65:convertP3ToXyz65_default}};var definition_default22=definition22;var gamma2=(v)=>{let abs=Math.abs(v);if(abs>=1/512){return Math.sign(v)*Math.pow(abs,1/1.8)}return 16*v};var convertXyz50ToProphoto=({x,y,z,alpha})=>{if(x===undefined)x=0;if(y===undefined)y=0;if(z===undefined)z=0;let res={mode:"prophoto",r:gamma2(x*1.3457868816471585-y*0.2555720873797946-0.0511018649755453*z),g:gamma2(x*-0.5446307051249019+y*1.5082477428451466+0.0205274474364214*z),b:gamma2(x*0+y*0+1.2119675456389452*z)};if(alpha!==undefined){res.alpha=alpha}return res};var convertXyz50ToProphoto_default=convertXyz50ToProphoto;var linearize2=(v=0)=>{let abs=Math.abs(v);if(abs>=16/512){return Math.sign(v)*Math.pow(abs,1.8)}return v/16};var convertProphotoToXyz50=(prophoto)=>{let r=linearize2(prophoto.r);let g=linearize2(prophoto.g);let b=linearize2(prophoto.b);let res={mode:"xyz50",x:0.7977666449006423*r+0.1351812974005331*g+0.0313477341283922*b,y:0.2880748288194013*r+0.7118352342418731*g+0.0000899369387256*b,z:0*r+0*g+0.8251046025104602*b};if(prophoto.alpha!==undefined){res.alpha=prophoto.alpha}return res};var convertProphotoToXyz50_default=convertProphotoToXyz50;var definition23={...definition_default,mode:"prophoto",parse:["prophoto-rgb"],serialize:"prophoto-rgb",fromMode:{xyz50:convertXyz50ToProphoto_default,rgb:(color)=>convertXyz50ToProphoto_default(convertRgbToXyz50_default(color))},toMode:{xyz50:convertProphotoToXyz50_default,rgb:(color)=>convertXyz50ToRgb_default(convertProphotoToXyz50_default(color))}};var definition_default23=definition23;var α=1.09929682680944;var β=0.018053968510807;var gamma3=(v)=>{const abs=Math.abs(v);if(abs>β){return(Math.sign(v)||1)*(α*Math.pow(abs,0.45)-(α-1))}return 4.5*v};var convertXyz65ToRec2020=({x,y,z,alpha})=>{if(x===undefined)x=0;if(y===undefined)y=0;if(z===undefined)z=0;let res={mode:"rec2020",r:gamma3(x*1.7166511879712683-y*0.3556707837763925-0.2533662813736599*z),g:gamma3(x*-0.6666843518324893+y*1.6164812366349395+0.0157685458139111*z),b:gamma3(x*0.0176398574453108-y*0.0427706132578085+0.9421031212354739*z)};if(alpha!==undefined){res.alpha=alpha}return res};var convertXyz65ToRec2020_default=convertXyz65ToRec2020;var α2=1.09929682680944;var β2=0.018053968510807;var linearize3=(v=0)=>{let abs=Math.abs(v);if(abs<β2*4.5){return v/4.5}return(Math.sign(v)||1)*Math.pow((abs+α2-1)/α2,1/0.45)};var convertRec2020ToXyz65=(rec2020)=>{let r=linearize3(rec2020.r);let g=linearize3(rec2020.g);let b=linearize3(rec2020.b);let res={mode:"xyz65",x:0.6369580483012911*r+0.1446169035862083*g+0.1688809751641721*b,y:0.262700212011267*r+0.6779980715188708*g+0.059301716469862*b,z:0*r+0.0280726930490874*g+1.0609850577107909*b};if(rec2020.alpha!==undefined){res.alpha=rec2020.alpha}return res};var convertRec2020ToXyz65_default=convertRec2020ToXyz65;var definition24={...definition_default,mode:"rec2020",fromMode:{xyz65:convertXyz65ToRec2020_default,rgb:(color)=>convertXyz65ToRec2020_default(convertRgbToXyz65_default(color))},toMode:{xyz65:convertRec2020ToXyz65_default,rgb:(color)=>convertXyz65ToRgb_default(convertRec2020ToXyz65_default(color))},parse:["rec2020"],serialize:"rec2020"};var definition_default24=definition24;var bias=0.0037930732552754493;var bias_cbrt=Math.cbrt(bias);var transfer=(v)=>Math.cbrt(v)-bias_cbrt;var convertRgbToXyb=(color)=>{const{r,g,b,alpha}=convertRgbToLrgb_default(color);const l=transfer(0.3*r+0.622*g+0.078*b+bias);const m=transfer(0.23*r+0.692*g+0.078*b+bias);const s=transfer(0.2434226892454782*r+0.2047674442449682*g+0.5518098665095535*b+bias);const res={mode:"xyb",x:(l-m)/2,y:(l+m)/2,b:s-(l+m)/2};if(alpha!==undefined)res.alpha=alpha;return res};var convertRgbToXyb_default=convertRgbToXyb;var transfer2=(v)=>Math.pow(v+bias_cbrt,3);var convertXybToRgb=({x,y,b,alpha})=>{if(x===undefined)x=0;if(y===undefined)y=0;if(b===undefined)b=0;const l=transfer2(x+y)-bias;const m=transfer2(y-x)-bias;const s=transfer2(b+y)-bias;const res=convertLrgbToRgb_default({r:11.031566904639861*l-9.866943908131562*m-0.16462299650829934*s,g:-3.2541473810744237*l+4.418770377582723*m-0.16462299650829934*s,b:-3.6588512867136815*l+2.7129230459360922*m+1.9459282407775895*s});if(alpha!==undefined)res.alpha=alpha;return res};var convertXybToRgb_default=convertXybToRgb;var definition25={mode:"xyb",channels:["x","y","b","alpha"],parse:["--xyb"],serialize:"--xyb",toMode:{rgb:convertXybToRgb_default},fromMode:{rgb:convertRgbToXyb_default},ranges:{x:[-0.0154,0.0281],y:[0,0.8453],b:[-0.2778,0.388]},interpolate:{x:interpolatorLinear,y:interpolatorLinear,b:interpolatorLinear,alpha:{use:interpolatorLinear,fixup:fixupAlpha}}};var definition_default25=definition25;var definition26={mode:"xyz50",parse:["xyz-d50"],serialize:"xyz-d50",toMode:{rgb:convertXyz50ToRgb_default,lab:convertXyz50ToLab_default},fromMode:{rgb:convertRgbToXyz50_default,lab:convertLabToXyz50_default},channels:["x","y","z","alpha"],ranges:{x:[0,0.964],y:[0,0.999],z:[0,0.825]},interpolate:{x:interpolatorLinear,y:interpolatorLinear,z:interpolatorLinear,alpha:{use:interpolatorLinear,fixup:fixupAlpha}}};var definition_default26=definition26;var convertXyz65ToXyz50=(xyz65)=>{let{x,y,z,alpha}=xyz65;if(x===undefined)x=0;if(y===undefined)y=0;if(z===undefined)z=0;let res={mode:"xyz50",x:1.0479298208405488*x+0.0229467933410191*y-0.0501922295431356*z,y:0.0296278156881593*x+0.990434484573249*y-0.0170738250293851*z,z:-0.0092430581525912*x+0.0150551448965779*y+0.7518742899580008*z};if(alpha!==undefined){res.alpha=alpha}return res};var convertXyz65ToXyz50_default=convertXyz65ToXyz50;var convertXyz50ToXyz65=(xyz50)=>{let{x,y,z,alpha}=xyz50;if(x===undefined)x=0;if(y===undefined)y=0;if(z===undefined)z=0;let res={mode:"xyz65",x:0.9554734527042182*x-0.0230985368742614*y+0.0632593086610217*z,y:-0.0283697069632081*x+1.0099954580058226*y+0.021041398966943*z,z:0.0123140016883199*x-0.0205076964334779*y+1.3303659366080753*z};if(alpha!==undefined){res.alpha=alpha}return res};var convertXyz50ToXyz65_default=convertXyz50ToXyz65;var definition27={mode:"xyz65",toMode:{rgb:convertXyz65ToRgb_default,xyz50:convertXyz65ToXyz50_default},fromMode:{rgb:convertRgbToXyz65_default,xyz50:convertXyz50ToXyz65_default},ranges:{x:[0,0.95],y:[0,1],z:[0,1.088]},channels:["x","y","z","alpha"],parse:["xyz","xyz-d65"],serialize:"xyz-d65",interpolate:{x:interpolatorLinear,y:interpolatorLinear,z:interpolatorLinear,alpha:{use:interpolatorLinear,fixup:fixupAlpha}}};var definition_default27=definition27;var convertRgbToYiq=({r,g,b,alpha})=>{if(r===undefined)r=0;if(g===undefined)g=0;if(b===undefined)b=0;const res={mode:"yiq",y:0.29889531*r+0.58662247*g+0.11448223*b,i:0.59597799*r-0.2741761*g-0.32180189*b,q:0.21147017*r-0.52261711*g+0.31114694*b};if(alpha!==undefined)res.alpha=alpha;return res};var convertRgbToYiq_default=convertRgbToYiq;var convertYiqToRgb=({y,i,q,alpha})=>{if(y===undefined)y=0;if(i===undefined)i=0;if(q===undefined)q=0;const res={mode:"rgb",r:y+0.95608445*i+0.6208885*q,g:y-0.27137664*i-0.6486059*q,b:y-1.10561724*i+1.70250126*q};if(alpha!==undefined)res.alpha=alpha;return res};var convertYiqToRgb_default=convertYiqToRgb;var definition28={mode:"yiq",toMode:{rgb:convertYiqToRgb_default},fromMode:{rgb:convertRgbToYiq_default},channels:["y","i","q","alpha"],parse:["--yiq"],serialize:"--yiq",ranges:{i:[-0.595,0.595],q:[-0.522,0.522]},interpolate:{y:interpolatorLinear,i:interpolatorLinear,q:interpolatorLinear,alpha:{use:interpolatorLinear,fixup:fixupAlpha}}};var definition_default28=definition28;var a98=useMode(definition_default2);var cubehelix=useMode(definition_default3);var dlab=useMode(definition_default4);var dlch=useMode(definition_default5);var hsi=useMode(definition_default6);var hsl=useMode(definition_default7);var hsv=useMode(definition_default8);var hwb=useMode(definition_default9);var itp=useMode(definition_default10);var jab=useMode(definition_default11);var jch=useMode(definition_default12);var lab=useMode(definition_default13);var lab65=useMode(definition_default14);var lch=useMode(definition_default15);var lch65=useMode(definition_default16);var lchuv=useMode(definition_default17);var lrgb=useMode(definition_default18);var luv=useMode(definition_default19);var okhsl=useMode(modeOkhsl_default);var okhsv=useMode(modeOkhsv_default);var oklab=useMode(definition_default20);var oklch=useMode(definition_default21);var p3=useMode(definition_default22);var prophoto=useMode(definition_default23);var rec2020=useMode(definition_default24);var rgb=useMode(definition_default);var xyb=useMode(definition_default25);var xyz50=useMode(definition_default26);var xyz65=useMode(definition_default27);var yiq=useMode(definition_default28);
5
+ export{_prepare_default,converter_default,getMode,parse_default,differenceEuclidean};
6
+
7
+ //# debugId=192CC698838B5D3B64756E2164756E21