@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.
- package/DESIGN_TOKENS_SPEC.md +6 -10
- package/dist/build/platforms/css.js +1 -0
- package/dist/css/functional/size/border.css +4 -2
- package/dist/css/functional/themes/dark-colorblind-high-contrast.css +6 -4
- package/dist/css/functional/themes/dark-colorblind.css +6 -4
- package/dist/css/functional/themes/dark-dimmed-high-contrast.css +6 -4
- package/dist/css/functional/themes/dark-dimmed.css +6 -4
- package/dist/css/functional/themes/dark-high-contrast.css +6 -4
- package/dist/css/functional/themes/dark-tritanopia-high-contrast.css +6 -4
- package/dist/css/functional/themes/dark-tritanopia.css +6 -4
- package/dist/css/functional/themes/dark.css +6 -4
- package/dist/css/functional/themes/light-colorblind-high-contrast.css +6 -4
- package/dist/css/functional/themes/light-colorblind.css +6 -4
- package/dist/css/functional/themes/light-high-contrast.css +6 -4
- package/dist/css/functional/themes/light-tritanopia-high-contrast.css +6 -4
- package/dist/css/functional/themes/light-tritanopia.css +6 -4
- package/dist/css/functional/themes/light.css +6 -4
- package/dist/docs/functional/size/border.json +74 -12
- package/dist/docs/functional/themes/dark-colorblind-high-contrast.json +41 -11
- package/dist/docs/functional/themes/dark-colorblind.json +41 -11
- package/dist/docs/functional/themes/dark-dimmed-high-contrast.json +41 -11
- package/dist/docs/functional/themes/dark-dimmed.json +41 -11
- package/dist/docs/functional/themes/dark-high-contrast.json +41 -11
- package/dist/docs/functional/themes/dark-tritanopia-high-contrast.json +41 -11
- package/dist/docs/functional/themes/dark-tritanopia.json +41 -11
- package/dist/docs/functional/themes/dark.json +41 -11
- package/dist/docs/functional/themes/light-colorblind-high-contrast.json +41 -11
- package/dist/docs/functional/themes/light-colorblind.json +41 -11
- package/dist/docs/functional/themes/light-high-contrast.json +41 -11
- package/dist/docs/functional/themes/light-tritanopia-high-contrast.json +41 -11
- package/dist/docs/functional/themes/light-tritanopia.json +41 -11
- package/dist/docs/functional/themes/light.json +41 -11
- package/dist/fallbacks/color-fallbacks.json +1 -0
- package/dist/fallbacks/functional/size/border.json +2 -0
- package/dist/figma/dimension/dimension.json +46 -22
- package/dist/figma/figma.json +1 -1
- package/dist/figma/themes/dark-colorblind.json +34 -17
- package/dist/figma/themes/dark-dimmed.json +34 -17
- package/dist/figma/themes/dark-high-contrast.json +34 -17
- package/dist/figma/themes/dark-tritanopia.json +34 -17
- package/dist/figma/themes/dark.json +34 -17
- package/dist/figma/themes/light-colorblind.json +34 -17
- package/dist/figma/themes/light-high-contrast.json +34 -17
- package/dist/figma/themes/light-tritanopia.json +34 -17
- package/dist/figma/themes/light.json +34 -17
- package/dist/internalCss/dark-colorblind-high-contrast.css +12 -22
- package/dist/internalCss/dark-colorblind.css +12 -22
- package/dist/internalCss/dark-dimmed-high-contrast.css +12 -22
- package/dist/internalCss/dark-dimmed.css +12 -22
- package/dist/internalCss/dark-high-contrast.css +12 -22
- package/dist/internalCss/dark-tritanopia-high-contrast.css +12 -22
- package/dist/internalCss/dark-tritanopia.css +12 -22
- package/dist/internalCss/dark.css +12 -22
- package/dist/internalCss/light-colorblind-high-contrast.css +12 -22
- package/dist/internalCss/light-colorblind.css +12 -22
- package/dist/internalCss/light-high-contrast.css +12 -22
- package/dist/internalCss/light-tritanopia-high-contrast.css +12 -22
- package/dist/internalCss/light-tritanopia.css +12 -22
- package/dist/internalCss/light.css +12 -22
- package/dist/styleLint/functional/size/border.json +75 -13
- package/dist/styleLint/functional/themes/dark-colorblind-high-contrast.json +44 -10
- package/dist/styleLint/functional/themes/dark-colorblind.json +44 -10
- package/dist/styleLint/functional/themes/dark-dimmed-high-contrast.json +44 -10
- package/dist/styleLint/functional/themes/dark-dimmed.json +44 -10
- package/dist/styleLint/functional/themes/dark-high-contrast.json +44 -10
- package/dist/styleLint/functional/themes/dark-tritanopia-high-contrast.json +44 -10
- package/dist/styleLint/functional/themes/dark-tritanopia.json +44 -10
- package/dist/styleLint/functional/themes/dark.json +44 -10
- package/dist/styleLint/functional/themes/light-colorblind-high-contrast.json +44 -10
- package/dist/styleLint/functional/themes/light-colorblind.json +44 -10
- package/dist/styleLint/functional/themes/light-high-contrast.json +44 -10
- package/dist/styleLint/functional/themes/light-tritanopia-high-contrast.json +44 -10
- package/dist/styleLint/functional/themes/light-tritanopia.json +44 -10
- package/dist/styleLint/functional/themes/light.json +44 -10
- package/package.json +2 -2
- package/src/tokens/component/focus.json5 +104 -0
- package/src/tokens/fallback/color-fallbacks.json +1 -0
- package/src/tokens/functional/border/border.json5 +0 -20
- package/src/tokens/functional/size/border.json5 +0 -30
- package/src/tokens/functional/color/focus.json5 +0 -20
|
@@ -39513,16 +39513,13 @@
|
|
|
39513
39513
|
"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."
|
|
39514
39514
|
}
|
|
39515
39515
|
},
|
|
39516
|
-
"filePath": "src/tokens/
|
|
39516
|
+
"filePath": "src/tokens/component/focus.json5",
|
|
39517
39517
|
"isSource": true,
|
|
39518
39518
|
"original": {
|
|
39519
39519
|
"$value": {
|
|
39520
|
-
"color": "{focus.
|
|
39520
|
+
"color": "{focus.outline-color}",
|
|
39521
39521
|
"style": "solid",
|
|
39522
|
-
"width": {
|
|
39523
|
-
"value": 2,
|
|
39524
|
-
"unit": "px"
|
|
39525
|
-
}
|
|
39522
|
+
"width": "{focus.outline-width}"
|
|
39526
39523
|
},
|
|
39527
39524
|
"$type": "border",
|
|
39528
39525
|
"$description": "Focus ring outline for keyboard navigation and accessibility.",
|
|
@@ -39537,12 +39534,12 @@
|
|
|
39537
39534
|
"name": "focus-outline",
|
|
39538
39535
|
"attributes": {},
|
|
39539
39536
|
"path": ["focus", "outline"],
|
|
39540
|
-
"value": "
|
|
39537
|
+
"value": "0.125rem solid #409eff",
|
|
39541
39538
|
"type": "border",
|
|
39542
39539
|
"description": "Focus ring outline for keyboard navigation and accessibility."
|
|
39543
39540
|
},
|
|
39544
|
-
"focus-
|
|
39545
|
-
"key": "{focus.
|
|
39541
|
+
"focus-outline-color": {
|
|
39542
|
+
"key": "{focus.outline-color}",
|
|
39546
39543
|
"$extensions": {
|
|
39547
39544
|
"org.primer.figma": {
|
|
39548
39545
|
"collection": "mode",
|
|
@@ -39554,7 +39551,7 @@
|
|
|
39554
39551
|
"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."
|
|
39555
39552
|
}
|
|
39556
39553
|
},
|
|
39557
|
-
"filePath": "src/tokens/
|
|
39554
|
+
"filePath": "src/tokens/component/focus.json5",
|
|
39558
39555
|
"isSource": true,
|
|
39559
39556
|
"original": {
|
|
39560
39557
|
"$value": "{borderColor.accent.emphasis}",
|
|
@@ -39571,6 +39568,39 @@
|
|
|
39571
39568
|
"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."
|
|
39572
39569
|
}
|
|
39573
39570
|
},
|
|
39571
|
+
"key": "{focus.outline-color}"
|
|
39572
|
+
},
|
|
39573
|
+
"name": "focus-outline-color",
|
|
39574
|
+
"attributes": {},
|
|
39575
|
+
"path": ["focus", "outline-color"],
|
|
39576
|
+
"value": "#409eff",
|
|
39577
|
+
"type": "color",
|
|
39578
|
+
"description": "Outline color for focus states on interactive elements"
|
|
39579
|
+
},
|
|
39580
|
+
"focus-outlineColor": {
|
|
39581
|
+
"key": "{focus.outlineColor}",
|
|
39582
|
+
"$deprecated": "#409eff",
|
|
39583
|
+
"$extensions": {
|
|
39584
|
+
"org.primer.figma": {
|
|
39585
|
+
"collection": "mode",
|
|
39586
|
+
"group": "component (internal)",
|
|
39587
|
+
"scopes": ["borderColor", "effectColor"]
|
|
39588
|
+
}
|
|
39589
|
+
},
|
|
39590
|
+
"filePath": "src/tokens/component/focus.json5",
|
|
39591
|
+
"isSource": true,
|
|
39592
|
+
"original": {
|
|
39593
|
+
"$value": "{focus.outline-color}",
|
|
39594
|
+
"$type": "color",
|
|
39595
|
+
"$deprecated": "{focus.outline-color}",
|
|
39596
|
+
"$description": "Deprecated. Use focus.outline-color instead.",
|
|
39597
|
+
"$extensions": {
|
|
39598
|
+
"org.primer.figma": {
|
|
39599
|
+
"collection": "mode",
|
|
39600
|
+
"group": "component (internal)",
|
|
39601
|
+
"scopes": ["borderColor", "effectColor"]
|
|
39602
|
+
}
|
|
39603
|
+
},
|
|
39574
39604
|
"key": "{focus.outlineColor}"
|
|
39575
39605
|
},
|
|
39576
39606
|
"name": "focus-outlineColor",
|
|
@@ -39578,7 +39608,7 @@
|
|
|
39578
39608
|
"path": ["focus", "outlineColor"],
|
|
39579
39609
|
"value": "#409eff",
|
|
39580
39610
|
"type": "color",
|
|
39581
|
-
"description": "
|
|
39611
|
+
"description": "Deprecated. Use focus.outline-color instead."
|
|
39582
39612
|
},
|
|
39583
39613
|
"header-bgColor": {
|
|
39584
39614
|
"key": "{header.bgColor}",
|
|
@@ -39519,16 +39519,13 @@
|
|
|
39519
39519
|
"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."
|
|
39520
39520
|
}
|
|
39521
39521
|
},
|
|
39522
|
-
"filePath": "src/tokens/
|
|
39522
|
+
"filePath": "src/tokens/component/focus.json5",
|
|
39523
39523
|
"isSource": true,
|
|
39524
39524
|
"original": {
|
|
39525
39525
|
"$value": {
|
|
39526
|
-
"color": "{focus.
|
|
39526
|
+
"color": "{focus.outline-color}",
|
|
39527
39527
|
"style": "solid",
|
|
39528
|
-
"width": {
|
|
39529
|
-
"value": 2,
|
|
39530
|
-
"unit": "px"
|
|
39531
|
-
}
|
|
39528
|
+
"width": "{focus.outline-width}"
|
|
39532
39529
|
},
|
|
39533
39530
|
"$type": "border",
|
|
39534
39531
|
"$description": "Focus ring outline for keyboard navigation and accessibility.",
|
|
@@ -39543,12 +39540,12 @@
|
|
|
39543
39540
|
"name": "focus-outline",
|
|
39544
39541
|
"attributes": {},
|
|
39545
39542
|
"path": ["focus", "outline"],
|
|
39546
|
-
"value": "
|
|
39543
|
+
"value": "0.125rem solid #1f6feb",
|
|
39547
39544
|
"type": "border",
|
|
39548
39545
|
"description": "Focus ring outline for keyboard navigation and accessibility."
|
|
39549
39546
|
},
|
|
39550
|
-
"focus-
|
|
39551
|
-
"key": "{focus.
|
|
39547
|
+
"focus-outline-color": {
|
|
39548
|
+
"key": "{focus.outline-color}",
|
|
39552
39549
|
"$extensions": {
|
|
39553
39550
|
"org.primer.figma": {
|
|
39554
39551
|
"collection": "mode",
|
|
@@ -39560,7 +39557,7 @@
|
|
|
39560
39557
|
"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."
|
|
39561
39558
|
}
|
|
39562
39559
|
},
|
|
39563
|
-
"filePath": "src/tokens/
|
|
39560
|
+
"filePath": "src/tokens/component/focus.json5",
|
|
39564
39561
|
"isSource": true,
|
|
39565
39562
|
"original": {
|
|
39566
39563
|
"$value": "{borderColor.accent.emphasis}",
|
|
@@ -39577,6 +39574,39 @@
|
|
|
39577
39574
|
"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."
|
|
39578
39575
|
}
|
|
39579
39576
|
},
|
|
39577
|
+
"key": "{focus.outline-color}"
|
|
39578
|
+
},
|
|
39579
|
+
"name": "focus-outline-color",
|
|
39580
|
+
"attributes": {},
|
|
39581
|
+
"path": ["focus", "outline-color"],
|
|
39582
|
+
"value": "#1f6feb",
|
|
39583
|
+
"type": "color",
|
|
39584
|
+
"description": "Outline color for focus states on interactive elements"
|
|
39585
|
+
},
|
|
39586
|
+
"focus-outlineColor": {
|
|
39587
|
+
"key": "{focus.outlineColor}",
|
|
39588
|
+
"$deprecated": "#1f6feb",
|
|
39589
|
+
"$extensions": {
|
|
39590
|
+
"org.primer.figma": {
|
|
39591
|
+
"collection": "mode",
|
|
39592
|
+
"group": "component (internal)",
|
|
39593
|
+
"scopes": ["borderColor", "effectColor"]
|
|
39594
|
+
}
|
|
39595
|
+
},
|
|
39596
|
+
"filePath": "src/tokens/component/focus.json5",
|
|
39597
|
+
"isSource": true,
|
|
39598
|
+
"original": {
|
|
39599
|
+
"$value": "{focus.outline-color}",
|
|
39600
|
+
"$type": "color",
|
|
39601
|
+
"$deprecated": "{focus.outline-color}",
|
|
39602
|
+
"$description": "Deprecated. Use focus.outline-color instead.",
|
|
39603
|
+
"$extensions": {
|
|
39604
|
+
"org.primer.figma": {
|
|
39605
|
+
"collection": "mode",
|
|
39606
|
+
"group": "component (internal)",
|
|
39607
|
+
"scopes": ["borderColor", "effectColor"]
|
|
39608
|
+
}
|
|
39609
|
+
},
|
|
39580
39610
|
"key": "{focus.outlineColor}"
|
|
39581
39611
|
},
|
|
39582
39612
|
"name": "focus-outlineColor",
|
|
@@ -39584,7 +39614,7 @@
|
|
|
39584
39614
|
"path": ["focus", "outlineColor"],
|
|
39585
39615
|
"value": "#1f6feb",
|
|
39586
39616
|
"type": "color",
|
|
39587
|
-
"description": "
|
|
39617
|
+
"description": "Deprecated. Use focus.outline-color instead."
|
|
39588
39618
|
},
|
|
39589
39619
|
"header-bgColor": {
|
|
39590
39620
|
"key": "{header.bgColor}",
|
|
@@ -39491,16 +39491,13 @@
|
|
|
39491
39491
|
"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."
|
|
39492
39492
|
}
|
|
39493
39493
|
},
|
|
39494
|
-
"filePath": "src/tokens/
|
|
39494
|
+
"filePath": "src/tokens/component/focus.json5",
|
|
39495
39495
|
"isSource": true,
|
|
39496
39496
|
"original": {
|
|
39497
39497
|
"$value": {
|
|
39498
|
-
"color": "{focus.
|
|
39498
|
+
"color": "{focus.outline-color}",
|
|
39499
39499
|
"style": "solid",
|
|
39500
|
-
"width": {
|
|
39501
|
-
"value": 2,
|
|
39502
|
-
"unit": "px"
|
|
39503
|
-
}
|
|
39500
|
+
"width": "{focus.outline-width}"
|
|
39504
39501
|
},
|
|
39505
39502
|
"$type": "border",
|
|
39506
39503
|
"$description": "Focus ring outline for keyboard navigation and accessibility.",
|
|
@@ -39515,12 +39512,12 @@
|
|
|
39515
39512
|
"name": "focus-outline",
|
|
39516
39513
|
"attributes": {},
|
|
39517
39514
|
"path": ["focus", "outline"],
|
|
39518
|
-
"value": "
|
|
39515
|
+
"value": "0.125rem solid #1f6feb",
|
|
39519
39516
|
"type": "border",
|
|
39520
39517
|
"description": "Focus ring outline for keyboard navigation and accessibility."
|
|
39521
39518
|
},
|
|
39522
|
-
"focus-
|
|
39523
|
-
"key": "{focus.
|
|
39519
|
+
"focus-outline-color": {
|
|
39520
|
+
"key": "{focus.outline-color}",
|
|
39524
39521
|
"$extensions": {
|
|
39525
39522
|
"org.primer.figma": {
|
|
39526
39523
|
"collection": "mode",
|
|
@@ -39532,7 +39529,7 @@
|
|
|
39532
39529
|
"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."
|
|
39533
39530
|
}
|
|
39534
39531
|
},
|
|
39535
|
-
"filePath": "src/tokens/
|
|
39532
|
+
"filePath": "src/tokens/component/focus.json5",
|
|
39536
39533
|
"isSource": true,
|
|
39537
39534
|
"original": {
|
|
39538
39535
|
"$value": "{borderColor.accent.emphasis}",
|
|
@@ -39549,6 +39546,39 @@
|
|
|
39549
39546
|
"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."
|
|
39550
39547
|
}
|
|
39551
39548
|
},
|
|
39549
|
+
"key": "{focus.outline-color}"
|
|
39550
|
+
},
|
|
39551
|
+
"name": "focus-outline-color",
|
|
39552
|
+
"attributes": {},
|
|
39553
|
+
"path": ["focus", "outline-color"],
|
|
39554
|
+
"value": "#1f6feb",
|
|
39555
|
+
"type": "color",
|
|
39556
|
+
"description": "Outline color for focus states on interactive elements"
|
|
39557
|
+
},
|
|
39558
|
+
"focus-outlineColor": {
|
|
39559
|
+
"key": "{focus.outlineColor}",
|
|
39560
|
+
"$deprecated": "#1f6feb",
|
|
39561
|
+
"$extensions": {
|
|
39562
|
+
"org.primer.figma": {
|
|
39563
|
+
"collection": "mode",
|
|
39564
|
+
"group": "component (internal)",
|
|
39565
|
+
"scopes": ["borderColor", "effectColor"]
|
|
39566
|
+
}
|
|
39567
|
+
},
|
|
39568
|
+
"filePath": "src/tokens/component/focus.json5",
|
|
39569
|
+
"isSource": true,
|
|
39570
|
+
"original": {
|
|
39571
|
+
"$value": "{focus.outline-color}",
|
|
39572
|
+
"$type": "color",
|
|
39573
|
+
"$deprecated": "{focus.outline-color}",
|
|
39574
|
+
"$description": "Deprecated. Use focus.outline-color instead.",
|
|
39575
|
+
"$extensions": {
|
|
39576
|
+
"org.primer.figma": {
|
|
39577
|
+
"collection": "mode",
|
|
39578
|
+
"group": "component (internal)",
|
|
39579
|
+
"scopes": ["borderColor", "effectColor"]
|
|
39580
|
+
}
|
|
39581
|
+
},
|
|
39552
39582
|
"key": "{focus.outlineColor}"
|
|
39553
39583
|
},
|
|
39554
39584
|
"name": "focus-outlineColor",
|
|
@@ -39556,7 +39586,7 @@
|
|
|
39556
39586
|
"path": ["focus", "outlineColor"],
|
|
39557
39587
|
"value": "#1f6feb",
|
|
39558
39588
|
"type": "color",
|
|
39559
|
-
"description": "
|
|
39589
|
+
"description": "Deprecated. Use focus.outline-color instead."
|
|
39560
39590
|
},
|
|
39561
39591
|
"header-bgColor": {
|
|
39562
39592
|
"key": "{header.bgColor}",
|
|
@@ -39491,16 +39491,13 @@
|
|
|
39491
39491
|
"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."
|
|
39492
39492
|
}
|
|
39493
39493
|
},
|
|
39494
|
-
"filePath": "src/tokens/
|
|
39494
|
+
"filePath": "src/tokens/component/focus.json5",
|
|
39495
39495
|
"isSource": true,
|
|
39496
39496
|
"original": {
|
|
39497
39497
|
"$value": {
|
|
39498
|
-
"color": "{focus.
|
|
39498
|
+
"color": "{focus.outline-color}",
|
|
39499
39499
|
"style": "solid",
|
|
39500
|
-
"width": {
|
|
39501
|
-
"value": 2,
|
|
39502
|
-
"unit": "px"
|
|
39503
|
-
}
|
|
39500
|
+
"width": "{focus.outline-width}"
|
|
39504
39501
|
},
|
|
39505
39502
|
"$type": "border",
|
|
39506
39503
|
"$description": "Focus ring outline for keyboard navigation and accessibility.",
|
|
@@ -39515,12 +39512,12 @@
|
|
|
39515
39512
|
"name": "focus-outline",
|
|
39516
39513
|
"attributes": {},
|
|
39517
39514
|
"path": ["focus", "outline"],
|
|
39518
|
-
"value": "
|
|
39515
|
+
"value": "0.125rem solid #0349b4",
|
|
39519
39516
|
"type": "border",
|
|
39520
39517
|
"description": "Focus ring outline for keyboard navigation and accessibility."
|
|
39521
39518
|
},
|
|
39522
|
-
"focus-
|
|
39523
|
-
"key": "{focus.
|
|
39519
|
+
"focus-outline-color": {
|
|
39520
|
+
"key": "{focus.outline-color}",
|
|
39524
39521
|
"$extensions": {
|
|
39525
39522
|
"org.primer.figma": {
|
|
39526
39523
|
"collection": "mode",
|
|
@@ -39532,7 +39529,7 @@
|
|
|
39532
39529
|
"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."
|
|
39533
39530
|
}
|
|
39534
39531
|
},
|
|
39535
|
-
"filePath": "src/tokens/
|
|
39532
|
+
"filePath": "src/tokens/component/focus.json5",
|
|
39536
39533
|
"isSource": true,
|
|
39537
39534
|
"original": {
|
|
39538
39535
|
"$value": "{borderColor.accent.emphasis}",
|
|
@@ -39549,6 +39546,39 @@
|
|
|
39549
39546
|
"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."
|
|
39550
39547
|
}
|
|
39551
39548
|
},
|
|
39549
|
+
"key": "{focus.outline-color}"
|
|
39550
|
+
},
|
|
39551
|
+
"name": "focus-outline-color",
|
|
39552
|
+
"attributes": {},
|
|
39553
|
+
"path": ["focus", "outline-color"],
|
|
39554
|
+
"value": "#0349b4",
|
|
39555
|
+
"type": "color",
|
|
39556
|
+
"description": "Outline color for focus states on interactive elements"
|
|
39557
|
+
},
|
|
39558
|
+
"focus-outlineColor": {
|
|
39559
|
+
"key": "{focus.outlineColor}",
|
|
39560
|
+
"$deprecated": "#0349b4",
|
|
39561
|
+
"$extensions": {
|
|
39562
|
+
"org.primer.figma": {
|
|
39563
|
+
"collection": "mode",
|
|
39564
|
+
"group": "component (internal)",
|
|
39565
|
+
"scopes": ["borderColor", "effectColor"]
|
|
39566
|
+
}
|
|
39567
|
+
},
|
|
39568
|
+
"filePath": "src/tokens/component/focus.json5",
|
|
39569
|
+
"isSource": true,
|
|
39570
|
+
"original": {
|
|
39571
|
+
"$value": "{focus.outline-color}",
|
|
39572
|
+
"$type": "color",
|
|
39573
|
+
"$deprecated": "{focus.outline-color}",
|
|
39574
|
+
"$description": "Deprecated. Use focus.outline-color instead.",
|
|
39575
|
+
"$extensions": {
|
|
39576
|
+
"org.primer.figma": {
|
|
39577
|
+
"collection": "mode",
|
|
39578
|
+
"group": "component (internal)",
|
|
39579
|
+
"scopes": ["borderColor", "effectColor"]
|
|
39580
|
+
}
|
|
39581
|
+
},
|
|
39552
39582
|
"key": "{focus.outlineColor}"
|
|
39553
39583
|
},
|
|
39554
39584
|
"name": "focus-outlineColor",
|
|
@@ -39556,7 +39586,7 @@
|
|
|
39556
39586
|
"path": ["focus", "outlineColor"],
|
|
39557
39587
|
"value": "#0349b4",
|
|
39558
39588
|
"type": "color",
|
|
39559
|
-
"description": "
|
|
39589
|
+
"description": "Deprecated. Use focus.outline-color instead."
|
|
39560
39590
|
},
|
|
39561
39591
|
"header-bgColor": {
|
|
39562
39592
|
"key": "{header.bgColor}",
|
|
@@ -39481,16 +39481,13 @@
|
|
|
39481
39481
|
"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."
|
|
39482
39482
|
}
|
|
39483
39483
|
},
|
|
39484
|
-
"filePath": "src/tokens/
|
|
39484
|
+
"filePath": "src/tokens/component/focus.json5",
|
|
39485
39485
|
"isSource": true,
|
|
39486
39486
|
"original": {
|
|
39487
39487
|
"$value": {
|
|
39488
|
-
"color": "{focus.
|
|
39488
|
+
"color": "{focus.outline-color}",
|
|
39489
39489
|
"style": "solid",
|
|
39490
|
-
"width": {
|
|
39491
|
-
"value": 2,
|
|
39492
|
-
"unit": "px"
|
|
39493
|
-
}
|
|
39490
|
+
"width": "{focus.outline-width}"
|
|
39494
39491
|
},
|
|
39495
39492
|
"$type": "border",
|
|
39496
39493
|
"$description": "Focus ring outline for keyboard navigation and accessibility.",
|
|
@@ -39505,12 +39502,12 @@
|
|
|
39505
39502
|
"name": "focus-outline",
|
|
39506
39503
|
"attributes": {},
|
|
39507
39504
|
"path": ["focus", "outline"],
|
|
39508
|
-
"value": "
|
|
39505
|
+
"value": "0.125rem solid #0969da",
|
|
39509
39506
|
"type": "border",
|
|
39510
39507
|
"description": "Focus ring outline for keyboard navigation and accessibility."
|
|
39511
39508
|
},
|
|
39512
|
-
"focus-
|
|
39513
|
-
"key": "{focus.
|
|
39509
|
+
"focus-outline-color": {
|
|
39510
|
+
"key": "{focus.outline-color}",
|
|
39514
39511
|
"$extensions": {
|
|
39515
39512
|
"org.primer.figma": {
|
|
39516
39513
|
"collection": "mode",
|
|
@@ -39522,7 +39519,7 @@
|
|
|
39522
39519
|
"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."
|
|
39523
39520
|
}
|
|
39524
39521
|
},
|
|
39525
|
-
"filePath": "src/tokens/
|
|
39522
|
+
"filePath": "src/tokens/component/focus.json5",
|
|
39526
39523
|
"isSource": true,
|
|
39527
39524
|
"original": {
|
|
39528
39525
|
"$value": "{borderColor.accent.emphasis}",
|
|
@@ -39539,6 +39536,39 @@
|
|
|
39539
39536
|
"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."
|
|
39540
39537
|
}
|
|
39541
39538
|
},
|
|
39539
|
+
"key": "{focus.outline-color}"
|
|
39540
|
+
},
|
|
39541
|
+
"name": "focus-outline-color",
|
|
39542
|
+
"attributes": {},
|
|
39543
|
+
"path": ["focus", "outline-color"],
|
|
39544
|
+
"value": "#0969da",
|
|
39545
|
+
"type": "color",
|
|
39546
|
+
"description": "Outline color for focus states on interactive elements"
|
|
39547
|
+
},
|
|
39548
|
+
"focus-outlineColor": {
|
|
39549
|
+
"key": "{focus.outlineColor}",
|
|
39550
|
+
"$deprecated": "#0969da",
|
|
39551
|
+
"$extensions": {
|
|
39552
|
+
"org.primer.figma": {
|
|
39553
|
+
"collection": "mode",
|
|
39554
|
+
"group": "component (internal)",
|
|
39555
|
+
"scopes": ["borderColor", "effectColor"]
|
|
39556
|
+
}
|
|
39557
|
+
},
|
|
39558
|
+
"filePath": "src/tokens/component/focus.json5",
|
|
39559
|
+
"isSource": true,
|
|
39560
|
+
"original": {
|
|
39561
|
+
"$value": "{focus.outline-color}",
|
|
39562
|
+
"$type": "color",
|
|
39563
|
+
"$deprecated": "{focus.outline-color}",
|
|
39564
|
+
"$description": "Deprecated. Use focus.outline-color instead.",
|
|
39565
|
+
"$extensions": {
|
|
39566
|
+
"org.primer.figma": {
|
|
39567
|
+
"collection": "mode",
|
|
39568
|
+
"group": "component (internal)",
|
|
39569
|
+
"scopes": ["borderColor", "effectColor"]
|
|
39570
|
+
}
|
|
39571
|
+
},
|
|
39542
39572
|
"key": "{focus.outlineColor}"
|
|
39543
39573
|
},
|
|
39544
39574
|
"name": "focus-outlineColor",
|
|
@@ -39546,7 +39576,7 @@
|
|
|
39546
39576
|
"path": ["focus", "outlineColor"],
|
|
39547
39577
|
"value": "#0969da",
|
|
39548
39578
|
"type": "color",
|
|
39549
|
-
"description": "
|
|
39579
|
+
"description": "Deprecated. Use focus.outline-color instead."
|
|
39550
39580
|
},
|
|
39551
39581
|
"header-bgColor": {
|
|
39552
39582
|
"key": "{header.bgColor}",
|
|
@@ -39493,16 +39493,13 @@
|
|
|
39493
39493
|
"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."
|
|
39494
39494
|
}
|
|
39495
39495
|
},
|
|
39496
|
-
"filePath": "src/tokens/
|
|
39496
|
+
"filePath": "src/tokens/component/focus.json5",
|
|
39497
39497
|
"isSource": true,
|
|
39498
39498
|
"original": {
|
|
39499
39499
|
"$value": {
|
|
39500
|
-
"color": "{focus.
|
|
39500
|
+
"color": "{focus.outline-color}",
|
|
39501
39501
|
"style": "solid",
|
|
39502
|
-
"width": {
|
|
39503
|
-
"value": 2,
|
|
39504
|
-
"unit": "px"
|
|
39505
|
-
}
|
|
39502
|
+
"width": "{focus.outline-width}"
|
|
39506
39503
|
},
|
|
39507
39504
|
"$type": "border",
|
|
39508
39505
|
"$description": "Focus ring outline for keyboard navigation and accessibility.",
|
|
@@ -39517,12 +39514,12 @@
|
|
|
39517
39514
|
"name": "focus-outline",
|
|
39518
39515
|
"attributes": {},
|
|
39519
39516
|
"path": ["focus", "outline"],
|
|
39520
|
-
"value": "
|
|
39517
|
+
"value": "0.125rem solid #0349b4",
|
|
39521
39518
|
"type": "border",
|
|
39522
39519
|
"description": "Focus ring outline for keyboard navigation and accessibility."
|
|
39523
39520
|
},
|
|
39524
|
-
"focus-
|
|
39525
|
-
"key": "{focus.
|
|
39521
|
+
"focus-outline-color": {
|
|
39522
|
+
"key": "{focus.outline-color}",
|
|
39526
39523
|
"$extensions": {
|
|
39527
39524
|
"org.primer.figma": {
|
|
39528
39525
|
"collection": "mode",
|
|
@@ -39534,7 +39531,7 @@
|
|
|
39534
39531
|
"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."
|
|
39535
39532
|
}
|
|
39536
39533
|
},
|
|
39537
|
-
"filePath": "src/tokens/
|
|
39534
|
+
"filePath": "src/tokens/component/focus.json5",
|
|
39538
39535
|
"isSource": true,
|
|
39539
39536
|
"original": {
|
|
39540
39537
|
"$value": "{borderColor.accent.emphasis}",
|
|
@@ -39551,6 +39548,39 @@
|
|
|
39551
39548
|
"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."
|
|
39552
39549
|
}
|
|
39553
39550
|
},
|
|
39551
|
+
"key": "{focus.outline-color}"
|
|
39552
|
+
},
|
|
39553
|
+
"name": "focus-outline-color",
|
|
39554
|
+
"attributes": {},
|
|
39555
|
+
"path": ["focus", "outline-color"],
|
|
39556
|
+
"value": "#0349b4",
|
|
39557
|
+
"type": "color",
|
|
39558
|
+
"description": "Outline color for focus states on interactive elements"
|
|
39559
|
+
},
|
|
39560
|
+
"focus-outlineColor": {
|
|
39561
|
+
"key": "{focus.outlineColor}",
|
|
39562
|
+
"$deprecated": "#0349b4",
|
|
39563
|
+
"$extensions": {
|
|
39564
|
+
"org.primer.figma": {
|
|
39565
|
+
"collection": "mode",
|
|
39566
|
+
"group": "component (internal)",
|
|
39567
|
+
"scopes": ["borderColor", "effectColor"]
|
|
39568
|
+
}
|
|
39569
|
+
},
|
|
39570
|
+
"filePath": "src/tokens/component/focus.json5",
|
|
39571
|
+
"isSource": true,
|
|
39572
|
+
"original": {
|
|
39573
|
+
"$value": "{focus.outline-color}",
|
|
39574
|
+
"$type": "color",
|
|
39575
|
+
"$deprecated": "{focus.outline-color}",
|
|
39576
|
+
"$description": "Deprecated. Use focus.outline-color instead.",
|
|
39577
|
+
"$extensions": {
|
|
39578
|
+
"org.primer.figma": {
|
|
39579
|
+
"collection": "mode",
|
|
39580
|
+
"group": "component (internal)",
|
|
39581
|
+
"scopes": ["borderColor", "effectColor"]
|
|
39582
|
+
}
|
|
39583
|
+
},
|
|
39554
39584
|
"key": "{focus.outlineColor}"
|
|
39555
39585
|
},
|
|
39556
39586
|
"name": "focus-outlineColor",
|
|
@@ -39558,7 +39588,7 @@
|
|
|
39558
39588
|
"path": ["focus", "outlineColor"],
|
|
39559
39589
|
"value": "#0349b4",
|
|
39560
39590
|
"type": "color",
|
|
39561
|
-
"description": "
|
|
39591
|
+
"description": "Deprecated. Use focus.outline-color instead."
|
|
39562
39592
|
},
|
|
39563
39593
|
"header-bgColor": {
|
|
39564
39594
|
"key": "{header.bgColor}",
|
|
@@ -39495,16 +39495,13 @@
|
|
|
39495
39495
|
"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."
|
|
39496
39496
|
}
|
|
39497
39497
|
},
|
|
39498
|
-
"filePath": "src/tokens/
|
|
39498
|
+
"filePath": "src/tokens/component/focus.json5",
|
|
39499
39499
|
"isSource": true,
|
|
39500
39500
|
"original": {
|
|
39501
39501
|
"$value": {
|
|
39502
|
-
"color": "{focus.
|
|
39502
|
+
"color": "{focus.outline-color}",
|
|
39503
39503
|
"style": "solid",
|
|
39504
|
-
"width": {
|
|
39505
|
-
"value": 2,
|
|
39506
|
-
"unit": "px"
|
|
39507
|
-
}
|
|
39504
|
+
"width": "{focus.outline-width}"
|
|
39508
39505
|
},
|
|
39509
39506
|
"$type": "border",
|
|
39510
39507
|
"$description": "Focus ring outline for keyboard navigation and accessibility.",
|
|
@@ -39519,12 +39516,12 @@
|
|
|
39519
39516
|
"name": "focus-outline",
|
|
39520
39517
|
"attributes": {},
|
|
39521
39518
|
"path": ["focus", "outline"],
|
|
39522
|
-
"value": "
|
|
39519
|
+
"value": "0.125rem solid #0349b4",
|
|
39523
39520
|
"type": "border",
|
|
39524
39521
|
"description": "Focus ring outline for keyboard navigation and accessibility."
|
|
39525
39522
|
},
|
|
39526
|
-
"focus-
|
|
39527
|
-
"key": "{focus.
|
|
39523
|
+
"focus-outline-color": {
|
|
39524
|
+
"key": "{focus.outline-color}",
|
|
39528
39525
|
"$extensions": {
|
|
39529
39526
|
"org.primer.figma": {
|
|
39530
39527
|
"collection": "mode",
|
|
@@ -39536,7 +39533,7 @@
|
|
|
39536
39533
|
"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."
|
|
39537
39534
|
}
|
|
39538
39535
|
},
|
|
39539
|
-
"filePath": "src/tokens/
|
|
39536
|
+
"filePath": "src/tokens/component/focus.json5",
|
|
39540
39537
|
"isSource": true,
|
|
39541
39538
|
"original": {
|
|
39542
39539
|
"$value": "{borderColor.accent.emphasis}",
|
|
@@ -39553,6 +39550,39 @@
|
|
|
39553
39550
|
"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."
|
|
39554
39551
|
}
|
|
39555
39552
|
},
|
|
39553
|
+
"key": "{focus.outline-color}"
|
|
39554
|
+
},
|
|
39555
|
+
"name": "focus-outline-color",
|
|
39556
|
+
"attributes": {},
|
|
39557
|
+
"path": ["focus", "outline-color"],
|
|
39558
|
+
"value": "#0349b4",
|
|
39559
|
+
"type": "color",
|
|
39560
|
+
"description": "Outline color for focus states on interactive elements"
|
|
39561
|
+
},
|
|
39562
|
+
"focus-outlineColor": {
|
|
39563
|
+
"key": "{focus.outlineColor}",
|
|
39564
|
+
"$deprecated": "#0349b4",
|
|
39565
|
+
"$extensions": {
|
|
39566
|
+
"org.primer.figma": {
|
|
39567
|
+
"collection": "mode",
|
|
39568
|
+
"group": "component (internal)",
|
|
39569
|
+
"scopes": ["borderColor", "effectColor"]
|
|
39570
|
+
}
|
|
39571
|
+
},
|
|
39572
|
+
"filePath": "src/tokens/component/focus.json5",
|
|
39573
|
+
"isSource": true,
|
|
39574
|
+
"original": {
|
|
39575
|
+
"$value": "{focus.outline-color}",
|
|
39576
|
+
"$type": "color",
|
|
39577
|
+
"$deprecated": "{focus.outline-color}",
|
|
39578
|
+
"$description": "Deprecated. Use focus.outline-color instead.",
|
|
39579
|
+
"$extensions": {
|
|
39580
|
+
"org.primer.figma": {
|
|
39581
|
+
"collection": "mode",
|
|
39582
|
+
"group": "component (internal)",
|
|
39583
|
+
"scopes": ["borderColor", "effectColor"]
|
|
39584
|
+
}
|
|
39585
|
+
},
|
|
39556
39586
|
"key": "{focus.outlineColor}"
|
|
39557
39587
|
},
|
|
39558
39588
|
"name": "focus-outlineColor",
|
|
@@ -39560,7 +39590,7 @@
|
|
|
39560
39590
|
"path": ["focus", "outlineColor"],
|
|
39561
39591
|
"value": "#0349b4",
|
|
39562
39592
|
"type": "color",
|
|
39563
|
-
"description": "
|
|
39593
|
+
"description": "Deprecated. Use focus.outline-color instead."
|
|
39564
39594
|
},
|
|
39565
39595
|
"header-bgColor": {
|
|
39566
39596
|
"key": "{header.bgColor}",
|