@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: #df9e11;
|
|
288
288
|
--base-display-color-yellow-8: #edb431;
|
|
289
289
|
--base-display-color-yellow-9: #f0ca6a;
|
|
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-danger-fgColor-active: #ffffff;
|
|
294
291
|
--button-danger-fgColor-hover: #ffffff;
|
|
295
292
|
--button-danger-fgColor-rest: #ea5c53;
|
|
@@ -308,8 +305,6 @@
|
|
|
308
305
|
--control-checked-borderColor-active: #3f7fdb;
|
|
309
306
|
--control-checked-borderColor-hover: #3876d3;
|
|
310
307
|
--fgColor-accent: #478be6; /** Accent text for links and interactive elements */
|
|
311
|
-
--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 */
|
|
312
|
-
--outline-focus-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
313
308
|
--reactionButton-selected-bgColor-hover: #4285e55c;
|
|
314
309
|
--avatar-shadow: 0 0 0 2px #0d1117;
|
|
315
310
|
--avatarStack-fade-bgColor-default: var(--base-color-neutral-7);
|
|
@@ -359,10 +354,9 @@
|
|
|
359
354
|
--borderColor-success-emphasis: var(--base-color-green-5); /** Strong success border for prominent positive elements */
|
|
360
355
|
--borderColor-success-muted: #46954a66; /** Subtle success border for positive feedback elements */
|
|
361
356
|
--borderColor-transparent: var(--base-color-transparent); /** Fully transparent border */
|
|
362
|
-
--
|
|
363
|
-
--boxShadow-
|
|
364
|
-
--boxShadow-
|
|
365
|
-
--boxShadow-thin: inset 0 0 0 var(--borderWidth-thin); /** Thin shadow used instead of a border to prevent layout shift */
|
|
357
|
+
--boxShadow-thick: inset 0 0 0 0.125rem; /** Thick shadow (2px) used instead of a border for emphasis without layout shift */
|
|
358
|
+
--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 */
|
|
359
|
+
--boxShadow-thin: inset 0 0 0 0.0625rem; /** Thin shadow used instead of a border to prevent layout shift */
|
|
366
360
|
--button-danger-bgColor-hover: var(--base-color-red-6);
|
|
367
361
|
--button-danger-borderColor-rest: var(--control-borderColor-rest);
|
|
368
362
|
--button-danger-iconColor-rest: var(--button-danger-fgColor-rest);
|
|
@@ -1125,7 +1119,7 @@
|
|
|
1125
1119
|
--fgColor-open: var(--fgColor-success); /** Text color for open state indicators (issues, PRs) */
|
|
1126
1120
|
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
1127
1121
|
--fgColor-white: var(--base-color-neutral-13); /** Pure white text */
|
|
1128
|
-
--focus-
|
|
1122
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
1129
1123
|
--header-fgColor-default: #cdd9e5b3;
|
|
1130
1124
|
--page-header-bgColor: var(--bgColor-default);
|
|
1131
1125
|
--progressBar-bgColor-accent: var(--bgColor-accent-emphasis);
|
|
@@ -1190,7 +1184,8 @@
|
|
|
1190
1184
|
--controlKnob-bgColor-disabled: var(--control-bgColor-disabled);
|
|
1191
1185
|
--controlKnob-borderColor-checked: var(--control-checked-bgColor-rest);
|
|
1192
1186
|
--controlKnob-borderColor-disabled: var(--control-bgColor-disabled);
|
|
1193
|
-
--focus-outline:
|
|
1187
|
+
--focus-outline: 0.125rem solid #316dca; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
1188
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
1194
1189
|
--border-draft-emphasis: 0.0625rem solid #656c76;
|
|
1195
1190
|
--button-danger-borderColor-hover: var(--button-primary-borderColor-rest);
|
|
1196
1191
|
--button-outline-borderColor-active: var(--button-outline-borderColor-hover);
|
|
@@ -1488,9 +1483,6 @@
|
|
|
1488
1483
|
--base-display-color-yellow-7: #df9e11;
|
|
1489
1484
|
--base-display-color-yellow-8: #edb431;
|
|
1490
1485
|
--base-display-color-yellow-9: #f0ca6a;
|
|
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-danger-fgColor-active: #ffffff;
|
|
1495
1487
|
--button-danger-fgColor-hover: #ffffff;
|
|
1496
1488
|
--button-danger-fgColor-rest: #ea5c53;
|
|
@@ -1509,8 +1501,6 @@
|
|
|
1509
1501
|
--control-checked-borderColor-active: #3f7fdb;
|
|
1510
1502
|
--control-checked-borderColor-hover: #3876d3;
|
|
1511
1503
|
--fgColor-accent: #478be6; /** Accent text for links and interactive elements */
|
|
1512
|
-
--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 */
|
|
1513
|
-
--outline-focus-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
1514
1504
|
--reactionButton-selected-bgColor-hover: #4285e55c;
|
|
1515
1505
|
--avatar-shadow: 0 0 0 2px #0d1117;
|
|
1516
1506
|
--avatarStack-fade-bgColor-default: var(--base-color-neutral-7);
|
|
@@ -1560,10 +1550,9 @@
|
|
|
1560
1550
|
--borderColor-success-emphasis: var(--base-color-green-5); /** Strong success border for prominent positive elements */
|
|
1561
1551
|
--borderColor-success-muted: #46954a66; /** Subtle success border for positive feedback elements */
|
|
1562
1552
|
--borderColor-transparent: var(--base-color-transparent); /** Fully transparent border */
|
|
1563
|
-
--
|
|
1564
|
-
--boxShadow-
|
|
1565
|
-
--boxShadow-
|
|
1566
|
-
--boxShadow-thin: inset 0 0 0 var(--borderWidth-thin); /** Thin shadow used instead of a border to prevent layout shift */
|
|
1553
|
+
--boxShadow-thick: inset 0 0 0 0.125rem; /** Thick shadow (2px) used instead of a border for emphasis without layout shift */
|
|
1554
|
+
--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 */
|
|
1555
|
+
--boxShadow-thin: inset 0 0 0 0.0625rem; /** Thin shadow used instead of a border to prevent layout shift */
|
|
1567
1556
|
--button-danger-bgColor-hover: var(--base-color-red-6);
|
|
1568
1557
|
--button-danger-borderColor-rest: var(--control-borderColor-rest);
|
|
1569
1558
|
--button-danger-iconColor-rest: var(--button-danger-fgColor-rest);
|
|
@@ -2326,7 +2315,7 @@
|
|
|
2326
2315
|
--fgColor-open: var(--fgColor-success); /** Text color for open state indicators (issues, PRs) */
|
|
2327
2316
|
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
2328
2317
|
--fgColor-white: var(--base-color-neutral-13); /** Pure white text */
|
|
2329
|
-
--focus-
|
|
2318
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
2330
2319
|
--header-fgColor-default: #cdd9e5b3;
|
|
2331
2320
|
--page-header-bgColor: var(--bgColor-default);
|
|
2332
2321
|
--progressBar-bgColor-accent: var(--bgColor-accent-emphasis);
|
|
@@ -2391,7 +2380,8 @@
|
|
|
2391
2380
|
--controlKnob-bgColor-disabled: var(--control-bgColor-disabled);
|
|
2392
2381
|
--controlKnob-borderColor-checked: var(--control-checked-bgColor-rest);
|
|
2393
2382
|
--controlKnob-borderColor-disabled: var(--control-bgColor-disabled);
|
|
2394
|
-
--focus-outline:
|
|
2383
|
+
--focus-outline: 0.125rem solid #316dca; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
2384
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
2395
2385
|
--border-draft-emphasis: 0.0625rem solid #656c76;
|
|
2396
2386
|
--button-danger-borderColor-hover: var(--button-primary-borderColor-rest);
|
|
2397
2387
|
--button-outline-borderColor-active: var(--button-outline-borderColor-hover);
|
|
@@ -287,9 +287,6 @@
|
|
|
287
287
|
--base-display-color-yellow-7: #df9e11;
|
|
288
288
|
--base-display-color-yellow-8: #edb431;
|
|
289
289
|
--base-display-color-yellow-9: #f0ca6a;
|
|
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-primary-bgColor-active: #109135;
|
|
294
291
|
--button-primary-bgColor-disabled: #048f2f;
|
|
295
292
|
--button-primary-bgColor-hover: #08792b;
|
|
@@ -302,8 +299,6 @@
|
|
|
302
299
|
--fgColor-done: #d3abff; /** Text color for completed/done state indicators */
|
|
303
300
|
--fgColor-sponsors: #ff90c8; /** Text color for GitHub Sponsors content */
|
|
304
301
|
--fgColor-success: #2bd853; /** Success text for positive feedback and completed states */
|
|
305
|
-
--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 */
|
|
306
|
-
--outline-focus-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
307
302
|
--reactionButton-selected-bgColor-hover: #5dadff5c;
|
|
308
303
|
--avatar-shadow: 0 0 0 2px #0d1117;
|
|
309
304
|
--avatarStack-fade-bgColor-default: var(--base-color-neutral-7);
|
|
@@ -349,10 +344,9 @@
|
|
|
349
344
|
--borderColor-success-muted: var(--base-color-green-4); /** Subtle success border for positive feedback elements */
|
|
350
345
|
--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. */
|
|
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-hover: var(--base-color-red-9);
|
|
357
351
|
--button-danger-borderColor-active: var(--base-color-red-2);
|
|
358
352
|
--button-danger-borderColor-hover: var(--base-color-red-2);
|
|
@@ -1060,7 +1054,7 @@
|
|
|
1060
1054
|
--fgColor-onEmphasis: var(--base-color-neutral-13); /** Text color for use on emphasis backgrounds */
|
|
1061
1055
|
--fgColor-onInverse: var(--base-color-neutral-0); /** Text color for use on inverse backgrounds */
|
|
1062
1056
|
--fgColor-white: var(--base-color-neutral-13); /** Pure white text */
|
|
1063
|
-
--focus-
|
|
1057
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
1064
1058
|
--header-fgColor-default: #ffffffb3;
|
|
1065
1059
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
1066
1060
|
--label-blue-borderColor: var(--label-blue-fgColor-rest);
|
|
@@ -1169,7 +1163,8 @@
|
|
|
1169
1163
|
--diffBlob-expander-iconColor: var(--fgColor-default);
|
|
1170
1164
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
1171
1165
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
1172
|
-
--focus-outline:
|
|
1166
|
+
--focus-outline: 0.125rem solid #409eff; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
1167
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
1173
1168
|
--page-header-bgColor: var(--bgColor-default);
|
|
1174
1169
|
--progressBar-track-bgColor: var(--bgColor-inverse);
|
|
1175
1170
|
--shadow-floating-large: 0 0 0 1px #b7bdc8, 0 24px 48px 0 #010409; /** Large floating shadow for modals and dialogs */
|
|
@@ -1488,9 +1483,6 @@
|
|
|
1488
1483
|
--base-display-color-yellow-7: #df9e11;
|
|
1489
1484
|
--base-display-color-yellow-8: #edb431;
|
|
1490
1485
|
--base-display-color-yellow-9: #f0ca6a;
|
|
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-primary-bgColor-active: #109135;
|
|
1495
1487
|
--button-primary-bgColor-disabled: #048f2f;
|
|
1496
1488
|
--button-primary-bgColor-hover: #08792b;
|
|
@@ -1503,8 +1495,6 @@
|
|
|
1503
1495
|
--fgColor-done: #d3abff; /** Text color for completed/done state indicators */
|
|
1504
1496
|
--fgColor-sponsors: #ff90c8; /** Text color for GitHub Sponsors content */
|
|
1505
1497
|
--fgColor-success: #2bd853; /** Success text for positive feedback and completed states */
|
|
1506
|
-
--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 */
|
|
1507
|
-
--outline-focus-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
1508
1498
|
--reactionButton-selected-bgColor-hover: #5dadff5c;
|
|
1509
1499
|
--avatar-shadow: 0 0 0 2px #0d1117;
|
|
1510
1500
|
--avatarStack-fade-bgColor-default: var(--base-color-neutral-7);
|
|
@@ -1550,10 +1540,9 @@
|
|
|
1550
1540
|
--borderColor-success-muted: var(--base-color-green-4); /** Subtle success border for positive feedback elements */
|
|
1551
1541
|
--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. */
|
|
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-hover: var(--base-color-red-9);
|
|
1558
1547
|
--button-danger-borderColor-active: var(--base-color-red-2);
|
|
1559
1548
|
--button-danger-borderColor-hover: var(--base-color-red-2);
|
|
@@ -2261,7 +2250,7 @@
|
|
|
2261
2250
|
--fgColor-onEmphasis: var(--base-color-neutral-13); /** Text color for use on emphasis backgrounds */
|
|
2262
2251
|
--fgColor-onInverse: var(--base-color-neutral-0); /** Text color for use on inverse backgrounds */
|
|
2263
2252
|
--fgColor-white: var(--base-color-neutral-13); /** Pure white text */
|
|
2264
|
-
--focus-
|
|
2253
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
2265
2254
|
--header-fgColor-default: #ffffffb3;
|
|
2266
2255
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
2267
2256
|
--label-blue-borderColor: var(--label-blue-fgColor-rest);
|
|
@@ -2370,7 +2359,8 @@
|
|
|
2370
2359
|
--diffBlob-expander-iconColor: var(--fgColor-default);
|
|
2371
2360
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
2372
2361
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
2373
|
-
--focus-outline:
|
|
2362
|
+
--focus-outline: 0.125rem solid #409eff; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
2363
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
2374
2364
|
--page-header-bgColor: var(--bgColor-default);
|
|
2375
2365
|
--progressBar-track-bgColor: var(--bgColor-inverse);
|
|
2376
2366
|
--shadow-floating-large: 0 0 0 1px #b7bdc8, 0 24px 48px 0 #010409; /** Large floating shadow for modals and dialogs */
|
|
@@ -287,9 +287,6 @@
|
|
|
287
287
|
--base-display-color-yellow-7: #df9e11;
|
|
288
288
|
--base-display-color-yellow-8: #edb431;
|
|
289
289
|
--base-display-color-yellow-9: #f0ca6a;
|
|
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: #0d419d;
|
|
294
291
|
--button-primary-bgColor-active: #3685f3;
|
|
295
292
|
--button-primary-bgColor-disabled: #5fabfe;
|
|
@@ -303,8 +300,6 @@
|
|
|
303
300
|
--fgColor-accent: #74b9ff; /** Accent text for links and interactive elements */
|
|
304
301
|
--fgColor-done: #d3abff; /** Text color for completed/done state indicators */
|
|
305
302
|
--fgColor-sponsors: #ff90c8; /** Text color for GitHub Sponsors content */
|
|
306
|
-
--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 */
|
|
307
|
-
--outline-focus-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
308
303
|
--reactionButton-selected-bgColor-hover: #3a8cfd5c;
|
|
309
304
|
--avatar-shadow: 0 0 0 2px #0d1117;
|
|
310
305
|
--avatarStack-fade-bgColor-default: var(--base-color-neutral-7);
|
|
@@ -354,10 +349,9 @@
|
|
|
354
349
|
--borderColor-success-muted: var(--base-color-blue-4); /** Subtle success border for positive feedback elements */
|
|
355
350
|
--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. */
|
|
356
351
|
--borderColor-transparent: var(--base-color-transparent); /** Fully transparent border */
|
|
357
|
-
--
|
|
358
|
-
--boxShadow-
|
|
359
|
-
--boxShadow-
|
|
360
|
-
--boxShadow-thin: inset 0 0 0 var(--borderWidth-thin); /** Thin shadow used instead of a border to prevent layout shift */
|
|
352
|
+
--boxShadow-thick: inset 0 0 0 0.125rem; /** Thick shadow (2px) used instead of a border for emphasis without layout shift */
|
|
353
|
+
--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 */
|
|
354
|
+
--boxShadow-thin: inset 0 0 0 0.0625rem; /** Thin shadow used instead of a border to prevent layout shift */
|
|
361
355
|
--button-danger-bgColor-hover: var(--base-color-red-9);
|
|
362
356
|
--button-danger-borderColor-hover: var(--base-color-red-2);
|
|
363
357
|
--button-danger-fgColor-rest: var(--base-color-red-2);
|
|
@@ -1060,7 +1054,7 @@
|
|
|
1060
1054
|
--fgColor-onEmphasis: var(--base-color-neutral-13); /** Text color for use on emphasis backgrounds */
|
|
1061
1055
|
--fgColor-onInverse: var(--base-color-neutral-0); /** Text color for use on inverse backgrounds */
|
|
1062
1056
|
--fgColor-white: var(--base-color-neutral-13); /** Pure white text */
|
|
1063
|
-
--focus-
|
|
1057
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
1064
1058
|
--header-fgColor-default: #ffffffb3;
|
|
1065
1059
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
1066
1060
|
--label-blue-borderColor: var(--label-blue-fgColor-rest);
|
|
@@ -1171,7 +1165,8 @@
|
|
|
1171
1165
|
--diffBlob-expander-iconColor: var(--fgColor-default);
|
|
1172
1166
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
1173
1167
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
1174
|
-
--focus-outline:
|
|
1168
|
+
--focus-outline: 0.125rem solid #409eff; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
1169
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
1175
1170
|
--page-header-bgColor: var(--bgColor-default);
|
|
1176
1171
|
--progressBar-track-bgColor: var(--bgColor-inverse);
|
|
1177
1172
|
--shadow-floating-large: 0 0 0 1px #b7bdc8, 0 24px 48px 0 #010409; /** Large floating shadow for modals and dialogs */
|
|
@@ -1488,9 +1483,6 @@
|
|
|
1488
1483
|
--base-display-color-yellow-7: #df9e11;
|
|
1489
1484
|
--base-display-color-yellow-8: #edb431;
|
|
1490
1485
|
--base-display-color-yellow-9: #f0ca6a;
|
|
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: #0d419d;
|
|
1495
1487
|
--button-primary-bgColor-active: #3685f3;
|
|
1496
1488
|
--button-primary-bgColor-disabled: #5fabfe;
|
|
@@ -1504,8 +1496,6 @@
|
|
|
1504
1496
|
--fgColor-accent: #74b9ff; /** Accent text for links and interactive elements */
|
|
1505
1497
|
--fgColor-done: #d3abff; /** Text color for completed/done state indicators */
|
|
1506
1498
|
--fgColor-sponsors: #ff90c8; /** Text color for GitHub Sponsors content */
|
|
1507
|
-
--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 */
|
|
1508
|
-
--outline-focus-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
1509
1499
|
--reactionButton-selected-bgColor-hover: #3a8cfd5c;
|
|
1510
1500
|
--avatar-shadow: 0 0 0 2px #0d1117;
|
|
1511
1501
|
--avatarStack-fade-bgColor-default: var(--base-color-neutral-7);
|
|
@@ -1555,10 +1545,9 @@
|
|
|
1555
1545
|
--borderColor-success-muted: var(--base-color-blue-4); /** Subtle success border for positive feedback elements */
|
|
1556
1546
|
--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. */
|
|
1557
1547
|
--borderColor-transparent: var(--base-color-transparent); /** Fully transparent border */
|
|
1558
|
-
--
|
|
1559
|
-
--boxShadow-
|
|
1560
|
-
--boxShadow-
|
|
1561
|
-
--boxShadow-thin: inset 0 0 0 var(--borderWidth-thin); /** Thin shadow used instead of a border to prevent layout shift */
|
|
1548
|
+
--boxShadow-thick: inset 0 0 0 0.125rem; /** Thick shadow (2px) used instead of a border for emphasis without layout shift */
|
|
1549
|
+
--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 */
|
|
1550
|
+
--boxShadow-thin: inset 0 0 0 0.0625rem; /** Thin shadow used instead of a border to prevent layout shift */
|
|
1562
1551
|
--button-danger-bgColor-hover: var(--base-color-red-9);
|
|
1563
1552
|
--button-danger-borderColor-hover: var(--base-color-red-2);
|
|
1564
1553
|
--button-danger-fgColor-rest: var(--base-color-red-2);
|
|
@@ -2261,7 +2250,7 @@
|
|
|
2261
2250
|
--fgColor-onEmphasis: var(--base-color-neutral-13); /** Text color for use on emphasis backgrounds */
|
|
2262
2251
|
--fgColor-onInverse: var(--base-color-neutral-0); /** Text color for use on inverse backgrounds */
|
|
2263
2252
|
--fgColor-white: var(--base-color-neutral-13); /** Pure white text */
|
|
2264
|
-
--focus-
|
|
2253
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
2265
2254
|
--header-fgColor-default: #ffffffb3;
|
|
2266
2255
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
2267
2256
|
--label-blue-borderColor: var(--label-blue-fgColor-rest);
|
|
@@ -2372,7 +2361,8 @@
|
|
|
2372
2361
|
--diffBlob-expander-iconColor: var(--fgColor-default);
|
|
2373
2362
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
2374
2363
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
2375
|
-
--focus-outline:
|
|
2364
|
+
--focus-outline: 0.125rem solid #409eff; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
2365
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
2376
2366
|
--page-header-bgColor: var(--bgColor-default);
|
|
2377
2367
|
--progressBar-track-bgColor: var(--bgColor-inverse);
|
|
2378
2368
|
--shadow-floating-large: 0 0 0 1px #b7bdc8, 0 24px 48px 0 #010409; /** Large floating shadow for modals and dialogs */
|
|
@@ -288,9 +288,6 @@
|
|
|
288
288
|
--base-display-color-yellow-8: #edb431;
|
|
289
289
|
--base-display-color-yellow-9: #f0ca6a;
|
|
290
290
|
--bgColor-sponsors-muted: #db61a21a; /** Subtle background for GitHub Sponsors content */
|
|
291
|
-
--borderWidth-thick: 0.125rem; /** Thick 2px border for emphasis. Use for focus indicators, selected states, or to emphasize important boundaries */
|
|
292
|
-
--borderWidth-thicker: 0.25rem; /** Extra thick 4px border for maximum emphasis. Use sparingly for high-contrast focus indicators or critical visual separators */
|
|
293
|
-
--borderWidth-thin: 0.0625rem; /** Standard 1px border width. Use for most borders, dividers, and outlines throughout the interface */
|
|
294
291
|
--button-danger-fgColor-rest: #fa5e55;
|
|
295
292
|
--button-outline-bgColor-active: #0d419d;
|
|
296
293
|
--button-outline-bgColor-disabled: #212830;
|
|
@@ -304,8 +301,6 @@
|
|
|
304
301
|
--control-checked-bgColor-active: #3685f3;
|
|
305
302
|
--control-checked-bgColor-hover: #2a7aef;
|
|
306
303
|
--fgColor-accent: #4493f8; /** Accent text for links and interactive elements */
|
|
307
|
-
--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 */
|
|
308
|
-
--outline-focus-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
309
304
|
--reactionButton-selected-bgColor-hover: #3a8cfd5c;
|
|
310
305
|
--avatar-shadow: 0 0 0 2px #0d1117;
|
|
311
306
|
--avatarStack-fade-bgColor-default: var(--base-color-neutral-7);
|
|
@@ -355,10 +350,9 @@
|
|
|
355
350
|
--borderColor-success-emphasis: var(--base-color-blue-5); /** Strong success border for prominent positive elements */
|
|
356
351
|
--borderColor-success-muted: #388bfd66; /** Subtle success border for positive feedback elements */
|
|
357
352
|
--borderColor-transparent: var(--base-color-transparent); /** Fully transparent border */
|
|
358
|
-
--
|
|
359
|
-
--boxShadow-
|
|
360
|
-
--boxShadow-
|
|
361
|
-
--boxShadow-thin: inset 0 0 0 var(--borderWidth-thin); /** Thin shadow used instead of a border to prevent layout shift */
|
|
353
|
+
--boxShadow-thick: inset 0 0 0 0.125rem; /** Thick shadow (2px) used instead of a border for emphasis without layout shift */
|
|
354
|
+
--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 */
|
|
355
|
+
--boxShadow-thin: inset 0 0 0 0.0625rem; /** Thin shadow used instead of a border to prevent layout shift */
|
|
362
356
|
--button-danger-bgColor-hover: var(--base-color-red-6);
|
|
363
357
|
--button-danger-iconColor-rest: var(--button-danger-fgColor-rest);
|
|
364
358
|
--button-danger-shadow-selected: 0 0 0 0 #00000000;
|
|
@@ -1101,7 +1095,7 @@
|
|
|
1101
1095
|
--fgColor-onInverse: var(--base-color-neutral-0); /** Text color for use on inverse backgrounds */
|
|
1102
1096
|
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
1103
1097
|
--fgColor-white: var(--base-color-neutral-13); /** Pure white text */
|
|
1104
|
-
--focus-
|
|
1098
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
1105
1099
|
--header-fgColor-default: #ffffffb3;
|
|
1106
1100
|
--overlay-bgColor: var(--base-color-neutral-0);
|
|
1107
1101
|
--page-header-bgColor: var(--bgColor-default);
|
|
@@ -1177,7 +1171,8 @@
|
|
|
1177
1171
|
--controlTrack-fgColor-disabled: var(--fgColor-onEmphasis);
|
|
1178
1172
|
--dashboard-bgColor: var(--bgColor-inset);
|
|
1179
1173
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
1180
|
-
--focus-outline:
|
|
1174
|
+
--focus-outline: 0.125rem solid #1f6feb; /** 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: var(--borderColor-muted);
|
|
1182
1177
|
--tooltip-fgColor: var(--fgColor-onEmphasis);
|
|
1183
1178
|
--border-draft-emphasis: 0.0625rem solid #656c76;
|
|
@@ -1489,9 +1484,6 @@
|
|
|
1489
1484
|
--base-display-color-yellow-8: #edb431;
|
|
1490
1485
|
--base-display-color-yellow-9: #f0ca6a;
|
|
1491
1486
|
--bgColor-sponsors-muted: #db61a21a; /** Subtle background for GitHub Sponsors content */
|
|
1492
|
-
--borderWidth-thick: 0.125rem; /** Thick 2px border for emphasis. Use for focus indicators, selected states, or to emphasize important boundaries */
|
|
1493
|
-
--borderWidth-thicker: 0.25rem; /** Extra thick 4px border for maximum emphasis. Use sparingly for high-contrast focus indicators or critical visual separators */
|
|
1494
|
-
--borderWidth-thin: 0.0625rem; /** Standard 1px border width. Use for most borders, dividers, and outlines throughout the interface */
|
|
1495
1487
|
--button-danger-fgColor-rest: #fa5e55;
|
|
1496
1488
|
--button-outline-bgColor-active: #0d419d;
|
|
1497
1489
|
--button-outline-bgColor-disabled: #212830;
|
|
@@ -1505,8 +1497,6 @@
|
|
|
1505
1497
|
--control-checked-bgColor-active: #3685f3;
|
|
1506
1498
|
--control-checked-bgColor-hover: #2a7aef;
|
|
1507
1499
|
--fgColor-accent: #4493f8; /** Accent text for links and interactive elements */
|
|
1508
|
-
--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 */
|
|
1509
|
-
--outline-focus-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
1510
1500
|
--reactionButton-selected-bgColor-hover: #3a8cfd5c;
|
|
1511
1501
|
--avatar-shadow: 0 0 0 2px #0d1117;
|
|
1512
1502
|
--avatarStack-fade-bgColor-default: var(--base-color-neutral-7);
|
|
@@ -1556,10 +1546,9 @@
|
|
|
1556
1546
|
--borderColor-success-emphasis: var(--base-color-blue-5); /** Strong success border for prominent positive elements */
|
|
1557
1547
|
--borderColor-success-muted: #388bfd66; /** Subtle success border for positive feedback elements */
|
|
1558
1548
|
--borderColor-transparent: var(--base-color-transparent); /** Fully transparent border */
|
|
1559
|
-
--
|
|
1560
|
-
--boxShadow-
|
|
1561
|
-
--boxShadow-
|
|
1562
|
-
--boxShadow-thin: inset 0 0 0 var(--borderWidth-thin); /** Thin shadow used instead of a border to prevent layout shift */
|
|
1549
|
+
--boxShadow-thick: inset 0 0 0 0.125rem; /** Thick shadow (2px) used instead of a border for emphasis without layout shift */
|
|
1550
|
+
--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 */
|
|
1551
|
+
--boxShadow-thin: inset 0 0 0 0.0625rem; /** Thin shadow used instead of a border to prevent layout shift */
|
|
1563
1552
|
--button-danger-bgColor-hover: var(--base-color-red-6);
|
|
1564
1553
|
--button-danger-iconColor-rest: var(--button-danger-fgColor-rest);
|
|
1565
1554
|
--button-danger-shadow-selected: 0 0 0 0 #00000000;
|
|
@@ -2302,7 +2291,7 @@
|
|
|
2302
2291
|
--fgColor-onInverse: var(--base-color-neutral-0); /** Text color for use on inverse backgrounds */
|
|
2303
2292
|
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
2304
2293
|
--fgColor-white: var(--base-color-neutral-13); /** Pure white text */
|
|
2305
|
-
--focus-
|
|
2294
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
2306
2295
|
--header-fgColor-default: #ffffffb3;
|
|
2307
2296
|
--overlay-bgColor: var(--base-color-neutral-0);
|
|
2308
2297
|
--page-header-bgColor: var(--bgColor-default);
|
|
@@ -2378,7 +2367,8 @@
|
|
|
2378
2367
|
--controlTrack-fgColor-disabled: var(--fgColor-onEmphasis);
|
|
2379
2368
|
--dashboard-bgColor: var(--bgColor-inset);
|
|
2380
2369
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
2381
|
-
--focus-outline:
|
|
2370
|
+
--focus-outline: 0.125rem solid #1f6feb; /** 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: var(--borderColor-muted);
|
|
2383
2373
|
--tooltip-fgColor: var(--fgColor-onEmphasis);
|
|
2384
2374
|
--border-draft-emphasis: 0.0625rem solid #656c76;
|
|
@@ -287,9 +287,6 @@
|
|
|
287
287
|
--base-display-color-yellow-7: #df9e11;
|
|
288
288
|
--base-display-color-yellow-8: #edb431;
|
|
289
289
|
--base-display-color-yellow-9: #f0ca6a;
|
|
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-danger-fgColor-rest: #fa5e55;
|
|
294
291
|
--button-primary-bgColor-active: #2e9a40;
|
|
295
292
|
--button-primary-bgColor-disabled: #105823;
|
|
@@ -300,8 +297,6 @@
|
|
|
300
297
|
--control-checked-bgColor-active: #3685f3;
|
|
301
298
|
--control-checked-bgColor-hover: #2a7aef;
|
|
302
299
|
--fgColor-accent: #4493f8; /** Accent text for links and interactive elements */
|
|
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: #3a8cfd5c;
|
|
306
301
|
--avatar-shadow: 0 0 0 2px #0d1117;
|
|
307
302
|
--avatarStack-fade-bgColor-default: var(--base-color-neutral-7);
|
|
@@ -348,10 +343,9 @@
|
|
|
348
343
|
--borderColor-success-emphasis: var(--base-color-green-5); /** Strong success border for prominent positive elements */
|
|
349
344
|
--borderColor-success-muted: #2ea04366; /** Subtle success border for positive feedback elements */
|
|
350
345
|
--borderColor-transparent: var(--base-color-transparent); /** Fully transparent border */
|
|
351
|
-
--
|
|
352
|
-
--boxShadow-
|
|
353
|
-
--boxShadow-
|
|
354
|
-
--boxShadow-thin: inset 0 0 0 var(--borderWidth-thin); /** Thin shadow used instead of a border to prevent layout shift */
|
|
346
|
+
--boxShadow-thick: inset 0 0 0 0.125rem; /** Thick shadow (2px) used instead of a border for emphasis without layout shift */
|
|
347
|
+
--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 */
|
|
348
|
+
--boxShadow-thin: inset 0 0 0 0.0625rem; /** Thin shadow used instead of a border to prevent layout shift */
|
|
355
349
|
--button-danger-bgColor-hover: var(--base-color-red-6);
|
|
356
350
|
--button-danger-iconColor-rest: var(--button-danger-fgColor-rest);
|
|
357
351
|
--button-danger-shadow-selected: 0 0 0 0 #00000000;
|
|
@@ -1099,7 +1093,7 @@
|
|
|
1099
1093
|
--fgColor-open: var(--fgColor-success); /** Text color for open state indicators (issues, PRs) */
|
|
1100
1094
|
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
1101
1095
|
--fgColor-white: var(--base-color-neutral-13); /** Pure white text */
|
|
1102
|
-
--focus-
|
|
1096
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
1103
1097
|
--header-fgColor-default: #ffffffb3;
|
|
1104
1098
|
--overlay-bgColor: var(--base-color-neutral-0);
|
|
1105
1099
|
--page-header-bgColor: var(--bgColor-default);
|
|
@@ -1175,7 +1169,8 @@
|
|
|
1175
1169
|
--controlTrack-fgColor-disabled: var(--fgColor-onEmphasis);
|
|
1176
1170
|
--dashboard-bgColor: var(--bgColor-inset);
|
|
1177
1171
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
1178
|
-
--focus-outline:
|
|
1172
|
+
--focus-outline: 0.125rem solid #1f6feb; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
1173
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
1179
1174
|
--overlay-borderColor: var(--borderColor-muted);
|
|
1180
1175
|
--tooltip-fgColor: var(--fgColor-onEmphasis);
|
|
1181
1176
|
--border-draft-emphasis: 0.0625rem solid #656c76;
|
|
@@ -1488,9 +1483,6 @@
|
|
|
1488
1483
|
--base-display-color-yellow-7: #df9e11;
|
|
1489
1484
|
--base-display-color-yellow-8: #edb431;
|
|
1490
1485
|
--base-display-color-yellow-9: #f0ca6a;
|
|
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-danger-fgColor-rest: #fa5e55;
|
|
1495
1487
|
--button-primary-bgColor-active: #2e9a40;
|
|
1496
1488
|
--button-primary-bgColor-disabled: #105823;
|
|
@@ -1501,8 +1493,6 @@
|
|
|
1501
1493
|
--control-checked-bgColor-active: #3685f3;
|
|
1502
1494
|
--control-checked-bgColor-hover: #2a7aef;
|
|
1503
1495
|
--fgColor-accent: #4493f8; /** Accent text for links and interactive elements */
|
|
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: #3a8cfd5c;
|
|
1507
1497
|
--avatar-shadow: 0 0 0 2px #0d1117;
|
|
1508
1498
|
--avatarStack-fade-bgColor-default: var(--base-color-neutral-7);
|
|
@@ -1549,10 +1539,9 @@
|
|
|
1549
1539
|
--borderColor-success-emphasis: var(--base-color-green-5); /** Strong success border for prominent positive elements */
|
|
1550
1540
|
--borderColor-success-muted: #2ea04366; /** Subtle success border for positive feedback elements */
|
|
1551
1541
|
--borderColor-transparent: var(--base-color-transparent); /** Fully transparent border */
|
|
1552
|
-
--
|
|
1553
|
-
--boxShadow-
|
|
1554
|
-
--boxShadow-
|
|
1555
|
-
--boxShadow-thin: inset 0 0 0 var(--borderWidth-thin); /** Thin shadow used instead of a border to prevent layout shift */
|
|
1542
|
+
--boxShadow-thick: inset 0 0 0 0.125rem; /** Thick shadow (2px) used instead of a border for emphasis without layout shift */
|
|
1543
|
+
--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 */
|
|
1544
|
+
--boxShadow-thin: inset 0 0 0 0.0625rem; /** Thin shadow used instead of a border to prevent layout shift */
|
|
1556
1545
|
--button-danger-bgColor-hover: var(--base-color-red-6);
|
|
1557
1546
|
--button-danger-iconColor-rest: var(--button-danger-fgColor-rest);
|
|
1558
1547
|
--button-danger-shadow-selected: 0 0 0 0 #00000000;
|
|
@@ -2300,7 +2289,7 @@
|
|
|
2300
2289
|
--fgColor-open: var(--fgColor-success); /** Text color for open state indicators (issues, PRs) */
|
|
2301
2290
|
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
2302
2291
|
--fgColor-white: var(--base-color-neutral-13); /** Pure white text */
|
|
2303
|
-
--focus-
|
|
2292
|
+
--focus-outline-color: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
2304
2293
|
--header-fgColor-default: #ffffffb3;
|
|
2305
2294
|
--overlay-bgColor: var(--base-color-neutral-0);
|
|
2306
2295
|
--page-header-bgColor: var(--bgColor-default);
|
|
@@ -2376,7 +2365,8 @@
|
|
|
2376
2365
|
--controlTrack-fgColor-disabled: var(--fgColor-onEmphasis);
|
|
2377
2366
|
--dashboard-bgColor: var(--bgColor-inset);
|
|
2378
2367
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
2379
|
-
--focus-outline:
|
|
2368
|
+
--focus-outline: 0.125rem solid #1f6feb; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
2369
|
+
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
2380
2370
|
--overlay-borderColor: var(--borderColor-muted);
|
|
2381
2371
|
--tooltip-fgColor: var(--fgColor-onEmphasis);
|
|
2382
2372
|
--border-draft-emphasis: 0.0625rem solid #656c76;
|