@primer/primitives 11.4.0-rc.f798df25 → 11.4.1-rc.4e2d1de5
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_GUIDE.md +185 -0
- package/DESIGN_TOKENS_SPEC.md +565 -0
- package/dist/build/filters/hasLlmExtensions.d.ts +7 -0
- package/dist/build/filters/hasLlmExtensions.js +11 -0
- package/dist/build/filters/index.d.ts +1 -0
- package/dist/build/filters/index.js +1 -0
- package/dist/build/formats/index.d.ts +1 -0
- package/dist/build/formats/index.js +1 -0
- package/dist/build/formats/markdownLlmGuidelines.d.ts +11 -0
- package/dist/build/formats/markdownLlmGuidelines.js +1168 -0
- package/dist/build/platforms/index.d.ts +1 -0
- package/dist/build/platforms/index.js +1 -0
- package/dist/build/platforms/llmGuidelines.d.ts +2 -0
- package/dist/build/platforms/llmGuidelines.js +17 -0
- package/dist/build/preprocessors/inheritGroupProperties.d.ts +7 -0
- package/dist/build/preprocessors/inheritGroupProperties.js +70 -0
- package/dist/build/primerStyleDictionary.js +7 -1
- package/dist/build/schemas/borderToken.d.ts +22 -2
- package/dist/build/schemas/borderToken.js +6 -0
- package/dist/build/schemas/colorToken.d.ts +4 -0
- package/dist/build/schemas/colorToken.js +2 -0
- package/dist/build/schemas/cubicBezierToken.d.ts +6 -0
- package/dist/build/schemas/cubicBezierToken.js +10 -2
- package/dist/build/schemas/designToken.d.ts +1 -1
- package/dist/build/schemas/designToken.js +113 -21
- package/dist/build/schemas/dimensionToken.d.ts +14 -3
- package/dist/build/schemas/dimensionToken.js +6 -2
- package/dist/build/schemas/dimensionValue.d.ts +24 -1
- package/dist/build/schemas/dimensionValue.js +20 -1
- package/dist/build/schemas/durationToken.d.ts +13 -1
- package/dist/build/schemas/durationToken.js +6 -0
- package/dist/build/schemas/durationValue.d.ts +11 -1
- package/dist/build/schemas/durationValue.js +13 -3
- package/dist/build/schemas/fontFamilyToken.d.ts +4 -0
- package/dist/build/schemas/fontFamilyToken.js +2 -0
- package/dist/build/schemas/fontWeightToken.d.ts +4 -0
- package/dist/build/schemas/fontWeightToken.js +2 -0
- package/dist/build/schemas/gradientToken.d.ts +4 -0
- package/dist/build/schemas/gradientToken.js +2 -0
- package/dist/build/schemas/llmExtension.d.ts +9 -0
- package/dist/build/schemas/llmExtension.js +11 -0
- package/dist/build/schemas/numberToken.d.ts +4 -0
- package/dist/build/schemas/numberToken.js +2 -0
- package/dist/build/schemas/shadowToken.d.ts +676 -84
- package/dist/build/schemas/shadowToken.js +2 -0
- package/dist/build/schemas/stringToken.d.ts +6 -0
- package/dist/build/schemas/stringToken.js +6 -0
- package/dist/build/schemas/transitionToken.d.ts +20 -2
- package/dist/build/schemas/transitionToken.js +6 -0
- package/dist/build/schemas/typographyToken.d.ts +38 -4
- package/dist/build/schemas/typographyToken.js +6 -0
- package/dist/build/schemas/validTokenType.d.ts +5 -1
- package/dist/build/schemas/validTokenType.js +71 -17
- package/dist/build/schemas/viewportRangeToken.d.ts +6 -0
- package/dist/build/schemas/viewportRangeToken.js +6 -0
- package/dist/build/transformers/dimensionToPixelUnitless.d.ts +3 -2
- package/dist/build/transformers/dimensionToPixelUnitless.js +22 -26
- package/dist/build/transformers/dimensionToRem.d.ts +2 -1
- package/dist/build/transformers/dimensionToRem.js +21 -22
- package/dist/build/transformers/dimensionToRemPxArray.d.ts +2 -1
- package/dist/build/transformers/dimensionToRemPxArray.js +21 -22
- package/dist/build/transformers/durationToCss.d.ts +2 -1
- package/dist/build/transformers/durationToCss.js +18 -11
- package/dist/build/transformers/utilities/parseDimension.d.ts +12 -0
- package/dist/build/transformers/utilities/parseDimension.js +31 -0
- package/dist/build/types/dimensionTokenValue.d.ts +9 -0
- package/dist/css/base/motion/motion.css +5 -4
- package/dist/css/functional/size/border.css +9 -14
- package/dist/css/functional/size/radius.css +7 -0
- package/dist/css/functional/size/size-coarse.css +3 -3
- package/dist/css/functional/size/size-fine.css +3 -3
- package/dist/css/functional/size/viewport.css +1 -1
- package/dist/css/functional/themes/dark-colorblind-high-contrast.css +194 -190
- package/dist/css/functional/themes/dark-colorblind.css +194 -190
- package/dist/css/functional/themes/dark-dimmed-high-contrast.css +194 -190
- package/dist/css/functional/themes/dark-dimmed.css +194 -190
- package/dist/css/functional/themes/dark-high-contrast.css +194 -190
- package/dist/css/functional/themes/dark-tritanopia-high-contrast.css +194 -190
- package/dist/css/functional/themes/dark-tritanopia.css +194 -190
- package/dist/css/functional/themes/dark.css +194 -190
- package/dist/css/functional/themes/light-colorblind-high-contrast.css +194 -190
- package/dist/css/functional/themes/light-colorblind.css +194 -190
- package/dist/css/functional/themes/light-high-contrast.css +194 -190
- package/dist/css/functional/themes/light-tritanopia-high-contrast.css +194 -190
- package/dist/css/functional/themes/light-tritanopia.css +194 -190
- package/dist/css/functional/themes/light.css +194 -190
- package/dist/css/functional/typography/typography.css +4 -4
- package/dist/css/primitives.css +5 -0
- package/dist/docs/base/motion/motion.json +181 -32
- package/dist/docs/base/size/size.json +76 -19
- package/dist/docs/base/typography/typography.json +24 -6
- package/dist/docs/functional/size/border.json +62 -182
- package/dist/docs/functional/size/breakpoints.json +24 -6
- package/dist/docs/functional/size/radius.json +221 -0
- package/dist/docs/functional/size/size-coarse.json +45 -3
- package/dist/docs/functional/size/size-fine.json +45 -3
- package/dist/docs/functional/size/size.json +60 -15
- package/dist/docs/functional/size/viewport.json +2 -2
- package/dist/docs/functional/themes/dark-colorblind-high-contrast.json +1043 -97
- package/dist/docs/functional/themes/dark-colorblind.json +1043 -97
- package/dist/docs/functional/themes/dark-dimmed-high-contrast.json +1043 -97
- package/dist/docs/functional/themes/dark-dimmed.json +1081 -135
- package/dist/docs/functional/themes/dark-high-contrast.json +1043 -97
- package/dist/docs/functional/themes/dark-tritanopia-high-contrast.json +1043 -97
- package/dist/docs/functional/themes/dark-tritanopia.json +1043 -97
- package/dist/docs/functional/themes/dark.json +1043 -97
- package/dist/docs/functional/themes/light-colorblind-high-contrast.json +1049 -103
- package/dist/docs/functional/themes/light-colorblind.json +1049 -103
- package/dist/docs/functional/themes/light-high-contrast.json +1049 -103
- package/dist/docs/functional/themes/light-tritanopia-high-contrast.json +1049 -103
- package/dist/docs/functional/themes/light-tritanopia.json +1049 -103
- package/dist/docs/functional/themes/light.json +1049 -103
- package/dist/docs/functional/typography/typography.json +180 -10
- package/dist/fallbacks/base/motion/motion.json +49 -12
- package/dist/fallbacks/functional/size/border.json +0 -5
- package/dist/fallbacks/functional/size/radius.json +7 -0
- package/dist/fallbacks/functional/size/viewport.json +1 -1
- package/dist/figma/dimension/dimension.json +30 -20
- package/dist/figma/themes/dark-colorblind.json +85 -0
- package/dist/figma/themes/dark-dimmed.json +134 -49
- package/dist/figma/themes/dark-high-contrast.json +85 -0
- package/dist/figma/themes/dark-tritanopia.json +85 -0
- package/dist/figma/themes/dark.json +85 -0
- package/dist/figma/themes/light-colorblind.json +89 -4
- package/dist/figma/themes/light-high-contrast.json +89 -4
- package/dist/figma/themes/light-tritanopia.json +89 -4
- package/dist/figma/themes/light.json +89 -4
- package/dist/figma/typography/typography.json +44 -40
- package/dist/internalCss/dark-colorblind-high-contrast.css +208 -218
- package/dist/internalCss/dark-colorblind.css +208 -218
- package/dist/internalCss/dark-dimmed-high-contrast.css +208 -218
- package/dist/internalCss/dark-dimmed.css +208 -218
- package/dist/internalCss/dark-high-contrast.css +208 -218
- package/dist/internalCss/dark-tritanopia-high-contrast.css +208 -218
- package/dist/internalCss/dark-tritanopia.css +208 -218
- package/dist/internalCss/dark.css +208 -218
- package/dist/internalCss/light-colorblind-high-contrast.css +208 -218
- package/dist/internalCss/light-colorblind.css +208 -218
- package/dist/internalCss/light-high-contrast.css +208 -218
- package/dist/internalCss/light-tritanopia-high-contrast.css +208 -218
- package/dist/internalCss/light-tritanopia.css +208 -218
- package/dist/internalCss/light.css +208 -218
- package/dist/styleLint/base/motion/motion.json +181 -32
- package/dist/styleLint/base/size/size.json +76 -19
- package/dist/styleLint/base/typography/typography.json +30 -12
- package/dist/styleLint/functional/size/border.json +55 -175
- package/dist/styleLint/functional/size/breakpoints.json +24 -6
- package/dist/styleLint/functional/size/radius.json +221 -0
- package/dist/styleLint/functional/size/size-coarse.json +45 -3
- package/dist/styleLint/functional/size/size-fine.json +45 -3
- package/dist/styleLint/functional/size/size.json +111 -66
- package/dist/styleLint/functional/size/viewport.json +2 -2
- package/dist/styleLint/functional/themes/dark-colorblind-high-contrast.json +975 -29
- package/dist/styleLint/functional/themes/dark-colorblind.json +975 -29
- package/dist/styleLint/functional/themes/dark-dimmed-high-contrast.json +975 -29
- package/dist/styleLint/functional/themes/dark-dimmed.json +1013 -67
- package/dist/styleLint/functional/themes/dark-high-contrast.json +975 -29
- package/dist/styleLint/functional/themes/dark-tritanopia-high-contrast.json +975 -29
- package/dist/styleLint/functional/themes/dark-tritanopia.json +975 -29
- package/dist/styleLint/functional/themes/dark.json +975 -29
- package/dist/styleLint/functional/themes/light-colorblind-high-contrast.json +981 -35
- package/dist/styleLint/functional/themes/light-colorblind.json +981 -35
- package/dist/styleLint/functional/themes/light-high-contrast.json +981 -35
- package/dist/styleLint/functional/themes/light-tritanopia-high-contrast.json +981 -35
- package/dist/styleLint/functional/themes/light-tritanopia.json +981 -35
- package/dist/styleLint/functional/themes/light.json +981 -35
- package/dist/styleLint/functional/typography/typography.json +196 -26
- package/package.json +6 -3
- package/src/tokens/base/motion/easing.json5 +39 -4
- package/src/tokens/base/motion/timing.json5 +12 -12
- package/src/tokens/base/size/size.json5 +19 -19
- package/src/tokens/base/typography/typography.json5 +6 -6
- package/src/tokens/functional/border/border.json5 +25 -0
- package/src/tokens/functional/color/bgColor.json5 +165 -0
- package/src/tokens/functional/color/borderColor.json5 +146 -0
- package/src/tokens/functional/color/control.json5 +24 -0
- package/src/tokens/functional/color/data-vis.json5 +7 -0
- package/src/tokens/functional/color/display.json5 +7 -0
- package/src/tokens/functional/color/fgColor.json5 +101 -1
- package/src/tokens/functional/color/focus.json5 +5 -0
- package/src/tokens/functional/color/selection.json5 +5 -0
- package/src/tokens/functional/color/syntax.json5 +14 -0
- package/src/tokens/functional/shadow/shadow.json5 +49 -4
- package/src/tokens/functional/size/border.json5 +22 -74
- package/src/tokens/functional/size/breakpoints.json5 +6 -6
- package/src/tokens/functional/size/radius.json5 +90 -0
- package/src/tokens/functional/size/size-coarse.json5 +24 -3
- package/src/tokens/functional/size/size-fine.json5 +45 -24
- package/src/tokens/functional/size/size.json5 +50 -15
- package/src/tokens/functional/size/viewport.json5 +1 -1
- package/src/tokens/functional/typography/font-stack.json5 +60 -0
- package/src/tokens/functional/typography/typography.json5 +71 -44
- package/dist/build/parsers/index.d.ts +0 -1
- package/dist/build/parsers/index.js +0 -1
- package/dist/build/parsers/w3cJsonParser.d.ts +0 -6
- package/dist/build/parsers/w3cJsonParser.js +0 -25
- package/dist/removed/testing.json5 +0 -4
- package/src/tokens/removed/testing.json5 +0 -4
|
@@ -287,13 +287,9 @@
|
|
|
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
|
-
--
|
|
291
|
-
--
|
|
292
|
-
--
|
|
293
|
-
--borderRadius-small: 0.1875rem;
|
|
294
|
-
--borderWidth-thick: 0.125rem;
|
|
295
|
-
--borderWidth-thicker: 0.25rem;
|
|
296
|
-
--borderWidth-thin: 0.0625rem;
|
|
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 */
|
|
297
293
|
--button-primary-bgColor-active: #109135;
|
|
298
294
|
--button-primary-bgColor-disabled: #048f2f;
|
|
299
295
|
--button-primary-bgColor-hover: #08792b;
|
|
@@ -302,12 +298,12 @@
|
|
|
302
298
|
--control-checked-bgColor-active: #3c79d0;
|
|
303
299
|
--control-checked-bgColor-hover: #2b64c1;
|
|
304
300
|
--control-danger-bgColor-active: #c51120;
|
|
305
|
-
--fgColor-accent: #74b9ff;
|
|
306
|
-
--fgColor-done: #d3abff;
|
|
307
|
-
--fgColor-sponsors: #ff90c8;
|
|
308
|
-
--fgColor-success: #2bd853;
|
|
309
|
-
--outline-focus-offset: -0.125rem;
|
|
310
|
-
--outline-focus-width: 0.125rem;
|
|
301
|
+
--fgColor-accent: #74b9ff; /** Accent text for links and interactive elements */
|
|
302
|
+
--fgColor-done: #d3abff; /** Text color for completed/done state indicators */
|
|
303
|
+
--fgColor-sponsors: #ff90c8; /** Text color for GitHub Sponsors content */
|
|
304
|
+
--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 */
|
|
311
307
|
--reactionButton-selected-bgColor-hover: #5dadff5c;
|
|
312
308
|
--avatar-shadow: 0px 0px 0px 2px #0d1117;
|
|
313
309
|
--avatarStack-fade-bgColor-default: var(--base-color-neutral-7);
|
|
@@ -315,49 +311,48 @@
|
|
|
315
311
|
--base-color-inset: var(--base-color-black);
|
|
316
312
|
--base-color-neutral-0: var(--base-color-black);
|
|
317
313
|
--base-color-neutral-13: var(--base-color-white);
|
|
318
|
-
--bgColor-accent-emphasis: var(--base-color-blue-9);
|
|
319
|
-
--bgColor-accent-muted: #5cacff1a;
|
|
320
|
-
--bgColor-attention-emphasis: var(--base-color-yellow-9);
|
|
321
|
-
--bgColor-attention-muted: #edaa2726;
|
|
322
|
-
--bgColor-danger-emphasis: var(--base-color-red-9);
|
|
323
|
-
--bgColor-danger-muted: #ff80801a;
|
|
324
|
-
--bgColor-disabled: var(--base-color-neutral-4);
|
|
325
|
-
--bgColor-done-emphasis: var(--base-color-purple-9);
|
|
326
|
-
--bgColor-done-muted: #bf8fff26;
|
|
327
|
-
--bgColor-emphasis: var(--base-color-neutral-7);
|
|
328
|
-
--bgColor-muted: var(--base-color-neutral-2);
|
|
329
|
-
--bgColor-neutral-emphasis: var(--base-color-neutral-7);
|
|
330
|
-
--bgColor-neutral-muted: var(--base-color-neutral-3);
|
|
331
|
-
--bgColor-severe-emphasis: var(--base-color-orange-9);
|
|
332
|
-
--bgColor-severe-muted: #f48b251a;
|
|
333
|
-
--bgColor-sponsors-emphasis: var(--base-color-pink-9);
|
|
334
|
-
--bgColor-sponsors-muted: #f87cbd1a;
|
|
335
|
-
--bgColor-success-emphasis: var(--base-color-green-9);
|
|
336
|
-
--bgColor-success-muted: #0ac74026;
|
|
337
|
-
--bgColor-transparent: var(--base-color-transparent);
|
|
338
|
-
--borderColor-accent-emphasis: var(--base-color-blue-5);
|
|
339
|
-
--borderColor-accent-muted: var(--base-color-blue-4);
|
|
340
|
-
--borderColor-attention-emphasis: var(--base-color-yellow-5);
|
|
341
|
-
--borderColor-attention-muted: var(--base-color-yellow-4);
|
|
342
|
-
--borderColor-danger-emphasis: var(--base-color-red-5);
|
|
343
|
-
--borderColor-danger-muted: var(--base-color-red-4);
|
|
344
|
-
--borderColor-default: var(--base-color-neutral-10);
|
|
345
|
-
--borderColor-disabled: #656c761a;
|
|
346
|
-
--borderColor-done-emphasis: var(--base-color-purple-5);
|
|
347
|
-
--borderColor-done-muted: var(--base-color-purple-4);
|
|
348
|
-
--borderColor-severe-emphasis: var(--base-color-orange-5);
|
|
349
|
-
--borderColor-severe-muted: var(--base-color-orange-4);
|
|
350
|
-
--borderColor-sponsors-emphasis: var(--base-color-pink-5);
|
|
351
|
-
--borderColor-sponsors-muted: var(--base-color-pink-4);
|
|
352
|
-
--borderColor-success-emphasis: var(--base-color-green-5);
|
|
353
|
-
--borderColor-success-muted: var(--base-color-green-4);
|
|
354
|
-
--borderColor-translucent: var(--base-color-neutral-9);
|
|
355
|
-
--borderColor-transparent: var(--base-color-transparent);
|
|
356
|
-
--
|
|
357
|
-
--
|
|
358
|
-
--boxShadow-
|
|
359
|
-
--boxShadow-
|
|
360
|
-
--boxShadow-thin: inset 0 0 0 var(--borderWidth-thin); /** Thin shadow for borders */
|
|
314
|
+
--bgColor-accent-emphasis: var(--base-color-blue-9); /** Strong accent background for active states and focused states */
|
|
315
|
+
--bgColor-accent-muted: #5cacff1a; /** Subtle accent background for informational or selected elements */
|
|
316
|
+
--bgColor-attention-emphasis: var(--base-color-yellow-9); /** Strong attention background for prominent warnings */
|
|
317
|
+
--bgColor-attention-muted: #edaa2726; /** Subtle attention background for warnings and caution states */
|
|
318
|
+
--bgColor-danger-emphasis: var(--base-color-red-9); /** Emphasized danger background for critical errors and delete confirmations */
|
|
319
|
+
--bgColor-danger-muted: #ff80801a; /** Muted danger background for error states and destructive action contexts */
|
|
320
|
+
--bgColor-disabled: var(--base-color-neutral-4); /** Background for disabled interactive elements */
|
|
321
|
+
--bgColor-done-emphasis: var(--base-color-purple-9); /** Strong background for completed/done state badges and labels */
|
|
322
|
+
--bgColor-done-muted: #bf8fff26; /** Subtle background for completed/done state indicators */
|
|
323
|
+
--bgColor-emphasis: var(--base-color-neutral-7); /** High-emphasis dark background for strong visual contrast */
|
|
324
|
+
--bgColor-muted: var(--base-color-neutral-2); /** Muted background for secondary content areas and subtle grouping */
|
|
325
|
+
--bgColor-neutral-emphasis: var(--base-color-neutral-7); /** Strong neutral background for prominent neutral elements */
|
|
326
|
+
--bgColor-neutral-muted: var(--base-color-neutral-3); /** Subtle neutral background for tags, labels, and secondary UI elements */
|
|
327
|
+
--bgColor-severe-emphasis: var(--base-color-orange-9); /** Strong severe background for prominent high-priority warnings */
|
|
328
|
+
--bgColor-severe-muted: #f48b251a; /** Subtle severe background for high-priority warnings */
|
|
329
|
+
--bgColor-sponsors-emphasis: var(--base-color-pink-9); /** Strong background for prominent GitHub Sponsors elements */
|
|
330
|
+
--bgColor-sponsors-muted: #f87cbd1a; /** Subtle background for GitHub Sponsors content */
|
|
331
|
+
--bgColor-success-emphasis: var(--base-color-green-9); /** Strong success background for prominent positive actions */
|
|
332
|
+
--bgColor-success-muted: #0ac74026; /** Subtle success background for positive feedback and completed states */
|
|
333
|
+
--bgColor-transparent: var(--base-color-transparent); /** Fully transparent background */
|
|
334
|
+
--borderColor-accent-emphasis: var(--base-color-blue-5); /** Strong accent border for selected or focused elements */
|
|
335
|
+
--borderColor-accent-muted: var(--base-color-blue-4); /** Subtle accent border for selected or focused elements */
|
|
336
|
+
--borderColor-attention-emphasis: var(--base-color-yellow-5); /** Strong attention border for prominent warnings */
|
|
337
|
+
--borderColor-attention-muted: var(--base-color-yellow-4); /** Subtle attention border for warnings and caution states */
|
|
338
|
+
--borderColor-danger-emphasis: var(--base-color-red-5); /** Strong danger border for destructive actions and errors */
|
|
339
|
+
--borderColor-danger-muted: var(--base-color-red-4); /** Subtle danger border for errors and destructive contexts */
|
|
340
|
+
--borderColor-default: var(--base-color-neutral-10); /** Default border color for most UI elements */
|
|
341
|
+
--borderColor-disabled: #656c761a; /** Border color for disabled interactive elements */
|
|
342
|
+
--borderColor-done-emphasis: var(--base-color-purple-5); /** Strong border for completed/done state badges */
|
|
343
|
+
--borderColor-done-muted: var(--base-color-purple-4); /** Subtle border for completed/done state indicators */
|
|
344
|
+
--borderColor-severe-emphasis: var(--base-color-orange-5); /** Strong severe border for prominent high-priority warnings */
|
|
345
|
+
--borderColor-severe-muted: var(--base-color-orange-4); /** Subtle severe border for high-priority warnings */
|
|
346
|
+
--borderColor-sponsors-emphasis: var(--base-color-pink-5); /** Strong border for prominent GitHub Sponsors elements */
|
|
347
|
+
--borderColor-sponsors-muted: var(--base-color-pink-4); /** Subtle border for GitHub Sponsors content */
|
|
348
|
+
--borderColor-success-emphasis: var(--base-color-green-5); /** Strong success border for prominent positive elements */
|
|
349
|
+
--borderColor-success-muted: var(--base-color-green-4); /** Subtle success border for positive feedback elements */
|
|
350
|
+
--borderColor-translucent: var(--base-color-neutral-9); /** Semi-transparent border for overlays and layered elements */
|
|
351
|
+
--borderColor-transparent: var(--base-color-transparent); /** Fully transparent border */
|
|
352
|
+
--borderWidth-default: var(--borderWidth-thin); /** Default border width for most UI elements. Alias of borderWidth.thin (1px) */
|
|
353
|
+
--boxShadow-thick: inset 0 0 0 var(--borderWidth-thick); /** Thick shadow (2px) used instead of a border for emphasis without layout shift */
|
|
354
|
+
--boxShadow-thicker: inset 0 0 0 var(--borderWidth-thicker); /** Thickest shadow (4px) used for high emphasis borders without layout shift. Use sparingly for maximum visual impact */
|
|
355
|
+
--boxShadow-thin: inset 0 0 0 var(--borderWidth-thin); /** Thin shadow used instead of a border to prevent layout shift */
|
|
361
356
|
--button-danger-bgColor-hover: var(--base-color-red-9);
|
|
362
357
|
--button-danger-borderColor-active: var(--base-color-red-2);
|
|
363
358
|
--button-danger-borderColor-hover: var(--base-color-red-2);
|
|
@@ -795,15 +790,15 @@
|
|
|
795
790
|
--display-yellow-scale-7: var(--base-display-color-yellow-7);
|
|
796
791
|
--display-yellow-scale-8: var(--base-display-color-yellow-8);
|
|
797
792
|
--display-yellow-scale-9: var(--base-display-color-yellow-9);
|
|
798
|
-
--fgColor-attention: var(--base-color-yellow-3);
|
|
799
|
-
--fgColor-danger: var(--base-color-red-3);
|
|
800
|
-
--fgColor-disabled: var(--base-color-neutral-8);
|
|
801
|
-
--fgColor-link: var(--fgColor-accent);
|
|
802
|
-
--fgColor-muted: var(--base-color-neutral-10);
|
|
803
|
-
--fgColor-neutral: var(--base-color-neutral-11);
|
|
804
|
-
--fgColor-open: var(--fgColor-success);
|
|
805
|
-
--fgColor-severe: var(--base-color-orange-3);
|
|
806
|
-
--fgColor-upsell: var(--fgColor-done);
|
|
793
|
+
--fgColor-attention: var(--base-color-yellow-3); /** Attention text for warnings and caution states */
|
|
794
|
+
--fgColor-danger: var(--base-color-red-3); /** Danger text for errors and destructive actions */
|
|
795
|
+
--fgColor-disabled: var(--base-color-neutral-8); /** Text color for disabled interactive elements */
|
|
796
|
+
--fgColor-link: var(--fgColor-accent); /** Text color for hyperlinks */
|
|
797
|
+
--fgColor-muted: var(--base-color-neutral-10); /** Muted text for secondary content and less important information */
|
|
798
|
+
--fgColor-neutral: var(--base-color-neutral-11); /** Neutral semantic text for icons and secondary elements */
|
|
799
|
+
--fgColor-open: var(--fgColor-success); /** Text color for open state indicators (issues, PRs) */
|
|
800
|
+
--fgColor-severe: var(--base-color-orange-3); /** Severe text for high-priority warnings */
|
|
801
|
+
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
807
802
|
--header-bgColor: #151b23f2;
|
|
808
803
|
--header-borderColor-divider: var(--base-color-neutral-8);
|
|
809
804
|
--header-fgColor-logo: var(--base-color-neutral-12);
|
|
@@ -935,19 +930,19 @@
|
|
|
935
930
|
--timelineBadge-bgColor: var(--base-color-neutral-3);
|
|
936
931
|
--underlineNav-borderColor-active: var(--base-color-coral-3);
|
|
937
932
|
--avatar-bgColor: #ffffff1a;
|
|
938
|
-
--bgColor-black: var(--base-color-neutral-0);
|
|
939
|
-
--bgColor-closed-emphasis: var(--bgColor-danger-emphasis);
|
|
940
|
-
--bgColor-closed-muted: var(--bgColor-danger-muted);
|
|
941
|
-
--bgColor-default: var(--base-color-neutral-0);
|
|
942
|
-
--bgColor-draft-emphasis: var(--bgColor-neutral-emphasis);
|
|
943
|
-
--bgColor-draft-muted: var(--bgColor-neutral-muted);
|
|
944
|
-
--bgColor-inset: var(--base-color-neutral-0);
|
|
945
|
-
--bgColor-inverse: var(--base-color-neutral-13);
|
|
946
|
-
--bgColor-open-emphasis: var(--bgColor-success-emphasis);
|
|
947
|
-
--bgColor-open-muted: var(--bgColor-success-muted);
|
|
948
|
-
--bgColor-upsell-emphasis: var(--bgColor-done-emphasis);
|
|
949
|
-
--bgColor-upsell-muted: var(--bgColor-done-muted);
|
|
950
|
-
--bgColor-white: var(--base-color-neutral-13);
|
|
933
|
+
--bgColor-black: var(--base-color-neutral-0); /** Pure black background */
|
|
934
|
+
--bgColor-closed-emphasis: var(--bgColor-danger-emphasis); /** Strong background for closed state badges and labels */
|
|
935
|
+
--bgColor-closed-muted: var(--bgColor-danger-muted); /** Subtle background for closed state indicators (issues, PRs) */
|
|
936
|
+
--bgColor-default: var(--base-color-neutral-0); /** Default background color for pages and main content areas */
|
|
937
|
+
--bgColor-draft-emphasis: var(--bgColor-neutral-emphasis); /** Strong background for draft state badges and labels */
|
|
938
|
+
--bgColor-draft-muted: var(--bgColor-neutral-muted); /** Subtle background for draft state indicators */
|
|
939
|
+
--bgColor-inset: var(--base-color-neutral-0); /** Inset background for recessed content areas like wells or sunken panels */
|
|
940
|
+
--bgColor-inverse: var(--base-color-neutral-13); /** Inverse background that flips between light and dark modes */
|
|
941
|
+
--bgColor-open-emphasis: var(--bgColor-success-emphasis); /** Strong background for open state badges and labels */
|
|
942
|
+
--bgColor-open-muted: var(--bgColor-success-muted); /** Subtle background for open state indicators (issues, PRs) */
|
|
943
|
+
--bgColor-upsell-emphasis: var(--bgColor-done-emphasis); /** Strong background for prominent upsell elements */
|
|
944
|
+
--bgColor-upsell-muted: var(--bgColor-done-muted); /** Subtle background for upsell and promotional content */
|
|
945
|
+
--bgColor-white: var(--base-color-neutral-13); /** Pure white background */
|
|
951
946
|
--border-accent-emphasis: 0.0625rem solid #409eff;
|
|
952
947
|
--border-accent-muted: 0.0625rem solid #5cacff;
|
|
953
948
|
--border-attention-emphasis: 0.0625rem solid #e09b13;
|
|
@@ -965,14 +960,14 @@
|
|
|
965
960
|
--border-success-emphasis: 0.0625rem solid #09b43a;
|
|
966
961
|
--border-success-muted: 0.0625rem solid #0ac740;
|
|
967
962
|
--border-transparent: 0.0625rem solid #00000000;
|
|
968
|
-
--borderColor-closed-emphasis: var(--borderColor-danger-emphasis);
|
|
969
|
-
--borderColor-closed-muted: var(--borderColor-danger-muted);
|
|
970
|
-
--borderColor-emphasis: var(--borderColor-default);
|
|
971
|
-
--borderColor-muted: var(--borderColor-default);
|
|
972
|
-
--borderColor-open-emphasis: var(--borderColor-success-emphasis);
|
|
973
|
-
--borderColor-open-muted: var(--borderColor-success-muted);
|
|
974
|
-
--borderColor-upsell-emphasis: var(--borderColor-done-emphasis);
|
|
975
|
-
--borderColor-upsell-muted: var(--borderColor-done-muted);
|
|
963
|
+
--borderColor-closed-emphasis: var(--borderColor-danger-emphasis); /** Strong border for closed state badges */
|
|
964
|
+
--borderColor-closed-muted: var(--borderColor-danger-muted); /** Subtle border for closed state indicators */
|
|
965
|
+
--borderColor-emphasis: var(--borderColor-default); /** Strong border for emphasis and visual weight */
|
|
966
|
+
--borderColor-muted: var(--borderColor-default); /** Subtle border for secondary elements and light separators */
|
|
967
|
+
--borderColor-open-emphasis: var(--borderColor-success-emphasis); /** Strong border for open state badges */
|
|
968
|
+
--borderColor-open-muted: var(--borderColor-success-muted); /** Subtle border for open state indicators */
|
|
969
|
+
--borderColor-upsell-emphasis: var(--borderColor-done-emphasis); /** Strong border for prominent upsell elements */
|
|
970
|
+
--borderColor-upsell-muted: var(--borderColor-done-muted); /** Subtle border for upsell and promotional content */
|
|
976
971
|
--button-danger-bgColor-active: var(--bgColor-danger-emphasis);
|
|
977
972
|
--button-danger-bgColor-rest: var(--control-bgColor-rest);
|
|
978
973
|
--button-danger-fgColor-active: var(--base-color-neutral-13);
|
|
@@ -1056,14 +1051,14 @@
|
|
|
1056
1051
|
--diffBlob-hunkLine-bgColor: #5cacff33;
|
|
1057
1052
|
--diffBlob-hunkLine-fgColor: var(--fgColor-muted);
|
|
1058
1053
|
--diffBlob-hunkNum-bgColor-hover: var(--bgColor-accent-emphasis);
|
|
1059
|
-
--fgColor-black: var(--base-color-neutral-0);
|
|
1060
|
-
--fgColor-closed: var(--fgColor-danger);
|
|
1061
|
-
--fgColor-default: var(--base-color-neutral-13);
|
|
1062
|
-
--fgColor-draft: var(--fgColor-neutral);
|
|
1063
|
-
--fgColor-onEmphasis: var(--base-color-neutral-13);
|
|
1064
|
-
--fgColor-onInverse: var(--base-color-neutral-0);
|
|
1065
|
-
--fgColor-white: var(--base-color-neutral-13);
|
|
1066
|
-
--focus-outlineColor: var(--borderColor-accent-emphasis);
|
|
1054
|
+
--fgColor-black: var(--base-color-neutral-0); /** Pure black text */
|
|
1055
|
+
--fgColor-closed: var(--fgColor-danger); /** Text color for closed state indicators (issues, PRs) */
|
|
1056
|
+
--fgColor-default: var(--base-color-neutral-13); /** Default text color for primary content and headings */
|
|
1057
|
+
--fgColor-draft: var(--fgColor-neutral); /** Text color for draft state indicators */
|
|
1058
|
+
--fgColor-onEmphasis: var(--base-color-neutral-13); /** Text color for use on emphasis backgrounds */
|
|
1059
|
+
--fgColor-onInverse: var(--base-color-neutral-0); /** Text color for use on inverse backgrounds */
|
|
1060
|
+
--fgColor-white: var(--base-color-neutral-13); /** Pure white text */
|
|
1061
|
+
--focus-outlineColor: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
1067
1062
|
--header-fgColor-default: #ffffffb3;
|
|
1068
1063
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
1069
1064
|
--label-blue-borderColor: var(--label-blue-fgColor-rest);
|
|
@@ -1095,12 +1090,12 @@
|
|
|
1095
1090
|
--progressBar-bgColor-success: var(--bgColor-success-emphasis);
|
|
1096
1091
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
1097
1092
|
--selectMenu-borderColor: var(--borderColor-default);
|
|
1098
|
-
--selection-bgColor: #194fb1b3;
|
|
1099
|
-
--shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
|
|
1100
|
-
--shadow-inset: inset 0px 1px 0px 0px #0104093d;
|
|
1101
|
-
--shadow-resting-medium: 0px 1px 1px 0px #01040966, 0px 3px 6px 0px #010409cc;
|
|
1102
|
-
--shadow-resting-small: 0px 1px 1px 0px #01040999, 0px 1px 3px 0px #01040999;
|
|
1103
|
-
--shadow-resting-xsmall: 0px 1px 1px 0px #010409cc;
|
|
1093
|
+
--selection-bgColor: #194fb1b3; /** Background color for text selection highlights */
|
|
1094
|
+
--shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966; /** Legacy floating shadow for backward compatibility */
|
|
1095
|
+
--shadow-inset: inset 0px 1px 0px 0px #0104093d; /** Inset shadow for recessed elements */
|
|
1096
|
+
--shadow-resting-medium: 0px 1px 1px 0px #01040966, 0px 3px 6px 0px #010409cc; /** Medium resting shadow for cards and elevated surfaces */
|
|
1097
|
+
--shadow-resting-small: 0px 1px 1px 0px #01040999, 0px 1px 3px 0px #01040999; /** Small resting shadow for buttons and interactive elements */
|
|
1098
|
+
--shadow-resting-xsmall: 0px 1px 1px 0px #010409cc; /** Extra small resting shadow for minimal elevation */
|
|
1104
1099
|
--topicTag-borderColor: var(--borderColor-accent-emphasis);
|
|
1105
1100
|
--treeViewItem-leadingVisual-iconColor-rest: var(--fgColor-muted);
|
|
1106
1101
|
--underlineNav-iconColor-rest: var(--fgColor-muted);
|
|
@@ -1113,8 +1108,8 @@
|
|
|
1113
1108
|
--border-open-muted: var(--border-success-muted);
|
|
1114
1109
|
--border-upsell-emphasis: 0.0625rem solid #b87fff;
|
|
1115
1110
|
--border-upsell-muted: 0.0625rem solid #bf8fff;
|
|
1116
|
-
--borderColor-neutral-emphasis: var(--borderColor-emphasis);
|
|
1117
|
-
--borderColor-neutral-muted: var(--borderColor-muted);
|
|
1111
|
+
--borderColor-neutral-emphasis: var(--borderColor-emphasis); /** Strong neutral semantic border */
|
|
1112
|
+
--borderColor-neutral-muted: var(--borderColor-muted); /** Subtle neutral semantic border */
|
|
1118
1113
|
--button-danger-bgColor-disabled: var(--control-bgColor-disabled);
|
|
1119
1114
|
--button-danger-borderColor-rest: var(--control-borderColor-rest);
|
|
1120
1115
|
--button-default-bgColor-disabled: var(--control-bgColor-disabled);
|
|
@@ -1171,19 +1166,19 @@
|
|
|
1171
1166
|
--diffBlob-expander-iconColor: var(--fgColor-default);
|
|
1172
1167
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
1173
1168
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
1174
|
-
--focus-outline: 2px solid #409eff;
|
|
1169
|
+
--focus-outline: 2px solid #409eff; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
1175
1170
|
--page-header-bgColor: var(--bgColor-default);
|
|
1176
1171
|
--progressBar-track-bgColor: var(--bgColor-inverse);
|
|
1177
|
-
--shadow-floating-large: 0px 0px 0px 1px #b7bdc8, 0px 24px 48px 0px #010409;
|
|
1178
|
-
--shadow-floating-medium: 0px 0px 0px 1px #b7bdc8, 0px 8px 16px -4px #01040966, 0px 4px 32px -4px #01040966, 0px 24px 48px -12px #01040966, 0px 48px 96px -24px #01040966;
|
|
1179
|
-
--shadow-floating-small: 0px 0px 0px 1px #b7bdc8, 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
|
|
1180
|
-
--shadow-floating-xlarge: 0px 0px 0px 1px #b7bdc8, 0px 32px 64px 0px #010409;
|
|
1172
|
+
--shadow-floating-large: 0px 0px 0px 1px #b7bdc8, 0px 24px 48px 0px #010409; /** Large floating shadow for modals and dialogs */
|
|
1173
|
+
--shadow-floating-medium: 0px 0px 0px 1px #b7bdc8, 0px 8px 16px -4px #01040966, 0px 4px 32px -4px #01040966, 0px 24px 48px -12px #01040966, 0px 48px 96px -24px #01040966; /** Medium floating shadow for popovers and action menus */
|
|
1174
|
+
--shadow-floating-small: 0px 0px 0px 1px #b7bdc8, 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966; /** Small floating shadow for dropdowns, tooltips, and small overlays */
|
|
1175
|
+
--shadow-floating-xlarge: 0px 0px 0px 1px #b7bdc8, 0px 32px 64px 0px #010409; /** Extra large floating shadow for full-screen overlays and sheets */
|
|
1181
1176
|
--tooltip-bgColor: var(--bgColor-inverse);
|
|
1182
1177
|
--tooltip-fgColor: var(--fgColor-onInverse);
|
|
1183
1178
|
--border-neutral-emphasis: 0.0625rem solid #b7bdc8;
|
|
1184
1179
|
--border-neutral-muted: 0.0625rem solid #b7bdc8;
|
|
1185
|
-
--borderColor-draft-emphasis: var(--borderColor-neutral-emphasis);
|
|
1186
|
-
--borderColor-draft-muted: var(--borderColor-neutral-muted);
|
|
1180
|
+
--borderColor-draft-emphasis: var(--borderColor-neutral-emphasis); /** Strong border for draft state badges */
|
|
1181
|
+
--borderColor-draft-muted: var(--borderColor-neutral-muted); /** Subtle border for draft state indicators */
|
|
1187
1182
|
--button-default-borderColor-active: var(--button-default-borderColor-rest);
|
|
1188
1183
|
--button-default-borderColor-hover: var(--button-default-borderColor-rest);
|
|
1189
1184
|
--button-default-fgColor-rest: var(--control-fgColor-rest);
|
|
@@ -1488,13 +1483,9 @@
|
|
|
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
|
-
--
|
|
1492
|
-
--
|
|
1493
|
-
--
|
|
1494
|
-
--borderRadius-small: 0.1875rem;
|
|
1495
|
-
--borderWidth-thick: 0.125rem;
|
|
1496
|
-
--borderWidth-thicker: 0.25rem;
|
|
1497
|
-
--borderWidth-thin: 0.0625rem;
|
|
1486
|
+
--borderWidth-thick: 0.125rem; /** Thick 2px border for emphasis. Use for focus indicators, selected states, or to emphasize important boundaries */
|
|
1487
|
+
--borderWidth-thicker: 0.25rem; /** Extra thick 4px border for maximum emphasis. Use sparingly for high-contrast focus indicators or critical visual separators */
|
|
1488
|
+
--borderWidth-thin: 0.0625rem; /** Standard 1px border width. Use for most borders, dividers, and outlines throughout the interface */
|
|
1498
1489
|
--button-primary-bgColor-active: #109135;
|
|
1499
1490
|
--button-primary-bgColor-disabled: #048f2f;
|
|
1500
1491
|
--button-primary-bgColor-hover: #08792b;
|
|
@@ -1503,12 +1494,12 @@
|
|
|
1503
1494
|
--control-checked-bgColor-active: #3c79d0;
|
|
1504
1495
|
--control-checked-bgColor-hover: #2b64c1;
|
|
1505
1496
|
--control-danger-bgColor-active: #c51120;
|
|
1506
|
-
--fgColor-accent: #74b9ff;
|
|
1507
|
-
--fgColor-done: #d3abff;
|
|
1508
|
-
--fgColor-sponsors: #ff90c8;
|
|
1509
|
-
--fgColor-success: #2bd853;
|
|
1510
|
-
--outline-focus-offset: -0.125rem;
|
|
1511
|
-
--outline-focus-width: 0.125rem;
|
|
1497
|
+
--fgColor-accent: #74b9ff; /** Accent text for links and interactive elements */
|
|
1498
|
+
--fgColor-done: #d3abff; /** Text color for completed/done state indicators */
|
|
1499
|
+
--fgColor-sponsors: #ff90c8; /** Text color for GitHub Sponsors content */
|
|
1500
|
+
--fgColor-success: #2bd853; /** Success text for positive feedback and completed states */
|
|
1501
|
+
--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 */
|
|
1502
|
+
--outline-focus-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
|
|
1512
1503
|
--reactionButton-selected-bgColor-hover: #5dadff5c;
|
|
1513
1504
|
--avatar-shadow: 0px 0px 0px 2px #0d1117;
|
|
1514
1505
|
--avatarStack-fade-bgColor-default: var(--base-color-neutral-7);
|
|
@@ -1516,49 +1507,48 @@
|
|
|
1516
1507
|
--base-color-inset: var(--base-color-black);
|
|
1517
1508
|
--base-color-neutral-0: var(--base-color-black);
|
|
1518
1509
|
--base-color-neutral-13: var(--base-color-white);
|
|
1519
|
-
--bgColor-accent-emphasis: var(--base-color-blue-9);
|
|
1520
|
-
--bgColor-accent-muted: #5cacff1a;
|
|
1521
|
-
--bgColor-attention-emphasis: var(--base-color-yellow-9);
|
|
1522
|
-
--bgColor-attention-muted: #edaa2726;
|
|
1523
|
-
--bgColor-danger-emphasis: var(--base-color-red-9);
|
|
1524
|
-
--bgColor-danger-muted: #ff80801a;
|
|
1525
|
-
--bgColor-disabled: var(--base-color-neutral-4);
|
|
1526
|
-
--bgColor-done-emphasis: var(--base-color-purple-9);
|
|
1527
|
-
--bgColor-done-muted: #bf8fff26;
|
|
1528
|
-
--bgColor-emphasis: var(--base-color-neutral-7);
|
|
1529
|
-
--bgColor-muted: var(--base-color-neutral-2);
|
|
1530
|
-
--bgColor-neutral-emphasis: var(--base-color-neutral-7);
|
|
1531
|
-
--bgColor-neutral-muted: var(--base-color-neutral-3);
|
|
1532
|
-
--bgColor-severe-emphasis: var(--base-color-orange-9);
|
|
1533
|
-
--bgColor-severe-muted: #f48b251a;
|
|
1534
|
-
--bgColor-sponsors-emphasis: var(--base-color-pink-9);
|
|
1535
|
-
--bgColor-sponsors-muted: #f87cbd1a;
|
|
1536
|
-
--bgColor-success-emphasis: var(--base-color-green-9);
|
|
1537
|
-
--bgColor-success-muted: #0ac74026;
|
|
1538
|
-
--bgColor-transparent: var(--base-color-transparent);
|
|
1539
|
-
--borderColor-accent-emphasis: var(--base-color-blue-5);
|
|
1540
|
-
--borderColor-accent-muted: var(--base-color-blue-4);
|
|
1541
|
-
--borderColor-attention-emphasis: var(--base-color-yellow-5);
|
|
1542
|
-
--borderColor-attention-muted: var(--base-color-yellow-4);
|
|
1543
|
-
--borderColor-danger-emphasis: var(--base-color-red-5);
|
|
1544
|
-
--borderColor-danger-muted: var(--base-color-red-4);
|
|
1545
|
-
--borderColor-default: var(--base-color-neutral-10);
|
|
1546
|
-
--borderColor-disabled: #656c761a;
|
|
1547
|
-
--borderColor-done-emphasis: var(--base-color-purple-5);
|
|
1548
|
-
--borderColor-done-muted: var(--base-color-purple-4);
|
|
1549
|
-
--borderColor-severe-emphasis: var(--base-color-orange-5);
|
|
1550
|
-
--borderColor-severe-muted: var(--base-color-orange-4);
|
|
1551
|
-
--borderColor-sponsors-emphasis: var(--base-color-pink-5);
|
|
1552
|
-
--borderColor-sponsors-muted: var(--base-color-pink-4);
|
|
1553
|
-
--borderColor-success-emphasis: var(--base-color-green-5);
|
|
1554
|
-
--borderColor-success-muted: var(--base-color-green-4);
|
|
1555
|
-
--borderColor-translucent: var(--base-color-neutral-9);
|
|
1556
|
-
--borderColor-transparent: var(--base-color-transparent);
|
|
1557
|
-
--
|
|
1558
|
-
--
|
|
1559
|
-
--boxShadow-
|
|
1560
|
-
--boxShadow-
|
|
1561
|
-
--boxShadow-thin: inset 0 0 0 var(--borderWidth-thin); /** Thin shadow for borders */
|
|
1510
|
+
--bgColor-accent-emphasis: var(--base-color-blue-9); /** Strong accent background for active states and focused states */
|
|
1511
|
+
--bgColor-accent-muted: #5cacff1a; /** Subtle accent background for informational or selected elements */
|
|
1512
|
+
--bgColor-attention-emphasis: var(--base-color-yellow-9); /** Strong attention background for prominent warnings */
|
|
1513
|
+
--bgColor-attention-muted: #edaa2726; /** Subtle attention background for warnings and caution states */
|
|
1514
|
+
--bgColor-danger-emphasis: var(--base-color-red-9); /** Emphasized danger background for critical errors and delete confirmations */
|
|
1515
|
+
--bgColor-danger-muted: #ff80801a; /** Muted danger background for error states and destructive action contexts */
|
|
1516
|
+
--bgColor-disabled: var(--base-color-neutral-4); /** Background for disabled interactive elements */
|
|
1517
|
+
--bgColor-done-emphasis: var(--base-color-purple-9); /** Strong background for completed/done state badges and labels */
|
|
1518
|
+
--bgColor-done-muted: #bf8fff26; /** Subtle background for completed/done state indicators */
|
|
1519
|
+
--bgColor-emphasis: var(--base-color-neutral-7); /** High-emphasis dark background for strong visual contrast */
|
|
1520
|
+
--bgColor-muted: var(--base-color-neutral-2); /** Muted background for secondary content areas and subtle grouping */
|
|
1521
|
+
--bgColor-neutral-emphasis: var(--base-color-neutral-7); /** Strong neutral background for prominent neutral elements */
|
|
1522
|
+
--bgColor-neutral-muted: var(--base-color-neutral-3); /** Subtle neutral background for tags, labels, and secondary UI elements */
|
|
1523
|
+
--bgColor-severe-emphasis: var(--base-color-orange-9); /** Strong severe background for prominent high-priority warnings */
|
|
1524
|
+
--bgColor-severe-muted: #f48b251a; /** Subtle severe background for high-priority warnings */
|
|
1525
|
+
--bgColor-sponsors-emphasis: var(--base-color-pink-9); /** Strong background for prominent GitHub Sponsors elements */
|
|
1526
|
+
--bgColor-sponsors-muted: #f87cbd1a; /** Subtle background for GitHub Sponsors content */
|
|
1527
|
+
--bgColor-success-emphasis: var(--base-color-green-9); /** Strong success background for prominent positive actions */
|
|
1528
|
+
--bgColor-success-muted: #0ac74026; /** Subtle success background for positive feedback and completed states */
|
|
1529
|
+
--bgColor-transparent: var(--base-color-transparent); /** Fully transparent background */
|
|
1530
|
+
--borderColor-accent-emphasis: var(--base-color-blue-5); /** Strong accent border for selected or focused elements */
|
|
1531
|
+
--borderColor-accent-muted: var(--base-color-blue-4); /** Subtle accent border for selected or focused elements */
|
|
1532
|
+
--borderColor-attention-emphasis: var(--base-color-yellow-5); /** Strong attention border for prominent warnings */
|
|
1533
|
+
--borderColor-attention-muted: var(--base-color-yellow-4); /** Subtle attention border for warnings and caution states */
|
|
1534
|
+
--borderColor-danger-emphasis: var(--base-color-red-5); /** Strong danger border for destructive actions and errors */
|
|
1535
|
+
--borderColor-danger-muted: var(--base-color-red-4); /** Subtle danger border for errors and destructive contexts */
|
|
1536
|
+
--borderColor-default: var(--base-color-neutral-10); /** Default border color for most UI elements */
|
|
1537
|
+
--borderColor-disabled: #656c761a; /** Border color for disabled interactive elements */
|
|
1538
|
+
--borderColor-done-emphasis: var(--base-color-purple-5); /** Strong border for completed/done state badges */
|
|
1539
|
+
--borderColor-done-muted: var(--base-color-purple-4); /** Subtle border for completed/done state indicators */
|
|
1540
|
+
--borderColor-severe-emphasis: var(--base-color-orange-5); /** Strong severe border for prominent high-priority warnings */
|
|
1541
|
+
--borderColor-severe-muted: var(--base-color-orange-4); /** Subtle severe border for high-priority warnings */
|
|
1542
|
+
--borderColor-sponsors-emphasis: var(--base-color-pink-5); /** Strong border for prominent GitHub Sponsors elements */
|
|
1543
|
+
--borderColor-sponsors-muted: var(--base-color-pink-4); /** Subtle border for GitHub Sponsors content */
|
|
1544
|
+
--borderColor-success-emphasis: var(--base-color-green-5); /** Strong success border for prominent positive elements */
|
|
1545
|
+
--borderColor-success-muted: var(--base-color-green-4); /** Subtle success border for positive feedback elements */
|
|
1546
|
+
--borderColor-translucent: var(--base-color-neutral-9); /** Semi-transparent border for overlays and layered elements */
|
|
1547
|
+
--borderColor-transparent: var(--base-color-transparent); /** Fully transparent border */
|
|
1548
|
+
--borderWidth-default: var(--borderWidth-thin); /** Default border width for most UI elements. Alias of borderWidth.thin (1px) */
|
|
1549
|
+
--boxShadow-thick: inset 0 0 0 var(--borderWidth-thick); /** Thick shadow (2px) used instead of a border for emphasis without layout shift */
|
|
1550
|
+
--boxShadow-thicker: inset 0 0 0 var(--borderWidth-thicker); /** Thickest shadow (4px) used for high emphasis borders without layout shift. Use sparingly for maximum visual impact */
|
|
1551
|
+
--boxShadow-thin: inset 0 0 0 var(--borderWidth-thin); /** Thin shadow used instead of a border to prevent layout shift */
|
|
1562
1552
|
--button-danger-bgColor-hover: var(--base-color-red-9);
|
|
1563
1553
|
--button-danger-borderColor-active: var(--base-color-red-2);
|
|
1564
1554
|
--button-danger-borderColor-hover: var(--base-color-red-2);
|
|
@@ -1996,15 +1986,15 @@
|
|
|
1996
1986
|
--display-yellow-scale-7: var(--base-display-color-yellow-7);
|
|
1997
1987
|
--display-yellow-scale-8: var(--base-display-color-yellow-8);
|
|
1998
1988
|
--display-yellow-scale-9: var(--base-display-color-yellow-9);
|
|
1999
|
-
--fgColor-attention: var(--base-color-yellow-3);
|
|
2000
|
-
--fgColor-danger: var(--base-color-red-3);
|
|
2001
|
-
--fgColor-disabled: var(--base-color-neutral-8);
|
|
2002
|
-
--fgColor-link: var(--fgColor-accent);
|
|
2003
|
-
--fgColor-muted: var(--base-color-neutral-10);
|
|
2004
|
-
--fgColor-neutral: var(--base-color-neutral-11);
|
|
2005
|
-
--fgColor-open: var(--fgColor-success);
|
|
2006
|
-
--fgColor-severe: var(--base-color-orange-3);
|
|
2007
|
-
--fgColor-upsell: var(--fgColor-done);
|
|
1989
|
+
--fgColor-attention: var(--base-color-yellow-3); /** Attention text for warnings and caution states */
|
|
1990
|
+
--fgColor-danger: var(--base-color-red-3); /** Danger text for errors and destructive actions */
|
|
1991
|
+
--fgColor-disabled: var(--base-color-neutral-8); /** Text color for disabled interactive elements */
|
|
1992
|
+
--fgColor-link: var(--fgColor-accent); /** Text color for hyperlinks */
|
|
1993
|
+
--fgColor-muted: var(--base-color-neutral-10); /** Muted text for secondary content and less important information */
|
|
1994
|
+
--fgColor-neutral: var(--base-color-neutral-11); /** Neutral semantic text for icons and secondary elements */
|
|
1995
|
+
--fgColor-open: var(--fgColor-success); /** Text color for open state indicators (issues, PRs) */
|
|
1996
|
+
--fgColor-severe: var(--base-color-orange-3); /** Severe text for high-priority warnings */
|
|
1997
|
+
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
2008
1998
|
--header-bgColor: #151b23f2;
|
|
2009
1999
|
--header-borderColor-divider: var(--base-color-neutral-8);
|
|
2010
2000
|
--header-fgColor-logo: var(--base-color-neutral-12);
|
|
@@ -2136,19 +2126,19 @@
|
|
|
2136
2126
|
--timelineBadge-bgColor: var(--base-color-neutral-3);
|
|
2137
2127
|
--underlineNav-borderColor-active: var(--base-color-coral-3);
|
|
2138
2128
|
--avatar-bgColor: #ffffff1a;
|
|
2139
|
-
--bgColor-black: var(--base-color-neutral-0);
|
|
2140
|
-
--bgColor-closed-emphasis: var(--bgColor-danger-emphasis);
|
|
2141
|
-
--bgColor-closed-muted: var(--bgColor-danger-muted);
|
|
2142
|
-
--bgColor-default: var(--base-color-neutral-0);
|
|
2143
|
-
--bgColor-draft-emphasis: var(--bgColor-neutral-emphasis);
|
|
2144
|
-
--bgColor-draft-muted: var(--bgColor-neutral-muted);
|
|
2145
|
-
--bgColor-inset: var(--base-color-neutral-0);
|
|
2146
|
-
--bgColor-inverse: var(--base-color-neutral-13);
|
|
2147
|
-
--bgColor-open-emphasis: var(--bgColor-success-emphasis);
|
|
2148
|
-
--bgColor-open-muted: var(--bgColor-success-muted);
|
|
2149
|
-
--bgColor-upsell-emphasis: var(--bgColor-done-emphasis);
|
|
2150
|
-
--bgColor-upsell-muted: var(--bgColor-done-muted);
|
|
2151
|
-
--bgColor-white: var(--base-color-neutral-13);
|
|
2129
|
+
--bgColor-black: var(--base-color-neutral-0); /** Pure black background */
|
|
2130
|
+
--bgColor-closed-emphasis: var(--bgColor-danger-emphasis); /** Strong background for closed state badges and labels */
|
|
2131
|
+
--bgColor-closed-muted: var(--bgColor-danger-muted); /** Subtle background for closed state indicators (issues, PRs) */
|
|
2132
|
+
--bgColor-default: var(--base-color-neutral-0); /** Default background color for pages and main content areas */
|
|
2133
|
+
--bgColor-draft-emphasis: var(--bgColor-neutral-emphasis); /** Strong background for draft state badges and labels */
|
|
2134
|
+
--bgColor-draft-muted: var(--bgColor-neutral-muted); /** Subtle background for draft state indicators */
|
|
2135
|
+
--bgColor-inset: var(--base-color-neutral-0); /** Inset background for recessed content areas like wells or sunken panels */
|
|
2136
|
+
--bgColor-inverse: var(--base-color-neutral-13); /** Inverse background that flips between light and dark modes */
|
|
2137
|
+
--bgColor-open-emphasis: var(--bgColor-success-emphasis); /** Strong background for open state badges and labels */
|
|
2138
|
+
--bgColor-open-muted: var(--bgColor-success-muted); /** Subtle background for open state indicators (issues, PRs) */
|
|
2139
|
+
--bgColor-upsell-emphasis: var(--bgColor-done-emphasis); /** Strong background for prominent upsell elements */
|
|
2140
|
+
--bgColor-upsell-muted: var(--bgColor-done-muted); /** Subtle background for upsell and promotional content */
|
|
2141
|
+
--bgColor-white: var(--base-color-neutral-13); /** Pure white background */
|
|
2152
2142
|
--border-accent-emphasis: 0.0625rem solid #409eff;
|
|
2153
2143
|
--border-accent-muted: 0.0625rem solid #5cacff;
|
|
2154
2144
|
--border-attention-emphasis: 0.0625rem solid #e09b13;
|
|
@@ -2166,14 +2156,14 @@
|
|
|
2166
2156
|
--border-success-emphasis: 0.0625rem solid #09b43a;
|
|
2167
2157
|
--border-success-muted: 0.0625rem solid #0ac740;
|
|
2168
2158
|
--border-transparent: 0.0625rem solid #00000000;
|
|
2169
|
-
--borderColor-closed-emphasis: var(--borderColor-danger-emphasis);
|
|
2170
|
-
--borderColor-closed-muted: var(--borderColor-danger-muted);
|
|
2171
|
-
--borderColor-emphasis: var(--borderColor-default);
|
|
2172
|
-
--borderColor-muted: var(--borderColor-default);
|
|
2173
|
-
--borderColor-open-emphasis: var(--borderColor-success-emphasis);
|
|
2174
|
-
--borderColor-open-muted: var(--borderColor-success-muted);
|
|
2175
|
-
--borderColor-upsell-emphasis: var(--borderColor-done-emphasis);
|
|
2176
|
-
--borderColor-upsell-muted: var(--borderColor-done-muted);
|
|
2159
|
+
--borderColor-closed-emphasis: var(--borderColor-danger-emphasis); /** Strong border for closed state badges */
|
|
2160
|
+
--borderColor-closed-muted: var(--borderColor-danger-muted); /** Subtle border for closed state indicators */
|
|
2161
|
+
--borderColor-emphasis: var(--borderColor-default); /** Strong border for emphasis and visual weight */
|
|
2162
|
+
--borderColor-muted: var(--borderColor-default); /** Subtle border for secondary elements and light separators */
|
|
2163
|
+
--borderColor-open-emphasis: var(--borderColor-success-emphasis); /** Strong border for open state badges */
|
|
2164
|
+
--borderColor-open-muted: var(--borderColor-success-muted); /** Subtle border for open state indicators */
|
|
2165
|
+
--borderColor-upsell-emphasis: var(--borderColor-done-emphasis); /** Strong border for prominent upsell elements */
|
|
2166
|
+
--borderColor-upsell-muted: var(--borderColor-done-muted); /** Subtle border for upsell and promotional content */
|
|
2177
2167
|
--button-danger-bgColor-active: var(--bgColor-danger-emphasis);
|
|
2178
2168
|
--button-danger-bgColor-rest: var(--control-bgColor-rest);
|
|
2179
2169
|
--button-danger-fgColor-active: var(--base-color-neutral-13);
|
|
@@ -2257,14 +2247,14 @@
|
|
|
2257
2247
|
--diffBlob-hunkLine-bgColor: #5cacff33;
|
|
2258
2248
|
--diffBlob-hunkLine-fgColor: var(--fgColor-muted);
|
|
2259
2249
|
--diffBlob-hunkNum-bgColor-hover: var(--bgColor-accent-emphasis);
|
|
2260
|
-
--fgColor-black: var(--base-color-neutral-0);
|
|
2261
|
-
--fgColor-closed: var(--fgColor-danger);
|
|
2262
|
-
--fgColor-default: var(--base-color-neutral-13);
|
|
2263
|
-
--fgColor-draft: var(--fgColor-neutral);
|
|
2264
|
-
--fgColor-onEmphasis: var(--base-color-neutral-13);
|
|
2265
|
-
--fgColor-onInverse: var(--base-color-neutral-0);
|
|
2266
|
-
--fgColor-white: var(--base-color-neutral-13);
|
|
2267
|
-
--focus-outlineColor: var(--borderColor-accent-emphasis);
|
|
2250
|
+
--fgColor-black: var(--base-color-neutral-0); /** Pure black text */
|
|
2251
|
+
--fgColor-closed: var(--fgColor-danger); /** Text color for closed state indicators (issues, PRs) */
|
|
2252
|
+
--fgColor-default: var(--base-color-neutral-13); /** Default text color for primary content and headings */
|
|
2253
|
+
--fgColor-draft: var(--fgColor-neutral); /** Text color for draft state indicators */
|
|
2254
|
+
--fgColor-onEmphasis: var(--base-color-neutral-13); /** Text color for use on emphasis backgrounds */
|
|
2255
|
+
--fgColor-onInverse: var(--base-color-neutral-0); /** Text color for use on inverse backgrounds */
|
|
2256
|
+
--fgColor-white: var(--base-color-neutral-13); /** Pure white text */
|
|
2257
|
+
--focus-outlineColor: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
2268
2258
|
--header-fgColor-default: #ffffffb3;
|
|
2269
2259
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
2270
2260
|
--label-blue-borderColor: var(--label-blue-fgColor-rest);
|
|
@@ -2296,12 +2286,12 @@
|
|
|
2296
2286
|
--progressBar-bgColor-success: var(--bgColor-success-emphasis);
|
|
2297
2287
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
2298
2288
|
--selectMenu-borderColor: var(--borderColor-default);
|
|
2299
|
-
--selection-bgColor: #194fb1b3;
|
|
2300
|
-
--shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
|
|
2301
|
-
--shadow-inset: inset 0px 1px 0px 0px #0104093d;
|
|
2302
|
-
--shadow-resting-medium: 0px 1px 1px 0px #01040966, 0px 3px 6px 0px #010409cc;
|
|
2303
|
-
--shadow-resting-small: 0px 1px 1px 0px #01040999, 0px 1px 3px 0px #01040999;
|
|
2304
|
-
--shadow-resting-xsmall: 0px 1px 1px 0px #010409cc;
|
|
2289
|
+
--selection-bgColor: #194fb1b3; /** Background color for text selection highlights */
|
|
2290
|
+
--shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966; /** Legacy floating shadow for backward compatibility */
|
|
2291
|
+
--shadow-inset: inset 0px 1px 0px 0px #0104093d; /** Inset shadow for recessed elements */
|
|
2292
|
+
--shadow-resting-medium: 0px 1px 1px 0px #01040966, 0px 3px 6px 0px #010409cc; /** Medium resting shadow for cards and elevated surfaces */
|
|
2293
|
+
--shadow-resting-small: 0px 1px 1px 0px #01040999, 0px 1px 3px 0px #01040999; /** Small resting shadow for buttons and interactive elements */
|
|
2294
|
+
--shadow-resting-xsmall: 0px 1px 1px 0px #010409cc; /** Extra small resting shadow for minimal elevation */
|
|
2305
2295
|
--topicTag-borderColor: var(--borderColor-accent-emphasis);
|
|
2306
2296
|
--treeViewItem-leadingVisual-iconColor-rest: var(--fgColor-muted);
|
|
2307
2297
|
--underlineNav-iconColor-rest: var(--fgColor-muted);
|
|
@@ -2314,8 +2304,8 @@
|
|
|
2314
2304
|
--border-open-muted: var(--border-success-muted);
|
|
2315
2305
|
--border-upsell-emphasis: 0.0625rem solid #b87fff;
|
|
2316
2306
|
--border-upsell-muted: 0.0625rem solid #bf8fff;
|
|
2317
|
-
--borderColor-neutral-emphasis: var(--borderColor-emphasis);
|
|
2318
|
-
--borderColor-neutral-muted: var(--borderColor-muted);
|
|
2307
|
+
--borderColor-neutral-emphasis: var(--borderColor-emphasis); /** Strong neutral semantic border */
|
|
2308
|
+
--borderColor-neutral-muted: var(--borderColor-muted); /** Subtle neutral semantic border */
|
|
2319
2309
|
--button-danger-bgColor-disabled: var(--control-bgColor-disabled);
|
|
2320
2310
|
--button-danger-borderColor-rest: var(--control-borderColor-rest);
|
|
2321
2311
|
--button-default-bgColor-disabled: var(--control-bgColor-disabled);
|
|
@@ -2372,19 +2362,19 @@
|
|
|
2372
2362
|
--diffBlob-expander-iconColor: var(--fgColor-default);
|
|
2373
2363
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
2374
2364
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
2375
|
-
--focus-outline: 2px solid #409eff;
|
|
2365
|
+
--focus-outline: 2px solid #409eff; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
2376
2366
|
--page-header-bgColor: var(--bgColor-default);
|
|
2377
2367
|
--progressBar-track-bgColor: var(--bgColor-inverse);
|
|
2378
|
-
--shadow-floating-large: 0px 0px 0px 1px #b7bdc8, 0px 24px 48px 0px #010409;
|
|
2379
|
-
--shadow-floating-medium: 0px 0px 0px 1px #b7bdc8, 0px 8px 16px -4px #01040966, 0px 4px 32px -4px #01040966, 0px 24px 48px -12px #01040966, 0px 48px 96px -24px #01040966;
|
|
2380
|
-
--shadow-floating-small: 0px 0px 0px 1px #b7bdc8, 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
|
|
2381
|
-
--shadow-floating-xlarge: 0px 0px 0px 1px #b7bdc8, 0px 32px 64px 0px #010409;
|
|
2368
|
+
--shadow-floating-large: 0px 0px 0px 1px #b7bdc8, 0px 24px 48px 0px #010409; /** Large floating shadow for modals and dialogs */
|
|
2369
|
+
--shadow-floating-medium: 0px 0px 0px 1px #b7bdc8, 0px 8px 16px -4px #01040966, 0px 4px 32px -4px #01040966, 0px 24px 48px -12px #01040966, 0px 48px 96px -24px #01040966; /** Medium floating shadow for popovers and action menus */
|
|
2370
|
+
--shadow-floating-small: 0px 0px 0px 1px #b7bdc8, 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966; /** Small floating shadow for dropdowns, tooltips, and small overlays */
|
|
2371
|
+
--shadow-floating-xlarge: 0px 0px 0px 1px #b7bdc8, 0px 32px 64px 0px #010409; /** Extra large floating shadow for full-screen overlays and sheets */
|
|
2382
2372
|
--tooltip-bgColor: var(--bgColor-inverse);
|
|
2383
2373
|
--tooltip-fgColor: var(--fgColor-onInverse);
|
|
2384
2374
|
--border-neutral-emphasis: 0.0625rem solid #b7bdc8;
|
|
2385
2375
|
--border-neutral-muted: 0.0625rem solid #b7bdc8;
|
|
2386
|
-
--borderColor-draft-emphasis: var(--borderColor-neutral-emphasis);
|
|
2387
|
-
--borderColor-draft-muted: var(--borderColor-neutral-muted);
|
|
2376
|
+
--borderColor-draft-emphasis: var(--borderColor-neutral-emphasis); /** Strong border for draft state badges */
|
|
2377
|
+
--borderColor-draft-muted: var(--borderColor-neutral-muted); /** Subtle border for draft state indicators */
|
|
2388
2378
|
--button-default-borderColor-active: var(--button-default-borderColor-rest);
|
|
2389
2379
|
--button-default-borderColor-hover: var(--button-default-borderColor-rest);
|
|
2390
2380
|
--button-default-fgColor-rest: var(--control-fgColor-rest);
|