contour-ds 1.7.2 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/README.md +244 -326
  2. package/dist/agent-cookbook.json +960 -0
  3. package/dist/agent-examples.json +65 -0
  4. package/dist/agent-map-wiring.json +152 -0
  5. package/dist/agent-rules.json +16 -0
  6. package/dist/build-manifest.json +344 -126
  7. package/dist/contour-wc-content.esm.js +1939 -0
  8. package/dist/contour-wc-content.esm.min.js +1 -0
  9. package/dist/contour-wc-core.esm.js +3724 -0
  10. package/dist/contour-wc-core.esm.min.js +1 -0
  11. package/dist/contour-wc-dashboard.esm.js +6986 -0
  12. package/dist/contour-wc-dashboard.esm.min.js +1 -0
  13. package/dist/contour-wc-data.esm.js +6572 -0
  14. package/dist/contour-wc-data.esm.min.js +1 -0
  15. package/dist/contour-wc-docs.esm.js +976 -0
  16. package/dist/contour-wc-docs.esm.min.js +1 -0
  17. package/dist/contour-wc-feedback.esm.js +1742 -0
  18. package/dist/contour-wc-feedback.esm.min.js +1 -0
  19. package/dist/contour-wc-forms.esm.js +2437 -0
  20. package/dist/contour-wc-forms.esm.min.js +1 -0
  21. package/dist/contour-wc-interaction.esm.js +1343 -0
  22. package/dist/contour-wc-interaction.esm.min.js +1 -0
  23. package/dist/contour-wc-layout.esm.js +845 -0
  24. package/dist/contour-wc-layout.esm.min.js +1 -0
  25. package/dist/contour-wc-map.esm.js +2411 -0
  26. package/dist/contour-wc-map.esm.min.js +1 -0
  27. package/dist/contour-wc-misc.esm.js +945 -0
  28. package/dist/contour-wc-misc.esm.min.js +1 -0
  29. package/dist/contour-wc-navigation.esm.js +2842 -0
  30. package/dist/contour-wc-navigation.esm.min.js +1 -0
  31. package/dist/contour-wc-ui.esm.js +6519 -0
  32. package/dist/contour-wc-ui.esm.min.js +1 -0
  33. package/dist/contour-wc.esm.js +14435 -5723
  34. package/dist/contour-wc.esm.min.js +1 -1
  35. package/dist/contour-wc.js +14436 -5725
  36. package/dist/contour-wc.min.js +1 -1
  37. package/dist/contour.a11y.json +402 -0
  38. package/dist/contour.code-snippets +4534 -0
  39. package/dist/contour.components.json +4870 -1222
  40. package/dist/contour.css +6672 -4711
  41. package/dist/contour.d.ts +753 -1085
  42. package/dist/contour.esm.js +440 -18
  43. package/dist/contour.esm.min.js +1 -1
  44. package/dist/contour.html-data.json +11343 -0
  45. package/dist/contour.js +440 -18
  46. package/dist/contour.min.css +1 -1
  47. package/dist/contour.min.js +1 -1
  48. package/dist/contour.react.d.ts +422 -0
  49. package/dist/contour.single.html +17 -0
  50. package/dist/contour.single.min.css +1 -0
  51. package/dist/contour.themes.json +56 -12
  52. package/dist/contour.tokens.json +1318 -1053
  53. package/dist/contour.vue.d.ts +420 -0
  54. package/dist/contour.web-types.json +11703 -0
  55. package/dist/custom-elements.json +36120 -0
  56. package/dist/docs/actions.md +16 -6
  57. package/dist/docs/affordances.md +21 -85
  58. package/dist/docs/apireference.md +9 -5
  59. package/dist/docs/colour.md +10 -4
  60. package/dist/docs/componentindex.md +9 -22
  61. package/dist/docs/data.md +39 -58
  62. package/dist/docs/docs.md +12 -7
  63. package/dist/docs/feedback.md +30 -12
  64. package/dist/docs/field.md +28 -13
  65. package/dist/docs/forms.md +35 -19
  66. package/dist/docs/index.json +70 -61
  67. package/dist/docs/install.md +12 -7
  68. package/dist/docs/landing.md +7 -4
  69. package/dist/docs/mapengine.md +30 -8
  70. package/dist/docs/motion.md +12 -6
  71. package/dist/docs/navigation.md +31 -7
  72. package/dist/docs/overlays.md +32 -25
  73. package/dist/docs/overview.md +3 -2
  74. package/dist/docs/patterns.md +20 -10
  75. package/dist/docs/playground.md +11 -4
  76. package/dist/docs/principles.md +8 -6
  77. package/dist/docs/recipes.md +117 -13
  78. package/dist/docs/space.md +10 -6
  79. package/dist/docs/status.md +13 -14
  80. package/dist/docs/surfaces.md +17 -22
  81. package/dist/docs/theming.md +18 -32
  82. package/dist/docs/type.md +12 -5
  83. package/dist/docs/webcomponents.md +75 -33
  84. package/dist/hljs.css +1 -20
  85. package/dist/map-chrome.mapbox.css +68 -92
  86. package/dist/map-chrome.maplibre.css +68 -92
  87. package/dist/registry/items/contour-core.json +2 -2
  88. package/dist/registry/items/contour-data.json +2 -2
  89. package/dist/registry/items/contour-docs.json +2 -2
  90. package/dist/registry/items/contour-landing.json +2 -2
  91. package/dist/registry/registry.json +8 -8
  92. package/dist/surfaces/contour-core.min.css +1 -1
  93. package/dist/surfaces/contour-data.min.css +1 -1
  94. package/dist/surfaces/contour-docs.min.css +1 -1
  95. package/dist/surfaces/contour-landing.min.css +1 -1
  96. package/dist/svg/icons.svg +367 -0
  97. package/dist/wc/behaviours.mjs +222 -192
  98. package/dist/wc/content.mjs +486 -142
  99. package/dist/wc/core.mjs +917 -395
  100. package/dist/wc/dashboard.mjs +252 -25
  101. package/dist/wc/data-chart.mjs +1333 -0
  102. package/dist/wc/data-export.mjs +391 -0
  103. package/dist/wc/data-gauge.mjs +779 -0
  104. package/dist/wc/data-geo.mjs +696 -0
  105. package/dist/wc/data-glyphs.mjs +133 -0
  106. package/dist/wc/data-legend.mjs +431 -0
  107. package/dist/wc/data-readout.mjs +227 -0
  108. package/dist/wc/data-series.mjs +1004 -0
  109. package/dist/wc/data-table.mjs +751 -0
  110. package/dist/wc/data.mjs +15 -3707
  111. package/dist/wc/docs.mjs +113 -19
  112. package/dist/wc/feedback.mjs +320 -116
  113. package/dist/wc/forms-controls.mjs +635 -0
  114. package/dist/wc/forms-field.mjs +547 -0
  115. package/dist/wc/forms-groups.mjs +347 -0
  116. package/dist/wc/forms-input.mjs +292 -0
  117. package/dist/wc/forms.mjs +10 -1122
  118. package/dist/wc/glyph.mjs +204 -0
  119. package/dist/wc/index.mjs +16 -7
  120. package/dist/wc/interaction.mjs +322 -75
  121. package/dist/wc/layout.mjs +100 -29
  122. package/dist/wc/map.mjs +888 -285
  123. package/dist/wc/misc.mjs +137 -26
  124. package/dist/wc/navigation-menu.mjs +735 -0
  125. package/dist/wc/navigation-shell.mjs +495 -0
  126. package/dist/wc/navigation-tree.mjs +995 -0
  127. package/dist/wc/navigation.mjs +9 -1636
  128. package/dist/wc/registration.mjs +1 -8
  129. package/dist/wc/shadow.mjs +285 -113
  130. package/dist/wc/states.mjs +75 -78
  131. package/dist/wc/svg.mjs +209 -34
  132. package/dist/wc/ui-atoms.mjs +608 -0
  133. package/dist/wc/ui-data.mjs +1404 -0
  134. package/dist/wc/ui-feedback.mjs +419 -0
  135. package/dist/wc/ui-inputs.mjs +1570 -0
  136. package/dist/wc/ui-menus.mjs +307 -0
  137. package/dist/wc/ui-overlays.mjs +1605 -0
  138. package/integrations/README.md +25 -5
  139. package/integrations/ai/CLAUDE.md +6 -3
  140. package/integrations/ai/COPILOT.md +14 -0
  141. package/integrations/ai/GEMINI.md +14 -0
  142. package/integrations/ai/WINDSURF.md +14 -0
  143. package/integrations/ai/v0-prompt.md +13 -1
  144. package/integrations/frameworks/README.md +235 -0
  145. package/integrations/native/README.md +0 -3
  146. package/integrations/native/style-dictionary.config.json +1 -1
  147. package/integrations/tailwind/contour-theme.css +71 -13
  148. package/integrations/validate-markup.mjs +172 -0
  149. package/package.json +103 -39
  150. package/dist/wc/ui.mjs +0 -3560
@@ -145,8 +145,7 @@
145
145
  0.025,
146
146
  182.5
147
147
  ]
148
- },
149
- "$description": "2. PRIMITIVES — Tidal (teal · primary · success) Anchored on the reference brand teal #14b8a6 at the 500 step."
148
+ }
150
149
  },
151
150
  "200": {
152
151
  "$type": "color",
@@ -339,8 +338,7 @@
339
338
  0.024,
340
339
  358.92
341
340
  ]
342
- },
343
- "$description": "4. PRIMITIVES — Plasma (magenta · accent · live data) Anchored on the reference brand magenta #f20084 at the 500 step."
341
+ }
344
342
  },
345
343
  "200": {
346
344
  "$type": "color",
@@ -603,881 +601,1045 @@
603
601
  },
604
602
  "$description": "PRIMITIVES — Clay (red-orange · alarm · destructive)"
605
603
  },
606
- "font": {
607
- "display": {
608
- "$type": "fontFamily",
609
- "$value": [
610
- "Contour Plex Sans Condensed",
611
- "Contour Plex Sans",
612
- "ui-sans-serif",
613
- "system-ui",
614
- "sans-serif"
615
- ]
604
+ "color": {
605
+ "tidal-500": {
606
+ "$value": "{tidal.500}",
607
+ "$description": "The brand teal at 500 — the anchor of the primary ramp."
616
608
  },
617
- "sans": {
618
- "$type": "fontFamily",
619
- "$value": [
620
- "Contour Plex Sans",
621
- "ui-sans-serif",
622
- "system-ui",
623
- "-apple-system",
624
- "Segoe UI",
625
- "sans-serif"
626
- ]
609
+ "plasma-500": {
610
+ "$value": "{plasma.500}",
611
+ "$description": "The brand magenta at 500 — the anchor of the accent ramp."
627
612
  },
628
- "mono": {
629
- "$type": "fontFamily",
630
- "$value": [
631
- "Contour Plex Mono",
632
- "ui-monospace",
633
- "SFMono-Regular",
634
- "Cascadia Mono",
635
- "Menlo",
636
- "monospace"
637
- ]
613
+ "lumen-500": {
614
+ "$value": "{lumen.500}",
615
+ "$description": "The azure at 500 — the anchor of the data/info ramp."
638
616
  },
639
- "$description": "TYPOGRAPHY"
640
- },
641
- "type": {
642
- "h3": {
643
- "$type": "dimension",
644
- "$value": {
645
- "value": 1.25,
646
- "unit": "rem"
647
- }
617
+ "sol-500": {
618
+ "$value": "{sol.500}",
619
+ "$description": "The amber at 500 — the anchor of the warning ramp."
648
620
  },
649
- "h4": {
650
- "$type": "dimension",
651
- "$value": {
652
- "value": 1.0625,
653
- "unit": "rem"
654
- }
621
+ "clay-500": {
622
+ "$value": "{clay.500}",
623
+ "$description": "The red at 500 — the anchor of the danger ramp."
655
624
  },
656
- "lead": {
657
- "$type": "dimension",
625
+ "canvas": {
626
+ "$type": "color",
658
627
  "$value": {
659
- "value": 1.0625,
660
- "unit": "rem"
661
- }
628
+ "colorSpace": "oklch",
629
+ "components": [
630
+ 0.982,
631
+ 0.004,
632
+ 230
633
+ ]
634
+ },
635
+ "$description": "The page background — the surface behind every band and section."
662
636
  },
663
- "lg": {
664
- "$type": "dimension",
637
+ "canvas-sunken": {
638
+ "$type": "color",
665
639
  "$value": {
666
- "value": 1.125,
667
- "unit": "rem"
668
- }
640
+ "colorSpace": "oklch",
641
+ "components": [
642
+ 0.95,
643
+ 0.007,
644
+ 230
645
+ ]
646
+ },
647
+ "$description": "A recessed page background for wells and inset regions."
669
648
  },
670
- "body": {
671
- "$type": "dimension",
649
+ "surface-1": {
650
+ "$type": "color",
672
651
  "$value": {
673
- "value": 1,
674
- "unit": "rem"
675
- }
652
+ "colorSpace": "oklch",
653
+ "components": [
654
+ 1,
655
+ 0,
656
+ 0
657
+ ]
658
+ },
659
+ "$description": "The default card/panel surface; one step above the canvas."
676
660
  },
677
- "sm": {
678
- "$type": "dimension",
661
+ "surface-2": {
662
+ "$type": "color",
679
663
  "$value": {
680
- "value": 0.875,
681
- "unit": "rem"
682
- }
664
+ "colorSpace": "oklch",
665
+ "components": [
666
+ 0.966,
667
+ 0.005,
668
+ 230
669
+ ]
670
+ },
671
+ "$description": "A raised surface for hover, selected rows and nested panels."
683
672
  },
684
- "xs": {
685
- "$type": "dimension",
673
+ "surface-3": {
674
+ "$type": "color",
686
675
  "$value": {
687
- "value": 0.8125,
688
- "unit": "rem"
689
- }
676
+ "colorSpace": "oklch",
677
+ "components": [
678
+ 0.935,
679
+ 0.008,
680
+ 230
681
+ ]
682
+ },
683
+ "$description": "A higher raised surface for menus, popovers and floating chrome."
690
684
  },
691
- "micro": {
692
- "$type": "dimension",
685
+ "surface-raised": {
686
+ "$type": "color",
693
687
  "$value": {
694
- "value": 0.6875,
695
- "unit": "rem"
696
- }
697
- },
698
- "$description": "TYPOGRAPHY"
699
- },
700
- "weight": {
701
- "regular": {
702
- "$type": "number",
703
- "$value": 400
704
- },
705
- "medium": {
706
- "$type": "number",
707
- "$value": 500
708
- },
709
- "semibold": {
710
- "$type": "number",
711
- "$value": 600
712
- },
713
- "bold": {
714
- "$type": "number",
715
- "$value": 700
716
- },
717
- "$description": "TYPOGRAPHY"
718
- },
719
- "leading": {
720
- "tight": {
721
- "$type": "number",
722
- "$value": 1.04
723
- },
724
- "snug": {
725
- "$type": "number",
726
- "$value": 1.22
727
- },
728
- "normal": {
729
- "$type": "number",
730
- "$value": 1.45
731
- },
732
- "relaxed": {
733
- "$type": "number",
734
- "$value": 1.65
688
+ "colorSpace": "oklch",
689
+ "components": [
690
+ 1,
691
+ 0,
692
+ 0
693
+ ]
694
+ },
695
+ "$description": "The top surface for overlays that float above the page."
735
696
  },
736
- "$description": "TYPOGRAPHY"
737
- },
738
- "space": {
739
- "3xs": {
740
- "$type": "dimension",
697
+ "scrim": {
698
+ "$type": "color",
741
699
  "$value": {
742
- "value": 0.25,
743
- "unit": "rem"
700
+ "colorSpace": "oklch",
701
+ "components": [
702
+ 0.3,
703
+ 0.02,
704
+ 230
705
+ ],
706
+ "alpha": 0.42
744
707
  },
745
- "$description": "8. SPACE — 4px base, semantic aliases for the rhythm layer Hand-picked steps, not a single ratio: the bottom half (0.25–1.25) serves component internals; the top half (1.75–5) is a ~1.4 ratio for page-level rhythm. A single ratio would not serve both."
708
+ "$description": "The dimming layer behind a modal dialog or open snippet disclosure."
746
709
  },
747
- "2xs": {
748
- "$type": "dimension",
710
+ "text-strong": {
711
+ "$type": "color",
749
712
  "$value": {
750
- "value": 0.5,
751
- "unit": "rem"
752
- }
713
+ "colorSpace": "oklch",
714
+ "components": [
715
+ 0.23,
716
+ 0.02,
717
+ 230
718
+ ]
719
+ },
720
+ "$description": "Primary reading text — headings and emphasized copy."
753
721
  },
754
- "xs": {
755
- "$type": "dimension",
722
+ "text": {
723
+ "$type": "color",
756
724
  "$value": {
757
- "value": 0.75,
758
- "unit": "rem"
759
- }
725
+ "colorSpace": "oklch",
726
+ "components": [
727
+ 0.33,
728
+ 0.02,
729
+ 230
730
+ ]
731
+ },
732
+ "$description": "Default body text."
760
733
  },
761
- "sm": {
762
- "$type": "dimension",
734
+ "text-muted": {
735
+ "$type": "color",
763
736
  "$value": {
764
- "value": 1,
765
- "unit": "rem"
766
- }
737
+ "colorSpace": "oklch",
738
+ "components": [
739
+ 0.47,
740
+ 0.018,
741
+ 230
742
+ ]
743
+ },
744
+ "$description": "Secondary text — captions, hints and metadata."
767
745
  },
768
- "md": {
769
- "$type": "dimension",
746
+ "text-subtle": {
747
+ "$type": "color",
770
748
  "$value": {
771
- "value": 1.25,
772
- "unit": "rem"
773
- }
749
+ "colorSpace": "oklch",
750
+ "components": [
751
+ 0.44,
752
+ 0.018,
753
+ 230
754
+ ]
755
+ },
756
+ "$description": "The quietest text — labels and disabled hints."
774
757
  },
775
- "lg": {
776
- "$type": "dimension",
758
+ "border-subtle": {
759
+ "$type": "color",
777
760
  "$value": {
778
- "value": 1.75,
779
- "unit": "rem"
780
- }
761
+ "colorSpace": "oklch",
762
+ "components": [
763
+ 0.88,
764
+ 0.008,
765
+ 230
766
+ ]
767
+ },
768
+ "$description": "A quieter border for low-emphasis separation."
781
769
  },
782
- "xl": {
783
- "$type": "dimension",
770
+ "border": {
771
+ "$type": "color",
784
772
  "$value": {
785
- "value": 2.5,
786
- "unit": "rem"
787
- }
788
- },
789
- "2xl": {
790
- "$type": "dimension",
791
- "$value": {
792
- "value": 3.5,
793
- "unit": "rem"
794
- }
795
- },
796
- "3xl": {
797
- "$type": "dimension",
798
- "$value": {
799
- "value": 5,
800
- "unit": "rem"
801
- }
773
+ "colorSpace": "oklch",
774
+ "components": [
775
+ 0.85,
776
+ 0.01,
777
+ 230
778
+ ]
779
+ },
780
+ "$description": "The default border for cards, inputs and dividers."
802
781
  },
803
- "stack": {
804
- "$type": "dimension",
782
+ "border-strong": {
783
+ "$type": "color",
805
784
  "$value": {
806
- "value": 1.25,
807
- "unit": "rem"
785
+ "colorSpace": "oklch",
786
+ "components": [
787
+ 0.72,
788
+ 0.014,
789
+ 230
790
+ ]
808
791
  },
809
- "$description": "sibling blocks in a component"
792
+ "$description": "A high-contrast border for emphasis and focus-adjacent edges."
810
793
  },
811
- "cluster": {
812
- "$type": "dimension",
794
+ "control-edge": {
795
+ "$type": "color",
813
796
  "$value": {
814
- "value": 2,
815
- "unit": "rem"
797
+ "colorSpace": "oklch",
798
+ "components": [
799
+ 0.61,
800
+ 0.016,
801
+ 230
802
+ ]
816
803
  },
817
- "$description": "groups of components"
818
- }
819
- },
820
- "radius": {
821
- "scale": {
822
- "$type": "number",
823
- "$value": 1,
824
- "$description": "9. RADIUS — generously round, but not uniformly soft Driven by --radius-scale so a whole product can be tightened or softened from one value."
804
+ "$description": "The border of an input/select/secondary button; must clear 3:1 (WCAG 1.4.11)."
825
805
  },
826
- "xs": {
827
- "$type": "dimension",
806
+ "control-edge-hover": {
807
+ "$type": "color",
828
808
  "$value": {
829
- "value": 6,
830
- "unit": "px"
809
+ "colorSpace": "oklch",
810
+ "components": [
811
+ 0.5,
812
+ 0.018,
813
+ 230
814
+ ]
831
815
  },
832
- "$extensions": {
833
- "com.contour.css": {
834
- "knob-resolved": [
835
- "--radius-scale"
836
- ],
837
- "declared": "calc(6px * var(--radius-scale))"
838
- }
839
- }
816
+ "$description": "R31-101: hover must not weaken the control edge below 3:1; this pair is darker in light and lighter in dark than the resting edge."
840
817
  },
841
- "sm": {
842
- "$type": "dimension",
818
+ "primary": {
819
+ "$value": "{brand.600}",
820
+ "$description": "The brand teal — primary actions, active state and links."
821
+ },
822
+ "primary-hover": {
823
+ "$value": "{brand.800}",
824
+ "$description": "The primary surface on hover — one step darker in light, lighter in dark."
825
+ },
826
+ "primary-active": {
827
+ "$value": "{brand.800}",
828
+ "$description": "The primary surface while pressed/active."
829
+ },
830
+ "primary-text": {
831
+ "$value": "{brand.700}",
832
+ "$description": "Text/icon on a primary-filled surface."
833
+ },
834
+ "on-primary": {
835
+ "$type": "color",
843
836
  "$value": {
844
- "value": 10,
845
- "unit": "px"
837
+ "colorSpace": "oklch",
838
+ "components": [
839
+ 0.99,
840
+ 0.01,
841
+ 182.5
842
+ ]
846
843
  },
847
844
  "$extensions": {
848
845
  "com.contour.css": {
849
846
  "knob-resolved": [
850
- "--radius-scale"
847
+ "--brand-hue"
851
848
  ],
852
- "declared": "calc(10px * var(--radius-scale))"
849
+ "declared": "light-dark(oklch(99% 0.01 var(--brand-hue)), var(--basalt-1000))"
853
850
  }
854
- }
851
+ },
852
+ "$description": "Text/icon on a primary surface (non-solid)."
855
853
  },
856
- "md": {
857
- "$type": "dimension",
854
+ "primary-solid": {
855
+ "$value": "{brand.700}",
856
+ "$description": "A filled primary surface deep enough for white text to clear 4.5:1."
857
+ },
858
+ "on-primary-solid": {
859
+ "$type": "color",
858
860
  "$value": {
859
- "value": 14,
860
- "unit": "px"
861
+ "colorSpace": "oklch",
862
+ "components": [
863
+ 0.99,
864
+ 0.01,
865
+ 182.5
866
+ ]
861
867
  },
862
868
  "$extensions": {
863
869
  "com.contour.css": {
864
870
  "knob-resolved": [
865
- "--radius-scale"
871
+ "--brand-hue"
866
872
  ],
867
- "declared": "calc(14px * var(--radius-scale))"
873
+ "declared": "light-dark( oklch(99% 0.01 var(--brand-hue)), var(--basalt-1000) )"
868
874
  }
869
- }
875
+ },
876
+ "$description": "Text/icon on a primary-solid filled surface."
870
877
  },
871
- "lg": {
872
- "$type": "dimension",
878
+ "primary-soft": {
879
+ "$type": "color",
873
880
  "$value": {
874
- "value": 20,
875
- "unit": "px"
881
+ "colorSpace": "oklch",
882
+ "components": [
883
+ 0.94,
884
+ 0.035,
885
+ 182.5
886
+ ]
876
887
  },
877
888
  "$extensions": {
878
889
  "com.contour.css": {
879
890
  "knob-resolved": [
880
- "--radius-scale"
891
+ "--brand-hue"
881
892
  ],
882
- "declared": "calc(20px * var(--radius-scale))"
893
+ "declared": "light-dark( oklch(94% 0.035 var(--brand-hue)), oklch(26% 0.05 var(--brand-hue)) )"
883
894
  }
884
- }
895
+ },
896
+ "$description": "A soft primary tint for selected rows and active chips."
885
897
  },
886
- "xl": {
887
- "$type": "dimension",
898
+ "accent": {
899
+ "$value": "{plasma.600}",
900
+ "$description": "The brand magenta — secondary emphasis and live data."
901
+ },
902
+ "accent-hover": {
903
+ "$value": "{plasma.700}",
904
+ "$description": "The accent surface on hover."
905
+ },
906
+ "accent-text": {
907
+ "$value": "{plasma.700}",
908
+ "$description": "Text/icon on an accent-filled surface."
909
+ },
910
+ "on-accent": {
911
+ "$type": "color",
888
912
  "$value": {
889
- "value": 28,
890
- "unit": "px"
913
+ "colorSpace": "oklch",
914
+ "components": [
915
+ 0.99,
916
+ 0.01,
917
+ 359
918
+ ]
891
919
  },
892
- "$extensions": {
893
- "com.contour.css": {
894
- "knob-resolved": [
895
- "--radius-scale"
896
- ],
897
- "declared": "calc(28px * var(--radius-scale))"
898
- }
899
- }
920
+ "$description": "Text/icon on an accent surface."
900
921
  },
901
- "2xl": {
902
- "$type": "dimension",
922
+ "accent-soft": {
923
+ "$type": "color",
903
924
  "$value": {
904
- "value": 36,
905
- "unit": "px"
925
+ "colorSpace": "oklch",
926
+ "components": [
927
+ 0.94,
928
+ 0.035,
929
+ 358.92
930
+ ]
906
931
  },
907
- "$extensions": {
908
- "com.contour.css": {
909
- "knob-resolved": [
910
- "--radius-scale"
911
- ],
912
- "declared": "calc(36px * var(--radius-scale))"
913
- }
914
- }
932
+ "$description": "A soft accent tint for live/selected accents."
915
933
  },
916
- "pill": {
917
- "$type": "dimension",
918
- "$value": {
919
- "value": 999,
920
- "unit": "px"
921
- }
922
- }
923
- },
924
- "ring": {
925
- "1": {
926
- "$type": "dimension",
927
- "$value": {
928
- "value": 0.75,
929
- "unit": "rem"
930
- }
934
+ "data": {
935
+ "$value": "{lumen.600}",
936
+ "$description": "The data-series hue (azure) for charts and readouts."
931
937
  },
932
- "2": {
933
- "$type": "dimension",
934
- "$value": {
935
- "value": 1.5,
936
- "unit": "rem"
937
- }
938
+ "data-text": {
939
+ "$value": "{lumen.700}",
940
+ "$description": "Text/icon on a data-filled surface."
938
941
  },
939
- "3": {
940
- "$type": "dimension",
942
+ "data-soft": {
943
+ "$type": "color",
941
944
  "$value": {
942
- "value": 3,
943
- "unit": "rem"
944
- }
945
+ "colorSpace": "oklch",
946
+ "components": [
947
+ 0.94,
948
+ 0.035,
949
+ 236
950
+ ]
951
+ },
952
+ "$description": "A soft data tint for chart bands and selected series."
945
953
  },
946
- "pitch": {
947
- "$type": "dimension",
948
- "$value": {
949
- "value": 0.5,
950
- "unit": "rem"
951
- }
954
+ "success": {
955
+ "$value": "{tidal.700}",
956
+ "$description": "Success state (green) — confirmed and positive deltas."
952
957
  },
953
- "weight": {
954
- "$type": "dimension",
955
- "$value": {
956
- "value": 1,
957
- "unit": "px"
958
- }
958
+ "success-text": {
959
+ "$value": "{tidal.700}",
960
+ "$description": "Success-colored text/icon (green)."
959
961
  },
960
- "$description": "Ring geometry (one pitch for every circle in the system)"
961
- },
962
- "shadow": {
963
- "color-highlight": {
962
+ "success-soft": {
964
963
  "$type": "color",
965
964
  "$value": {
966
965
  "colorSpace": "oklch",
967
966
  "components": [
968
- 1,
969
- 0,
970
- 0
971
- ],
972
- "alpha": 0.22
973
- }
967
+ 0.94,
968
+ 0.035,
969
+ 182.5
970
+ ]
971
+ },
972
+ "$description": "A soft success tint for confirmed/positive callouts."
974
973
  },
975
- "color-primary": {
974
+ "warning": {
975
+ "$value": "{sol.600}",
976
+ "$description": "Warning state (amber) — caution, not error."
977
+ },
978
+ "warning-text": {
979
+ "$value": "{sol.800}",
980
+ "$description": "Warning-colored text/icon (amber)."
981
+ },
982
+ "warning-soft": {
976
983
  "$type": "color",
977
984
  "$value": {
978
985
  "colorSpace": "oklch",
979
986
  "components": [
980
- 0.2,
987
+ 0.95,
988
+ 0.045,
989
+ 85
990
+ ]
991
+ },
992
+ "$description": "A soft warning tint for caution callouts."
993
+ },
994
+ "danger": {
995
+ "$value": "{clay.600}",
996
+ "$description": "Error/destructive state (red) — failures and destructive actions."
997
+ },
998
+ "danger-hover": {
999
+ "$value": "{clay.700}",
1000
+ "$description": "The danger surface on hover."
1001
+ },
1002
+ "danger-text": {
1003
+ "$value": "{clay.700}",
1004
+ "$description": "Danger-colored text/icon (red)."
1005
+ },
1006
+ "danger-border": {
1007
+ "$value": "{clay.600}",
1008
+ "$description": "A danger-tinted border for error-adjacent edges."
1009
+ },
1010
+ "on-danger": {
1011
+ "$type": "color",
1012
+ "$value": {
1013
+ "colorSpace": "oklch",
1014
+ "components": [
1015
+ 0.99,
1016
+ 0.01,
1017
+ 27
1018
+ ]
1019
+ },
1020
+ "$description": "Text/icon on a danger-filled surface."
1021
+ },
1022
+ "danger-soft": {
1023
+ "$type": "color",
1024
+ "$value": {
1025
+ "colorSpace": "oklch",
1026
+ "components": [
1027
+ 0.94,
981
1028
  0.04,
1029
+ 30
1030
+ ]
1031
+ },
1032
+ "$description": "A soft danger tint for error callouts."
1033
+ },
1034
+ "info": {
1035
+ "$value": "{lumen.600}",
1036
+ "$description": "Informational state (blue) — notes and neutral callouts."
1037
+ },
1038
+ "info-text": {
1039
+ "$value": "{lumen.700}",
1040
+ "$description": "Info-colored text/icon (blue)."
1041
+ },
1042
+ "info-soft": {
1043
+ "$type": "color",
1044
+ "$value": {
1045
+ "colorSpace": "oklch",
1046
+ "components": [
1047
+ 0.94,
1048
+ 0.035,
1049
+ 236
1050
+ ]
1051
+ },
1052
+ "$description": "A soft info tint for neutral notes."
1053
+ },
1054
+ "focus-ring": {
1055
+ "$value": "{brand.700}",
1056
+ "$description": "The focus indicator ring; must clear 3:1 against adjacent colors (WCAG 2.4.13)."
1057
+ },
1058
+ "focus-halo": {
1059
+ "$type": "color",
1060
+ "$value": {
1061
+ "colorSpace": "oklch",
1062
+ "components": [
1063
+ 0.94,
1064
+ 0.05,
982
1065
  182.5
983
1066
  ],
984
- "alpha": 0.22
1067
+ "alpha": 0.9
985
1068
  },
986
1069
  "$extensions": {
987
1070
  "com.contour.css": {
988
1071
  "knob-resolved": [
989
1072
  "--brand-hue"
990
1073
  ],
991
- "declared": "oklch(20% 0.04 var(--brand-hue) / 0.22)"
1074
+ "declared": "light-dark( oklch(94% 0.05 var(--brand-hue) / 0.9), oklch(78% 0.12 var(--brand-hue) / 0.24) )"
992
1075
  }
993
- }
994
- },
995
- "color-accent": {
996
- "$type": "color",
997
- "$value": {
998
- "colorSpace": "oklch",
999
- "components": [
1000
- 0.2,
1001
- 0.06,
1002
- 356
1003
- ],
1004
- "alpha": 0.24
1005
- }
1076
+ },
1077
+ "$description": "A soft halo around the focus ring for contrast on busy surfaces."
1006
1078
  },
1007
- "color-range": {
1079
+ "selection": {
1008
1080
  "$type": "color",
1009
1081
  "$value": {
1010
1082
  "colorSpace": "oklch",
1011
1083
  "components": [
1012
- 0.2,
1084
+ 0.92,
1013
1085
  0.04,
1014
1086
  182.5
1015
- ],
1016
- "alpha": 0.3
1087
+ ]
1017
1088
  },
1018
1089
  "$extensions": {
1019
1090
  "com.contour.css": {
1020
1091
  "knob-resolved": [
1021
1092
  "--brand-hue"
1022
1093
  ],
1023
- "declared": "oklch(20% 0.04 var(--brand-hue) / 0.3)"
1094
+ "declared": "light-dark(oklch(92% 0.04 var(--brand-hue)), oklch(28% 0.05 var(--brand-hue)))"
1024
1095
  }
1025
- }
1096
+ },
1097
+ "$description": "The text-selection highlight background."
1026
1098
  },
1027
- "$description": "Ring geometry (one pitch for every circle in the system)"
1028
- },
1029
- "dur": {
1030
- "fast": {
1031
- "$type": "duration",
1099
+ "tooltip-bg": {
1100
+ "$type": "color",
1032
1101
  "$value": {
1033
- "value": 180,
1034
- "unit": "ms"
1035
- }
1102
+ "colorSpace": "oklch",
1103
+ "components": [
1104
+ 0.26,
1105
+ 0.02,
1106
+ 230
1107
+ ]
1108
+ },
1109
+ "$description": "The tooltip background surface."
1036
1110
  },
1037
- "base": {
1038
- "$type": "duration",
1111
+ "tooltip-fg": {
1112
+ "$type": "color",
1039
1113
  "$value": {
1040
- "value": 260,
1041
- "unit": "ms"
1042
- }
1114
+ "colorSpace": "oklch",
1115
+ "components": [
1116
+ 0.97,
1117
+ 0.004,
1118
+ 230
1119
+ ]
1120
+ },
1121
+ "$description": "The tooltip foreground text."
1043
1122
  },
1044
- "slow": {
1045
- "$type": "duration",
1046
- "$value": {
1047
- "value": 420,
1048
- "unit": "ms"
1049
- }
1123
+ "link": {
1124
+ "$value": "{brand.700}",
1125
+ "$description": "The default link color."
1050
1126
  },
1051
- "spin": {
1052
- "$type": "duration",
1053
- "$value": {
1054
- "value": 720,
1055
- "unit": "ms"
1056
- }
1127
+ "link-hover": {
1128
+ "$value": "{brand.800}",
1129
+ "$description": "The link color on hover."
1057
1130
  },
1058
- "spin-slow": {
1059
- "$type": "duration",
1131
+ "code-bg": {
1132
+ "$type": "color",
1060
1133
  "$value": {
1061
- "value": 1,
1062
- "unit": "s"
1063
- }
1134
+ "colorSpace": "oklch",
1135
+ "components": [
1136
+ 0.96,
1137
+ 0.008,
1138
+ 230
1139
+ ]
1140
+ },
1141
+ "$description": "The inline/block code background."
1064
1142
  },
1065
- "copy-tick": {
1066
- "$type": "duration",
1143
+ "code-header-bg": {
1144
+ "$type": "color",
1067
1145
  "$value": {
1068
- "value": 220,
1069
- "unit": "ms"
1070
- }
1146
+ "colorSpace": "oklch",
1147
+ "components": [
1148
+ 0.93,
1149
+ 0.01,
1150
+ 230
1151
+ ]
1152
+ },
1153
+ "$description": "The code block header (filename/lang) background."
1071
1154
  },
1072
- "ping": {
1073
- "$type": "duration",
1155
+ "track": {
1156
+ "$type": "color",
1074
1157
  "$value": {
1075
- "value": 2.4,
1076
- "unit": "s"
1077
- }
1158
+ "colorSpace": "oklch",
1159
+ "components": [
1160
+ 0.9,
1161
+ 0.01,
1162
+ 230
1163
+ ]
1164
+ },
1165
+ "$description": "The slider/track groove background."
1078
1166
  },
1079
- "sweep": {
1080
- "$type": "duration",
1167
+ "skeleton": {
1168
+ "$type": "color",
1081
1169
  "$value": {
1082
- "value": 1.6,
1083
- "unit": "s"
1084
- }
1170
+ "colorSpace": "oklch",
1171
+ "components": [
1172
+ 0.92,
1173
+ 0.008,
1174
+ 230
1175
+ ]
1176
+ },
1177
+ "$description": "The skeleton-loading placeholder fill."
1085
1178
  },
1086
- "reveal": {
1087
- "$type": "duration",
1179
+ "syntax-keyword": {
1180
+ "$value": "{tidal.700}",
1181
+ "$description": "Syntax-highlight color for keywords."
1182
+ },
1183
+ "syntax-string": {
1184
+ "$value": "{plasma.600}",
1185
+ "$description": "Syntax-highlight color for strings."
1186
+ },
1187
+ "syntax-function": {
1188
+ "$value": "{lumen.700}",
1189
+ "$description": "Syntax-highlight color for function names."
1190
+ },
1191
+ "syntax-punctuation": {
1192
+ "$type": "color",
1088
1193
  "$value": {
1089
- "value": 320,
1090
- "unit": "ms"
1091
- }
1194
+ "colorSpace": "oklch",
1195
+ "components": [
1196
+ 0.55,
1197
+ 0.016,
1198
+ 230
1199
+ ]
1200
+ },
1201
+ "$description": "Syntax-highlight color for punctuation."
1092
1202
  },
1093
- "focus": {
1094
- "$type": "duration",
1203
+ "syntax-comment": {
1204
+ "$type": "color",
1095
1205
  "$value": {
1096
- "value": 120,
1097
- "unit": "ms"
1098
- }
1206
+ "colorSpace": "oklch",
1207
+ "components": [
1208
+ 0.55,
1209
+ 0.016,
1210
+ 230
1211
+ ]
1212
+ },
1213
+ "$description": "Syntax-highlight color for comments."
1099
1214
  },
1100
- "$description": "MOTION"
1101
- },
1102
- "ease": {
1103
- "standard": {
1104
- "$type": "cubicBezier",
1105
- "$value": [
1106
- 0.22,
1107
- 1,
1108
- 0.36,
1109
- 1
1110
- ]
1215
+ "syntax-number": {
1216
+ "$value": "{sol.700}",
1217
+ "$description": "Syntax-highlight color for numeric literals."
1111
1218
  },
1112
- "reveal": {
1113
- "$type": "cubicBezier",
1114
- "$value": [
1115
- 0.16,
1116
- 1,
1117
- 0.3,
1118
- 1
1119
- ]
1219
+ "heat-1": {
1220
+ "$value": "{lumen.500}",
1221
+ "$description": "Heat scale step 1 (coolest)."
1120
1222
  },
1121
- "out-expo": {
1122
- "$type": "cubicBezier",
1123
- "$value": [
1124
- 0.16,
1125
- 1,
1126
- 0.3,
1127
- 1
1128
- ]
1223
+ "heat-2": {
1224
+ "$value": "{lumen.400}",
1225
+ "$description": "Heat scale step 2."
1129
1226
  },
1130
- "in-out": {
1131
- "$type": "cubicBezier",
1132
- "$value": [
1133
- 0.65,
1134
- 0,
1135
- 0.35,
1136
- 1
1137
- ]
1227
+ "heat-3": {
1228
+ "$value": "{tidal.400}",
1229
+ "$description": "Heat scale step 3."
1138
1230
  },
1139
- "exit": {
1140
- "$type": "cubicBezier",
1231
+ "heat-4": {
1232
+ "$value": "{tidal.500}",
1233
+ "$description": "Heat scale step 4."
1234
+ },
1235
+ "heat-5": {
1236
+ "$value": "{sol.500}",
1237
+ "$description": "Heat scale step 5."
1238
+ },
1239
+ "heat-6": {
1240
+ "$value": "{plasma.500}",
1241
+ "$description": "Heat scale step 6 (hottest)."
1242
+ }
1243
+ },
1244
+ "font": {
1245
+ "display": {
1246
+ "$type": "fontFamily",
1141
1247
  "$value": [
1142
- 0.4,
1143
- 0,
1144
- 1,
1145
- 1
1146
- ]
1248
+ "Contour Plex Sans Condensed",
1249
+ "Contour Plex Sans",
1250
+ "Contour Plex Sans Fallback",
1251
+ "ui-sans-serif",
1252
+ "system-ui",
1253
+ "sans-serif"
1254
+ ],
1255
+ "$description": "The display font family — headings."
1147
1256
  },
1148
- "$description": "MOTION"
1257
+ "sans": {
1258
+ "$type": "fontFamily",
1259
+ "$value": [
1260
+ "Contour Plex Sans",
1261
+ "Contour Plex Sans Fallback",
1262
+ "ui-sans-serif",
1263
+ "system-ui",
1264
+ "-apple-system",
1265
+ "Segoe UI",
1266
+ "sans-serif"
1267
+ ],
1268
+ "$description": "The sans-serif body font family."
1269
+ },
1270
+ "mono": {
1271
+ "$type": "fontFamily",
1272
+ "$value": [
1273
+ "Contour Plex Mono",
1274
+ "ui-monospace",
1275
+ "SFMono-Regular",
1276
+ "Cascadia Mono",
1277
+ "Menlo",
1278
+ "monospace"
1279
+ ],
1280
+ "$description": "The monospace font family — code and data."
1281
+ },
1282
+ "$description": "TYPOGRAPHY"
1149
1283
  },
1150
- "reveal": {
1151
- "distance": {
1284
+ "type": {
1285
+ "h3": {
1152
1286
  "$type": "dimension",
1153
1287
  "$value": {
1154
- "value": 1.5,
1288
+ "value": 1.25,
1155
1289
  "unit": "rem"
1156
- }
1290
+ },
1291
+ "$description": "A section-level heading (h3)."
1157
1292
  },
1158
- "$description": "MOTION"
1159
- },
1160
- "container": {
1161
- "sm": {
1293
+ "h4": {
1162
1294
  "$type": "dimension",
1163
1295
  "$value": {
1164
- "value": 40,
1296
+ "value": 1.0625,
1165
1297
  "unit": "rem"
1166
- }
1298
+ },
1299
+ "$description": "A sub-section heading (h4)."
1167
1300
  },
1168
- "md": {
1301
+ "lead": {
1169
1302
  "$type": "dimension",
1170
1303
  "$value": {
1171
- "value": 54,
1304
+ "value": 1.0625,
1172
1305
  "unit": "rem"
1173
- }
1306
+ },
1307
+ "$description": "Lead/intro paragraph text."
1174
1308
  },
1175
- "xl": {
1309
+ "lg": {
1176
1310
  "$type": "dimension",
1177
1311
  "$value": {
1178
- "value": 84,
1312
+ "value": 1.125,
1179
1313
  "unit": "rem"
1180
- }
1314
+ },
1315
+ "$description": "Large body text."
1181
1316
  },
1182
- "$description": "LAYOUT & STACKING"
1183
- },
1184
- "header": {
1185
- "height": {
1317
+ "body": {
1186
1318
  "$type": "dimension",
1187
1319
  "$value": {
1188
- "value": 4.25,
1320
+ "value": 1,
1189
1321
  "unit": "rem"
1190
- }
1322
+ },
1323
+ "$description": "Default body text size."
1191
1324
  },
1192
- "$description": "LAYOUT & STACKING"
1325
+ "sm": {
1326
+ "$type": "dimension",
1327
+ "$value": {
1328
+ "value": 0.875,
1329
+ "unit": "rem"
1330
+ },
1331
+ "$description": "Small text — captions and secondary copy."
1332
+ },
1333
+ "xs": {
1334
+ "$type": "dimension",
1335
+ "$value": {
1336
+ "value": 0.8125,
1337
+ "unit": "rem"
1338
+ },
1339
+ "$description": "Extra-small text — metadata and labels."
1340
+ },
1341
+ "micro": {
1342
+ "$type": "dimension",
1343
+ "$value": {
1344
+ "value": 0.6875,
1345
+ "unit": "rem"
1346
+ },
1347
+ "$description": "The smallest text — uppercase micro-labels."
1348
+ },
1349
+ "$description": "TYPOGRAPHY"
1193
1350
  },
1194
- "z": {
1195
- "raised": {
1351
+ "weight": {
1352
+ "regular": {
1196
1353
  "$type": "number",
1197
- "$value": 10
1354
+ "$value": 400,
1355
+ "$description": "Regular (400) font weight."
1198
1356
  },
1199
- "sticky": {
1357
+ "medium": {
1200
1358
  "$type": "number",
1201
- "$value": 100
1359
+ "$value": 500,
1360
+ "$description": "Medium (500) font weight."
1202
1361
  },
1203
- "header": {
1362
+ "semibold": {
1204
1363
  "$type": "number",
1205
- "$value": 400
1364
+ "$value": 600,
1365
+ "$description": "Semibold (600) font weight."
1206
1366
  },
1207
- "drawer": {
1367
+ "bold": {
1208
1368
  "$type": "number",
1209
- "$value": 500
1369
+ "$value": 700,
1370
+ "$description": "Bold (700) font weight."
1210
1371
  },
1211
- "modal": {
1372
+ "$description": "TYPOGRAPHY"
1373
+ },
1374
+ "leading": {
1375
+ "tight": {
1212
1376
  "$type": "number",
1213
- "$value": 600
1377
+ "$value": 1.04,
1378
+ "$description": "Tight line-height — headings."
1214
1379
  },
1215
- "toast": {
1380
+ "snug": {
1216
1381
  "$type": "number",
1217
- "$value": 700
1382
+ "$value": 1.22,
1383
+ "$description": "Snug line-height — compact copy."
1218
1384
  },
1219
- "tooltip": {
1385
+ "normal": {
1220
1386
  "$type": "number",
1221
- "$value": 800
1387
+ "$value": 1.45,
1388
+ "$description": "Normal line-height — body copy."
1222
1389
  },
1223
- "$description": "LAYOUT & STACKING"
1390
+ "relaxed": {
1391
+ "$type": "number",
1392
+ "$value": 1.65,
1393
+ "$description": "Relaxed line-height — long-form prose."
1394
+ },
1395
+ "$description": "TYPOGRAPHY"
1224
1396
  },
1225
- "border": {
1226
- "width": {
1397
+ "space": {
1398
+ "3xs": {
1399
+ "$type": "dimension",
1400
+ "$value": {
1401
+ "value": 0.25,
1402
+ "unit": "rem"
1403
+ },
1404
+ "$description": "The tightest gap — between inline atoms."
1405
+ },
1406
+ "2xs": {
1407
+ "$type": "dimension",
1408
+ "$value": {
1409
+ "value": 0.5,
1410
+ "unit": "rem"
1411
+ },
1412
+ "$description": "A hair gap — between a label and its control."
1413
+ },
1414
+ "xs": {
1415
+ "$type": "dimension",
1416
+ "$value": {
1417
+ "value": 0.75,
1418
+ "unit": "rem"
1419
+ },
1420
+ "$description": "A small gap — within a compact cluster."
1421
+ },
1422
+ "sm": {
1227
1423
  "$type": "dimension",
1228
1424
  "$value": {
1229
1425
  "value": 1,
1230
- "unit": "px"
1231
- }
1426
+ "unit": "rem"
1427
+ },
1428
+ "$description": "A small-to-medium gap — between related rows."
1232
1429
  },
1233
- "width-thick": {
1430
+ "md": {
1234
1431
  "$type": "dimension",
1235
1432
  "$value": {
1236
- "value": 2,
1237
- "unit": "px"
1238
- }
1433
+ "value": 1.25,
1434
+ "unit": "rem"
1435
+ },
1436
+ "$description": "The default gap — between blocks in a stack."
1239
1437
  },
1240
- "$description": "BORDERS"
1241
- },
1242
- "target": {
1243
- "control": {
1438
+ "lg": {
1244
1439
  "$type": "dimension",
1245
1440
  "$value": {
1246
- "value": 2.75,
1441
+ "value": 1.75,
1247
1442
  "unit": "rem"
1248
1443
  },
1249
- "$description": "Target sizes by kind (WCAG 2.5.8). A control is pressed (44 px), a listbox option is selected (24 px), a chart control is 24 px, and a data mark is not a target at all."
1444
+ "$description": "A large gap — between sub-groups."
1250
1445
  },
1251
- "option": {
1446
+ "xl": {
1252
1447
  "$type": "dimension",
1253
1448
  "$value": {
1254
- "value": 1.5,
1449
+ "value": 2.5,
1255
1450
  "unit": "rem"
1256
- }
1451
+ },
1452
+ "$description": "A section-level gap — above a section head."
1257
1453
  },
1258
- "chart": {
1454
+ "2xl": {
1259
1455
  "$type": "dimension",
1260
1456
  "$value": {
1261
- "value": 1.5,
1457
+ "value": 3.5,
1262
1458
  "unit": "rem"
1263
- }
1459
+ },
1460
+ "$description": "The widest gap — between major bands."
1264
1461
  },
1265
- "mark": {
1266
- "$type": "number",
1267
- "$value": 0,
1268
- "$description": "a data mark is not a target"
1462
+ "3xl": {
1463
+ "$type": "dimension",
1464
+ "$value": {
1465
+ "value": 5,
1466
+ "unit": "rem"
1467
+ },
1468
+ "$description": "The widest section gap — between major page bands."
1269
1469
  },
1270
- "$description": "BORDERS"
1271
- },
1272
- "hairline": {
1273
- "hairline": {
1274
- "$type": "border",
1470
+ "stack": {
1471
+ "$type": "dimension",
1275
1472
  "$value": {
1276
- "width": "{border.width}",
1277
- "style": "solid",
1278
- "color": "{color.border}"
1279
- }
1473
+ "value": 1.25,
1474
+ "unit": "rem"
1475
+ },
1476
+ "$description": "sibling blocks in a component"
1280
1477
  },
1281
- "$description": "BORDERS"
1478
+ "cluster": {
1479
+ "$type": "dimension",
1480
+ "$value": {
1481
+ "value": 2,
1482
+ "unit": "rem"
1483
+ },
1484
+ "$description": "groups of components"
1485
+ }
1282
1486
  },
1283
- "brand": {
1284
- "200": {
1285
- "$type": "color",
1487
+ "radius": {
1488
+ "scale": {
1489
+ "$type": "number",
1490
+ "$value": 1,
1491
+ "$description": "The base radius unit the scale derives from."
1492
+ },
1493
+ "xs": {
1494
+ "$type": "dimension",
1286
1495
  "$value": {
1287
- "colorSpace": "oklch",
1288
- "components": [
1289
- 0.92,
1290
- 0.05,
1291
- 182.5
1292
- ]
1496
+ "value": 6,
1497
+ "unit": "px"
1293
1498
  },
1294
1499
  "$extensions": {
1295
1500
  "com.contour.css": {
1296
1501
  "knob-resolved": [
1297
- "--brand-hue"
1502
+ "--radius-scale"
1298
1503
  ],
1299
- "declared": "oklch(92% 0.05 var(--brand-hue))"
1504
+ "declared": "calc(6px * var(--radius-scale))"
1300
1505
  }
1301
- }
1506
+ },
1507
+ "$description": "The tightest corner radius — chips and small atoms."
1302
1508
  },
1303
- "300": {
1304
- "$type": "color",
1509
+ "sm": {
1510
+ "$type": "dimension",
1305
1511
  "$value": {
1306
- "colorSpace": "oklch",
1307
- "components": [
1308
- 0.85,
1309
- 0.09,
1310
- 182.5
1311
- ]
1312
- },
1512
+ "value": 10,
1513
+ "unit": "px"
1514
+ },
1313
1515
  "$extensions": {
1314
1516
  "com.contour.css": {
1315
1517
  "knob-resolved": [
1316
- "--brand-hue"
1518
+ "--radius-scale"
1317
1519
  ],
1318
- "declared": "oklch(85% 0.09 var(--brand-hue))"
1520
+ "declared": "calc(10px * var(--radius-scale))"
1319
1521
  }
1320
- }
1522
+ },
1523
+ "$description": "A small corner radius — buttons and inputs."
1321
1524
  },
1322
- "400": {
1323
- "$type": "color",
1525
+ "md": {
1526
+ "$type": "dimension",
1324
1527
  "$value": {
1325
- "colorSpace": "oklch",
1326
- "components": [
1327
- 0.78,
1328
- 0.11,
1329
- 182.5
1330
- ]
1528
+ "value": 14,
1529
+ "unit": "px"
1331
1530
  },
1332
1531
  "$extensions": {
1333
1532
  "com.contour.css": {
1334
1533
  "knob-resolved": [
1335
- "--brand-hue"
1534
+ "--radius-scale"
1336
1535
  ],
1337
- "declared": "oklch(78% 0.11 var(--brand-hue))"
1536
+ "declared": "calc(14px * var(--radius-scale))"
1338
1537
  }
1339
- }
1538
+ },
1539
+ "$description": "A medium corner radius — cards and panels."
1340
1540
  },
1341
- "500": {
1342
- "$type": "color",
1541
+ "lg": {
1542
+ "$type": "dimension",
1343
1543
  "$value": {
1344
- "colorSpace": "oklch",
1345
- "components": [
1346
- 0.7040000000000001,
1347
- 0.123,
1348
- 182.5
1349
- ]
1544
+ "value": 20,
1545
+ "unit": "px"
1350
1546
  },
1351
1547
  "$extensions": {
1352
1548
  "com.contour.css": {
1353
1549
  "knob-resolved": [
1354
- "--brand-hue"
1550
+ "--radius-scale"
1355
1551
  ],
1356
- "declared": "oklch(70.4% 0.123 var(--brand-hue))"
1552
+ "declared": "calc(20px * var(--radius-scale))"
1357
1553
  }
1358
- }
1554
+ },
1555
+ "$description": "A large corner radius — modals and large surfaces."
1359
1556
  },
1360
- "600": {
1361
- "$type": "color",
1557
+ "xl": {
1558
+ "$type": "dimension",
1362
1559
  "$value": {
1363
- "colorSpace": "oklch",
1364
- "components": [
1365
- 0.5,
1366
- 0.115,
1367
- 182.5
1368
- ]
1560
+ "value": 28,
1561
+ "unit": "px"
1369
1562
  },
1370
1563
  "$extensions": {
1371
1564
  "com.contour.css": {
1372
1565
  "knob-resolved": [
1373
- "--brand-hue"
1566
+ "--radius-scale"
1374
1567
  ],
1375
- "declared": "oklch(50% 0.115 var(--brand-hue))"
1568
+ "declared": "calc(28px * var(--radius-scale))"
1376
1569
  }
1377
- }
1570
+ },
1571
+ "$description": "An extra-large corner radius — hero/feature surfaces."
1378
1572
  },
1379
- "700": {
1380
- "$type": "color",
1573
+ "2xl": {
1574
+ "$type": "dimension",
1381
1575
  "$value": {
1382
- "colorSpace": "oklch",
1383
- "components": [
1384
- 0.51,
1385
- 0.1,
1386
- 182.5
1387
- ]
1576
+ "value": 36,
1577
+ "unit": "px"
1388
1578
  },
1389
1579
  "$extensions": {
1390
1580
  "com.contour.css": {
1391
1581
  "knob-resolved": [
1392
- "--brand-hue"
1582
+ "--radius-scale"
1393
1583
  ],
1394
- "declared": "oklch(51% 0.1 var(--brand-hue))"
1584
+ "declared": "calc(36px * var(--radius-scale))"
1395
1585
  }
1396
- }
1586
+ },
1587
+ "$description": "The widest corner radius — pills and round elements."
1397
1588
  },
1398
- "800": {
1399
- "$type": "color",
1589
+ "pill": {
1590
+ "$type": "dimension",
1400
1591
  "$value": {
1401
- "colorSpace": "oklch",
1402
- "components": [
1403
- 0.41,
1404
- 0.082,
1405
- 182.5
1406
- ]
1592
+ "value": 999,
1593
+ "unit": "px"
1407
1594
  },
1408
- "$extensions": {
1409
- "com.contour.css": {
1410
- "knob-resolved": [
1411
- "--brand-hue"
1412
- ],
1413
- "declared": "oklch(41% 0.082 var(--brand-hue))"
1414
- }
1415
- }
1416
- },
1417
- "hue": {
1418
- "$type": "number",
1419
- "$value": 182.5,
1420
- "$description": "One hue drives the whole brand layer. Change it and every primary surface, ring and tint follows. The documented ramps above stay fixed, so the palette reference never drifts."
1421
- },
1422
- "$description": "Brand knob"
1595
+ "$description": "A fully rounded pill radius."
1596
+ }
1423
1597
  },
1424
- "color": {
1425
- "canvas": {
1426
- "$type": "color",
1598
+ "ring": {
1599
+ "1": {
1600
+ "$type": "dimension",
1427
1601
  "$value": {
1428
- "colorSpace": "oklch",
1429
- "components": [
1430
- 0.982,
1431
- 0.004,
1432
- 230
1433
- ]
1434
- }
1602
+ "value": 0.75,
1603
+ "unit": "rem"
1604
+ },
1605
+ "$description": "A 1px ring width."
1435
1606
  },
1436
- "canvas-sunken": {
1437
- "$type": "color",
1607
+ "2": {
1608
+ "$type": "dimension",
1438
1609
  "$value": {
1439
- "colorSpace": "oklch",
1440
- "components": [
1441
- 0.95,
1442
- 0.007,
1443
- 230
1444
- ]
1445
- }
1610
+ "value": 1.5,
1611
+ "unit": "rem"
1612
+ },
1613
+ "$description": "A 2px ring width."
1446
1614
  },
1447
- "surface-1": {
1448
- "$type": "color",
1615
+ "3": {
1616
+ "$type": "dimension",
1449
1617
  "$value": {
1450
- "colorSpace": "oklch",
1451
- "components": [
1452
- 1,
1453
- 0,
1454
- 0
1455
- ]
1456
- }
1618
+ "value": 3,
1619
+ "unit": "rem"
1620
+ },
1621
+ "$description": "A 3px ring width."
1457
1622
  },
1458
- "surface-2": {
1459
- "$type": "color",
1623
+ "pitch": {
1624
+ "$type": "dimension",
1460
1625
  "$value": {
1461
- "colorSpace": "oklch",
1462
- "components": [
1463
- 0.966,
1464
- 0.005,
1465
- 230
1466
- ]
1467
- }
1626
+ "value": 0.5,
1627
+ "unit": "rem"
1628
+ },
1629
+ "$description": "The ring spacing/pitch."
1468
1630
  },
1469
- "surface-3": {
1470
- "$type": "color",
1631
+ "weight": {
1632
+ "$type": "dimension",
1471
1633
  "$value": {
1472
- "colorSpace": "oklch",
1473
- "components": [
1474
- 0.935,
1475
- 0.008,
1476
- 230
1477
- ]
1478
- }
1634
+ "value": 1,
1635
+ "unit": "px"
1636
+ },
1637
+ "$description": "The ring stroke weight."
1479
1638
  },
1480
- "surface-raised": {
1639
+ "$description": "Ring geometry (one pitch for every circle in the system)"
1640
+ },
1641
+ "shadow": {
1642
+ "color-highlight": {
1481
1643
  "$type": "color",
1482
1644
  "$value": {
1483
1645
  "colorSpace": "oklch",
@@ -1485,507 +1647,519 @@
1485
1647
  1,
1486
1648
  0,
1487
1649
  0
1488
- ]
1489
- }
1650
+ ],
1651
+ "alpha": 0.22
1652
+ },
1653
+ "$description": "A colored highlight shadow for a raised accent."
1490
1654
  },
1491
- "scrim": {
1655
+ "color-primary": {
1492
1656
  "$type": "color",
1493
1657
  "$value": {
1494
1658
  "colorSpace": "oklch",
1495
1659
  "components": [
1496
- 0.3,
1497
- 0.02,
1498
- 230
1660
+ 0.2,
1661
+ 0.04,
1662
+ 182.5
1499
1663
  ],
1500
- "alpha": 0.42
1501
- }
1664
+ "alpha": 0.22
1665
+ },
1666
+ "$extensions": {
1667
+ "com.contour.css": {
1668
+ "knob-resolved": [
1669
+ "--brand-hue"
1670
+ ],
1671
+ "declared": "oklch(20% 0.04 var(--brand-hue) / 0.22)"
1672
+ }
1673
+ },
1674
+ "$description": "A primary-tinted shadow for a primary floating element."
1502
1675
  },
1503
- "text-strong": {
1676
+ "color-accent": {
1504
1677
  "$type": "color",
1505
1678
  "$value": {
1506
1679
  "colorSpace": "oklch",
1507
1680
  "components": [
1508
- 0.23,
1509
- 0.02,
1510
- 230
1511
- ]
1512
- }
1681
+ 0.2,
1682
+ 0.06,
1683
+ 356
1684
+ ],
1685
+ "alpha": 0.24
1686
+ },
1687
+ "$description": "An accent-tinted shadow for an accent floating element."
1513
1688
  },
1514
- "text": {
1689
+ "color-range": {
1515
1690
  "$type": "color",
1516
1691
  "$value": {
1517
1692
  "colorSpace": "oklch",
1518
1693
  "components": [
1519
- 0.33,
1520
- 0.02,
1521
- 230
1522
- ]
1523
- }
1694
+ 0.2,
1695
+ 0.04,
1696
+ 182.5
1697
+ ],
1698
+ "alpha": 0.3
1699
+ },
1700
+ "$extensions": {
1701
+ "com.contour.css": {
1702
+ "knob-resolved": [
1703
+ "--brand-hue"
1704
+ ],
1705
+ "declared": "oklch(20% 0.04 var(--brand-hue) / 0.3)"
1706
+ }
1707
+ },
1708
+ "$description": "A neutral shadow for a range/slider thumb."
1524
1709
  },
1525
- "text-muted": {
1526
- "$type": "color",
1527
- "$value": {
1528
- "colorSpace": "oklch",
1529
- "components": [
1530
- 0.47,
1531
- 0.018,
1532
- 230
1533
- ]
1534
- }
1710
+ "$description": "Ring geometry (one pitch for every circle in the system)"
1711
+ },
1712
+ "opacity": {
1713
+ "disabled": {
1714
+ "$type": "number",
1715
+ "$value": 0.5,
1716
+ "$description": "The disabled-state opacity."
1535
1717
  },
1536
- "text-subtle": {
1537
- "$type": "color",
1718
+ "$description": "Ring geometry (one pitch for every circle in the system)"
1719
+ },
1720
+ "dur": {
1721
+ "fast": {
1722
+ "$type": "duration",
1538
1723
  "$value": {
1539
- "colorSpace": "oklch",
1540
- "components": [
1541
- 0.44,
1542
- 0.018,
1543
- 230
1544
- ]
1545
- }
1724
+ "value": 180,
1725
+ "unit": "ms"
1726
+ },
1727
+ "$description": "Fast transition duration — hover and small state changes."
1546
1728
  },
1547
- "border-subtle": {
1548
- "$type": "color",
1729
+ "base": {
1730
+ "$type": "duration",
1549
1731
  "$value": {
1550
- "colorSpace": "oklch",
1551
- "components": [
1552
- 0.88,
1553
- 0.008,
1554
- 230
1555
- ]
1556
- }
1732
+ "value": 260,
1733
+ "unit": "ms"
1734
+ },
1735
+ "$description": "Base transition duration — standard state changes."
1557
1736
  },
1558
- "border": {
1559
- "$type": "color",
1737
+ "slow": {
1738
+ "$type": "duration",
1560
1739
  "$value": {
1561
- "colorSpace": "oklch",
1562
- "components": [
1563
- 0.85,
1564
- 0.01,
1565
- 230
1566
- ]
1567
- }
1740
+ "value": 420,
1741
+ "unit": "ms"
1742
+ },
1743
+ "$description": "Slow transition duration — large layout shifts."
1568
1744
  },
1569
- "border-strong": {
1570
- "$type": "color",
1745
+ "spin": {
1746
+ "$type": "duration",
1571
1747
  "$value": {
1572
- "colorSpace": "oklch",
1573
- "components": [
1574
- 0.72,
1575
- 0.014,
1576
- 230
1577
- ]
1578
- }
1748
+ "value": 720,
1749
+ "unit": "ms"
1750
+ },
1751
+ "$description": "The spinner rotation duration."
1579
1752
  },
1580
- "control-edge": {
1581
- "$type": "color",
1753
+ "spin-slow": {
1754
+ "$type": "duration",
1582
1755
  "$value": {
1583
- "colorSpace": "oklch",
1584
- "components": [
1585
- 0.61,
1586
- 0.016,
1587
- 230
1588
- ]
1756
+ "value": 1,
1757
+ "unit": "s"
1589
1758
  },
1590
- "$description": "Control edge: the border of an input, select, textarea or secondary/outline button. Must clear 3:1 against every surface it can sit on (WCAG 1.4.11). The binding surface is --color-surface-3 in both themes: at the previous 62%/56% the edge measured 3.01:1 light and 2.84:1 dark there, so the dark step failed the contract this comment states. 61%/58% measures 3.14 and 3.09 — the smallest change that clears 3:1 with margin, chosen by sweeping the same canvas estimator the gate certifies with."
1591
- },
1592
- "primary": {
1593
- "$value": "{brand.600}"
1594
- },
1595
- "primary-hover": {
1596
- "$value": "{brand.700}"
1759
+ "$description": "The slow spinner rotation duration."
1597
1760
  },
1598
- "primary-active": {
1599
- "$value": "{brand.800}"
1600
- },
1601
- "primary-text": {
1602
- "$value": "{brand.700}"
1603
- },
1604
- "on-primary": {
1605
- "$type": "color",
1761
+ "copy-tick": {
1762
+ "$type": "duration",
1606
1763
  "$value": {
1607
- "colorSpace": "oklch",
1608
- "components": [
1609
- 0.99,
1610
- 0.01,
1611
- 182.5
1612
- ]
1764
+ "value": 220,
1765
+ "unit": "ms"
1613
1766
  },
1614
- "$extensions": {
1615
- "com.contour.css": {
1616
- "knob-resolved": [
1617
- "--brand-hue"
1618
- ],
1619
- "declared": "light-dark(oklch(99% 0.01 var(--brand-hue)), var(--basalt-1000))"
1620
- }
1621
- }
1767
+ "$description": "The copy-confirmation tick duration."
1622
1768
  },
1623
- "primary-solid": {
1624
- "$value": "{brand.700}",
1625
- "$description": "Filled surfaces need one extra step of depth so white text clears 4.5:1 on a light background."
1769
+ "ping": {
1770
+ "$type": "duration",
1771
+ "$value": {
1772
+ "value": 2.4,
1773
+ "unit": "s"
1774
+ },
1775
+ "$description": "The ping/pulse animation duration."
1626
1776
  },
1627
- "on-primary-solid": {
1628
- "$type": "color",
1777
+ "sweep": {
1778
+ "$type": "duration",
1629
1779
  "$value": {
1630
- "colorSpace": "oklch",
1631
- "components": [
1632
- 0.99,
1633
- 0.01,
1634
- 182.5
1635
- ]
1780
+ "value": 1.6,
1781
+ "unit": "s"
1636
1782
  },
1637
- "$extensions": {
1638
- "com.contour.css": {
1639
- "knob-resolved": [
1640
- "--brand-hue"
1641
- ],
1642
- "declared": "light-dark( oklch(99% 0.01 var(--brand-hue)), var(--basalt-1000) )"
1643
- }
1644
- }
1783
+ "$description": "The skeleton sweep duration."
1645
1784
  },
1646
- "primary-soft": {
1647
- "$type": "color",
1785
+ "focus": {
1786
+ "$type": "duration",
1648
1787
  "$value": {
1649
- "colorSpace": "oklch",
1650
- "components": [
1651
- 0.94,
1652
- 0.035,
1653
- 182.5
1654
- ]
1788
+ "value": 120,
1789
+ "unit": "ms"
1655
1790
  },
1656
- "$extensions": {
1657
- "com.contour.css": {
1658
- "knob-resolved": [
1659
- "--brand-hue"
1660
- ],
1661
- "declared": "light-dark( oklch(94% 0.035 var(--brand-hue)), oklch(26% 0.05 var(--brand-hue)) )"
1662
- }
1663
- }
1791
+ "$description": "The focus-ring transition duration."
1664
1792
  },
1665
- "accent": {
1666
- "$value": "{plasma.600}"
1793
+ "$description": "MOTION"
1794
+ },
1795
+ "ease": {
1796
+ "standard": {
1797
+ "$type": "cubicBezier",
1798
+ "$value": [
1799
+ 0.22,
1800
+ 1,
1801
+ 0.36,
1802
+ 1
1803
+ ],
1804
+ "$description": "The standard easing curve for most transitions."
1667
1805
  },
1668
- "accent-hover": {
1669
- "$value": "{plasma.700}"
1806
+ "out-expo": {
1807
+ "$type": "cubicBezier",
1808
+ "$value": [
1809
+ 0.16,
1810
+ 1,
1811
+ 0.3,
1812
+ 1
1813
+ ],
1814
+ "$description": "A decelerating curve for entrances."
1670
1815
  },
1671
- "accent-text": {
1672
- "$value": "{plasma.700}"
1816
+ "in-out": {
1817
+ "$type": "cubicBezier",
1818
+ "$value": [
1819
+ 0.65,
1820
+ 0,
1821
+ 0.35,
1822
+ 1
1823
+ ],
1824
+ "$description": "A symmetric curve for moves that start and end in place."
1673
1825
  },
1674
- "on-accent": {
1675
- "$type": "color",
1676
- "$value": {
1677
- "colorSpace": "oklch",
1678
- "components": [
1679
- 0.99,
1680
- 0.01,
1681
- 359
1682
- ]
1683
- }
1826
+ "exit": {
1827
+ "$type": "cubicBezier",
1828
+ "$value": [
1829
+ 0.4,
1830
+ 0,
1831
+ 1,
1832
+ 1
1833
+ ],
1834
+ "$description": "An accelerating curve for exits."
1684
1835
  },
1685
- "accent-soft": {
1686
- "$type": "color",
1836
+ "$description": "MOTION"
1837
+ },
1838
+ "reveal": {
1839
+ "distance": {
1840
+ "$type": "dimension",
1687
1841
  "$value": {
1688
- "colorSpace": "oklch",
1689
- "components": [
1690
- 0.94,
1691
- 0.035,
1692
- 358.92
1693
- ]
1694
- }
1695
- },
1696
- "data": {
1697
- "$value": "{lumen.600}"
1698
- },
1699
- "data-text": {
1700
- "$value": "{lumen.700}"
1842
+ "value": 1.5,
1843
+ "unit": "rem"
1844
+ },
1845
+ "$description": "The scroll-reveal translate distance."
1701
1846
  },
1702
- "data-soft": {
1703
- "$type": "color",
1847
+ "$description": "MOTION"
1848
+ },
1849
+ "container": {
1850
+ "sm": {
1851
+ "$type": "dimension",
1704
1852
  "$value": {
1705
- "colorSpace": "oklch",
1706
- "components": [
1707
- 0.94,
1708
- 0.035,
1709
- 236
1710
- ]
1711
- }
1853
+ "value": 40,
1854
+ "unit": "rem"
1855
+ },
1856
+ "$description": "A small container max-width."
1712
1857
  },
1713
- "success": {
1714
- "$value": "{tidal.700}"
1858
+ "md": {
1859
+ "$type": "dimension",
1860
+ "$value": {
1861
+ "value": 54,
1862
+ "unit": "rem"
1863
+ },
1864
+ "$description": "A medium container max-width."
1715
1865
  },
1716
- "success-text": {
1717
- "$value": "{tidal.700}"
1866
+ "xl": {
1867
+ "$type": "dimension",
1868
+ "$value": {
1869
+ "value": 84,
1870
+ "unit": "rem"
1871
+ },
1872
+ "$description": "An extra-large container max-width."
1718
1873
  },
1719
- "success-soft": {
1720
- "$type": "color",
1874
+ "$description": "LAYOUT & STACKING"
1875
+ },
1876
+ "header": {
1877
+ "height": {
1878
+ "$type": "dimension",
1721
1879
  "$value": {
1722
- "colorSpace": "oklch",
1723
- "components": [
1724
- 0.94,
1725
- 0.035,
1726
- 182.5
1727
- ]
1728
- }
1880
+ "value": 4.25,
1881
+ "unit": "rem"
1882
+ },
1883
+ "$description": "The site header height."
1729
1884
  },
1730
- "warning": {
1731
- "$value": "{sol.600}"
1885
+ "$description": "LAYOUT & STACKING"
1886
+ },
1887
+ "z": {
1888
+ "raised": {
1889
+ "$type": "number",
1890
+ "$value": 10,
1891
+ "$description": "The base raised layer — sticky headers and raised cards."
1732
1892
  },
1733
- "warning-text": {
1734
- "$value": "{sol.800}"
1893
+ "sticky": {
1894
+ "$type": "number",
1895
+ "$value": 100,
1896
+ "$description": "The sticky layer — a sticky header above raised content."
1735
1897
  },
1736
- "warning-soft": {
1737
- "$type": "color",
1738
- "$value": {
1739
- "colorSpace": "oklch",
1740
- "components": [
1741
- 0.95,
1742
- 0.045,
1743
- 85
1744
- ]
1745
- }
1898
+ "header": {
1899
+ "$type": "number",
1900
+ "$value": 400,
1901
+ "$description": "The site header layer."
1746
1902
  },
1747
- "danger": {
1748
- "$value": "{clay.600}"
1903
+ "drawer": {
1904
+ "$type": "number",
1905
+ "$value": 500,
1906
+ "$description": "The drawer layer — above the header."
1749
1907
  },
1750
- "danger-hover": {
1751
- "$value": "{clay.700}"
1908
+ "modal": {
1909
+ "$type": "number",
1910
+ "$value": 600,
1911
+ "$description": "The modal dialog layer."
1752
1912
  },
1753
- "danger-text": {
1754
- "$value": "{clay.700}"
1913
+ "toast": {
1914
+ "$type": "number",
1915
+ "$value": 700,
1916
+ "$description": "The toast/notification layer — above modals."
1755
1917
  },
1756
- "danger-border": {
1757
- "$value": "{clay.600}"
1918
+ "tooltip": {
1919
+ "$type": "number",
1920
+ "$value": 800,
1921
+ "$description": "The tooltip layer — the topmost floating chrome."
1758
1922
  },
1759
- "on-danger": {
1760
- "$type": "color",
1923
+ "$description": "LAYOUT & STACKING"
1924
+ },
1925
+ "border": {
1926
+ "width": {
1927
+ "$type": "dimension",
1761
1928
  "$value": {
1762
- "colorSpace": "oklch",
1763
- "components": [
1764
- 0.99,
1765
- 0.01,
1766
- 27
1767
- ]
1768
- }
1929
+ "value": 1,
1930
+ "unit": "px"
1931
+ },
1932
+ "$description": "The default border width."
1769
1933
  },
1770
- "danger-soft": {
1771
- "$type": "color",
1934
+ "width-thick": {
1935
+ "$type": "dimension",
1772
1936
  "$value": {
1773
- "colorSpace": "oklch",
1774
- "components": [
1775
- 0.94,
1776
- 0.04,
1777
- 30
1778
- ]
1779
- }
1780
- },
1781
- "info": {
1782
- "$value": "{lumen.600}"
1783
- },
1784
- "info-text": {
1785
- "$value": "{lumen.700}"
1937
+ "value": 2,
1938
+ "unit": "px"
1939
+ },
1940
+ "$description": "A thick border width for emphasis."
1786
1941
  },
1787
- "info-soft": {
1788
- "$type": "color",
1942
+ "$description": "BORDERS"
1943
+ },
1944
+ "target": {
1945
+ "control": {
1946
+ "$type": "dimension",
1789
1947
  "$value": {
1790
- "colorSpace": "oklch",
1791
- "components": [
1792
- 0.94,
1793
- 0.035,
1794
- 236
1795
- ]
1796
- }
1797
- },
1798
- "focus-ring": {
1799
- "$value": "{brand.700}"
1948
+ "value": 2.75,
1949
+ "unit": "rem"
1950
+ },
1951
+ "$description": "The minimum control target (WCAG 2.5.8)."
1800
1952
  },
1801
- "focus-halo": {
1802
- "$type": "color",
1953
+ "option": {
1954
+ "$type": "dimension",
1803
1955
  "$value": {
1804
- "colorSpace": "oklch",
1805
- "components": [
1806
- 0.94,
1807
- 0.05,
1808
- 182.5
1809
- ],
1810
- "alpha": 0.9
1956
+ "value": 1.5,
1957
+ "unit": "rem"
1811
1958
  },
1812
- "$extensions": {
1813
- "com.contour.css": {
1814
- "knob-resolved": [
1815
- "--brand-hue"
1816
- ],
1817
- "declared": "light-dark( oklch(94% 0.05 var(--brand-hue) / 0.9), oklch(78% 0.12 var(--brand-hue) / 0.24) )"
1818
- }
1819
- }
1959
+ "$description": "The minimum option/menu-item target."
1820
1960
  },
1821
- "selection": {
1822
- "$type": "color",
1961
+ "chart": {
1962
+ "$type": "dimension",
1823
1963
  "$value": {
1824
- "colorSpace": "oklch",
1825
- "components": [
1826
- 0.92,
1827
- 0.04,
1828
- 182.5
1829
- ]
1964
+ "value": 1.5,
1965
+ "unit": "rem"
1830
1966
  },
1831
- "$extensions": {
1832
- "com.contour.css": {
1833
- "knob-resolved": [
1834
- "--brand-hue"
1835
- ],
1836
- "declared": "light-dark(oklch(92% 0.04 var(--brand-hue)), oklch(28% 0.05 var(--brand-hue)))"
1837
- }
1838
- }
1967
+ "$description": "The minimum chart mark target."
1839
1968
  },
1840
- "tooltip-bg": {
1841
- "$type": "color",
1969
+ "mark": {
1970
+ "$type": "number",
1971
+ "$value": 0,
1972
+ "$description": "a data mark is not a target"
1973
+ },
1974
+ "$description": "BORDERS"
1975
+ },
1976
+ "hairline": {
1977
+ "hairline": {
1978
+ "$type": "border",
1842
1979
  "$value": {
1843
- "colorSpace": "oklch",
1844
- "components": [
1845
- 0.26,
1846
- 0.02,
1847
- 230
1848
- ]
1849
- }
1980
+ "width": "{border.width}",
1981
+ "style": "solid",
1982
+ "color": "{color.border}"
1983
+ },
1984
+ "$description": "The hairline border width."
1850
1985
  },
1851
- "tooltip-fg": {
1986
+ "$description": "BORDERS"
1987
+ },
1988
+ "brand": {
1989
+ "200": {
1852
1990
  "$type": "color",
1853
1991
  "$value": {
1854
1992
  "colorSpace": "oklch",
1855
1993
  "components": [
1856
- 0.97,
1857
- 0.004,
1858
- 230
1859
- ]
1860
- }
1861
- },
1862
- "link": {
1863
- "$value": "{brand.700}"
1864
- },
1865
- "link-hover": {
1866
- "$value": "{brand.800}"
1994
+ 0.92,
1995
+ 0.05,
1996
+ 182.5
1997
+ ]
1998
+ },
1999
+ "$extensions": {
2000
+ "com.contour.css": {
2001
+ "knob-resolved": [
2002
+ "--brand-hue"
2003
+ ],
2004
+ "declared": "oklch(92% 0.05 var(--brand-hue))"
2005
+ }
2006
+ },
2007
+ "$description": "Brand teal step 200."
1867
2008
  },
1868
- "code-bg": {
2009
+ "300": {
1869
2010
  "$type": "color",
1870
2011
  "$value": {
1871
2012
  "colorSpace": "oklch",
1872
2013
  "components": [
1873
- 0.96,
1874
- 0.008,
1875
- 230
2014
+ 0.85,
2015
+ 0.09,
2016
+ 182.5
1876
2017
  ]
1877
- }
2018
+ },
2019
+ "$extensions": {
2020
+ "com.contour.css": {
2021
+ "knob-resolved": [
2022
+ "--brand-hue"
2023
+ ],
2024
+ "declared": "oklch(85% 0.09 var(--brand-hue))"
2025
+ }
2026
+ },
2027
+ "$description": "Brand teal step 300."
1878
2028
  },
1879
- "code-header-bg": {
2029
+ "400": {
1880
2030
  "$type": "color",
1881
2031
  "$value": {
1882
2032
  "colorSpace": "oklch",
1883
2033
  "components": [
1884
- 0.93,
1885
- 0.01,
1886
- 230
2034
+ 0.78,
2035
+ 0.11,
2036
+ 182.5
1887
2037
  ]
1888
- }
2038
+ },
2039
+ "$extensions": {
2040
+ "com.contour.css": {
2041
+ "knob-resolved": [
2042
+ "--brand-hue"
2043
+ ],
2044
+ "declared": "oklch(78% 0.11 var(--brand-hue))"
2045
+ }
2046
+ },
2047
+ "$description": "Brand teal step 400."
1889
2048
  },
1890
- "track": {
2049
+ "500": {
1891
2050
  "$type": "color",
1892
2051
  "$value": {
1893
2052
  "colorSpace": "oklch",
1894
2053
  "components": [
1895
- 0.9,
1896
- 0.01,
1897
- 230
2054
+ 0.7040000000000001,
2055
+ 0.123,
2056
+ 182.5
1898
2057
  ]
1899
- }
2058
+ },
2059
+ "$extensions": {
2060
+ "com.contour.css": {
2061
+ "knob-resolved": [
2062
+ "--brand-hue"
2063
+ ],
2064
+ "declared": "oklch(70.4% 0.123 var(--brand-hue))"
2065
+ }
2066
+ },
2067
+ "$description": "Brand teal step 500 — the anchor."
1900
2068
  },
1901
- "skeleton": {
2069
+ "600": {
1902
2070
  "$type": "color",
1903
2071
  "$value": {
1904
2072
  "colorSpace": "oklch",
1905
2073
  "components": [
1906
- 0.92,
1907
- 0.008,
1908
- 230
2074
+ 0.5,
2075
+ 0.115,
2076
+ 182.5
1909
2077
  ]
1910
- }
1911
- },
1912
- "syntax-keyword": {
1913
- "$value": "{tidal.700}"
1914
- },
1915
- "syntax-string": {
1916
- "$value": "{plasma.600}"
1917
- },
1918
- "syntax-function": {
1919
- "$value": "{lumen.700}"
2078
+ },
2079
+ "$extensions": {
2080
+ "com.contour.css": {
2081
+ "knob-resolved": [
2082
+ "--brand-hue"
2083
+ ],
2084
+ "declared": "oklch(50% 0.115 var(--brand-hue))"
2085
+ }
2086
+ },
2087
+ "$description": "Brand teal step 600."
1920
2088
  },
1921
- "syntax-punctuation": {
2089
+ "700": {
1922
2090
  "$type": "color",
1923
2091
  "$value": {
1924
2092
  "colorSpace": "oklch",
1925
2093
  "components": [
1926
- 0.55,
1927
- 0.016,
1928
- 230
2094
+ 0.51,
2095
+ 0.1,
2096
+ 182.5
1929
2097
  ]
1930
- }
2098
+ },
2099
+ "$extensions": {
2100
+ "com.contour.css": {
2101
+ "knob-resolved": [
2102
+ "--brand-hue"
2103
+ ],
2104
+ "declared": "oklch(51% 0.1 var(--brand-hue))"
2105
+ }
2106
+ },
2107
+ "$description": "Brand teal step 700."
1931
2108
  },
1932
- "syntax-comment": {
2109
+ "800": {
1933
2110
  "$type": "color",
1934
2111
  "$value": {
1935
2112
  "colorSpace": "oklch",
1936
2113
  "components": [
1937
- 0.55,
1938
- 0.016,
1939
- 230
2114
+ 0.41,
2115
+ 0.082,
2116
+ 182.5
1940
2117
  ]
1941
- }
1942
- },
1943
- "syntax-number": {
1944
- "$value": "{sol.700}"
1945
- },
1946
- "heat-1": {
1947
- "$value": "{lumen.500}",
1948
- "$description": "NOT a sequential ramp: luminance is not monotonic across the six steps. Use --chart-seq-* for any ordered band."
1949
- },
1950
- "heat-2": {
1951
- "$value": "{lumen.400}"
1952
- },
1953
- "heat-3": {
1954
- "$value": "{tidal.400}"
1955
- },
1956
- "heat-4": {
1957
- "$value": "{tidal.500}"
2118
+ },
2119
+ "$extensions": {
2120
+ "com.contour.css": {
2121
+ "knob-resolved": [
2122
+ "--brand-hue"
2123
+ ],
2124
+ "declared": "oklch(41% 0.082 var(--brand-hue))"
2125
+ }
2126
+ },
2127
+ "$description": "Brand teal step 800."
1958
2128
  },
1959
- "heat-5": {
1960
- "$value": "{sol.500}"
2129
+ "hue": {
2130
+ "$type": "number",
2131
+ "$value": 182.5,
2132
+ "$description": "The brand teal hue angle."
1961
2133
  },
1962
- "heat-6": {
1963
- "$value": "{plasma.500}"
1964
- }
2134
+ "$description": "BORDERS"
1965
2135
  },
1966
2136
  "density": {
1967
2137
  "density": {
1968
2138
  "$type": "number",
1969
2139
  "$value": 1,
1970
- "$description": "A single multiplier that compresses row padding and gaps, so the same table can serve a 34-inch analyst monitor and an embedded widget. 1 = comfortable, 0.72 = compact."
2140
+ "$description": "The density multiplier (1 = comfortable)."
1971
2141
  },
1972
2142
  "compact": {
1973
2143
  "$type": "number",
1974
- "$value": 0.72
2144
+ "$value": 0.72,
2145
+ "$description": "The compact density multiplier (< 1)."
1975
2146
  },
1976
2147
  "roomy": {
1977
2148
  "$type": "number",
1978
- "$value": 1.28
2149
+ "$value": 1.28,
2150
+ "$description": "The roomy density multiplier (> 1)."
1979
2151
  },
1980
2152
  "type": {
1981
2153
  "$type": "number",
1982
- "$value": 1
2154
+ "$value": 1,
2155
+ "$description": "The type-scale density multiplier."
1983
2156
  },
1984
2157
  "type-compact": {
1985
2158
  "$type": "number",
1986
- "$value": 0.875
2159
+ "$value": 0.875,
2160
+ "$description": "The compact type-scale multiplier."
1987
2161
  },
1988
- "$description": "Density"
2162
+ "$description": "Borders"
1989
2163
  },
1990
2164
  "focus": {
1991
2165
  "width": {
@@ -1993,7 +2167,8 @@
1993
2167
  "$value": {
1994
2168
  "value": 2,
1995
2169
  "unit": "px"
1996
- }
2170
+ },
2171
+ "$description": "The focus ring width."
1997
2172
  },
1998
2173
  "$description": "Focus"
1999
2174
  },
@@ -2008,7 +2183,7 @@
2008
2183
  182
2009
2184
  ]
2010
2185
  },
2011
- "$description": "Categorical — eight series, ordered so neighbouring hues stay apart. Cap at eight: past that, adjacent colours stop being reliably distinguishable and the tail should fold into \"other\". Closest pairs by luminance (C-20, measured): light 2↔8 (ΔL .0053), dark 1↔5 (ΔL .0001, ratio 1.00). Series 1 stays the default (brand hue) by design; separation is reported, not gated, and the dash pattern discharges WCAG 1.4.1. No reordering performed."
2186
+ "$description": "Categorical series 1 color."
2012
2187
  },
2013
2188
  "2": {
2014
2189
  "$type": "color",
@@ -2019,7 +2194,8 @@
2019
2194
  0.14,
2020
2195
  243
2021
2196
  ]
2022
- }
2197
+ },
2198
+ "$description": "Categorical series 2 color."
2023
2199
  },
2024
2200
  "3": {
2025
2201
  "$type": "color",
@@ -2030,7 +2206,8 @@
2030
2206
  0.19,
2031
2207
  300
2032
2208
  ]
2033
- }
2209
+ },
2210
+ "$description": "Categorical series 3 color."
2034
2211
  },
2035
2212
  "4": {
2036
2213
  "$type": "color",
@@ -2041,7 +2218,8 @@
2041
2218
  0.19,
2042
2219
  350
2043
2220
  ]
2044
- }
2221
+ },
2222
+ "$description": "Categorical series 4 color."
2045
2223
  },
2046
2224
  "5": {
2047
2225
  "$type": "color",
@@ -2052,7 +2230,8 @@
2052
2230
  0.15,
2053
2231
  45
2054
2232
  ]
2055
- }
2233
+ },
2234
+ "$description": "Categorical series 5 color."
2056
2235
  },
2057
2236
  "6": {
2058
2237
  "$type": "color",
@@ -2063,7 +2242,8 @@
2063
2242
  0.13,
2064
2243
  90
2065
2244
  ]
2066
- }
2245
+ },
2246
+ "$description": "Categorical series 6 color."
2067
2247
  },
2068
2248
  "7": {
2069
2249
  "$type": "color",
@@ -2074,7 +2254,8 @@
2074
2254
  0.13,
2075
2255
  148
2076
2256
  ]
2077
- }
2257
+ },
2258
+ "$description": "Categorical series 7 color."
2078
2259
  },
2079
2260
  "8": {
2080
2261
  "$type": "color",
@@ -2085,7 +2266,56 @@
2085
2266
  0.05,
2086
2267
  250
2087
2268
  ]
2088
- }
2269
+ },
2270
+ "$description": "Categorical series 8 color."
2271
+ },
2272
+ "9": {
2273
+ "$type": "color",
2274
+ "$value": {
2275
+ "colorSpace": "oklch",
2276
+ "components": [
2277
+ 0.58,
2278
+ 0.15,
2279
+ 20
2280
+ ]
2281
+ },
2282
+ "$description": "R31-163: series 9–12 extend the categorical ramp. Hue is the secondary cue; the dash pattern (below) is the primary one, so the set stays readable under colour-vision deficiency."
2283
+ },
2284
+ "10": {
2285
+ "$type": "color",
2286
+ "$value": {
2287
+ "colorSpace": "oklch",
2288
+ "components": [
2289
+ 0.6,
2290
+ 0.13,
2291
+ 200
2292
+ ]
2293
+ },
2294
+ "$description": "Categorical series 10 color."
2295
+ },
2296
+ "11": {
2297
+ "$type": "color",
2298
+ "$value": {
2299
+ "colorSpace": "oklch",
2300
+ "components": [
2301
+ 0.5,
2302
+ 0.14,
2303
+ 120
2304
+ ]
2305
+ },
2306
+ "$description": "Categorical series 11 color."
2307
+ },
2308
+ "12": {
2309
+ "$type": "color",
2310
+ "$value": {
2311
+ "colorSpace": "oklch",
2312
+ "components": [
2313
+ 0.55,
2314
+ 0.16,
2315
+ 320
2316
+ ]
2317
+ },
2318
+ "$description": "Categorical series 12 color."
2089
2319
  },
2090
2320
  "seq-1": {
2091
2321
  "$type": "color",
@@ -2096,7 +2326,8 @@
2096
2326
  0.04,
2097
2327
  182
2098
2328
  ]
2099
- }
2329
+ },
2330
+ "$description": "Sequential ramp step 1 (lightest)."
2100
2331
  },
2101
2332
  "seq-2": {
2102
2333
  "$type": "color",
@@ -2107,7 +2338,8 @@
2107
2338
  0.08,
2108
2339
  182
2109
2340
  ]
2110
- }
2341
+ },
2342
+ "$description": "Sequential ramp step 2."
2111
2343
  },
2112
2344
  "seq-3": {
2113
2345
  "$type": "color",
@@ -2118,7 +2350,8 @@
2118
2350
  0.11,
2119
2351
  182
2120
2352
  ]
2121
- }
2353
+ },
2354
+ "$description": "Sequential ramp step 3."
2122
2355
  },
2123
2356
  "seq-4": {
2124
2357
  "$type": "color",
@@ -2129,7 +2362,8 @@
2129
2362
  0.13,
2130
2363
  182
2131
2364
  ]
2132
- }
2365
+ },
2366
+ "$description": "Sequential ramp step 4."
2133
2367
  },
2134
2368
  "seq-5": {
2135
2369
  "$type": "color",
@@ -2140,7 +2374,8 @@
2140
2374
  0.13,
2141
2375
  182
2142
2376
  ]
2143
- }
2377
+ },
2378
+ "$description": "Sequential ramp step 5."
2144
2379
  },
2145
2380
  "seq-6": {
2146
2381
  "$type": "color",
@@ -2151,7 +2386,8 @@
2151
2386
  0.11,
2152
2387
  182
2153
2388
  ]
2154
- }
2389
+ },
2390
+ "$description": "Sequential ramp step 6."
2155
2391
  },
2156
2392
  "seq-7": {
2157
2393
  "$type": "color",
@@ -2162,7 +2398,8 @@
2162
2398
  0.08,
2163
2399
  182
2164
2400
  ]
2165
- }
2401
+ },
2402
+ "$description": "Sequential ramp step 7 (darkest)."
2166
2403
  },
2167
2404
  "cyc-1": {
2168
2405
  "$type": "color",
@@ -2174,7 +2411,7 @@
2174
2411
  182
2175
2412
  ]
2176
2413
  },
2177
- "$description": "Cyclic — equal lightness, hue carries the encoding, wraps seamlessly. For bearing/aspect/phase/time-of-day data where 0 and 360 are the same value: index mod N, so the last stop meets the first. The seam is a neutral (low chroma) so the wrap reads as continuous rather than as a hard edge."
2414
+ "$description": "Cyclic ramp step 1."
2178
2415
  },
2179
2416
  "cyc-2": {
2180
2417
  "$type": "color",
@@ -2185,7 +2422,8 @@
2185
2422
  0.12,
2186
2423
  227
2187
2424
  ]
2188
- }
2425
+ },
2426
+ "$description": "Cyclic ramp step 2."
2189
2427
  },
2190
2428
  "cyc-3": {
2191
2429
  "$type": "color",
@@ -2196,7 +2434,8 @@
2196
2434
  0.12,
2197
2435
  272
2198
2436
  ]
2199
- }
2437
+ },
2438
+ "$description": "Cyclic ramp step 3."
2200
2439
  },
2201
2440
  "cyc-4": {
2202
2441
  "$type": "color",
@@ -2207,7 +2446,8 @@
2207
2446
  0.12,
2208
2447
  317
2209
2448
  ]
2210
- }
2449
+ },
2450
+ "$description": "Cyclic ramp step 4."
2211
2451
  },
2212
2452
  "cyc-5": {
2213
2453
  "$type": "color",
@@ -2218,7 +2458,8 @@
2218
2458
  0.12,
2219
2459
  2
2220
2460
  ]
2221
- }
2461
+ },
2462
+ "$description": "Cyclic ramp step 5."
2222
2463
  },
2223
2464
  "cyc-6": {
2224
2465
  "$type": "color",
@@ -2229,7 +2470,8 @@
2229
2470
  0.12,
2230
2471
  47
2231
2472
  ]
2232
- }
2473
+ },
2474
+ "$description": "Cyclic ramp step 6."
2233
2475
  },
2234
2476
  "cyc-7": {
2235
2477
  "$type": "color",
@@ -2240,7 +2482,8 @@
2240
2482
  0.12,
2241
2483
  92
2242
2484
  ]
2243
- }
2485
+ },
2486
+ "$description": "Cyclic ramp step 7."
2244
2487
  },
2245
2488
  "cyc-8": {
2246
2489
  "$type": "color",
@@ -2251,10 +2494,12 @@
2251
2494
  0.02,
2252
2495
  137
2253
2496
  ]
2254
- }
2497
+ },
2498
+ "$description": "Cyclic ramp step 8."
2255
2499
  },
2256
2500
  "div-neg": {
2257
- "$value": "{clay.500}"
2501
+ "$value": "{clay.500}",
2502
+ "$description": "Diverging ramp — negative pole."
2258
2503
  },
2259
2504
  "div-mid": {
2260
2505
  "$type": "color",
@@ -2265,24 +2510,27 @@
2265
2510
  0.01,
2266
2511
  230
2267
2512
  ]
2268
- }
2513
+ },
2514
+ "$description": "Diverging ramp — neutral midpoint."
2269
2515
  },
2270
2516
  "div-pos": {
2271
- "$value": "{tidal.600}"
2517
+ "$value": "{tidal.600}",
2518
+ "$description": "Diverging ramp — positive pole."
2272
2519
  },
2273
2520
  "ticks": {
2274
2521
  "$type": "number",
2275
2522
  "$value": 5,
2276
- "$description": "The chart's tick count, and the reason the grid can align at all. Gridlines are one repeating band, so a band is exactly `100% / (ticks - 1)` wide and every line falls on a tick by construction — see `.c-chart__plot`. An author sets this to the number of labels their axis actually renders; `Contour.chart.ticks()` returns that many values. Five is the CSS convention, not a ceiling."
2523
+ "$description": "The chart tick color."
2277
2524
  },
2278
2525
  "tip-block-start": {
2279
2526
  "$type": "number",
2280
2527
  "$value": 0,
2281
- "$description": "Where a tooltip sits inside its plot. Declared here rather than invented at the point of use: a `var()` reference to a token that exists nowhere is the exact discrepancy `node tools/check-tokens.mjs` fails the build on, and a consumer overriding an undeclared knob gets nothing. Both default to the plot's own origin, so a tooltip with no anchors is still positioned."
2528
+ "$description": "The tooltip offset from the block start."
2282
2529
  },
2283
2530
  "tip-inline-start": {
2284
2531
  "$type": "number",
2285
- "$value": 0
2532
+ "$value": 0,
2533
+ "$description": "The tooltip offset from the inline start."
2286
2534
  },
2287
2535
  "grid": {
2288
2536
  "$type": "color",
@@ -2293,7 +2541,8 @@
2293
2541
  0.006,
2294
2542
  230
2295
2543
  ]
2296
- }
2544
+ },
2545
+ "$description": "The chart gridline color."
2297
2546
  },
2298
2547
  "axis": {
2299
2548
  "$type": "color",
@@ -2304,7 +2553,8 @@
2304
2553
  0.01,
2305
2554
  230
2306
2555
  ]
2307
- }
2556
+ },
2557
+ "$description": "The chart axis line color."
2308
2558
  },
2309
2559
  "label": {
2310
2560
  "$type": "color",
@@ -2316,7 +2566,7 @@
2316
2566
  230
2317
2567
  ]
2318
2568
  },
2319
- "$description": "Axis labels are text, not furniture: --type-micro is below the large-text exemption, so this must clear the same 4.5:1 body copy does. Measured, the dark value sat at 4.23:1 on --color-surface-3 (basalt-800) — the one surface in the set it failed — which is why the floor is 70% and not 66%."
2569
+ "$description": "The chart axis label color."
2320
2570
  },
2321
2571
  "missing": {
2322
2572
  "$type": "color",
@@ -2327,18 +2577,8 @@
2327
2577
  0.02,
2328
2578
  230
2329
2579
  ]
2330
- }
2331
- },
2332
- "hover": {
2333
- "$type": "color",
2334
- "$value": {
2335
- "colorSpace": "oklch",
2336
- "components": [
2337
- 0.96,
2338
- 0.006,
2339
- 230
2340
- ]
2341
- }
2580
+ },
2581
+ "$description": "The missing-data mark color."
2342
2582
  },
2343
2583
  "selection": {
2344
2584
  "$type": "color",
@@ -2357,7 +2597,8 @@
2357
2597
  ],
2358
2598
  "declared": "light-dark( oklch(92% 0.04 var(--brand-hue)), oklch(30% 0.05 var(--brand-hue)) )"
2359
2599
  }
2360
- }
2600
+ },
2601
+ "$description": "The chart selection highlight."
2361
2602
  },
2362
2603
  "tooltip-bg": {
2363
2604
  "$type": "color",
@@ -2368,7 +2609,8 @@
2368
2609
  0.02,
2369
2610
  230
2370
2611
  ]
2371
- }
2612
+ },
2613
+ "$description": "The chart tooltip background."
2372
2614
  },
2373
2615
  "tooltip-fg": {
2374
2616
  "$type": "color",
@@ -2379,7 +2621,8 @@
2379
2621
  0.004,
2380
2622
  230
2381
2623
  ]
2382
- }
2624
+ },
2625
+ "$description": "The chart tooltip foreground."
2383
2626
  }
2384
2627
  },
2385
2628
  "map": {
@@ -2389,14 +2632,15 @@
2389
2632
  "value": 0.1875,
2390
2633
  "unit": "rem"
2391
2634
  },
2392
- "$description": "The attribution band (C-15). A map's credit line is the one piece of chrome a consumer does not own: the vendor's terms say it must be visible over the map, and let us choose its colour and size but not its presence. So the geometry lives here rather than in the rule, because a dashboard that wants the bottom-right corner has to move the band, and moving a token is a reviewable act while overriding a rule is not. The logo box is the size the vendor ships — 65px by 20px, published in their own CSS — and it is a MINIMUM: the band reserves room for the mark and never resizes it."
2635
+ "$description": "The attribution inset from the block edge."
2393
2636
  },
2394
2637
  "attribution-inset-inline": {
2395
2638
  "$type": "dimension",
2396
2639
  "$value": {
2397
2640
  "value": 0.1875,
2398
2641
  "unit": "rem"
2399
- }
2642
+ },
2643
+ "$description": "The attribution inset from the inline edge."
2400
2644
  },
2401
2645
  "attribution-logo-inline": {
2402
2646
  "$type": "dimension",
@@ -2415,15 +2659,29 @@
2415
2659
  "$description": "20px, the shipped mark"
2416
2660
  },
2417
2661
  "attribution-padding-inline": {
2418
- "$value": "{space.2xs}"
2662
+ "$value": "{space.2xs}",
2663
+ "$description": "The attribution inline padding."
2419
2664
  },
2420
2665
  "attribution-gap": {
2421
- "$value": "{space.2xs}"
2666
+ "$value": "{space.2xs}",
2667
+ "$description": "The gap between attribution items."
2422
2668
  },
2423
2669
  "attribution-surface": {
2424
- "$value": "{color.surface-1}"
2670
+ "$value": "{color.surface-1}",
2671
+ "$description": "The attribution background surface."
2425
2672
  },
2426
- "$description": "Sequential — one hue, rising lightness."
2673
+ "$description": "Diverging — reserved for real midpoint (above/below target)."
2674
+ },
2675
+ "data": {
2676
+ "grid-max-height": {
2677
+ "$type": "dimension",
2678
+ "$value": {
2679
+ "value": 400,
2680
+ "unit": "px"
2681
+ },
2682
+ "$description": "The scroll ceiling for a data grid's virtualized body. A component reads it so the height is a token a product can re-point, not an inline 400px."
2683
+ },
2684
+ "$description": "Gradients (composed from theme-aware tokens)"
2427
2685
  },
2428
2686
  "$extensions": {
2429
2687
  "com.contour.version": {
@@ -2433,7 +2691,7 @@
2433
2691
  "com.contour.dtcg": {
2434
2692
  "source": "src/css/tokens.css",
2435
2693
  "statement": "Generated by tools/build.mjs; src/css stays the source of truth. The tokens named here are declared CSS the Format Module cannot represent, so a consumer must read the stylesheet for them — they are listed rather than dropped, and tools/check-export.mjs fails unless exported plus refused equals the census. Note what this document CANNOT say: a knob-resolved colour is published at the value :root declares, so the JSON describes the default theme only. Re-pointing --brand-hue works from :root and not from a subtree — that is why .c-theme-scope re-derives the whole brand layer rather than overriding one value — and a Resolver set carries themes, not an arbitrary hue. Read src/css for the mechanism.",
2436
- "refusedCount": 40,
2694
+ "refusedCount": 47,
2437
2695
  "reasons": {
2438
2696
  "fluid-value": {
2439
2697
  "count": 6,
@@ -2492,15 +2750,18 @@
2492
2750
  ],
2493
2751
  "because": "the token it aliases is itself refused, so a reference would dangle"
2494
2752
  },
2495
- "colour-not-parseable (knob substitution left calc(var(--space-2xs) + var(--space-2xs))": {
2496
- "count": 1,
2753
+ "composite-value (expression over var())": {
2754
+ "count": 4,
2497
2755
  "tokens": [
2498
- "--density-row"
2756
+ "--density-row",
2757
+ "--data-grid-row-height",
2758
+ "--combobox-row-height",
2759
+ "--virtual-list-item-height"
2499
2760
  ],
2500
- "because": "not a colour literal this exporter can read without guessing"
2761
+ "because": "a computed expression over other tokens, or a multi-part value (a shadow list, a length with a style), that is not one typed value"
2501
2762
  },
2502
2763
  "dash-list": {
2503
- "count": 8,
2764
+ "count": 12,
2504
2765
  "tokens": [
2505
2766
  "--chart-dash-1",
2506
2767
  "--chart-dash-2",
@@ -2509,7 +2770,11 @@
2509
2770
  "--chart-dash-5",
2510
2771
  "--chart-dash-6",
2511
2772
  "--chart-dash-7",
2512
- "--chart-dash-8"
2773
+ "--chart-dash-8",
2774
+ "--chart-dash-9",
2775
+ "--chart-dash-10",
2776
+ "--chart-dash-11",
2777
+ "--chart-dash-12"
2513
2778
  ],
2514
2779
  "because": "strokeStyle needs a lineCap that a dash token never states; inventing one would be a new claim"
2515
2780
  },