@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
|
@@ -287,9 +287,6 @@
|
|
|
287
287
|
--base-display-color-yellow-7: #704d00;
|
|
288
288
|
--base-display-color-yellow-8: #5c3d00;
|
|
289
289
|
--base-display-color-yellow-9: #422b00;
|
|
290
|
-
--borderWidth-thick: 0.125rem; /** Thick 2px border for emphasis. Use for focus indicators, selected states, or to emphasize important boundaries */
|
|
291
|
-
--borderWidth-thicker: 0.25rem; /** Extra thick 4px border for maximum emphasis. Use sparingly for high-contrast focus indicators or critical visual separators */
|
|
292
|
-
--borderWidth-thin: 0.0625rem; /** Standard 1px border width. Use for most borders, dividers, and outlines throughout the interface */
|
|
293
290
|
--button-outline-bgColor-active: #033f9d;
|
|
294
291
|
--button-primary-bgColor-active: #075fc8;
|
|
295
292
|
--button-primary-bgColor-disabled: #92caff;
|
|
@@ -300,8 +297,6 @@
|
|
|
300
297
|
--control-checked-bgColor-hover: #0344a8;
|
|
301
298
|
--control-checked-borderColor-active: #033f9d;
|
|
302
299
|
--control-checked-borderColor-hover: #0344a8;
|
|
303
|
-
--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 */
|
|
304
|
-
--outline-focus-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
305
300
|
--reactionButton-selected-bgColor-hover: #caecff;
|
|
306
301
|
--avatarStack-fade-bgColor-default: var(--base-color-neutral-7);
|
|
307
302
|
--avatarStack-fade-bgColor-muted: var(--base-color-neutral-5);
|
|
@@ -352,10 +347,9 @@
|
|
|
352
347
|
--borderColor-success-muted: var(--base-color-blue-3); /** Subtle success border for positive feedback elements */
|
|
353
348
|
--borderColor-translucent: var(--base-color-neutral-9); /** Semi-transparent border for overlays and layered elements. Border-specific token — no bgColor-translucent counterpart exists by design. */
|
|
354
349
|
--borderColor-transparent: var(--base-color-transparent); /** Fully transparent border */
|
|
355
|
-
--
|
|
356
|
-
--boxShadow-
|
|
357
|
-
--boxShadow-
|
|
358
|
-
--boxShadow-thin: inset 0 0 0 var(--borderWidth-thin); /** Thin shadow used instead of a border to prevent layout shift */
|
|
350
|
+
--boxShadow-thick: inset 0 0 0 0.125rem; /** Thick shadow (2px) used instead of a border for emphasis without layout shift */
|
|
351
|
+
--boxShadow-thicker: inset 0 0 0 0.25rem; /** Thickest shadow (4px) used for high emphasis borders without layout shift. Use sparingly for maximum visual impact */
|
|
352
|
+
--boxShadow-thin: inset 0 0 0 0.0625rem; /** Thin shadow used instead of a border to prevent layout shift */
|
|
359
353
|
--button-danger-bgColor-active: var(--base-color-orange-6);
|
|
360
354
|
--button-danger-borderColor-hover: var(--base-color-orange-7);
|
|
361
355
|
--button-danger-shadow-selected: inset 0 1px 0 0 #43001133;
|
|
@@ -1069,7 +1063,7 @@
|
|
|
1069
1063
|
--fgColor-onInverse: var(--base-color-neutral-0); /** Text color for use on inverse backgrounds */
|
|
1070
1064
|
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
1071
1065
|
--fgColor-white: var(--base-color-neutral-0); /** Pure white text */
|
|
1072
|
-
--focus-
|
|
1066
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
1073
1067
|
--header-fgColor-default: #ffffffb3;
|
|
1074
1068
|
--header-fgColor-logo: var(--base-color-neutral-0);
|
|
1075
1069
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
@@ -1183,7 +1177,8 @@
|
|
|
1183
1177
|
--diffBlob-expander-iconColor: var(--fgColor-default);
|
|
1184
1178
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-default);
|
|
1185
1179
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
1186
|
-
--focus-outline:
|
|
1180
|
+
--focus-outline: 0.125rem solid #0349b4; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
1181
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
1187
1182
|
--progressBar-track-bgColor: var(--bgColor-default);
|
|
1188
1183
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
1189
1184
|
--shadow-floating-large: 0 0 0 1px #454c54, 0 40px 80px 0 #25292e3d; /** Large floating shadow for modals and dialogs */
|
|
@@ -1488,9 +1483,6 @@
|
|
|
1488
1483
|
--base-display-color-yellow-7: #704d00;
|
|
1489
1484
|
--base-display-color-yellow-8: #5c3d00;
|
|
1490
1485
|
--base-display-color-yellow-9: #422b00;
|
|
1491
|
-
--borderWidth-thick: 0.125rem; /** Thick 2px border for emphasis. Use for focus indicators, selected states, or to emphasize important boundaries */
|
|
1492
|
-
--borderWidth-thicker: 0.25rem; /** Extra thick 4px border for maximum emphasis. Use sparingly for high-contrast focus indicators or critical visual separators */
|
|
1493
|
-
--borderWidth-thin: 0.0625rem; /** Standard 1px border width. Use for most borders, dividers, and outlines throughout the interface */
|
|
1494
1486
|
--button-outline-bgColor-active: #033f9d;
|
|
1495
1487
|
--button-primary-bgColor-active: #075fc8;
|
|
1496
1488
|
--button-primary-bgColor-disabled: #92caff;
|
|
@@ -1501,8 +1493,6 @@
|
|
|
1501
1493
|
--control-checked-bgColor-hover: #0344a8;
|
|
1502
1494
|
--control-checked-borderColor-active: #033f9d;
|
|
1503
1495
|
--control-checked-borderColor-hover: #0344a8;
|
|
1504
|
-
--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 */
|
|
1505
|
-
--outline-focus-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
1506
1496
|
--reactionButton-selected-bgColor-hover: #caecff;
|
|
1507
1497
|
--avatarStack-fade-bgColor-default: var(--base-color-neutral-7);
|
|
1508
1498
|
--avatarStack-fade-bgColor-muted: var(--base-color-neutral-5);
|
|
@@ -1553,10 +1543,9 @@
|
|
|
1553
1543
|
--borderColor-success-muted: var(--base-color-blue-3); /** Subtle success border for positive feedback elements */
|
|
1554
1544
|
--borderColor-translucent: var(--base-color-neutral-9); /** Semi-transparent border for overlays and layered elements. Border-specific token — no bgColor-translucent counterpart exists by design. */
|
|
1555
1545
|
--borderColor-transparent: var(--base-color-transparent); /** Fully transparent border */
|
|
1556
|
-
--
|
|
1557
|
-
--boxShadow-
|
|
1558
|
-
--boxShadow-
|
|
1559
|
-
--boxShadow-thin: inset 0 0 0 var(--borderWidth-thin); /** Thin shadow used instead of a border to prevent layout shift */
|
|
1546
|
+
--boxShadow-thick: inset 0 0 0 0.125rem; /** Thick shadow (2px) used instead of a border for emphasis without layout shift */
|
|
1547
|
+
--boxShadow-thicker: inset 0 0 0 0.25rem; /** Thickest shadow (4px) used for high emphasis borders without layout shift. Use sparingly for maximum visual impact */
|
|
1548
|
+
--boxShadow-thin: inset 0 0 0 0.0625rem; /** Thin shadow used instead of a border to prevent layout shift */
|
|
1560
1549
|
--button-danger-bgColor-active: var(--base-color-orange-6);
|
|
1561
1550
|
--button-danger-borderColor-hover: var(--base-color-orange-7);
|
|
1562
1551
|
--button-danger-shadow-selected: inset 0 1px 0 0 #43001133;
|
|
@@ -2270,7 +2259,7 @@
|
|
|
2270
2259
|
--fgColor-onInverse: var(--base-color-neutral-0); /** Text color for use on inverse backgrounds */
|
|
2271
2260
|
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
2272
2261
|
--fgColor-white: var(--base-color-neutral-0); /** Pure white text */
|
|
2273
|
-
--focus-
|
|
2262
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
2274
2263
|
--header-fgColor-default: #ffffffb3;
|
|
2275
2264
|
--header-fgColor-logo: var(--base-color-neutral-0);
|
|
2276
2265
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
@@ -2384,7 +2373,8 @@
|
|
|
2384
2373
|
--diffBlob-expander-iconColor: var(--fgColor-default);
|
|
2385
2374
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-default);
|
|
2386
2375
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
2387
|
-
--focus-outline:
|
|
2376
|
+
--focus-outline: 0.125rem solid #0349b4; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
2377
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
2388
2378
|
--progressBar-track-bgColor: var(--bgColor-default);
|
|
2389
2379
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
2390
2380
|
--shadow-floating-large: 0 0 0 1px #454c54, 0 40px 80px 0 #25292e3d; /** Large floating shadow for modals and dialogs */
|
|
@@ -287,9 +287,6 @@
|
|
|
287
287
|
--base-display-color-yellow-7: #704d00;
|
|
288
288
|
--base-display-color-yellow-8: #5c3d00;
|
|
289
289
|
--base-display-color-yellow-9: #422b00;
|
|
290
|
-
--borderWidth-thick: 0.125rem; /** Thick 2px border for emphasis. Use for focus indicators, selected states, or to emphasize important boundaries */
|
|
291
|
-
--borderWidth-thicker: 0.25rem; /** Extra thick 4px border for maximum emphasis. Use sparingly for high-contrast focus indicators or critical visual separators */
|
|
292
|
-
--borderWidth-thin: 0.0625rem; /** Standard 1px border width. Use for most borders, dividers, and outlines throughout the interface */
|
|
293
290
|
--button-outline-bgColor-active: #0757ba;
|
|
294
291
|
--button-primary-bgColor-active: #075fc8;
|
|
295
292
|
--button-primary-bgColor-disabled: #92caff;
|
|
@@ -298,8 +295,6 @@
|
|
|
298
295
|
--color-ansi-cyan-bright: #3192aa;
|
|
299
296
|
--control-checked-bgColor-active: #0757ba;
|
|
300
297
|
--control-checked-bgColor-hover: #0860ca;
|
|
301
|
-
--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 */
|
|
302
|
-
--outline-focus-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
303
298
|
--reactionButton-selected-bgColor-hover: #caecff;
|
|
304
299
|
--avatarStack-fade-bgColor-default: var(--base-color-neutral-7);
|
|
305
300
|
--avatarStack-fade-bgColor-muted: var(--base-color-neutral-5);
|
|
@@ -349,10 +344,9 @@
|
|
|
349
344
|
--borderColor-success-emphasis: var(--base-color-blue-5); /** Strong success border for prominent positive elements */
|
|
350
345
|
--borderColor-success-muted: var(--base-color-blue-0); /** Subtle success border for positive feedback elements */
|
|
351
346
|
--borderColor-transparent: var(--base-color-transparent); /** Fully transparent border */
|
|
352
|
-
--
|
|
353
|
-
--boxShadow-
|
|
354
|
-
--boxShadow-
|
|
355
|
-
--boxShadow-thin: inset 0 0 0 var(--borderWidth-thin); /** Thin shadow used instead of a border to prevent layout shift */
|
|
347
|
+
--boxShadow-thick: inset 0 0 0 0.125rem; /** Thick shadow (2px) used instead of a border for emphasis without layout shift */
|
|
348
|
+
--boxShadow-thicker: inset 0 0 0 0.25rem; /** Thickest shadow (4px) used for high emphasis borders without layout shift. Use sparingly for maximum visual impact */
|
|
349
|
+
--boxShadow-thin: inset 0 0 0 0.0625rem; /** Thin shadow used instead of a border to prevent layout shift */
|
|
356
350
|
--button-danger-bgColor-active: var(--base-color-orange-6);
|
|
357
351
|
--button-danger-shadow-selected: inset 0 1px 0 0 #47170033;
|
|
358
352
|
--button-inactive-bgColor: var(--base-color-neutral-3);
|
|
@@ -1085,7 +1079,7 @@
|
|
|
1085
1079
|
--fgColor-onInverse: var(--base-color-neutral-0); /** Text color for use on inverse backgrounds */
|
|
1086
1080
|
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
1087
1081
|
--fgColor-white: var(--base-color-neutral-0); /** Pure white text */
|
|
1088
|
-
--focus-
|
|
1082
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
1089
1083
|
--header-fgColor-default: #ffffffb3;
|
|
1090
1084
|
--header-fgColor-logo: var(--base-color-neutral-0);
|
|
1091
1085
|
--overlay-bgColor: var(--base-color-neutral-0);
|
|
@@ -1177,7 +1171,8 @@
|
|
|
1177
1171
|
--diffBlob-deletionWord-fgColor: var(--fgColor-default);
|
|
1178
1172
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-default);
|
|
1179
1173
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
1180
|
-
--focus-outline:
|
|
1174
|
+
--focus-outline: 0.125rem solid #0969da; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
1175
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
1181
1176
|
--overlay-borderColor: #d1d9e080;
|
|
1182
1177
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
1183
1178
|
--tooltip-fgColor: var(--fgColor-onEmphasis);
|
|
@@ -1488,9 +1483,6 @@
|
|
|
1488
1483
|
--base-display-color-yellow-7: #704d00;
|
|
1489
1484
|
--base-display-color-yellow-8: #5c3d00;
|
|
1490
1485
|
--base-display-color-yellow-9: #422b00;
|
|
1491
|
-
--borderWidth-thick: 0.125rem; /** Thick 2px border for emphasis. Use for focus indicators, selected states, or to emphasize important boundaries */
|
|
1492
|
-
--borderWidth-thicker: 0.25rem; /** Extra thick 4px border for maximum emphasis. Use sparingly for high-contrast focus indicators or critical visual separators */
|
|
1493
|
-
--borderWidth-thin: 0.0625rem; /** Standard 1px border width. Use for most borders, dividers, and outlines throughout the interface */
|
|
1494
1486
|
--button-outline-bgColor-active: #0757ba;
|
|
1495
1487
|
--button-primary-bgColor-active: #075fc8;
|
|
1496
1488
|
--button-primary-bgColor-disabled: #92caff;
|
|
@@ -1499,8 +1491,6 @@
|
|
|
1499
1491
|
--color-ansi-cyan-bright: #3192aa;
|
|
1500
1492
|
--control-checked-bgColor-active: #0757ba;
|
|
1501
1493
|
--control-checked-bgColor-hover: #0860ca;
|
|
1502
|
-
--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 */
|
|
1503
|
-
--outline-focus-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
1504
1494
|
--reactionButton-selected-bgColor-hover: #caecff;
|
|
1505
1495
|
--avatarStack-fade-bgColor-default: var(--base-color-neutral-7);
|
|
1506
1496
|
--avatarStack-fade-bgColor-muted: var(--base-color-neutral-5);
|
|
@@ -1550,10 +1540,9 @@
|
|
|
1550
1540
|
--borderColor-success-emphasis: var(--base-color-blue-5); /** Strong success border for prominent positive elements */
|
|
1551
1541
|
--borderColor-success-muted: var(--base-color-blue-0); /** Subtle success border for positive feedback elements */
|
|
1552
1542
|
--borderColor-transparent: var(--base-color-transparent); /** Fully transparent border */
|
|
1553
|
-
--
|
|
1554
|
-
--boxShadow-
|
|
1555
|
-
--boxShadow-
|
|
1556
|
-
--boxShadow-thin: inset 0 0 0 var(--borderWidth-thin); /** Thin shadow used instead of a border to prevent layout shift */
|
|
1543
|
+
--boxShadow-thick: inset 0 0 0 0.125rem; /** Thick shadow (2px) used instead of a border for emphasis without layout shift */
|
|
1544
|
+
--boxShadow-thicker: inset 0 0 0 0.25rem; /** Thickest shadow (4px) used for high emphasis borders without layout shift. Use sparingly for maximum visual impact */
|
|
1545
|
+
--boxShadow-thin: inset 0 0 0 0.0625rem; /** Thin shadow used instead of a border to prevent layout shift */
|
|
1557
1546
|
--button-danger-bgColor-active: var(--base-color-orange-6);
|
|
1558
1547
|
--button-danger-shadow-selected: inset 0 1px 0 0 #47170033;
|
|
1559
1548
|
--button-inactive-bgColor: var(--base-color-neutral-3);
|
|
@@ -2286,7 +2275,7 @@
|
|
|
2286
2275
|
--fgColor-onInverse: var(--base-color-neutral-0); /** Text color for use on inverse backgrounds */
|
|
2287
2276
|
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
2288
2277
|
--fgColor-white: var(--base-color-neutral-0); /** Pure white text */
|
|
2289
|
-
--focus-
|
|
2278
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
2290
2279
|
--header-fgColor-default: #ffffffb3;
|
|
2291
2280
|
--header-fgColor-logo: var(--base-color-neutral-0);
|
|
2292
2281
|
--overlay-bgColor: var(--base-color-neutral-0);
|
|
@@ -2378,7 +2367,8 @@
|
|
|
2378
2367
|
--diffBlob-deletionWord-fgColor: var(--fgColor-default);
|
|
2379
2368
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-default);
|
|
2380
2369
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
2381
|
-
--focus-outline:
|
|
2370
|
+
--focus-outline: 0.125rem solid #0969da; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
2371
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
2382
2372
|
--overlay-borderColor: #d1d9e080;
|
|
2383
2373
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
2384
2374
|
--tooltip-fgColor: var(--fgColor-onEmphasis);
|
|
@@ -287,9 +287,6 @@
|
|
|
287
287
|
--base-display-color-yellow-7: #704d00;
|
|
288
288
|
--base-display-color-yellow-8: #5c3d00;
|
|
289
289
|
--base-display-color-yellow-9: #422b00;
|
|
290
|
-
--borderWidth-thick: 0.125rem; /** Thick 2px border for emphasis. Use for focus indicators, selected states, or to emphasize important boundaries */
|
|
291
|
-
--borderWidth-thicker: 0.25rem; /** Extra thick 4px border for maximum emphasis. Use sparingly for high-contrast focus indicators or critical visual separators */
|
|
292
|
-
--borderWidth-thin: 0.0625rem; /** Standard 1px border width. Use for most borders, dividers, and outlines throughout the interface */
|
|
293
290
|
--button-outline-bgColor-active: #033f9d;
|
|
294
291
|
--button-primary-bgColor-active: #03501b;
|
|
295
292
|
--button-primary-bgColor-disabled: #85cb97;
|
|
@@ -305,8 +302,6 @@
|
|
|
305
302
|
--fgColor-danger: #960d1e; /** Danger text for errors and destructive actions */
|
|
306
303
|
--fgColor-done: #5e2bb4; /** Text color for completed/done state indicators */
|
|
307
304
|
--fgColor-success: #04591f; /** Success text for positive feedback and completed states */
|
|
308
|
-
--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 */
|
|
309
|
-
--outline-focus-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
310
305
|
--reactionButton-selected-bgColor-hover: #c7e9ff;
|
|
311
306
|
--avatarStack-fade-bgColor-default: var(--base-color-neutral-7);
|
|
312
307
|
--avatarStack-fade-bgColor-muted: var(--base-color-neutral-5);
|
|
@@ -353,10 +348,9 @@
|
|
|
353
348
|
--borderColor-success-muted: var(--base-color-green-3); /** Subtle success border for positive feedback elements */
|
|
354
349
|
--borderColor-translucent: var(--base-color-neutral-9); /** Semi-transparent border for overlays and layered elements. Border-specific token — no bgColor-translucent counterpart exists by design. */
|
|
355
350
|
--borderColor-transparent: var(--base-color-transparent); /** Fully transparent border */
|
|
356
|
-
--
|
|
357
|
-
--boxShadow-
|
|
358
|
-
--boxShadow-
|
|
359
|
-
--boxShadow-thin: inset 0 0 0 var(--borderWidth-thin); /** Thin shadow used instead of a border to prevent layout shift */
|
|
351
|
+
--boxShadow-thick: inset 0 0 0 0.125rem; /** Thick shadow (2px) used instead of a border for emphasis without layout shift */
|
|
352
|
+
--boxShadow-thicker: inset 0 0 0 0.25rem; /** Thickest shadow (4px) used for high emphasis borders without layout shift. Use sparingly for maximum visual impact */
|
|
353
|
+
--boxShadow-thin: inset 0 0 0 0.0625rem; /** Thin shadow used instead of a border to prevent layout shift */
|
|
360
354
|
--button-danger-bgColor-active: var(--base-color-red-6);
|
|
361
355
|
--button-danger-borderColor-hover: var(--base-color-red-7);
|
|
362
356
|
--button-danger-fgColor-disabled: #960d1e80;
|
|
@@ -1071,7 +1065,7 @@
|
|
|
1071
1065
|
--fgColor-onEmphasis: var(--base-color-neutral-0); /** Text color for use on emphasis backgrounds */
|
|
1072
1066
|
--fgColor-onInverse: var(--base-color-neutral-0); /** Text color for use on inverse backgrounds */
|
|
1073
1067
|
--fgColor-white: var(--base-color-neutral-0); /** Pure white text */
|
|
1074
|
-
--focus-
|
|
1068
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
1075
1069
|
--header-fgColor-default: #ffffffb3;
|
|
1076
1070
|
--header-fgColor-logo: var(--base-color-neutral-0);
|
|
1077
1071
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
@@ -1181,7 +1175,8 @@
|
|
|
1181
1175
|
--diffBlob-expander-iconColor: var(--fgColor-default);
|
|
1182
1176
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
1183
1177
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
1184
|
-
--focus-outline:
|
|
1178
|
+
--focus-outline: 0.125rem solid #0349b4; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
1179
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
1185
1180
|
--progressBar-track-bgColor: var(--bgColor-default);
|
|
1186
1181
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
1187
1182
|
--shadow-floating-large: 0 0 0 1px #454c54, 0 40px 80px 0 #25292e3d; /** Large floating shadow for modals and dialogs */
|
|
@@ -1488,9 +1483,6 @@
|
|
|
1488
1483
|
--base-display-color-yellow-7: #704d00;
|
|
1489
1484
|
--base-display-color-yellow-8: #5c3d00;
|
|
1490
1485
|
--base-display-color-yellow-9: #422b00;
|
|
1491
|
-
--borderWidth-thick: 0.125rem; /** Thick 2px border for emphasis. Use for focus indicators, selected states, or to emphasize important boundaries */
|
|
1492
|
-
--borderWidth-thicker: 0.25rem; /** Extra thick 4px border for maximum emphasis. Use sparingly for high-contrast focus indicators or critical visual separators */
|
|
1493
|
-
--borderWidth-thin: 0.0625rem; /** Standard 1px border width. Use for most borders, dividers, and outlines throughout the interface */
|
|
1494
1486
|
--button-outline-bgColor-active: #033f9d;
|
|
1495
1487
|
--button-primary-bgColor-active: #03501b;
|
|
1496
1488
|
--button-primary-bgColor-disabled: #85cb97;
|
|
@@ -1506,8 +1498,6 @@
|
|
|
1506
1498
|
--fgColor-danger: #960d1e; /** Danger text for errors and destructive actions */
|
|
1507
1499
|
--fgColor-done: #5e2bb4; /** Text color for completed/done state indicators */
|
|
1508
1500
|
--fgColor-success: #04591f; /** Success text for positive feedback and completed states */
|
|
1509
|
-
--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 */
|
|
1510
|
-
--outline-focus-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
1511
1501
|
--reactionButton-selected-bgColor-hover: #c7e9ff;
|
|
1512
1502
|
--avatarStack-fade-bgColor-default: var(--base-color-neutral-7);
|
|
1513
1503
|
--avatarStack-fade-bgColor-muted: var(--base-color-neutral-5);
|
|
@@ -1554,10 +1544,9 @@
|
|
|
1554
1544
|
--borderColor-success-muted: var(--base-color-green-3); /** Subtle success border for positive feedback elements */
|
|
1555
1545
|
--borderColor-translucent: var(--base-color-neutral-9); /** Semi-transparent border for overlays and layered elements. Border-specific token — no bgColor-translucent counterpart exists by design. */
|
|
1556
1546
|
--borderColor-transparent: var(--base-color-transparent); /** Fully transparent border */
|
|
1557
|
-
--
|
|
1558
|
-
--boxShadow-
|
|
1559
|
-
--boxShadow-
|
|
1560
|
-
--boxShadow-thin: inset 0 0 0 var(--borderWidth-thin); /** Thin shadow used instead of a border to prevent layout shift */
|
|
1547
|
+
--boxShadow-thick: inset 0 0 0 0.125rem; /** Thick shadow (2px) used instead of a border for emphasis without layout shift */
|
|
1548
|
+
--boxShadow-thicker: inset 0 0 0 0.25rem; /** Thickest shadow (4px) used for high emphasis borders without layout shift. Use sparingly for maximum visual impact */
|
|
1549
|
+
--boxShadow-thin: inset 0 0 0 0.0625rem; /** Thin shadow used instead of a border to prevent layout shift */
|
|
1561
1550
|
--button-danger-bgColor-active: var(--base-color-red-6);
|
|
1562
1551
|
--button-danger-borderColor-hover: var(--base-color-red-7);
|
|
1563
1552
|
--button-danger-fgColor-disabled: #960d1e80;
|
|
@@ -2272,7 +2261,7 @@
|
|
|
2272
2261
|
--fgColor-onEmphasis: var(--base-color-neutral-0); /** Text color for use on emphasis backgrounds */
|
|
2273
2262
|
--fgColor-onInverse: var(--base-color-neutral-0); /** Text color for use on inverse backgrounds */
|
|
2274
2263
|
--fgColor-white: var(--base-color-neutral-0); /** Pure white text */
|
|
2275
|
-
--focus-
|
|
2264
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
2276
2265
|
--header-fgColor-default: #ffffffb3;
|
|
2277
2266
|
--header-fgColor-logo: var(--base-color-neutral-0);
|
|
2278
2267
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
@@ -2382,7 +2371,8 @@
|
|
|
2382
2371
|
--diffBlob-expander-iconColor: var(--fgColor-default);
|
|
2383
2372
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
2384
2373
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
2385
|
-
--focus-outline:
|
|
2374
|
+
--focus-outline: 0.125rem solid #0349b4; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
2375
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
2386
2376
|
--progressBar-track-bgColor: var(--bgColor-default);
|
|
2387
2377
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
2388
2378
|
--shadow-floating-large: 0 0 0 1px #454c54, 0 40px 80px 0 #25292e3d; /** Large floating shadow for modals and dialogs */
|
|
@@ -287,9 +287,6 @@
|
|
|
287
287
|
--base-display-color-yellow-7: #704d00;
|
|
288
288
|
--base-display-color-yellow-8: #5c3d00;
|
|
289
289
|
--base-display-color-yellow-9: #422b00;
|
|
290
|
-
--borderWidth-thick: 0.125rem; /** Thick 2px border for emphasis. Use for focus indicators, selected states, or to emphasize important boundaries */
|
|
291
|
-
--borderWidth-thicker: 0.25rem; /** Extra thick 4px border for maximum emphasis. Use sparingly for high-contrast focus indicators or critical visual separators */
|
|
292
|
-
--borderWidth-thin: 0.0625rem; /** Standard 1px border width. Use for most borders, dividers, and outlines throughout the interface */
|
|
293
290
|
--button-outline-bgColor-active: #033f9d;
|
|
294
291
|
--button-primary-bgColor-active: #075fc8;
|
|
295
292
|
--button-primary-bgColor-disabled: #92caff;
|
|
@@ -301,8 +298,6 @@
|
|
|
301
298
|
--control-checked-borderColor-active: #033f9d;
|
|
302
299
|
--control-checked-borderColor-hover: #0344a8;
|
|
303
300
|
--control-danger-bgColor-active: #8c0b1d;
|
|
304
|
-
--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 */
|
|
305
|
-
--outline-focus-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
306
301
|
--reactionButton-selected-bgColor-hover: #caecff;
|
|
307
302
|
--avatarStack-fade-bgColor-default: var(--base-color-neutral-7);
|
|
308
303
|
--avatarStack-fade-bgColor-muted: var(--base-color-neutral-5);
|
|
@@ -353,10 +348,9 @@
|
|
|
353
348
|
--borderColor-success-muted: var(--base-color-blue-3); /** Subtle success border for positive feedback elements */
|
|
354
349
|
--borderColor-translucent: var(--base-color-neutral-9); /** Semi-transparent border for overlays and layered elements. Border-specific token — no bgColor-translucent counterpart exists by design. */
|
|
355
350
|
--borderColor-transparent: var(--base-color-transparent); /** Fully transparent border */
|
|
356
|
-
--
|
|
357
|
-
--boxShadow-
|
|
358
|
-
--boxShadow-
|
|
359
|
-
--boxShadow-thin: inset 0 0 0 var(--borderWidth-thin); /** Thin shadow used instead of a border to prevent layout shift */
|
|
351
|
+
--boxShadow-thick: inset 0 0 0 0.125rem; /** Thick shadow (2px) used instead of a border for emphasis without layout shift */
|
|
352
|
+
--boxShadow-thicker: inset 0 0 0 0.25rem; /** Thickest shadow (4px) used for high emphasis borders without layout shift. Use sparingly for maximum visual impact */
|
|
353
|
+
--boxShadow-thin: inset 0 0 0 0.0625rem; /** Thin shadow used instead of a border to prevent layout shift */
|
|
360
354
|
--button-danger-bgColor-active: var(--base-color-red-6);
|
|
361
355
|
--button-danger-borderColor-hover: var(--base-color-red-7);
|
|
362
356
|
--button-danger-shadow-selected: inset 0 1px 0 0 #43001133;
|
|
@@ -1069,7 +1063,7 @@
|
|
|
1069
1063
|
--fgColor-onInverse: var(--base-color-neutral-0); /** Text color for use on inverse backgrounds */
|
|
1070
1064
|
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
1071
1065
|
--fgColor-white: var(--base-color-neutral-0); /** Pure white text */
|
|
1072
|
-
--focus-
|
|
1066
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
1073
1067
|
--header-fgColor-default: #ffffffb3;
|
|
1074
1068
|
--header-fgColor-logo: var(--base-color-neutral-0);
|
|
1075
1069
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
@@ -1183,7 +1177,8 @@
|
|
|
1183
1177
|
--diffBlob-expander-iconColor: var(--fgColor-default);
|
|
1184
1178
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-default);
|
|
1185
1179
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
1186
|
-
--focus-outline:
|
|
1180
|
+
--focus-outline: 0.125rem solid #0349b4; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
1181
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
1187
1182
|
--progressBar-track-bgColor: var(--bgColor-default);
|
|
1188
1183
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
1189
1184
|
--shadow-floating-large: 0 0 0 1px #454c54, 0 40px 80px 0 #25292e3d; /** Large floating shadow for modals and dialogs */
|
|
@@ -1488,9 +1483,6 @@
|
|
|
1488
1483
|
--base-display-color-yellow-7: #704d00;
|
|
1489
1484
|
--base-display-color-yellow-8: #5c3d00;
|
|
1490
1485
|
--base-display-color-yellow-9: #422b00;
|
|
1491
|
-
--borderWidth-thick: 0.125rem; /** Thick 2px border for emphasis. Use for focus indicators, selected states, or to emphasize important boundaries */
|
|
1492
|
-
--borderWidth-thicker: 0.25rem; /** Extra thick 4px border for maximum emphasis. Use sparingly for high-contrast focus indicators or critical visual separators */
|
|
1493
|
-
--borderWidth-thin: 0.0625rem; /** Standard 1px border width. Use for most borders, dividers, and outlines throughout the interface */
|
|
1494
1486
|
--button-outline-bgColor-active: #033f9d;
|
|
1495
1487
|
--button-primary-bgColor-active: #075fc8;
|
|
1496
1488
|
--button-primary-bgColor-disabled: #92caff;
|
|
@@ -1502,8 +1494,6 @@
|
|
|
1502
1494
|
--control-checked-borderColor-active: #033f9d;
|
|
1503
1495
|
--control-checked-borderColor-hover: #0344a8;
|
|
1504
1496
|
--control-danger-bgColor-active: #8c0b1d;
|
|
1505
|
-
--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 */
|
|
1506
|
-
--outline-focus-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
1507
1497
|
--reactionButton-selected-bgColor-hover: #caecff;
|
|
1508
1498
|
--avatarStack-fade-bgColor-default: var(--base-color-neutral-7);
|
|
1509
1499
|
--avatarStack-fade-bgColor-muted: var(--base-color-neutral-5);
|
|
@@ -1554,10 +1544,9 @@
|
|
|
1554
1544
|
--borderColor-success-muted: var(--base-color-blue-3); /** Subtle success border for positive feedback elements */
|
|
1555
1545
|
--borderColor-translucent: var(--base-color-neutral-9); /** Semi-transparent border for overlays and layered elements. Border-specific token — no bgColor-translucent counterpart exists by design. */
|
|
1556
1546
|
--borderColor-transparent: var(--base-color-transparent); /** Fully transparent border */
|
|
1557
|
-
--
|
|
1558
|
-
--boxShadow-
|
|
1559
|
-
--boxShadow-
|
|
1560
|
-
--boxShadow-thin: inset 0 0 0 var(--borderWidth-thin); /** Thin shadow used instead of a border to prevent layout shift */
|
|
1547
|
+
--boxShadow-thick: inset 0 0 0 0.125rem; /** Thick shadow (2px) used instead of a border for emphasis without layout shift */
|
|
1548
|
+
--boxShadow-thicker: inset 0 0 0 0.25rem; /** Thickest shadow (4px) used for high emphasis borders without layout shift. Use sparingly for maximum visual impact */
|
|
1549
|
+
--boxShadow-thin: inset 0 0 0 0.0625rem; /** Thin shadow used instead of a border to prevent layout shift */
|
|
1561
1550
|
--button-danger-bgColor-active: var(--base-color-red-6);
|
|
1562
1551
|
--button-danger-borderColor-hover: var(--base-color-red-7);
|
|
1563
1552
|
--button-danger-shadow-selected: inset 0 1px 0 0 #43001133;
|
|
@@ -2270,7 +2259,7 @@
|
|
|
2270
2259
|
--fgColor-onInverse: var(--base-color-neutral-0); /** Text color for use on inverse backgrounds */
|
|
2271
2260
|
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
2272
2261
|
--fgColor-white: var(--base-color-neutral-0); /** Pure white text */
|
|
2273
|
-
--focus-
|
|
2262
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
2274
2263
|
--header-fgColor-default: #ffffffb3;
|
|
2275
2264
|
--header-fgColor-logo: var(--base-color-neutral-0);
|
|
2276
2265
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
@@ -2384,7 +2373,8 @@
|
|
|
2384
2373
|
--diffBlob-expander-iconColor: var(--fgColor-default);
|
|
2385
2374
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-default);
|
|
2386
2375
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
2387
|
-
--focus-outline:
|
|
2376
|
+
--focus-outline: 0.125rem solid #0349b4; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
2377
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
2388
2378
|
--progressBar-track-bgColor: var(--bgColor-default);
|
|
2389
2379
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
2390
2380
|
--shadow-floating-large: 0 0 0 1px #454c54, 0 40px 80px 0 #25292e3d; /** Large floating shadow for modals and dialogs */
|
|
@@ -287,9 +287,6 @@
|
|
|
287
287
|
--base-display-color-yellow-7: #704d00;
|
|
288
288
|
--base-display-color-yellow-8: #5c3d00;
|
|
289
289
|
--base-display-color-yellow-9: #422b00;
|
|
290
|
-
--borderWidth-thick: 0.125rem; /** Thick 2px border for emphasis. Use for focus indicators, selected states, or to emphasize important boundaries */
|
|
291
|
-
--borderWidth-thicker: 0.25rem; /** Extra thick 4px border for maximum emphasis. Use sparingly for high-contrast focus indicators or critical visual separators */
|
|
292
|
-
--borderWidth-thin: 0.0625rem; /** Standard 1px border width. Use for most borders, dividers, and outlines throughout the interface */
|
|
293
290
|
--button-outline-bgColor-active: #0757ba;
|
|
294
291
|
--button-primary-bgColor-active: #075fc8;
|
|
295
292
|
--button-primary-bgColor-disabled: #92caff;
|
|
@@ -300,8 +297,6 @@
|
|
|
300
297
|
--control-checked-bgColor-active: #0757ba;
|
|
301
298
|
--control-checked-bgColor-hover: #0860ca;
|
|
302
299
|
--fgColor-danger: #d1242f; /** Danger text for errors and destructive actions */
|
|
303
|
-
--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 */
|
|
304
|
-
--outline-focus-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
305
300
|
--reactionButton-selected-bgColor-hover: #caecff;
|
|
306
301
|
--avatarStack-fade-bgColor-default: var(--base-color-neutral-7);
|
|
307
302
|
--avatarStack-fade-bgColor-muted: var(--base-color-neutral-5);
|
|
@@ -351,10 +346,9 @@
|
|
|
351
346
|
--borderColor-success-emphasis: var(--base-color-blue-5); /** Strong success border for prominent positive elements */
|
|
352
347
|
--borderColor-success-muted: #54aeff66; /** Subtle success border for positive feedback elements */
|
|
353
348
|
--borderColor-transparent: var(--base-color-transparent); /** Fully transparent border */
|
|
354
|
-
--
|
|
355
|
-
--boxShadow-
|
|
356
|
-
--boxShadow-
|
|
357
|
-
--boxShadow-thin: inset 0 0 0 var(--borderWidth-thin); /** Thin shadow used instead of a border to prevent layout shift */
|
|
349
|
+
--boxShadow-thick: inset 0 0 0 0.125rem; /** Thick shadow (2px) used instead of a border for emphasis without layout shift */
|
|
350
|
+
--boxShadow-thicker: inset 0 0 0 0.25rem; /** Thickest shadow (4px) used for high emphasis borders without layout shift. Use sparingly for maximum visual impact */
|
|
351
|
+
--boxShadow-thin: inset 0 0 0 0.0625rem; /** Thin shadow used instead of a border to prevent layout shift */
|
|
358
352
|
--button-danger-bgColor-active: var(--base-color-red-6);
|
|
359
353
|
--button-danger-fgColor-disabled: #d1242f80;
|
|
360
354
|
--button-danger-fgColor-rest: var(--fgColor-danger);
|
|
@@ -1087,7 +1081,7 @@
|
|
|
1087
1081
|
--fgColor-onInverse: var(--base-color-neutral-0); /** Text color for use on inverse backgrounds */
|
|
1088
1082
|
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
1089
1083
|
--fgColor-white: var(--base-color-neutral-0); /** Pure white text */
|
|
1090
|
-
--focus-
|
|
1084
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
1091
1085
|
--header-fgColor-default: #ffffffb3;
|
|
1092
1086
|
--header-fgColor-logo: var(--base-color-neutral-0);
|
|
1093
1087
|
--overlay-bgColor: var(--base-color-neutral-0);
|
|
@@ -1177,7 +1171,8 @@
|
|
|
1177
1171
|
--diffBlob-deletionWord-fgColor: var(--fgColor-default);
|
|
1178
1172
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-default);
|
|
1179
1173
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
1180
|
-
--focus-outline:
|
|
1174
|
+
--focus-outline: 0.125rem solid #0969da; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
1175
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
1181
1176
|
--overlay-borderColor: #d1d9e080;
|
|
1182
1177
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
1183
1178
|
--tooltip-fgColor: var(--fgColor-onEmphasis);
|
|
@@ -1488,9 +1483,6 @@
|
|
|
1488
1483
|
--base-display-color-yellow-7: #704d00;
|
|
1489
1484
|
--base-display-color-yellow-8: #5c3d00;
|
|
1490
1485
|
--base-display-color-yellow-9: #422b00;
|
|
1491
|
-
--borderWidth-thick: 0.125rem; /** Thick 2px border for emphasis. Use for focus indicators, selected states, or to emphasize important boundaries */
|
|
1492
|
-
--borderWidth-thicker: 0.25rem; /** Extra thick 4px border for maximum emphasis. Use sparingly for high-contrast focus indicators or critical visual separators */
|
|
1493
|
-
--borderWidth-thin: 0.0625rem; /** Standard 1px border width. Use for most borders, dividers, and outlines throughout the interface */
|
|
1494
1486
|
--button-outline-bgColor-active: #0757ba;
|
|
1495
1487
|
--button-primary-bgColor-active: #075fc8;
|
|
1496
1488
|
--button-primary-bgColor-disabled: #92caff;
|
|
@@ -1501,8 +1493,6 @@
|
|
|
1501
1493
|
--control-checked-bgColor-active: #0757ba;
|
|
1502
1494
|
--control-checked-bgColor-hover: #0860ca;
|
|
1503
1495
|
--fgColor-danger: #d1242f; /** Danger text for errors and destructive actions */
|
|
1504
|
-
--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 */
|
|
1505
|
-
--outline-focus-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
1506
1496
|
--reactionButton-selected-bgColor-hover: #caecff;
|
|
1507
1497
|
--avatarStack-fade-bgColor-default: var(--base-color-neutral-7);
|
|
1508
1498
|
--avatarStack-fade-bgColor-muted: var(--base-color-neutral-5);
|
|
@@ -1552,10 +1542,9 @@
|
|
|
1552
1542
|
--borderColor-success-emphasis: var(--base-color-blue-5); /** Strong success border for prominent positive elements */
|
|
1553
1543
|
--borderColor-success-muted: #54aeff66; /** Subtle success border for positive feedback elements */
|
|
1554
1544
|
--borderColor-transparent: var(--base-color-transparent); /** Fully transparent border */
|
|
1555
|
-
--
|
|
1556
|
-
--boxShadow-
|
|
1557
|
-
--boxShadow-
|
|
1558
|
-
--boxShadow-thin: inset 0 0 0 var(--borderWidth-thin); /** Thin shadow used instead of a border to prevent layout shift */
|
|
1545
|
+
--boxShadow-thick: inset 0 0 0 0.125rem; /** Thick shadow (2px) used instead of a border for emphasis without layout shift */
|
|
1546
|
+
--boxShadow-thicker: inset 0 0 0 0.25rem; /** Thickest shadow (4px) used for high emphasis borders without layout shift. Use sparingly for maximum visual impact */
|
|
1547
|
+
--boxShadow-thin: inset 0 0 0 0.0625rem; /** Thin shadow used instead of a border to prevent layout shift */
|
|
1559
1548
|
--button-danger-bgColor-active: var(--base-color-red-6);
|
|
1560
1549
|
--button-danger-fgColor-disabled: #d1242f80;
|
|
1561
1550
|
--button-danger-fgColor-rest: var(--fgColor-danger);
|
|
@@ -2288,7 +2277,7 @@
|
|
|
2288
2277
|
--fgColor-onInverse: var(--base-color-neutral-0); /** Text color for use on inverse backgrounds */
|
|
2289
2278
|
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
2290
2279
|
--fgColor-white: var(--base-color-neutral-0); /** Pure white text */
|
|
2291
|
-
--focus-
|
|
2280
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
2292
2281
|
--header-fgColor-default: #ffffffb3;
|
|
2293
2282
|
--header-fgColor-logo: var(--base-color-neutral-0);
|
|
2294
2283
|
--overlay-bgColor: var(--base-color-neutral-0);
|
|
@@ -2378,7 +2367,8 @@
|
|
|
2378
2367
|
--diffBlob-deletionWord-fgColor: var(--fgColor-default);
|
|
2379
2368
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-default);
|
|
2380
2369
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
2381
|
-
--focus-outline:
|
|
2370
|
+
--focus-outline: 0.125rem solid #0969da; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
2371
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
2382
2372
|
--overlay-borderColor: #d1d9e080;
|
|
2383
2373
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
2384
2374
|
--tooltip-fgColor: var(--fgColor-onEmphasis);
|