@primer/primitives 0.0.0-20260413094101 → 0.0.0-20260413110918
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 +7 -11
- package/dist/css/functional/size/border.css +0 -2
- package/dist/css/functional/size/size.css +5 -0
- package/dist/css/functional/themes/dark-colorblind-high-contrast.css +14 -4
- package/dist/css/functional/themes/dark-colorblind.css +14 -4
- package/dist/css/functional/themes/dark-dimmed-high-contrast.css +14 -4
- package/dist/css/functional/themes/dark-dimmed.css +14 -4
- package/dist/css/functional/themes/dark-high-contrast.css +14 -4
- package/dist/css/functional/themes/dark-tritanopia-high-contrast.css +14 -4
- package/dist/css/functional/themes/dark-tritanopia.css +14 -4
- package/dist/css/functional/themes/dark.css +14 -4
- package/dist/css/functional/themes/light-colorblind-high-contrast.css +14 -4
- package/dist/css/functional/themes/light-colorblind.css +14 -4
- package/dist/css/functional/themes/light-high-contrast.css +14 -4
- package/dist/css/functional/themes/light-tritanopia-high-contrast.css +14 -4
- package/dist/css/functional/themes/light-tritanopia.css +14 -4
- package/dist/css/functional/themes/light.css +14 -4
- package/dist/css/functional/typography/typography.css +1 -0
- package/dist/docs/functional/size/border.json +0 -72
- package/dist/docs/functional/size/size.json +135 -0
- package/dist/docs/functional/themes/dark-colorblind-high-contrast.json +175 -11
- package/dist/docs/functional/themes/dark-colorblind.json +175 -11
- package/dist/docs/functional/themes/dark-dimmed-high-contrast.json +175 -11
- package/dist/docs/functional/themes/dark-dimmed.json +175 -11
- package/dist/docs/functional/themes/dark-high-contrast.json +175 -11
- package/dist/docs/functional/themes/dark-tritanopia-high-contrast.json +175 -11
- package/dist/docs/functional/themes/dark-tritanopia.json +175 -11
- package/dist/docs/functional/themes/dark.json +175 -11
- package/dist/docs/functional/themes/light-colorblind-high-contrast.json +175 -11
- package/dist/docs/functional/themes/light-colorblind.json +175 -11
- package/dist/docs/functional/themes/light-high-contrast.json +175 -11
- package/dist/docs/functional/themes/light-tritanopia-high-contrast.json +175 -11
- package/dist/docs/functional/themes/light-tritanopia.json +175 -11
- package/dist/docs/functional/themes/light.json +175 -11
- package/dist/docs/functional/typography/typography.json +35 -0
- package/dist/fallbacks/color-fallbacks.json +1 -0
- package/dist/fallbacks/functional/size/border.json +1 -3
- package/dist/fallbacks/functional/size/size.json +5 -0
- package/dist/fallbacks/functional/typography/typography.json +1 -0
- package/dist/figma/dimension/dimension.json +55 -22
- package/dist/figma/figma.json +10 -1
- package/dist/figma/themes/dark-colorblind.json +80 -17
- package/dist/figma/themes/dark-dimmed.json +80 -17
- package/dist/figma/themes/dark-high-contrast.json +80 -17
- package/dist/figma/themes/dark-tritanopia.json +80 -17
- package/dist/figma/themes/dark.json +80 -17
- package/dist/figma/themes/light-colorblind.json +80 -17
- package/dist/figma/themes/light-high-contrast.json +80 -17
- package/dist/figma/themes/light-tritanopia.json +80 -17
- package/dist/figma/themes/light.json +80 -17
- package/dist/figma/typography/typography.json +7 -0
- package/dist/internalCss/dark-colorblind-high-contrast.css +14 -8
- package/dist/internalCss/dark-colorblind.css +14 -8
- package/dist/internalCss/dark-dimmed-high-contrast.css +14 -8
- package/dist/internalCss/dark-dimmed.css +14 -8
- package/dist/internalCss/dark-high-contrast.css +14 -8
- package/dist/internalCss/dark-tritanopia-high-contrast.css +14 -8
- package/dist/internalCss/dark-tritanopia.css +14 -8
- package/dist/internalCss/dark.css +14 -8
- package/dist/internalCss/light-colorblind-high-contrast.css +14 -8
- package/dist/internalCss/light-colorblind.css +14 -8
- package/dist/internalCss/light-high-contrast.css +14 -8
- package/dist/internalCss/light-tritanopia-high-contrast.css +14 -8
- package/dist/internalCss/light-tritanopia.css +14 -8
- package/dist/internalCss/light.css +14 -8
- package/dist/styleLint/functional/size/border.json +0 -72
- package/dist/styleLint/functional/size/size.json +135 -0
- package/dist/styleLint/functional/themes/dark-colorblind-high-contrast.json +178 -10
- package/dist/styleLint/functional/themes/dark-colorblind.json +178 -10
- package/dist/styleLint/functional/themes/dark-dimmed-high-contrast.json +178 -10
- package/dist/styleLint/functional/themes/dark-dimmed.json +178 -10
- package/dist/styleLint/functional/themes/dark-high-contrast.json +178 -10
- package/dist/styleLint/functional/themes/dark-tritanopia-high-contrast.json +178 -10
- package/dist/styleLint/functional/themes/dark-tritanopia.json +178 -10
- package/dist/styleLint/functional/themes/dark.json +178 -10
- package/dist/styleLint/functional/themes/light-colorblind-high-contrast.json +178 -10
- package/dist/styleLint/functional/themes/light-colorblind.json +178 -10
- package/dist/styleLint/functional/themes/light-high-contrast.json +178 -10
- package/dist/styleLint/functional/themes/light-tritanopia-high-contrast.json +178 -10
- package/dist/styleLint/functional/themes/light-tritanopia.json +178 -10
- package/dist/styleLint/functional/themes/light.json +178 -10
- package/dist/styleLint/functional/typography/typography.json +35 -0
- package/package.json +1 -1
- 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/size/size.json5 +50 -0
- package/src/tokens/functional/typography/typography.json5 +14 -0
- package/src/tokens/functional/color/focus.json5 +0 -20
package/DESIGN_TOKENS_SPEC.md
CHANGED
|
@@ -233,7 +233,7 @@ Tokens for interactive controls like buttons, inputs, and selects.
|
|
|
233
233
|
**Scale:** Use xsmall/small for dense layouts, medium for default UI, large/xlarge for prominent CTAs.
|
|
234
234
|
|
|
235
235
|
**Size patterns:**
|
|
236
|
-
- `control-[xsmall, small, medium, large, xlarge]-[gap, paddingBlock, paddingInline-condensed, paddingInline-normal, paddingInline-spacious, size]`
|
|
236
|
+
- `control-[xsmall, small, medium, large, xlarge]-[gap, lineBoxHeight, paddingBlock, paddingInline-condensed, paddingInline-normal, paddingInline-spacious, size]`
|
|
237
237
|
|
|
238
238
|
**State variants:**
|
|
239
239
|
- `control-checked-[bgColor-active, bgColor-disabled, bgColor-hover, bgColor-rest, borderColor-active, borderColor-disabled, borderColor-hover, borderColor-rest, fgColor-disabled, fgColor-rest]`
|
|
@@ -400,11 +400,16 @@ Focus ring outline for keyboard navigation and accessibility.
|
|
|
400
400
|
**U:** accessibility-indicator, focus-ring, keyboard-navigation
|
|
401
401
|
**R:** 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.
|
|
402
402
|
|
|
403
|
-
### focus-
|
|
403
|
+
### focus-outline-color
|
|
404
404
|
Outline color for focus states on interactive elements
|
|
405
405
|
**U:** accessibility-indicator, focus-ring, keyboard-navigation
|
|
406
406
|
**R:** 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.
|
|
407
407
|
|
|
408
|
+
### focus-outline-width
|
|
409
|
+
Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements
|
|
410
|
+
**U:** accessibility, focus-ring, keyboard-focus
|
|
411
|
+
**R:** MUST use for all keyboard focus indicators. Required for WCAG 2.4.7 compliance.
|
|
412
|
+
|
|
408
413
|
## Font Stacks
|
|
409
414
|
|
|
410
415
|
Font family tokens.
|
|
@@ -424,15 +429,6 @@ Display font stack for headings and titles. Same as sansSerif but semantically d
|
|
|
424
429
|
**U:** display-text, heading, title
|
|
425
430
|
**R:** Use for headings and display text. Prefer over sansSerif for titles.
|
|
426
431
|
|
|
427
|
-
## Outline
|
|
428
|
-
|
|
429
|
-
Outline tokens for focus indicators.
|
|
430
|
-
|
|
431
|
-
### outline-focus-width
|
|
432
|
-
Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements
|
|
433
|
-
**U:** accessibility, focus-ring, keyboard-focus
|
|
434
|
-
**R:** MUST use for all keyboard focus indicators. Required for WCAG 2.4.7 compliance.
|
|
435
|
-
|
|
436
432
|
## Overlay
|
|
437
433
|
|
|
438
434
|
Tokens for modals, dialogs, popovers, and dropdown menus.
|
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
--borderWidth-thick: 0.125rem; /** Thick 2px border for emphasis. Use for focus indicators, selected states, or to emphasize important boundaries */
|
|
3
3
|
--borderWidth-thicker: 0.25rem; /** Extra thick 4px border for maximum emphasis. Use sparingly for high-contrast focus indicators or critical visual separators */
|
|
4
4
|
--borderWidth-thin: 0.0625rem; /** Standard 1px border width. Use for most borders, dividers, and outlines throughout the interface */
|
|
5
|
-
--outline-focus-offset: -0.125rem; /** Focus outline offset (-2px). Negative value creates an inset outline for keyboard focus indicators, ensuring the focus ring stays within the element bounds */
|
|
6
|
-
--outline-focus-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
7
5
|
--borderWidth-default: var(--borderWidth-thin); /** Default border width for most UI elements. Alias of borderWidth.thin (1px) */
|
|
8
6
|
--boxShadow-thick: inset 0 0 0 var(--borderWidth-thick); /** Thick shadow (2px) used instead of a border for emphasis without layout shift */
|
|
9
7
|
--boxShadow-thicker: inset 0 0 0 var(--borderWidth-thicker); /** Thickest shadow (4px) used for high emphasis borders without layout shift. Use sparingly for maximum visual impact */
|
|
@@ -15,11 +15,13 @@
|
|
|
15
15
|
--overlay-width-xsmall: 12rem;
|
|
16
16
|
--spinner-strokeWidth-default: 0.125rem;
|
|
17
17
|
--control-large-gap: 0.5rem;
|
|
18
|
+
--control-large-lineBoxHeight: 1.25rem;
|
|
18
19
|
--control-large-paddingInline-condensed: 0.5rem;
|
|
19
20
|
--control-large-paddingInline-normal: 0.75rem;
|
|
20
21
|
--control-large-paddingInline-spacious: 1rem;
|
|
21
22
|
--control-large-size: 2.5rem;
|
|
22
23
|
--control-medium-gap: 0.5rem;
|
|
24
|
+
--control-medium-lineBoxHeight: 1.25rem;
|
|
23
25
|
--control-medium-paddingInline-condensed: 0.5rem;
|
|
24
26
|
--control-medium-paddingInline-normal: 0.75rem;
|
|
25
27
|
--control-medium-paddingInline-spacious: 1rem;
|
|
@@ -27,17 +29,20 @@
|
|
|
27
29
|
--control-minTarget-coarse: 2.75rem;
|
|
28
30
|
--control-minTarget-fine: 1rem;
|
|
29
31
|
--control-small-gap: 0.25rem;
|
|
32
|
+
--control-small-lineBoxHeight: 1.25rem;
|
|
30
33
|
--control-small-paddingBlock: 0.25rem;
|
|
31
34
|
--control-small-paddingInline-condensed: 0.5rem;
|
|
32
35
|
--control-small-paddingInline-normal: 0.75rem;
|
|
33
36
|
--control-small-paddingInline-spacious: 1rem;
|
|
34
37
|
--control-small-size: 1.75rem;
|
|
35
38
|
--control-xlarge-gap: 0.5rem;
|
|
39
|
+
--control-xlarge-lineBoxHeight: 1.25rem;
|
|
36
40
|
--control-xlarge-paddingInline-condensed: 0.5rem;
|
|
37
41
|
--control-xlarge-paddingInline-normal: 0.75rem;
|
|
38
42
|
--control-xlarge-paddingInline-spacious: 1rem;
|
|
39
43
|
--control-xlarge-size: 3rem;
|
|
40
44
|
--control-xsmall-gap: 0.25rem;
|
|
45
|
+
--control-xsmall-lineBoxHeight: 1.25rem;
|
|
41
46
|
--control-xsmall-paddingInline-condensed: 0.25rem;
|
|
42
47
|
--control-xsmall-paddingInline-normal: 0.5rem;
|
|
43
48
|
--control-xsmall-paddingInline-spacious: 0.75rem;
|
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
--fgColor-accent: #74b9ff; /** Accent text for links and interactive elements */
|
|
15
15
|
--fgColor-done: #d3abff; /** Text color for completed/done state indicators */
|
|
16
16
|
--fgColor-sponsors: #ff90c8; /** Text color for GitHub Sponsors content */
|
|
17
|
+
--focus-outline-offset: -0.125rem; /** Focus outline offset (-2px). Negative value creates an inset outline for keyboard focus indicators, ensuring the focus ring stays within the element bounds */
|
|
18
|
+
--focus-outline-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
17
19
|
--reactionButton-selected-bgColor-hover: #3a8cfd5c;
|
|
18
20
|
--avatar-shadow: 0 0 0 2px #0d1117;
|
|
19
21
|
--avatarStack-fade-bgColor-default: #3d444d;
|
|
@@ -631,6 +633,8 @@
|
|
|
631
633
|
--label-yellow-fgColor-hover: #df9e11;
|
|
632
634
|
--label-yellow-fgColor-rest: #d3910d;
|
|
633
635
|
--menu-bgColor-active: #151b23;
|
|
636
|
+
--outline-focus-offset: var(--focus-outline-offset); /** Deprecated. Use focus.outline-offset instead. */
|
|
637
|
+
--outline-focus-width: var(--focus-outline-width); /** Deprecated. Use focus.outline-width instead. */
|
|
634
638
|
--overlay-backdrop-bgColor: #d1d7e066;
|
|
635
639
|
--progressBar-bgColor-neutral: #656c76;
|
|
636
640
|
--reactionButton-selected-bgColor-rest: #5cacff33;
|
|
@@ -765,7 +769,7 @@
|
|
|
765
769
|
--fgColor-onEmphasis: #ffffff; /** Text color for use on emphasis backgrounds */
|
|
766
770
|
--fgColor-onInverse: #010409; /** Text color for use on inverse backgrounds */
|
|
767
771
|
--fgColor-white: #ffffff; /** Pure white text */
|
|
768
|
-
--focus-
|
|
772
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
769
773
|
--header-fgColor-default: #ffffffb3;
|
|
770
774
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
771
775
|
--label-blue-borderColor: var(--label-blue-fgColor-rest);
|
|
@@ -877,7 +881,8 @@
|
|
|
877
881
|
--diffBlob-expander-iconColor: var(--fgColor-default);
|
|
878
882
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
879
883
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
880
|
-
--focus-outline:
|
|
884
|
+
--focus-outline: 0.125rem solid #409eff; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
885
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
881
886
|
--page-header-bgColor: var(--bgColor-default);
|
|
882
887
|
--progressBar-track-bgColor: var(--bgColor-inverse);
|
|
883
888
|
--shadow-floating-large: 0 0 0 1px #b7bdc8, 0 24px 48px 0 #010409; /** Large floating shadow for modals and dialogs */
|
|
@@ -917,6 +922,8 @@
|
|
|
917
922
|
--fgColor-accent: #74b9ff; /** Accent text for links and interactive elements */
|
|
918
923
|
--fgColor-done: #d3abff; /** Text color for completed/done state indicators */
|
|
919
924
|
--fgColor-sponsors: #ff90c8; /** Text color for GitHub Sponsors content */
|
|
925
|
+
--focus-outline-offset: -0.125rem; /** Focus outline offset (-2px). Negative value creates an inset outline for keyboard focus indicators, ensuring the focus ring stays within the element bounds */
|
|
926
|
+
--focus-outline-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
920
927
|
--reactionButton-selected-bgColor-hover: #3a8cfd5c;
|
|
921
928
|
--avatar-shadow: 0 0 0 2px #0d1117;
|
|
922
929
|
--avatarStack-fade-bgColor-default: #3d444d;
|
|
@@ -1534,6 +1541,8 @@
|
|
|
1534
1541
|
--label-yellow-fgColor-hover: #df9e11;
|
|
1535
1542
|
--label-yellow-fgColor-rest: #d3910d;
|
|
1536
1543
|
--menu-bgColor-active: #151b23;
|
|
1544
|
+
--outline-focus-offset: var(--focus-outline-offset); /** Deprecated. Use focus.outline-offset instead. */
|
|
1545
|
+
--outline-focus-width: var(--focus-outline-width); /** Deprecated. Use focus.outline-width instead. */
|
|
1537
1546
|
--overlay-backdrop-bgColor: #d1d7e066;
|
|
1538
1547
|
--progressBar-bgColor-neutral: #656c76;
|
|
1539
1548
|
--reactionButton-selected-bgColor-rest: #5cacff33;
|
|
@@ -1668,7 +1677,7 @@
|
|
|
1668
1677
|
--fgColor-onEmphasis: #ffffff; /** Text color for use on emphasis backgrounds */
|
|
1669
1678
|
--fgColor-onInverse: #010409; /** Text color for use on inverse backgrounds */
|
|
1670
1679
|
--fgColor-white: #ffffff; /** Pure white text */
|
|
1671
|
-
--focus-
|
|
1680
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
1672
1681
|
--header-fgColor-default: #ffffffb3;
|
|
1673
1682
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
1674
1683
|
--label-blue-borderColor: var(--label-blue-fgColor-rest);
|
|
@@ -1780,7 +1789,8 @@
|
|
|
1780
1789
|
--diffBlob-expander-iconColor: var(--fgColor-default);
|
|
1781
1790
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
1782
1791
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
1783
|
-
--focus-outline:
|
|
1792
|
+
--focus-outline: 0.125rem solid #409eff; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
1793
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
1784
1794
|
--page-header-bgColor: var(--bgColor-default);
|
|
1785
1795
|
--progressBar-track-bgColor: var(--bgColor-inverse);
|
|
1786
1796
|
--shadow-floating-large: 0 0 0 1px #b7bdc8, 0 24px 48px 0 #010409; /** Large floating shadow for modals and dialogs */
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
--control-checked-bgColor-active: #3685f3;
|
|
13
13
|
--control-checked-bgColor-hover: #2a7aef;
|
|
14
14
|
--fgColor-accent: #4493f8; /** Accent text for links and interactive elements */
|
|
15
|
+
--focus-outline-offset: -0.125rem; /** Focus outline offset (-2px). Negative value creates an inset outline for keyboard focus indicators, ensuring the focus ring stays within the element bounds */
|
|
16
|
+
--focus-outline-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
15
17
|
--reactionButton-selected-bgColor-hover: #3a8cfd5c;
|
|
16
18
|
--avatar-shadow: 0 0 0 2px #0d1117;
|
|
17
19
|
--avatarStack-fade-bgColor-default: #3d444d;
|
|
@@ -650,6 +652,8 @@
|
|
|
650
652
|
--label-yellow-fgColor-hover: #df9e11;
|
|
651
653
|
--label-yellow-fgColor-rest: #d3910d;
|
|
652
654
|
--menu-bgColor-active: #151b23;
|
|
655
|
+
--outline-focus-offset: var(--focus-outline-offset); /** Deprecated. Use focus.outline-offset instead. */
|
|
656
|
+
--outline-focus-width: var(--focus-outline-width); /** Deprecated. Use focus.outline-width instead. */
|
|
653
657
|
--overlay-backdrop-bgColor: #21283066;
|
|
654
658
|
--progressBar-track-borderColor: #00000000;
|
|
655
659
|
--reactionButton-selected-bgColor-rest: #388bfd33;
|
|
@@ -804,7 +808,7 @@
|
|
|
804
808
|
--fgColor-onInverse: #010409; /** Text color for use on inverse backgrounds */
|
|
805
809
|
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
806
810
|
--fgColor-white: #ffffff; /** Pure white text */
|
|
807
|
-
--focus-
|
|
811
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
808
812
|
--header-fgColor-default: #ffffffb3;
|
|
809
813
|
--overlay-bgColor: #010409;
|
|
810
814
|
--page-header-bgColor: var(--bgColor-default);
|
|
@@ -883,7 +887,8 @@
|
|
|
883
887
|
--controlTrack-fgColor-disabled: var(--fgColor-onEmphasis);
|
|
884
888
|
--dashboard-bgColor: var(--bgColor-inset);
|
|
885
889
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
886
|
-
--focus-outline:
|
|
890
|
+
--focus-outline: 0.125rem solid #1f6feb; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
891
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
887
892
|
--overlay-borderColor: var(--borderColor-muted);
|
|
888
893
|
--tooltip-fgColor: var(--fgColor-onEmphasis);
|
|
889
894
|
--border-draft-emphasis: 0.0625rem solid #656c76;
|
|
@@ -915,6 +920,8 @@
|
|
|
915
920
|
--control-checked-bgColor-active: #3685f3;
|
|
916
921
|
--control-checked-bgColor-hover: #2a7aef;
|
|
917
922
|
--fgColor-accent: #4493f8; /** Accent text for links and interactive elements */
|
|
923
|
+
--focus-outline-offset: -0.125rem; /** Focus outline offset (-2px). Negative value creates an inset outline for keyboard focus indicators, ensuring the focus ring stays within the element bounds */
|
|
924
|
+
--focus-outline-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
918
925
|
--reactionButton-selected-bgColor-hover: #3a8cfd5c;
|
|
919
926
|
--avatar-shadow: 0 0 0 2px #0d1117;
|
|
920
927
|
--avatarStack-fade-bgColor-default: #3d444d;
|
|
@@ -1553,6 +1560,8 @@
|
|
|
1553
1560
|
--label-yellow-fgColor-hover: #df9e11;
|
|
1554
1561
|
--label-yellow-fgColor-rest: #d3910d;
|
|
1555
1562
|
--menu-bgColor-active: #151b23;
|
|
1563
|
+
--outline-focus-offset: var(--focus-outline-offset); /** Deprecated. Use focus.outline-offset instead. */
|
|
1564
|
+
--outline-focus-width: var(--focus-outline-width); /** Deprecated. Use focus.outline-width instead. */
|
|
1556
1565
|
--overlay-backdrop-bgColor: #21283066;
|
|
1557
1566
|
--progressBar-track-borderColor: #00000000;
|
|
1558
1567
|
--reactionButton-selected-bgColor-rest: #388bfd33;
|
|
@@ -1707,7 +1716,7 @@
|
|
|
1707
1716
|
--fgColor-onInverse: #010409; /** Text color for use on inverse backgrounds */
|
|
1708
1717
|
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
1709
1718
|
--fgColor-white: #ffffff; /** Pure white text */
|
|
1710
|
-
--focus-
|
|
1719
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
1711
1720
|
--header-fgColor-default: #ffffffb3;
|
|
1712
1721
|
--overlay-bgColor: #010409;
|
|
1713
1722
|
--page-header-bgColor: var(--bgColor-default);
|
|
@@ -1786,7 +1795,8 @@
|
|
|
1786
1795
|
--controlTrack-fgColor-disabled: var(--fgColor-onEmphasis);
|
|
1787
1796
|
--dashboard-bgColor: var(--bgColor-inset);
|
|
1788
1797
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
1789
|
-
--focus-outline:
|
|
1798
|
+
--focus-outline: 0.125rem solid #1f6feb; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
1799
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
1790
1800
|
--overlay-borderColor: var(--borderColor-muted);
|
|
1791
1801
|
--tooltip-fgColor: var(--fgColor-onEmphasis);
|
|
1792
1802
|
--border-draft-emphasis: 0.0625rem solid #656c76;
|
|
@@ -17,6 +17,8 @@
|
|
|
17
17
|
--control-checked-bgColor-hover: #2b64c1;
|
|
18
18
|
--control-danger-bgColor-active: #c51120;
|
|
19
19
|
--fgColor-onEmphasis: #ffffff; /** Text color for use on emphasis backgrounds */
|
|
20
|
+
--focus-outline-offset: -0.125rem; /** Focus outline offset (-2px). Negative value creates an inset outline for keyboard focus indicators, ensuring the focus ring stays within the element bounds */
|
|
21
|
+
--focus-outline-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
20
22
|
--reactionButton-selected-bgColor-hover: #3a8cfd5c;
|
|
21
23
|
--avatar-shadow: 0 0 0 2px #0d1117;
|
|
22
24
|
--avatarStack-fade-bgColor-default: #3d444d;
|
|
@@ -641,6 +643,8 @@
|
|
|
641
643
|
--label-yellow-fgColor-hover: #df9e11;
|
|
642
644
|
--label-yellow-fgColor-rest: #d3910d;
|
|
643
645
|
--menu-bgColor-active: #151b23;
|
|
646
|
+
--outline-focus-offset: var(--focus-outline-offset); /** Deprecated. Use focus.outline-offset instead. */
|
|
647
|
+
--outline-focus-width: var(--focus-outline-width); /** Deprecated. Use focus.outline-width instead. */
|
|
644
648
|
--overlay-backdrop-bgColor: #9198a166;
|
|
645
649
|
--overlay-bgColor: #262c36;
|
|
646
650
|
--progressBar-bgColor-neutral: #656c76;
|
|
@@ -796,7 +800,7 @@
|
|
|
796
800
|
--fgColor-open: var(--fgColor-success); /** Text color for open state indicators (issues, PRs) */
|
|
797
801
|
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
798
802
|
--fgColor-white: #cdd9e5; /** Pure white text */
|
|
799
|
-
--focus-
|
|
803
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
800
804
|
--header-fgColor-default: #cdd9e5b3;
|
|
801
805
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
802
806
|
--label-blue-borderColor: var(--label-blue-fgColor-rest);
|
|
@@ -879,7 +883,8 @@
|
|
|
879
883
|
--controlKnob-borderColor-checked: var(--control-checked-bgColor-rest);
|
|
880
884
|
--controlKnob-borderColor-disabled: var(--control-bgColor-disabled);
|
|
881
885
|
--controlTrack-borderColor-rest: var(--borderColor-emphasis);
|
|
882
|
-
--focus-outline:
|
|
886
|
+
--focus-outline: 0.125rem solid #6cb6ff; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
887
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
883
888
|
--progressBar-track-bgColor: var(--bgColor-inverse);
|
|
884
889
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
885
890
|
--shadow-floating-large: 0 0 0 1px #b7bdc8, 0 24px 48px 0 #010409; /** Large floating shadow for modals and dialogs */
|
|
@@ -920,6 +925,8 @@
|
|
|
920
925
|
--control-checked-bgColor-hover: #2b64c1;
|
|
921
926
|
--control-danger-bgColor-active: #c51120;
|
|
922
927
|
--fgColor-onEmphasis: #ffffff; /** Text color for use on emphasis backgrounds */
|
|
928
|
+
--focus-outline-offset: -0.125rem; /** Focus outline offset (-2px). Negative value creates an inset outline for keyboard focus indicators, ensuring the focus ring stays within the element bounds */
|
|
929
|
+
--focus-outline-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
923
930
|
--reactionButton-selected-bgColor-hover: #3a8cfd5c;
|
|
924
931
|
--avatar-shadow: 0 0 0 2px #0d1117;
|
|
925
932
|
--avatarStack-fade-bgColor-default: #3d444d;
|
|
@@ -1544,6 +1551,8 @@
|
|
|
1544
1551
|
--label-yellow-fgColor-hover: #df9e11;
|
|
1545
1552
|
--label-yellow-fgColor-rest: #d3910d;
|
|
1546
1553
|
--menu-bgColor-active: #151b23;
|
|
1554
|
+
--outline-focus-offset: var(--focus-outline-offset); /** Deprecated. Use focus.outline-offset instead. */
|
|
1555
|
+
--outline-focus-width: var(--focus-outline-width); /** Deprecated. Use focus.outline-width instead. */
|
|
1547
1556
|
--overlay-backdrop-bgColor: #9198a166;
|
|
1548
1557
|
--overlay-bgColor: #262c36;
|
|
1549
1558
|
--progressBar-bgColor-neutral: #656c76;
|
|
@@ -1699,7 +1708,7 @@
|
|
|
1699
1708
|
--fgColor-open: var(--fgColor-success); /** Text color for open state indicators (issues, PRs) */
|
|
1700
1709
|
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
1701
1710
|
--fgColor-white: #cdd9e5; /** Pure white text */
|
|
1702
|
-
--focus-
|
|
1711
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
1703
1712
|
--header-fgColor-default: #cdd9e5b3;
|
|
1704
1713
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
1705
1714
|
--label-blue-borderColor: var(--label-blue-fgColor-rest);
|
|
@@ -1782,7 +1791,8 @@
|
|
|
1782
1791
|
--controlKnob-borderColor-checked: var(--control-checked-bgColor-rest);
|
|
1783
1792
|
--controlKnob-borderColor-disabled: var(--control-bgColor-disabled);
|
|
1784
1793
|
--controlTrack-borderColor-rest: var(--borderColor-emphasis);
|
|
1785
|
-
--focus-outline:
|
|
1794
|
+
--focus-outline: 0.125rem solid #6cb6ff; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
1795
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
1786
1796
|
--progressBar-track-bgColor: var(--bgColor-inverse);
|
|
1787
1797
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
1788
1798
|
--shadow-floating-large: 0 0 0 1px #b7bdc8, 0 24px 48px 0 #010409; /** Large floating shadow for modals and dialogs */
|
|
@@ -22,6 +22,8 @@
|
|
|
22
22
|
--control-checked-borderColor-active: #3f7fdb;
|
|
23
23
|
--control-checked-borderColor-hover: #3876d3;
|
|
24
24
|
--fgColor-accent: #478be6; /** Accent text for links and interactive elements */
|
|
25
|
+
--focus-outline-offset: -0.125rem; /** Focus outline offset (-2px). Negative value creates an inset outline for keyboard focus indicators, ensuring the focus ring stays within the element bounds */
|
|
26
|
+
--focus-outline-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
25
27
|
--reactionButton-selected-bgColor-hover: #4285e55c;
|
|
26
28
|
--avatar-shadow: 0 0 0 2px #0d1117;
|
|
27
29
|
--avatarStack-fade-bgColor-default: #3d444d;
|
|
@@ -661,6 +663,8 @@
|
|
|
661
663
|
--label-yellow-fgColor-hover: #df9e11;
|
|
662
664
|
--label-yellow-fgColor-rest: #d3910d;
|
|
663
665
|
--menu-bgColor-active: #151b23;
|
|
666
|
+
--outline-focus-offset: var(--focus-outline-offset); /** Deprecated. Use focus.outline-offset instead. */
|
|
667
|
+
--outline-focus-width: var(--focus-outline-width); /** Deprecated. Use focus.outline-width instead. */
|
|
664
668
|
--overlay-backdrop-bgColor: #262c3666;
|
|
665
669
|
--overlay-bgColor: #2a313c;
|
|
666
670
|
--overlay-borderColor: #3d444db3;
|
|
@@ -830,7 +834,7 @@
|
|
|
830
834
|
--fgColor-open: var(--fgColor-success); /** Text color for open state indicators (issues, PRs) */
|
|
831
835
|
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
832
836
|
--fgColor-white: #cdd9e5; /** Pure white text */
|
|
833
|
-
--focus-
|
|
837
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
834
838
|
--header-fgColor-default: #cdd9e5b3;
|
|
835
839
|
--page-header-bgColor: var(--bgColor-default);
|
|
836
840
|
--progressBar-bgColor-accent: var(--bgColor-accent-emphasis);
|
|
@@ -896,7 +900,8 @@
|
|
|
896
900
|
--controlKnob-bgColor-disabled: var(--control-bgColor-disabled);
|
|
897
901
|
--controlKnob-borderColor-checked: var(--control-checked-bgColor-rest);
|
|
898
902
|
--controlKnob-borderColor-disabled: var(--control-bgColor-disabled);
|
|
899
|
-
--focus-outline:
|
|
903
|
+
--focus-outline: 0.125rem solid #316dca; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
904
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
900
905
|
--border-draft-emphasis: 0.0625rem solid #656c76;
|
|
901
906
|
--button-danger-borderColor-hover: var(--button-primary-borderColor-rest);
|
|
902
907
|
--button-outline-borderColor-active: var(--button-outline-borderColor-hover);
|
|
@@ -925,6 +930,8 @@
|
|
|
925
930
|
--control-checked-borderColor-active: #3f7fdb;
|
|
926
931
|
--control-checked-borderColor-hover: #3876d3;
|
|
927
932
|
--fgColor-accent: #478be6; /** Accent text for links and interactive elements */
|
|
933
|
+
--focus-outline-offset: -0.125rem; /** Focus outline offset (-2px). Negative value creates an inset outline for keyboard focus indicators, ensuring the focus ring stays within the element bounds */
|
|
934
|
+
--focus-outline-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
928
935
|
--reactionButton-selected-bgColor-hover: #4285e55c;
|
|
929
936
|
--avatar-shadow: 0 0 0 2px #0d1117;
|
|
930
937
|
--avatarStack-fade-bgColor-default: #3d444d;
|
|
@@ -1564,6 +1571,8 @@
|
|
|
1564
1571
|
--label-yellow-fgColor-hover: #df9e11;
|
|
1565
1572
|
--label-yellow-fgColor-rest: #d3910d;
|
|
1566
1573
|
--menu-bgColor-active: #151b23;
|
|
1574
|
+
--outline-focus-offset: var(--focus-outline-offset); /** Deprecated. Use focus.outline-offset instead. */
|
|
1575
|
+
--outline-focus-width: var(--focus-outline-width); /** Deprecated. Use focus.outline-width instead. */
|
|
1567
1576
|
--overlay-backdrop-bgColor: #262c3666;
|
|
1568
1577
|
--overlay-bgColor: #2a313c;
|
|
1569
1578
|
--overlay-borderColor: #3d444db3;
|
|
@@ -1733,7 +1742,7 @@
|
|
|
1733
1742
|
--fgColor-open: var(--fgColor-success); /** Text color for open state indicators (issues, PRs) */
|
|
1734
1743
|
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
1735
1744
|
--fgColor-white: #cdd9e5; /** Pure white text */
|
|
1736
|
-
--focus-
|
|
1745
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
1737
1746
|
--header-fgColor-default: #cdd9e5b3;
|
|
1738
1747
|
--page-header-bgColor: var(--bgColor-default);
|
|
1739
1748
|
--progressBar-bgColor-accent: var(--bgColor-accent-emphasis);
|
|
@@ -1799,7 +1808,8 @@
|
|
|
1799
1808
|
--controlKnob-bgColor-disabled: var(--control-bgColor-disabled);
|
|
1800
1809
|
--controlKnob-borderColor-checked: var(--control-checked-bgColor-rest);
|
|
1801
1810
|
--controlKnob-borderColor-disabled: var(--control-bgColor-disabled);
|
|
1802
|
-
--focus-outline:
|
|
1811
|
+
--focus-outline: 0.125rem solid #316dca; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
1812
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
1803
1813
|
--border-draft-emphasis: 0.0625rem solid #656c76;
|
|
1804
1814
|
--button-danger-borderColor-hover: var(--button-primary-borderColor-rest);
|
|
1805
1815
|
--button-outline-borderColor-active: var(--button-outline-borderColor-hover);
|
|
@@ -16,6 +16,8 @@
|
|
|
16
16
|
--fgColor-done: #d3abff; /** Text color for completed/done state indicators */
|
|
17
17
|
--fgColor-sponsors: #ff90c8; /** Text color for GitHub Sponsors content */
|
|
18
18
|
--fgColor-success: #2bd853; /** Success text for positive feedback and completed states */
|
|
19
|
+
--focus-outline-offset: -0.125rem; /** Focus outline offset (-2px). Negative value creates an inset outline for keyboard focus indicators, ensuring the focus ring stays within the element bounds */
|
|
20
|
+
--focus-outline-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
19
21
|
--reactionButton-selected-bgColor-hover: #5dadff5c;
|
|
20
22
|
--avatar-shadow: 0 0 0 2px #0d1117;
|
|
21
23
|
--avatarStack-fade-bgColor-default: #3d444d;
|
|
@@ -625,6 +627,8 @@
|
|
|
625
627
|
--label-yellow-fgColor-hover: #df9e11;
|
|
626
628
|
--label-yellow-fgColor-rest: #d3910d;
|
|
627
629
|
--menu-bgColor-active: #151b23;
|
|
630
|
+
--outline-focus-offset: var(--focus-outline-offset); /** Deprecated. Use focus.outline-offset instead. */
|
|
631
|
+
--outline-focus-width: var(--focus-outline-width); /** Deprecated. Use focus.outline-width instead. */
|
|
628
632
|
--overlay-backdrop-bgColor: #d1d7e066;
|
|
629
633
|
--progressBar-bgColor-neutral: #656c76;
|
|
630
634
|
--reactionButton-selected-bgColor-rest: #5cacff33;
|
|
@@ -765,7 +769,7 @@
|
|
|
765
769
|
--fgColor-onEmphasis: #ffffff; /** Text color for use on emphasis backgrounds */
|
|
766
770
|
--fgColor-onInverse: #010409; /** Text color for use on inverse backgrounds */
|
|
767
771
|
--fgColor-white: #ffffff; /** Pure white text */
|
|
768
|
-
--focus-
|
|
772
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
769
773
|
--header-fgColor-default: #ffffffb3;
|
|
770
774
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
771
775
|
--label-blue-borderColor: var(--label-blue-fgColor-rest);
|
|
@@ -875,7 +879,8 @@
|
|
|
875
879
|
--diffBlob-expander-iconColor: var(--fgColor-default);
|
|
876
880
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
877
881
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
878
|
-
--focus-outline:
|
|
882
|
+
--focus-outline: 0.125rem solid #409eff; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
883
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
879
884
|
--page-header-bgColor: var(--bgColor-default);
|
|
880
885
|
--progressBar-track-bgColor: var(--bgColor-inverse);
|
|
881
886
|
--shadow-floating-large: 0 0 0 1px #b7bdc8, 0 24px 48px 0 #010409; /** Large floating shadow for modals and dialogs */
|
|
@@ -919,6 +924,8 @@
|
|
|
919
924
|
--fgColor-done: #d3abff; /** Text color for completed/done state indicators */
|
|
920
925
|
--fgColor-sponsors: #ff90c8; /** Text color for GitHub Sponsors content */
|
|
921
926
|
--fgColor-success: #2bd853; /** Success text for positive feedback and completed states */
|
|
927
|
+
--focus-outline-offset: -0.125rem; /** Focus outline offset (-2px). Negative value creates an inset outline for keyboard focus indicators, ensuring the focus ring stays within the element bounds */
|
|
928
|
+
--focus-outline-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
922
929
|
--reactionButton-selected-bgColor-hover: #5dadff5c;
|
|
923
930
|
--avatar-shadow: 0 0 0 2px #0d1117;
|
|
924
931
|
--avatarStack-fade-bgColor-default: #3d444d;
|
|
@@ -1528,6 +1535,8 @@
|
|
|
1528
1535
|
--label-yellow-fgColor-hover: #df9e11;
|
|
1529
1536
|
--label-yellow-fgColor-rest: #d3910d;
|
|
1530
1537
|
--menu-bgColor-active: #151b23;
|
|
1538
|
+
--outline-focus-offset: var(--focus-outline-offset); /** Deprecated. Use focus.outline-offset instead. */
|
|
1539
|
+
--outline-focus-width: var(--focus-outline-width); /** Deprecated. Use focus.outline-width instead. */
|
|
1531
1540
|
--overlay-backdrop-bgColor: #d1d7e066;
|
|
1532
1541
|
--progressBar-bgColor-neutral: #656c76;
|
|
1533
1542
|
--reactionButton-selected-bgColor-rest: #5cacff33;
|
|
@@ -1668,7 +1677,7 @@
|
|
|
1668
1677
|
--fgColor-onEmphasis: #ffffff; /** Text color for use on emphasis backgrounds */
|
|
1669
1678
|
--fgColor-onInverse: #010409; /** Text color for use on inverse backgrounds */
|
|
1670
1679
|
--fgColor-white: #ffffff; /** Pure white text */
|
|
1671
|
-
--focus-
|
|
1680
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
1672
1681
|
--header-fgColor-default: #ffffffb3;
|
|
1673
1682
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
1674
1683
|
--label-blue-borderColor: var(--label-blue-fgColor-rest);
|
|
@@ -1778,7 +1787,8 @@
|
|
|
1778
1787
|
--diffBlob-expander-iconColor: var(--fgColor-default);
|
|
1779
1788
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
1780
1789
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
1781
|
-
--focus-outline:
|
|
1790
|
+
--focus-outline: 0.125rem solid #409eff; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
1791
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
1782
1792
|
--page-header-bgColor: var(--bgColor-default);
|
|
1783
1793
|
--progressBar-track-bgColor: var(--bgColor-inverse);
|
|
1784
1794
|
--shadow-floating-large: 0 0 0 1px #b7bdc8, 0 24px 48px 0 #010409; /** Large floating shadow for modals and dialogs */
|
|
@@ -17,6 +17,8 @@
|
|
|
17
17
|
--fgColor-accent: #74b9ff; /** Accent text for links and interactive elements */
|
|
18
18
|
--fgColor-done: #d3abff; /** Text color for completed/done state indicators */
|
|
19
19
|
--fgColor-sponsors: #ff90c8; /** Text color for GitHub Sponsors content */
|
|
20
|
+
--focus-outline-offset: -0.125rem; /** Focus outline offset (-2px). Negative value creates an inset outline for keyboard focus indicators, ensuring the focus ring stays within the element bounds */
|
|
21
|
+
--focus-outline-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
20
22
|
--reactionButton-selected-bgColor-hover: #3a8cfd5c;
|
|
21
23
|
--avatar-shadow: 0 0 0 2px #0d1117;
|
|
22
24
|
--avatarStack-fade-bgColor-default: #3d444d;
|
|
@@ -631,6 +633,8 @@
|
|
|
631
633
|
--label-yellow-fgColor-hover: #df9e11;
|
|
632
634
|
--label-yellow-fgColor-rest: #d3910d;
|
|
633
635
|
--menu-bgColor-active: #151b23;
|
|
636
|
+
--outline-focus-offset: var(--focus-outline-offset); /** Deprecated. Use focus.outline-offset instead. */
|
|
637
|
+
--outline-focus-width: var(--focus-outline-width); /** Deprecated. Use focus.outline-width instead. */
|
|
634
638
|
--overlay-backdrop-bgColor: #d1d7e066;
|
|
635
639
|
--progressBar-bgColor-neutral: #656c76;
|
|
636
640
|
--reactionButton-selected-bgColor-rest: #5cacff33;
|
|
@@ -765,7 +769,7 @@
|
|
|
765
769
|
--fgColor-onEmphasis: #ffffff; /** Text color for use on emphasis backgrounds */
|
|
766
770
|
--fgColor-onInverse: #010409; /** Text color for use on inverse backgrounds */
|
|
767
771
|
--fgColor-white: #ffffff; /** Pure white text */
|
|
768
|
-
--focus-
|
|
772
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
769
773
|
--header-fgColor-default: #ffffffb3;
|
|
770
774
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
771
775
|
--label-blue-borderColor: var(--label-blue-fgColor-rest);
|
|
@@ -877,7 +881,8 @@
|
|
|
877
881
|
--diffBlob-expander-iconColor: var(--fgColor-default);
|
|
878
882
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
879
883
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
880
|
-
--focus-outline:
|
|
884
|
+
--focus-outline: 0.125rem solid #409eff; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
885
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
881
886
|
--page-header-bgColor: var(--bgColor-default);
|
|
882
887
|
--progressBar-track-bgColor: var(--bgColor-inverse);
|
|
883
888
|
--shadow-floating-large: 0 0 0 1px #b7bdc8, 0 24px 48px 0 #010409; /** Large floating shadow for modals and dialogs */
|
|
@@ -920,6 +925,8 @@
|
|
|
920
925
|
--fgColor-accent: #74b9ff; /** Accent text for links and interactive elements */
|
|
921
926
|
--fgColor-done: #d3abff; /** Text color for completed/done state indicators */
|
|
922
927
|
--fgColor-sponsors: #ff90c8; /** Text color for GitHub Sponsors content */
|
|
928
|
+
--focus-outline-offset: -0.125rem; /** Focus outline offset (-2px). Negative value creates an inset outline for keyboard focus indicators, ensuring the focus ring stays within the element bounds */
|
|
929
|
+
--focus-outline-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
923
930
|
--reactionButton-selected-bgColor-hover: #3a8cfd5c;
|
|
924
931
|
--avatar-shadow: 0 0 0 2px #0d1117;
|
|
925
932
|
--avatarStack-fade-bgColor-default: #3d444d;
|
|
@@ -1534,6 +1541,8 @@
|
|
|
1534
1541
|
--label-yellow-fgColor-hover: #df9e11;
|
|
1535
1542
|
--label-yellow-fgColor-rest: #d3910d;
|
|
1536
1543
|
--menu-bgColor-active: #151b23;
|
|
1544
|
+
--outline-focus-offset: var(--focus-outline-offset); /** Deprecated. Use focus.outline-offset instead. */
|
|
1545
|
+
--outline-focus-width: var(--focus-outline-width); /** Deprecated. Use focus.outline-width instead. */
|
|
1537
1546
|
--overlay-backdrop-bgColor: #d1d7e066;
|
|
1538
1547
|
--progressBar-bgColor-neutral: #656c76;
|
|
1539
1548
|
--reactionButton-selected-bgColor-rest: #5cacff33;
|
|
@@ -1668,7 +1677,7 @@
|
|
|
1668
1677
|
--fgColor-onEmphasis: #ffffff; /** Text color for use on emphasis backgrounds */
|
|
1669
1678
|
--fgColor-onInverse: #010409; /** Text color for use on inverse backgrounds */
|
|
1670
1679
|
--fgColor-white: #ffffff; /** Pure white text */
|
|
1671
|
-
--focus-
|
|
1680
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
1672
1681
|
--header-fgColor-default: #ffffffb3;
|
|
1673
1682
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
1674
1683
|
--label-blue-borderColor: var(--label-blue-fgColor-rest);
|
|
@@ -1780,7 +1789,8 @@
|
|
|
1780
1789
|
--diffBlob-expander-iconColor: var(--fgColor-default);
|
|
1781
1790
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
1782
1791
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
1783
|
-
--focus-outline:
|
|
1792
|
+
--focus-outline: 0.125rem solid #409eff; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
1793
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
1784
1794
|
--page-header-bgColor: var(--bgColor-default);
|
|
1785
1795
|
--progressBar-track-bgColor: var(--bgColor-inverse);
|
|
1786
1796
|
--shadow-floating-large: 0 0 0 1px #b7bdc8, 0 24px 48px 0 #010409; /** Large floating shadow for modals and dialogs */
|
|
@@ -18,6 +18,8 @@
|
|
|
18
18
|
--control-checked-bgColor-active: #3685f3;
|
|
19
19
|
--control-checked-bgColor-hover: #2a7aef;
|
|
20
20
|
--fgColor-accent: #4493f8; /** Accent text for links and interactive elements */
|
|
21
|
+
--focus-outline-offset: -0.125rem; /** Focus outline offset (-2px). Negative value creates an inset outline for keyboard focus indicators, ensuring the focus ring stays within the element bounds */
|
|
22
|
+
--focus-outline-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
21
23
|
--reactionButton-selected-bgColor-hover: #3a8cfd5c;
|
|
22
24
|
--avatar-shadow: 0 0 0 2px #0d1117;
|
|
23
25
|
--avatarStack-fade-bgColor-default: #3d444d;
|
|
@@ -653,6 +655,8 @@
|
|
|
653
655
|
--label-yellow-fgColor-hover: #df9e11;
|
|
654
656
|
--label-yellow-fgColor-rest: #d3910d;
|
|
655
657
|
--menu-bgColor-active: #151b23;
|
|
658
|
+
--outline-focus-offset: var(--focus-outline-offset); /** Deprecated. Use focus.outline-offset instead. */
|
|
659
|
+
--outline-focus-width: var(--focus-outline-width); /** Deprecated. Use focus.outline-width instead. */
|
|
656
660
|
--overlay-backdrop-bgColor: #21283066;
|
|
657
661
|
--progressBar-track-borderColor: #00000000;
|
|
658
662
|
--reactionButton-selected-bgColor-rest: #388bfd33;
|
|
@@ -806,7 +810,7 @@
|
|
|
806
810
|
--fgColor-onInverse: #010409; /** Text color for use on inverse backgrounds */
|
|
807
811
|
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
808
812
|
--fgColor-white: #ffffff; /** Pure white text */
|
|
809
|
-
--focus-
|
|
813
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
810
814
|
--header-fgColor-default: #ffffffb3;
|
|
811
815
|
--overlay-bgColor: #010409;
|
|
812
816
|
--page-header-bgColor: var(--bgColor-default);
|
|
@@ -883,7 +887,8 @@
|
|
|
883
887
|
--controlTrack-fgColor-disabled: var(--fgColor-onEmphasis);
|
|
884
888
|
--dashboard-bgColor: var(--bgColor-inset);
|
|
885
889
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
886
|
-
--focus-outline:
|
|
890
|
+
--focus-outline: 0.125rem solid #1f6feb; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
891
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
887
892
|
--overlay-borderColor: var(--borderColor-muted);
|
|
888
893
|
--tooltip-fgColor: var(--fgColor-onEmphasis);
|
|
889
894
|
--border-draft-emphasis: 0.0625rem solid #656c76;
|
|
@@ -921,6 +926,8 @@
|
|
|
921
926
|
--control-checked-bgColor-active: #3685f3;
|
|
922
927
|
--control-checked-bgColor-hover: #2a7aef;
|
|
923
928
|
--fgColor-accent: #4493f8; /** Accent text for links and interactive elements */
|
|
929
|
+
--focus-outline-offset: -0.125rem; /** Focus outline offset (-2px). Negative value creates an inset outline for keyboard focus indicators, ensuring the focus ring stays within the element bounds */
|
|
930
|
+
--focus-outline-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
924
931
|
--reactionButton-selected-bgColor-hover: #3a8cfd5c;
|
|
925
932
|
--avatar-shadow: 0 0 0 2px #0d1117;
|
|
926
933
|
--avatarStack-fade-bgColor-default: #3d444d;
|
|
@@ -1556,6 +1563,8 @@
|
|
|
1556
1563
|
--label-yellow-fgColor-hover: #df9e11;
|
|
1557
1564
|
--label-yellow-fgColor-rest: #d3910d;
|
|
1558
1565
|
--menu-bgColor-active: #151b23;
|
|
1566
|
+
--outline-focus-offset: var(--focus-outline-offset); /** Deprecated. Use focus.outline-offset instead. */
|
|
1567
|
+
--outline-focus-width: var(--focus-outline-width); /** Deprecated. Use focus.outline-width instead. */
|
|
1559
1568
|
--overlay-backdrop-bgColor: #21283066;
|
|
1560
1569
|
--progressBar-track-borderColor: #00000000;
|
|
1561
1570
|
--reactionButton-selected-bgColor-rest: #388bfd33;
|
|
@@ -1709,7 +1718,7 @@
|
|
|
1709
1718
|
--fgColor-onInverse: #010409; /** Text color for use on inverse backgrounds */
|
|
1710
1719
|
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
1711
1720
|
--fgColor-white: #ffffff; /** Pure white text */
|
|
1712
|
-
--focus-
|
|
1721
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
1713
1722
|
--header-fgColor-default: #ffffffb3;
|
|
1714
1723
|
--overlay-bgColor: #010409;
|
|
1715
1724
|
--page-header-bgColor: var(--bgColor-default);
|
|
@@ -1786,7 +1795,8 @@
|
|
|
1786
1795
|
--controlTrack-fgColor-disabled: var(--fgColor-onEmphasis);
|
|
1787
1796
|
--dashboard-bgColor: var(--bgColor-inset);
|
|
1788
1797
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
1789
|
-
--focus-outline:
|
|
1798
|
+
--focus-outline: 0.125rem solid #1f6feb; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
1799
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
1790
1800
|
--overlay-borderColor: var(--borderColor-muted);
|
|
1791
1801
|
--tooltip-fgColor: var(--fgColor-onEmphasis);
|
|
1792
1802
|
--border-draft-emphasis: 0.0625rem solid #656c76;
|