@primer/primitives 11.7.0-rc.9e55ef3b → 11.7.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 (80) hide show
  1. package/DESIGN_TOKENS_SPEC.md +6 -10
  2. package/dist/build/platforms/css.js +1 -0
  3. package/dist/css/functional/size/border.css +4 -2
  4. package/dist/css/functional/themes/dark-colorblind-high-contrast.css +6 -4
  5. package/dist/css/functional/themes/dark-colorblind.css +6 -4
  6. package/dist/css/functional/themes/dark-dimmed-high-contrast.css +6 -4
  7. package/dist/css/functional/themes/dark-dimmed.css +6 -4
  8. package/dist/css/functional/themes/dark-high-contrast.css +6 -4
  9. package/dist/css/functional/themes/dark-tritanopia-high-contrast.css +6 -4
  10. package/dist/css/functional/themes/dark-tritanopia.css +6 -4
  11. package/dist/css/functional/themes/dark.css +6 -4
  12. package/dist/css/functional/themes/light-colorblind-high-contrast.css +6 -4
  13. package/dist/css/functional/themes/light-colorblind.css +6 -4
  14. package/dist/css/functional/themes/light-high-contrast.css +6 -4
  15. package/dist/css/functional/themes/light-tritanopia-high-contrast.css +6 -4
  16. package/dist/css/functional/themes/light-tritanopia.css +6 -4
  17. package/dist/css/functional/themes/light.css +6 -4
  18. package/dist/docs/functional/size/border.json +74 -12
  19. package/dist/docs/functional/themes/dark-colorblind-high-contrast.json +41 -11
  20. package/dist/docs/functional/themes/dark-colorblind.json +41 -11
  21. package/dist/docs/functional/themes/dark-dimmed-high-contrast.json +41 -11
  22. package/dist/docs/functional/themes/dark-dimmed.json +41 -11
  23. package/dist/docs/functional/themes/dark-high-contrast.json +41 -11
  24. package/dist/docs/functional/themes/dark-tritanopia-high-contrast.json +41 -11
  25. package/dist/docs/functional/themes/dark-tritanopia.json +41 -11
  26. package/dist/docs/functional/themes/dark.json +41 -11
  27. package/dist/docs/functional/themes/light-colorblind-high-contrast.json +41 -11
  28. package/dist/docs/functional/themes/light-colorblind.json +41 -11
  29. package/dist/docs/functional/themes/light-high-contrast.json +41 -11
  30. package/dist/docs/functional/themes/light-tritanopia-high-contrast.json +41 -11
  31. package/dist/docs/functional/themes/light-tritanopia.json +41 -11
  32. package/dist/docs/functional/themes/light.json +41 -11
  33. package/dist/fallbacks/color-fallbacks.json +1 -0
  34. package/dist/fallbacks/functional/size/border.json +2 -0
  35. package/dist/figma/dimension/dimension.json +46 -22
  36. package/dist/figma/figma.json +1 -1
  37. package/dist/figma/themes/dark-colorblind.json +34 -17
  38. package/dist/figma/themes/dark-dimmed.json +34 -17
  39. package/dist/figma/themes/dark-high-contrast.json +34 -17
  40. package/dist/figma/themes/dark-tritanopia.json +34 -17
  41. package/dist/figma/themes/dark.json +34 -17
  42. package/dist/figma/themes/light-colorblind.json +34 -17
  43. package/dist/figma/themes/light-high-contrast.json +34 -17
  44. package/dist/figma/themes/light-tritanopia.json +34 -17
  45. package/dist/figma/themes/light.json +34 -17
  46. package/dist/internalCss/dark-colorblind-high-contrast.css +12 -22
  47. package/dist/internalCss/dark-colorblind.css +12 -22
  48. package/dist/internalCss/dark-dimmed-high-contrast.css +12 -22
  49. package/dist/internalCss/dark-dimmed.css +12 -22
  50. package/dist/internalCss/dark-high-contrast.css +12 -22
  51. package/dist/internalCss/dark-tritanopia-high-contrast.css +12 -22
  52. package/dist/internalCss/dark-tritanopia.css +12 -22
  53. package/dist/internalCss/dark.css +12 -22
  54. package/dist/internalCss/light-colorblind-high-contrast.css +12 -22
  55. package/dist/internalCss/light-colorblind.css +12 -22
  56. package/dist/internalCss/light-high-contrast.css +12 -22
  57. package/dist/internalCss/light-tritanopia-high-contrast.css +12 -22
  58. package/dist/internalCss/light-tritanopia.css +12 -22
  59. package/dist/internalCss/light.css +12 -22
  60. package/dist/styleLint/functional/size/border.json +75 -13
  61. package/dist/styleLint/functional/themes/dark-colorblind-high-contrast.json +44 -10
  62. package/dist/styleLint/functional/themes/dark-colorblind.json +44 -10
  63. package/dist/styleLint/functional/themes/dark-dimmed-high-contrast.json +44 -10
  64. package/dist/styleLint/functional/themes/dark-dimmed.json +44 -10
  65. package/dist/styleLint/functional/themes/dark-high-contrast.json +44 -10
  66. package/dist/styleLint/functional/themes/dark-tritanopia-high-contrast.json +44 -10
  67. package/dist/styleLint/functional/themes/dark-tritanopia.json +44 -10
  68. package/dist/styleLint/functional/themes/dark.json +44 -10
  69. package/dist/styleLint/functional/themes/light-colorblind-high-contrast.json +44 -10
  70. package/dist/styleLint/functional/themes/light-colorblind.json +44 -10
  71. package/dist/styleLint/functional/themes/light-high-contrast.json +44 -10
  72. package/dist/styleLint/functional/themes/light-tritanopia-high-contrast.json +44 -10
  73. package/dist/styleLint/functional/themes/light-tritanopia.json +44 -10
  74. package/dist/styleLint/functional/themes/light.json +44 -10
  75. package/package.json +2 -2
  76. package/src/tokens/component/focus.json5 +104 -0
  77. package/src/tokens/fallback/color-fallbacks.json +1 -0
  78. package/src/tokens/functional/border/border.json5 +0 -20
  79. package/src/tokens/functional/size/border.json5 +0 -30
  80. package/src/tokens/functional/color/focus.json5 +0 -20
@@ -39619,7 +39619,11 @@
39619
39619
  },
39620
39620
  "focus-outline": {
39621
39621
  "key": "{focus.outline}",
39622
- "$value": "2px solid #409eff",
39622
+ "$value": {
39623
+ "color": "#409eff",
39624
+ "style": "solid",
39625
+ "width": ["0.125rem", "2px"]
39626
+ },
39623
39627
  "$type": "border",
39624
39628
  "$description": "Focus ring outline for keyboard navigation and accessibility.",
39625
39629
  "$extensions": {
@@ -39628,16 +39632,13 @@
39628
39632
  "rules": "Always ensure focus states are visible. Do not override with custom focus styles that reduce visibility. Use for interactive elements like buttons, links, and form controls."
39629
39633
  }
39630
39634
  },
39631
- "filePath": "src/tokens/functional/border/border.json5",
39635
+ "filePath": "src/tokens/component/focus.json5",
39632
39636
  "isSource": true,
39633
39637
  "original": {
39634
39638
  "$value": {
39635
- "color": "{focus.outlineColor}",
39639
+ "color": "{focus.outline-color}",
39636
39640
  "style": "solid",
39637
- "width": {
39638
- "value": 2,
39639
- "unit": "px"
39640
- }
39641
+ "width": "{focus.outline-width}"
39641
39642
  },
39642
39643
  "$type": "border",
39643
39644
  "$description": "Focus ring outline for keyboard navigation and accessibility.",
@@ -39653,8 +39654,8 @@
39653
39654
  "attributes": {},
39654
39655
  "path": ["focus", "outline"]
39655
39656
  },
39656
- "focus-outlineColor": {
39657
- "key": "{focus.outlineColor}",
39657
+ "focus-outline-color": {
39658
+ "key": "{focus.outline-color}",
39658
39659
  "$value": "#409eff",
39659
39660
  "$type": "color",
39660
39661
  "$description": "Outline color for focus states on interactive elements",
@@ -39669,7 +39670,7 @@
39669
39670
  "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
39670
39671
  }
39671
39672
  },
39672
- "filePath": "src/tokens/functional/color/focus.json5",
39673
+ "filePath": "src/tokens/component/focus.json5",
39673
39674
  "isSource": true,
39674
39675
  "original": {
39675
39676
  "$value": "{borderColor.accent.emphasis}",
@@ -39686,6 +39687,39 @@
39686
39687
  "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
39687
39688
  }
39688
39689
  },
39690
+ "key": "{focus.outline-color}"
39691
+ },
39692
+ "name": "focus-outline-color",
39693
+ "attributes": {},
39694
+ "path": ["focus", "outline-color"]
39695
+ },
39696
+ "focus-outlineColor": {
39697
+ "key": "{focus.outlineColor}",
39698
+ "$value": "#409eff",
39699
+ "$type": "color",
39700
+ "$deprecated": "#409eff",
39701
+ "$description": "Deprecated. Use focus.outline-color instead.",
39702
+ "$extensions": {
39703
+ "org.primer.figma": {
39704
+ "collection": "mode",
39705
+ "group": "component (internal)",
39706
+ "scopes": ["borderColor", "effectColor"]
39707
+ }
39708
+ },
39709
+ "filePath": "src/tokens/component/focus.json5",
39710
+ "isSource": true,
39711
+ "original": {
39712
+ "$value": "{focus.outline-color}",
39713
+ "$type": "color",
39714
+ "$deprecated": "{focus.outline-color}",
39715
+ "$description": "Deprecated. Use focus.outline-color instead.",
39716
+ "$extensions": {
39717
+ "org.primer.figma": {
39718
+ "collection": "mode",
39719
+ "group": "component (internal)",
39720
+ "scopes": ["borderColor", "effectColor"]
39721
+ }
39722
+ },
39689
39723
  "key": "{focus.outlineColor}"
39690
39724
  },
39691
39725
  "name": "focus-outlineColor",
@@ -39627,7 +39627,11 @@
39627
39627
  },
39628
39628
  "focus-outline": {
39629
39629
  "key": "{focus.outline}",
39630
- "$value": "2px solid #409eff",
39630
+ "$value": {
39631
+ "color": "#409eff",
39632
+ "style": "solid",
39633
+ "width": ["0.125rem", "2px"]
39634
+ },
39631
39635
  "$type": "border",
39632
39636
  "$description": "Focus ring outline for keyboard navigation and accessibility.",
39633
39637
  "$extensions": {
@@ -39636,16 +39640,13 @@
39636
39640
  "rules": "Always ensure focus states are visible. Do not override with custom focus styles that reduce visibility. Use for interactive elements like buttons, links, and form controls."
39637
39641
  }
39638
39642
  },
39639
- "filePath": "src/tokens/functional/border/border.json5",
39643
+ "filePath": "src/tokens/component/focus.json5",
39640
39644
  "isSource": true,
39641
39645
  "original": {
39642
39646
  "$value": {
39643
- "color": "{focus.outlineColor}",
39647
+ "color": "{focus.outline-color}",
39644
39648
  "style": "solid",
39645
- "width": {
39646
- "value": 2,
39647
- "unit": "px"
39648
- }
39649
+ "width": "{focus.outline-width}"
39649
39650
  },
39650
39651
  "$type": "border",
39651
39652
  "$description": "Focus ring outline for keyboard navigation and accessibility.",
@@ -39661,8 +39662,8 @@
39661
39662
  "attributes": {},
39662
39663
  "path": ["focus", "outline"]
39663
39664
  },
39664
- "focus-outlineColor": {
39665
- "key": "{focus.outlineColor}",
39665
+ "focus-outline-color": {
39666
+ "key": "{focus.outline-color}",
39666
39667
  "$value": "#409eff",
39667
39668
  "$type": "color",
39668
39669
  "$description": "Outline color for focus states on interactive elements",
@@ -39677,7 +39678,7 @@
39677
39678
  "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
39678
39679
  }
39679
39680
  },
39680
- "filePath": "src/tokens/functional/color/focus.json5",
39681
+ "filePath": "src/tokens/component/focus.json5",
39681
39682
  "isSource": true,
39682
39683
  "original": {
39683
39684
  "$value": "{borderColor.accent.emphasis}",
@@ -39694,6 +39695,39 @@
39694
39695
  "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
39695
39696
  }
39696
39697
  },
39698
+ "key": "{focus.outline-color}"
39699
+ },
39700
+ "name": "focus-outline-color",
39701
+ "attributes": {},
39702
+ "path": ["focus", "outline-color"]
39703
+ },
39704
+ "focus-outlineColor": {
39705
+ "key": "{focus.outlineColor}",
39706
+ "$value": "#409eff",
39707
+ "$type": "color",
39708
+ "$deprecated": "#409eff",
39709
+ "$description": "Deprecated. Use focus.outline-color instead.",
39710
+ "$extensions": {
39711
+ "org.primer.figma": {
39712
+ "collection": "mode",
39713
+ "group": "component (internal)",
39714
+ "scopes": ["borderColor", "effectColor"]
39715
+ }
39716
+ },
39717
+ "filePath": "src/tokens/component/focus.json5",
39718
+ "isSource": true,
39719
+ "original": {
39720
+ "$value": "{focus.outline-color}",
39721
+ "$type": "color",
39722
+ "$deprecated": "{focus.outline-color}",
39723
+ "$description": "Deprecated. Use focus.outline-color instead.",
39724
+ "$extensions": {
39725
+ "org.primer.figma": {
39726
+ "collection": "mode",
39727
+ "group": "component (internal)",
39728
+ "scopes": ["borderColor", "effectColor"]
39729
+ }
39730
+ },
39697
39731
  "key": "{focus.outlineColor}"
39698
39732
  },
39699
39733
  "name": "focus-outlineColor",
@@ -39633,7 +39633,11 @@
39633
39633
  },
39634
39634
  "focus-outline": {
39635
39635
  "key": "{focus.outline}",
39636
- "$value": "2px solid #1f6feb",
39636
+ "$value": {
39637
+ "color": "#1f6feb",
39638
+ "style": "solid",
39639
+ "width": ["0.125rem", "2px"]
39640
+ },
39637
39641
  "$type": "border",
39638
39642
  "$description": "Focus ring outline for keyboard navigation and accessibility.",
39639
39643
  "$extensions": {
@@ -39642,16 +39646,13 @@
39642
39646
  "rules": "Always ensure focus states are visible. Do not override with custom focus styles that reduce visibility. Use for interactive elements like buttons, links, and form controls."
39643
39647
  }
39644
39648
  },
39645
- "filePath": "src/tokens/functional/border/border.json5",
39649
+ "filePath": "src/tokens/component/focus.json5",
39646
39650
  "isSource": true,
39647
39651
  "original": {
39648
39652
  "$value": {
39649
- "color": "{focus.outlineColor}",
39653
+ "color": "{focus.outline-color}",
39650
39654
  "style": "solid",
39651
- "width": {
39652
- "value": 2,
39653
- "unit": "px"
39654
- }
39655
+ "width": "{focus.outline-width}"
39655
39656
  },
39656
39657
  "$type": "border",
39657
39658
  "$description": "Focus ring outline for keyboard navigation and accessibility.",
@@ -39667,8 +39668,8 @@
39667
39668
  "attributes": {},
39668
39669
  "path": ["focus", "outline"]
39669
39670
  },
39670
- "focus-outlineColor": {
39671
- "key": "{focus.outlineColor}",
39671
+ "focus-outline-color": {
39672
+ "key": "{focus.outline-color}",
39672
39673
  "$value": "#1f6feb",
39673
39674
  "$type": "color",
39674
39675
  "$description": "Outline color for focus states on interactive elements",
@@ -39683,7 +39684,7 @@
39683
39684
  "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
39684
39685
  }
39685
39686
  },
39686
- "filePath": "src/tokens/functional/color/focus.json5",
39687
+ "filePath": "src/tokens/component/focus.json5",
39687
39688
  "isSource": true,
39688
39689
  "original": {
39689
39690
  "$value": "{borderColor.accent.emphasis}",
@@ -39700,6 +39701,39 @@
39700
39701
  "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
39701
39702
  }
39702
39703
  },
39704
+ "key": "{focus.outline-color}"
39705
+ },
39706
+ "name": "focus-outline-color",
39707
+ "attributes": {},
39708
+ "path": ["focus", "outline-color"]
39709
+ },
39710
+ "focus-outlineColor": {
39711
+ "key": "{focus.outlineColor}",
39712
+ "$value": "#1f6feb",
39713
+ "$type": "color",
39714
+ "$deprecated": "#1f6feb",
39715
+ "$description": "Deprecated. Use focus.outline-color instead.",
39716
+ "$extensions": {
39717
+ "org.primer.figma": {
39718
+ "collection": "mode",
39719
+ "group": "component (internal)",
39720
+ "scopes": ["borderColor", "effectColor"]
39721
+ }
39722
+ },
39723
+ "filePath": "src/tokens/component/focus.json5",
39724
+ "isSource": true,
39725
+ "original": {
39726
+ "$value": "{focus.outline-color}",
39727
+ "$type": "color",
39728
+ "$deprecated": "{focus.outline-color}",
39729
+ "$description": "Deprecated. Use focus.outline-color instead.",
39730
+ "$extensions": {
39731
+ "org.primer.figma": {
39732
+ "collection": "mode",
39733
+ "group": "component (internal)",
39734
+ "scopes": ["borderColor", "effectColor"]
39735
+ }
39736
+ },
39703
39737
  "key": "{focus.outlineColor}"
39704
39738
  },
39705
39739
  "name": "focus-outlineColor",
@@ -39605,7 +39605,11 @@
39605
39605
  },
39606
39606
  "focus-outline": {
39607
39607
  "key": "{focus.outline}",
39608
- "$value": "2px solid #1f6feb",
39608
+ "$value": {
39609
+ "color": "#1f6feb",
39610
+ "style": "solid",
39611
+ "width": ["0.125rem", "2px"]
39612
+ },
39609
39613
  "$type": "border",
39610
39614
  "$description": "Focus ring outline for keyboard navigation and accessibility.",
39611
39615
  "$extensions": {
@@ -39614,16 +39618,13 @@
39614
39618
  "rules": "Always ensure focus states are visible. Do not override with custom focus styles that reduce visibility. Use for interactive elements like buttons, links, and form controls."
39615
39619
  }
39616
39620
  },
39617
- "filePath": "src/tokens/functional/border/border.json5",
39621
+ "filePath": "src/tokens/component/focus.json5",
39618
39622
  "isSource": true,
39619
39623
  "original": {
39620
39624
  "$value": {
39621
- "color": "{focus.outlineColor}",
39625
+ "color": "{focus.outline-color}",
39622
39626
  "style": "solid",
39623
- "width": {
39624
- "value": 2,
39625
- "unit": "px"
39626
- }
39627
+ "width": "{focus.outline-width}"
39627
39628
  },
39628
39629
  "$type": "border",
39629
39630
  "$description": "Focus ring outline for keyboard navigation and accessibility.",
@@ -39639,8 +39640,8 @@
39639
39640
  "attributes": {},
39640
39641
  "path": ["focus", "outline"]
39641
39642
  },
39642
- "focus-outlineColor": {
39643
- "key": "{focus.outlineColor}",
39643
+ "focus-outline-color": {
39644
+ "key": "{focus.outline-color}",
39644
39645
  "$value": "#1f6feb",
39645
39646
  "$type": "color",
39646
39647
  "$description": "Outline color for focus states on interactive elements",
@@ -39655,7 +39656,7 @@
39655
39656
  "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
39656
39657
  }
39657
39658
  },
39658
- "filePath": "src/tokens/functional/color/focus.json5",
39659
+ "filePath": "src/tokens/component/focus.json5",
39659
39660
  "isSource": true,
39660
39661
  "original": {
39661
39662
  "$value": "{borderColor.accent.emphasis}",
@@ -39672,6 +39673,39 @@
39672
39673
  "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
39673
39674
  }
39674
39675
  },
39676
+ "key": "{focus.outline-color}"
39677
+ },
39678
+ "name": "focus-outline-color",
39679
+ "attributes": {},
39680
+ "path": ["focus", "outline-color"]
39681
+ },
39682
+ "focus-outlineColor": {
39683
+ "key": "{focus.outlineColor}",
39684
+ "$value": "#1f6feb",
39685
+ "$type": "color",
39686
+ "$deprecated": "#1f6feb",
39687
+ "$description": "Deprecated. Use focus.outline-color instead.",
39688
+ "$extensions": {
39689
+ "org.primer.figma": {
39690
+ "collection": "mode",
39691
+ "group": "component (internal)",
39692
+ "scopes": ["borderColor", "effectColor"]
39693
+ }
39694
+ },
39695
+ "filePath": "src/tokens/component/focus.json5",
39696
+ "isSource": true,
39697
+ "original": {
39698
+ "$value": "{focus.outline-color}",
39699
+ "$type": "color",
39700
+ "$deprecated": "{focus.outline-color}",
39701
+ "$description": "Deprecated. Use focus.outline-color instead.",
39702
+ "$extensions": {
39703
+ "org.primer.figma": {
39704
+ "collection": "mode",
39705
+ "group": "component (internal)",
39706
+ "scopes": ["borderColor", "effectColor"]
39707
+ }
39708
+ },
39675
39709
  "key": "{focus.outlineColor}"
39676
39710
  },
39677
39711
  "name": "focus-outlineColor",
@@ -39605,7 +39605,11 @@
39605
39605
  },
39606
39606
  "focus-outline": {
39607
39607
  "key": "{focus.outline}",
39608
- "$value": "2px solid #0349b4",
39608
+ "$value": {
39609
+ "color": "#0349b4",
39610
+ "style": "solid",
39611
+ "width": ["0.125rem", "2px"]
39612
+ },
39609
39613
  "$type": "border",
39610
39614
  "$description": "Focus ring outline for keyboard navigation and accessibility.",
39611
39615
  "$extensions": {
@@ -39614,16 +39618,13 @@
39614
39618
  "rules": "Always ensure focus states are visible. Do not override with custom focus styles that reduce visibility. Use for interactive elements like buttons, links, and form controls."
39615
39619
  }
39616
39620
  },
39617
- "filePath": "src/tokens/functional/border/border.json5",
39621
+ "filePath": "src/tokens/component/focus.json5",
39618
39622
  "isSource": true,
39619
39623
  "original": {
39620
39624
  "$value": {
39621
- "color": "{focus.outlineColor}",
39625
+ "color": "{focus.outline-color}",
39622
39626
  "style": "solid",
39623
- "width": {
39624
- "value": 2,
39625
- "unit": "px"
39626
- }
39627
+ "width": "{focus.outline-width}"
39627
39628
  },
39628
39629
  "$type": "border",
39629
39630
  "$description": "Focus ring outline for keyboard navigation and accessibility.",
@@ -39639,8 +39640,8 @@
39639
39640
  "attributes": {},
39640
39641
  "path": ["focus", "outline"]
39641
39642
  },
39642
- "focus-outlineColor": {
39643
- "key": "{focus.outlineColor}",
39643
+ "focus-outline-color": {
39644
+ "key": "{focus.outline-color}",
39644
39645
  "$value": "#0349b4",
39645
39646
  "$type": "color",
39646
39647
  "$description": "Outline color for focus states on interactive elements",
@@ -39655,7 +39656,7 @@
39655
39656
  "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
39656
39657
  }
39657
39658
  },
39658
- "filePath": "src/tokens/functional/color/focus.json5",
39659
+ "filePath": "src/tokens/component/focus.json5",
39659
39660
  "isSource": true,
39660
39661
  "original": {
39661
39662
  "$value": "{borderColor.accent.emphasis}",
@@ -39672,6 +39673,39 @@
39672
39673
  "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
39673
39674
  }
39674
39675
  },
39676
+ "key": "{focus.outline-color}"
39677
+ },
39678
+ "name": "focus-outline-color",
39679
+ "attributes": {},
39680
+ "path": ["focus", "outline-color"]
39681
+ },
39682
+ "focus-outlineColor": {
39683
+ "key": "{focus.outlineColor}",
39684
+ "$value": "#0349b4",
39685
+ "$type": "color",
39686
+ "$deprecated": "#0349b4",
39687
+ "$description": "Deprecated. Use focus.outline-color instead.",
39688
+ "$extensions": {
39689
+ "org.primer.figma": {
39690
+ "collection": "mode",
39691
+ "group": "component (internal)",
39692
+ "scopes": ["borderColor", "effectColor"]
39693
+ }
39694
+ },
39695
+ "filePath": "src/tokens/component/focus.json5",
39696
+ "isSource": true,
39697
+ "original": {
39698
+ "$value": "{focus.outline-color}",
39699
+ "$type": "color",
39700
+ "$deprecated": "{focus.outline-color}",
39701
+ "$description": "Deprecated. Use focus.outline-color instead.",
39702
+ "$extensions": {
39703
+ "org.primer.figma": {
39704
+ "collection": "mode",
39705
+ "group": "component (internal)",
39706
+ "scopes": ["borderColor", "effectColor"]
39707
+ }
39708
+ },
39675
39709
  "key": "{focus.outlineColor}"
39676
39710
  },
39677
39711
  "name": "focus-outlineColor",
@@ -39595,7 +39595,11 @@
39595
39595
  },
39596
39596
  "focus-outline": {
39597
39597
  "key": "{focus.outline}",
39598
- "$value": "2px solid #0969da",
39598
+ "$value": {
39599
+ "color": "#0969da",
39600
+ "style": "solid",
39601
+ "width": ["0.125rem", "2px"]
39602
+ },
39599
39603
  "$type": "border",
39600
39604
  "$description": "Focus ring outline for keyboard navigation and accessibility.",
39601
39605
  "$extensions": {
@@ -39604,16 +39608,13 @@
39604
39608
  "rules": "Always ensure focus states are visible. Do not override with custom focus styles that reduce visibility. Use for interactive elements like buttons, links, and form controls."
39605
39609
  }
39606
39610
  },
39607
- "filePath": "src/tokens/functional/border/border.json5",
39611
+ "filePath": "src/tokens/component/focus.json5",
39608
39612
  "isSource": true,
39609
39613
  "original": {
39610
39614
  "$value": {
39611
- "color": "{focus.outlineColor}",
39615
+ "color": "{focus.outline-color}",
39612
39616
  "style": "solid",
39613
- "width": {
39614
- "value": 2,
39615
- "unit": "px"
39616
- }
39617
+ "width": "{focus.outline-width}"
39617
39618
  },
39618
39619
  "$type": "border",
39619
39620
  "$description": "Focus ring outline for keyboard navigation and accessibility.",
@@ -39629,8 +39630,8 @@
39629
39630
  "attributes": {},
39630
39631
  "path": ["focus", "outline"]
39631
39632
  },
39632
- "focus-outlineColor": {
39633
- "key": "{focus.outlineColor}",
39633
+ "focus-outline-color": {
39634
+ "key": "{focus.outline-color}",
39634
39635
  "$value": "#0969da",
39635
39636
  "$type": "color",
39636
39637
  "$description": "Outline color for focus states on interactive elements",
@@ -39645,7 +39646,7 @@
39645
39646
  "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
39646
39647
  }
39647
39648
  },
39648
- "filePath": "src/tokens/functional/color/focus.json5",
39649
+ "filePath": "src/tokens/component/focus.json5",
39649
39650
  "isSource": true,
39650
39651
  "original": {
39651
39652
  "$value": "{borderColor.accent.emphasis}",
@@ -39662,6 +39663,39 @@
39662
39663
  "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
39663
39664
  }
39664
39665
  },
39666
+ "key": "{focus.outline-color}"
39667
+ },
39668
+ "name": "focus-outline-color",
39669
+ "attributes": {},
39670
+ "path": ["focus", "outline-color"]
39671
+ },
39672
+ "focus-outlineColor": {
39673
+ "key": "{focus.outlineColor}",
39674
+ "$value": "#0969da",
39675
+ "$type": "color",
39676
+ "$deprecated": "#0969da",
39677
+ "$description": "Deprecated. Use focus.outline-color instead.",
39678
+ "$extensions": {
39679
+ "org.primer.figma": {
39680
+ "collection": "mode",
39681
+ "group": "component (internal)",
39682
+ "scopes": ["borderColor", "effectColor"]
39683
+ }
39684
+ },
39685
+ "filePath": "src/tokens/component/focus.json5",
39686
+ "isSource": true,
39687
+ "original": {
39688
+ "$value": "{focus.outline-color}",
39689
+ "$type": "color",
39690
+ "$deprecated": "{focus.outline-color}",
39691
+ "$description": "Deprecated. Use focus.outline-color instead.",
39692
+ "$extensions": {
39693
+ "org.primer.figma": {
39694
+ "collection": "mode",
39695
+ "group": "component (internal)",
39696
+ "scopes": ["borderColor", "effectColor"]
39697
+ }
39698
+ },
39665
39699
  "key": "{focus.outlineColor}"
39666
39700
  },
39667
39701
  "name": "focus-outlineColor",
@@ -39607,7 +39607,11 @@
39607
39607
  },
39608
39608
  "focus-outline": {
39609
39609
  "key": "{focus.outline}",
39610
- "$value": "2px solid #0349b4",
39610
+ "$value": {
39611
+ "color": "#0349b4",
39612
+ "style": "solid",
39613
+ "width": ["0.125rem", "2px"]
39614
+ },
39611
39615
  "$type": "border",
39612
39616
  "$description": "Focus ring outline for keyboard navigation and accessibility.",
39613
39617
  "$extensions": {
@@ -39616,16 +39620,13 @@
39616
39620
  "rules": "Always ensure focus states are visible. Do not override with custom focus styles that reduce visibility. Use for interactive elements like buttons, links, and form controls."
39617
39621
  }
39618
39622
  },
39619
- "filePath": "src/tokens/functional/border/border.json5",
39623
+ "filePath": "src/tokens/component/focus.json5",
39620
39624
  "isSource": true,
39621
39625
  "original": {
39622
39626
  "$value": {
39623
- "color": "{focus.outlineColor}",
39627
+ "color": "{focus.outline-color}",
39624
39628
  "style": "solid",
39625
- "width": {
39626
- "value": 2,
39627
- "unit": "px"
39628
- }
39629
+ "width": "{focus.outline-width}"
39629
39630
  },
39630
39631
  "$type": "border",
39631
39632
  "$description": "Focus ring outline for keyboard navigation and accessibility.",
@@ -39641,8 +39642,8 @@
39641
39642
  "attributes": {},
39642
39643
  "path": ["focus", "outline"]
39643
39644
  },
39644
- "focus-outlineColor": {
39645
- "key": "{focus.outlineColor}",
39645
+ "focus-outline-color": {
39646
+ "key": "{focus.outline-color}",
39646
39647
  "$value": "#0349b4",
39647
39648
  "$type": "color",
39648
39649
  "$description": "Outline color for focus states on interactive elements",
@@ -39657,7 +39658,7 @@
39657
39658
  "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
39658
39659
  }
39659
39660
  },
39660
- "filePath": "src/tokens/functional/color/focus.json5",
39661
+ "filePath": "src/tokens/component/focus.json5",
39661
39662
  "isSource": true,
39662
39663
  "original": {
39663
39664
  "$value": "{borderColor.accent.emphasis}",
@@ -39674,6 +39675,39 @@
39674
39675
  "rules": "Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements."
39675
39676
  }
39676
39677
  },
39678
+ "key": "{focus.outline-color}"
39679
+ },
39680
+ "name": "focus-outline-color",
39681
+ "attributes": {},
39682
+ "path": ["focus", "outline-color"]
39683
+ },
39684
+ "focus-outlineColor": {
39685
+ "key": "{focus.outlineColor}",
39686
+ "$value": "#0349b4",
39687
+ "$type": "color",
39688
+ "$deprecated": "#0349b4",
39689
+ "$description": "Deprecated. Use focus.outline-color instead.",
39690
+ "$extensions": {
39691
+ "org.primer.figma": {
39692
+ "collection": "mode",
39693
+ "group": "component (internal)",
39694
+ "scopes": ["borderColor", "effectColor"]
39695
+ }
39696
+ },
39697
+ "filePath": "src/tokens/component/focus.json5",
39698
+ "isSource": true,
39699
+ "original": {
39700
+ "$value": "{focus.outline-color}",
39701
+ "$type": "color",
39702
+ "$deprecated": "{focus.outline-color}",
39703
+ "$description": "Deprecated. Use focus.outline-color instead.",
39704
+ "$extensions": {
39705
+ "org.primer.figma": {
39706
+ "collection": "mode",
39707
+ "group": "component (internal)",
39708
+ "scopes": ["borderColor", "effectColor"]
39709
+ }
39710
+ },
39677
39711
  "key": "{focus.outlineColor}"
39678
39712
  },
39679
39713
  "name": "focus-outlineColor",