@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
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @spec See /DESIGN_TOKENS_SPEC.md for naming logic and semantic pairings.
|
|
3
|
+
* @rule Never use raw values (hex/px). Use semantic tokens ONLY.
|
|
4
|
+
*/
|
|
1
5
|
[data-color-mode="light"][data-light-theme="light_tritanopia_high_contrast"],
|
|
2
6
|
[data-color-mode="auto"][data-light-theme="light_tritanopia_high_contrast"] {
|
|
3
7
|
--button-outline-bgColor-active: #033f9d;
|
|
@@ -14,51 +18,51 @@
|
|
|
14
18
|
--reactionButton-selected-bgColor-hover: #caecff;
|
|
15
19
|
--avatarStack-fade-bgColor-default: #c8d1da;
|
|
16
20
|
--avatarStack-fade-bgColor-muted: #dae0e7;
|
|
17
|
-
--bgColor-accent-emphasis: #0349b4;
|
|
18
|
-
--bgColor-accent-muted: #dff7ff;
|
|
19
|
-
--bgColor-attention-emphasis: #744500;
|
|
20
|
-
--bgColor-attention-muted: #fcf7be;
|
|
21
|
-
--bgColor-danger-emphasis: #a0111f;
|
|
22
|
-
--bgColor-danger-muted: #fff0ee;
|
|
23
|
-
--bgColor-disabled: #e0e6eb;
|
|
24
|
-
--bgColor-done-emphasis: #622cbc;
|
|
25
|
-
--bgColor-done-muted: #faf0fe;
|
|
26
|
-
--bgColor-emphasis: #25292e;
|
|
27
|
-
--bgColor-inset: #eff2f5;
|
|
28
|
-
--bgColor-inverse: #25292e;
|
|
29
|
-
--bgColor-muted: #e6eaef;
|
|
30
|
-
--bgColor-neutral-emphasis: #454c54;
|
|
31
|
-
--bgColor-neutral-muted: #e0e6eb;
|
|
32
|
-
--bgColor-open-emphasis: #a0111f;
|
|
33
|
-
--bgColor-open-muted: #fff0ee;
|
|
34
|
-
--bgColor-severe-emphasis: #a0111f;
|
|
35
|
-
--bgColor-severe-muted: #fff0ee;
|
|
36
|
-
--bgColor-sponsors-emphasis: #971368;
|
|
37
|
-
--bgColor-sponsors-muted: #feeff7;
|
|
38
|
-
--bgColor-success-emphasis: #0349b4;
|
|
39
|
-
--bgColor-success-muted: #dff7ff;
|
|
40
|
-
--bgColor-transparent: #ffffff00;
|
|
41
|
-
--borderColor-accent-emphasis: #0349b4;
|
|
42
|
-
--borderColor-accent-muted: #368cf9;
|
|
43
|
-
--borderColor-attention-emphasis: #744500;
|
|
44
|
-
--borderColor-attention-muted: #b58407;
|
|
45
|
-
--borderColor-danger-emphasis: #a0111f;
|
|
46
|
-
--borderColor-danger-muted: #ee5a5d;
|
|
47
|
-
--borderColor-default: #454c54;
|
|
48
|
-
--borderColor-disabled: #59636e1f;
|
|
49
|
-
--borderColor-done-emphasis: #622cbc;
|
|
50
|
-
--borderColor-done-muted: #a371f7;
|
|
51
|
-
--borderColor-neutral-emphasis: #59636e;
|
|
52
|
-
--borderColor-open-emphasis: #a0111f;
|
|
53
|
-
--borderColor-open-muted: #ee5a5d;
|
|
54
|
-
--borderColor-severe-emphasis: #a0111f;
|
|
55
|
-
--borderColor-severe-muted: #ee5a5d;
|
|
56
|
-
--borderColor-sponsors-emphasis: #971368;
|
|
57
|
-
--borderColor-sponsors-muted: #ed4baf;
|
|
58
|
-
--borderColor-success-emphasis: #0349b4;
|
|
59
|
-
--borderColor-success-muted: #368cf9;
|
|
60
|
-
--borderColor-translucent: #59636e;
|
|
61
|
-
--borderColor-transparent: #ffffff00;
|
|
21
|
+
--bgColor-accent-emphasis: #0349b4; /** Strong accent background for active states and focused states */
|
|
22
|
+
--bgColor-accent-muted: #dff7ff; /** Subtle accent background for informational or selected elements */
|
|
23
|
+
--bgColor-attention-emphasis: #744500; /** Strong attention background for prominent warnings */
|
|
24
|
+
--bgColor-attention-muted: #fcf7be; /** Subtle attention background for warnings and caution states */
|
|
25
|
+
--bgColor-danger-emphasis: #a0111f; /** Emphasized danger background for critical errors and delete confirmations */
|
|
26
|
+
--bgColor-danger-muted: #fff0ee; /** Muted danger background for error states and destructive action contexts */
|
|
27
|
+
--bgColor-disabled: #e0e6eb; /** Background for disabled interactive elements */
|
|
28
|
+
--bgColor-done-emphasis: #622cbc; /** Strong background for completed/done state badges and labels */
|
|
29
|
+
--bgColor-done-muted: #faf0fe; /** Subtle background for completed/done state indicators */
|
|
30
|
+
--bgColor-emphasis: #25292e; /** High-emphasis dark background for strong visual contrast */
|
|
31
|
+
--bgColor-inset: #eff2f5; /** Inset background for recessed content areas like wells or sunken panels */
|
|
32
|
+
--bgColor-inverse: #25292e; /** Inverse background that flips between light and dark modes */
|
|
33
|
+
--bgColor-muted: #e6eaef; /** Muted background for secondary content areas and subtle grouping */
|
|
34
|
+
--bgColor-neutral-emphasis: #454c54; /** Strong neutral background for prominent neutral elements */
|
|
35
|
+
--bgColor-neutral-muted: #e0e6eb; /** Subtle neutral background for tags, labels, and secondary UI elements */
|
|
36
|
+
--bgColor-open-emphasis: #a0111f; /** Strong background for open state badges and labels */
|
|
37
|
+
--bgColor-open-muted: #fff0ee; /** Subtle background for open state indicators (issues, PRs) */
|
|
38
|
+
--bgColor-severe-emphasis: #a0111f; /** Strong severe background for prominent high-priority warnings */
|
|
39
|
+
--bgColor-severe-muted: #fff0ee; /** Subtle severe background for high-priority warnings */
|
|
40
|
+
--bgColor-sponsors-emphasis: #971368; /** Strong background for prominent GitHub Sponsors elements */
|
|
41
|
+
--bgColor-sponsors-muted: #feeff7; /** Subtle background for GitHub Sponsors content */
|
|
42
|
+
--bgColor-success-emphasis: #0349b4; /** Strong success background for prominent positive actions */
|
|
43
|
+
--bgColor-success-muted: #dff7ff; /** Subtle success background for positive feedback and completed states */
|
|
44
|
+
--bgColor-transparent: #ffffff00; /** Fully transparent background */
|
|
45
|
+
--borderColor-accent-emphasis: #0349b4; /** Strong accent border for selected or focused elements */
|
|
46
|
+
--borderColor-accent-muted: #368cf9; /** Subtle accent border for selected or focused elements */
|
|
47
|
+
--borderColor-attention-emphasis: #744500; /** Strong attention border for prominent warnings */
|
|
48
|
+
--borderColor-attention-muted: #b58407; /** Subtle attention border for warnings and caution states */
|
|
49
|
+
--borderColor-danger-emphasis: #a0111f; /** Strong danger border for destructive actions and errors */
|
|
50
|
+
--borderColor-danger-muted: #ee5a5d; /** Subtle danger border for errors and destructive contexts */
|
|
51
|
+
--borderColor-default: #454c54; /** Default border color for most UI elements */
|
|
52
|
+
--borderColor-disabled: #59636e1f; /** Border color for disabled interactive elements */
|
|
53
|
+
--borderColor-done-emphasis: #622cbc; /** Strong border for completed/done state badges */
|
|
54
|
+
--borderColor-done-muted: #a371f7; /** Subtle border for completed/done state indicators */
|
|
55
|
+
--borderColor-neutral-emphasis: #59636e; /** Strong neutral semantic border */
|
|
56
|
+
--borderColor-open-emphasis: #a0111f; /** Strong border for open state badges */
|
|
57
|
+
--borderColor-open-muted: #ee5a5d; /** Subtle border for open state indicators */
|
|
58
|
+
--borderColor-severe-emphasis: #a0111f; /** Strong severe border for prominent high-priority warnings */
|
|
59
|
+
--borderColor-severe-muted: #ee5a5d; /** Subtle severe border for high-priority warnings */
|
|
60
|
+
--borderColor-sponsors-emphasis: #971368; /** Strong border for prominent GitHub Sponsors elements */
|
|
61
|
+
--borderColor-sponsors-muted: #ed4baf; /** Subtle border for GitHub Sponsors content */
|
|
62
|
+
--borderColor-success-emphasis: #0349b4; /** Strong success border for prominent positive elements */
|
|
63
|
+
--borderColor-success-muted: #368cf9; /** Subtle success border for positive feedback elements */
|
|
64
|
+
--borderColor-translucent: #59636e; /** Semi-transparent border for overlays and layered elements */
|
|
65
|
+
--borderColor-transparent: #ffffff00; /** Fully transparent border */
|
|
62
66
|
--button-danger-bgColor-active: #86061d;
|
|
63
67
|
--button-danger-borderColor-hover: #6e011a;
|
|
64
68
|
--button-danger-shadow-selected: inset 0px 1px 0px 0px #43001133;
|
|
@@ -482,17 +486,17 @@
|
|
|
482
486
|
--display-yellow-scale-7: #704d00;
|
|
483
487
|
--display-yellow-scale-8: #5c3d00;
|
|
484
488
|
--display-yellow-scale-9: #422b00;
|
|
485
|
-
--fgColor-accent: #023b95;
|
|
486
|
-
--fgColor-attention: #603700;
|
|
487
|
-
--fgColor-danger: #86061d;
|
|
488
|
-
--fgColor-disabled: #59636e;
|
|
489
|
-
--fgColor-done: #512598;
|
|
490
|
-
--fgColor-muted: #393f46;
|
|
491
|
-
--fgColor-neutral: #393f46;
|
|
492
|
-
--fgColor-open: #86061d;
|
|
493
|
-
--fgColor-severe: #86061d;
|
|
494
|
-
--fgColor-sponsors: #7d0c57;
|
|
495
|
-
--fgColor-success: #023b95;
|
|
489
|
+
--fgColor-accent: #023b95; /** Accent text for links and interactive elements */
|
|
490
|
+
--fgColor-attention: #603700; /** Attention text for warnings and caution states */
|
|
491
|
+
--fgColor-danger: #86061d; /** Danger text for errors and destructive actions */
|
|
492
|
+
--fgColor-disabled: #59636e; /** Text color for disabled interactive elements */
|
|
493
|
+
--fgColor-done: #512598; /** Text color for completed/done state indicators */
|
|
494
|
+
--fgColor-muted: #393f46; /** Muted text for secondary content and less important information */
|
|
495
|
+
--fgColor-neutral: #393f46; /** Neutral semantic text for icons and secondary elements */
|
|
496
|
+
--fgColor-open: #86061d; /** Text color for open state indicators (issues, PRs) */
|
|
497
|
+
--fgColor-severe: #86061d; /** Severe text for high-priority warnings */
|
|
498
|
+
--fgColor-sponsors: #7d0c57; /** Text color for GitHub Sponsors content */
|
|
499
|
+
--fgColor-success: #023b95; /** Success text for positive feedback and completed states */
|
|
496
500
|
--header-bgColor: #25292e;
|
|
497
501
|
--header-borderColor-divider: #c8d1da;
|
|
498
502
|
--headerSearch-bgColor: #25292e;
|
|
@@ -620,22 +624,22 @@
|
|
|
620
624
|
--reactionButton-selected-fgColor-hover: #023b95;
|
|
621
625
|
--selectMenu-bgColor-active: #9cd7ff;
|
|
622
626
|
--selectMenu-borderColor: #ffffff00;
|
|
623
|
-
--shadow-floating-legacy: 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f;
|
|
624
|
-
--shadow-resting-medium: 0px 1px 1px 0px #25292e1a, 0px 3px 6px 0px #25292e1f;
|
|
627
|
+
--shadow-floating-legacy: 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f; /** Legacy floating shadow for backward compatibility */
|
|
628
|
+
--shadow-resting-medium: 0px 1px 1px 0px #25292e1a, 0px 3px 6px 0px #25292e1f; /** Medium resting shadow for cards and elevated surfaces */
|
|
625
629
|
--skeletonLoader-bgColor: #dae0e7;
|
|
626
630
|
--treeViewItem-leadingVisual-iconColor-rest: #368cf9;
|
|
627
631
|
--underlineNav-borderColor-active: #cd3425;
|
|
628
632
|
--avatar-bgColor: #ffffff;
|
|
629
633
|
--avatar-shadow: 0px 0px 0px 2px #ffffffcc;
|
|
630
|
-
--bgColor-black: #010409;
|
|
631
|
-
--bgColor-closed-emphasis: var(--bgColor-neutral-emphasis);
|
|
632
|
-
--bgColor-closed-muted: var(--bgColor-neutral-muted);
|
|
633
|
-
--bgColor-default: #ffffff;
|
|
634
|
-
--bgColor-draft-emphasis: var(--bgColor-neutral-emphasis);
|
|
635
|
-
--bgColor-draft-muted: var(--bgColor-neutral-muted);
|
|
636
|
-
--bgColor-upsell-emphasis: var(--bgColor-done-emphasis);
|
|
637
|
-
--bgColor-upsell-muted: var(--bgColor-done-muted);
|
|
638
|
-
--bgColor-white: #ffffff;
|
|
634
|
+
--bgColor-black: #010409; /** Pure black background */
|
|
635
|
+
--bgColor-closed-emphasis: var(--bgColor-neutral-emphasis); /** Strong background for closed state badges and labels */
|
|
636
|
+
--bgColor-closed-muted: var(--bgColor-neutral-muted); /** Subtle background for closed state indicators (issues, PRs) */
|
|
637
|
+
--bgColor-default: #ffffff; /** Default background color for pages and main content areas */
|
|
638
|
+
--bgColor-draft-emphasis: var(--bgColor-neutral-emphasis); /** Strong background for draft state badges and labels */
|
|
639
|
+
--bgColor-draft-muted: var(--bgColor-neutral-muted); /** Subtle background for draft state indicators */
|
|
640
|
+
--bgColor-upsell-emphasis: var(--bgColor-done-emphasis); /** Strong background for prominent upsell elements */
|
|
641
|
+
--bgColor-upsell-muted: var(--bgColor-done-muted); /** Subtle background for upsell and promotional content */
|
|
642
|
+
--bgColor-white: #ffffff; /** Pure white background */
|
|
639
643
|
--border-accent-emphasis: 0.0625rem solid #0349b4;
|
|
640
644
|
--border-accent-muted: 0.0625rem solid #368cf9;
|
|
641
645
|
--border-attention-emphasis: 0.0625rem solid #744500;
|
|
@@ -654,13 +658,13 @@
|
|
|
654
658
|
--border-success-emphasis: 0.0625rem solid #0349b4;
|
|
655
659
|
--border-success-muted: 0.0625rem solid #368cf9;
|
|
656
660
|
--border-transparent: 0.0625rem solid #ffffff00;
|
|
657
|
-
--borderColor-closed-muted: var(--borderColor-default);
|
|
658
|
-
--borderColor-draft-emphasis: var(--borderColor-neutral-emphasis);
|
|
659
|
-
--borderColor-draft-muted: var(--borderColor-default);
|
|
660
|
-
--borderColor-emphasis: var(--borderColor-default);
|
|
661
|
-
--borderColor-muted: var(--borderColor-default);
|
|
662
|
-
--borderColor-upsell-emphasis: var(--borderColor-done-emphasis);
|
|
663
|
-
--borderColor-upsell-muted: var(--borderColor-done-muted);
|
|
661
|
+
--borderColor-closed-muted: var(--borderColor-default); /** Subtle border for closed state indicators */
|
|
662
|
+
--borderColor-draft-emphasis: var(--borderColor-neutral-emphasis); /** Strong border for draft state badges */
|
|
663
|
+
--borderColor-draft-muted: var(--borderColor-default); /** Subtle border for draft state indicators */
|
|
664
|
+
--borderColor-emphasis: var(--borderColor-default); /** Strong border for emphasis and visual weight */
|
|
665
|
+
--borderColor-muted: var(--borderColor-default); /** Subtle border for secondary elements and light separators */
|
|
666
|
+
--borderColor-upsell-emphasis: var(--borderColor-done-emphasis); /** Strong border for prominent upsell elements */
|
|
667
|
+
--borderColor-upsell-muted: var(--borderColor-done-muted); /** Subtle border for upsell and promotional content */
|
|
664
668
|
--button-danger-bgColor-hover: var(--bgColor-danger-emphasis);
|
|
665
669
|
--button-danger-bgColor-rest: var(--control-bgColor-rest);
|
|
666
670
|
--button-danger-borderColor-active: var(--button-danger-borderColor-hover);
|
|
@@ -761,16 +765,16 @@
|
|
|
761
765
|
--diffBlob-emptyLine-bgColor: var(--bgColor-muted);
|
|
762
766
|
--diffBlob-emptyNum-bgColor: var(--bgColor-muted);
|
|
763
767
|
--diffBlob-hunkLine-fgColor: var(--fgColor-muted);
|
|
764
|
-
--fgColor-black: #010409;
|
|
765
|
-
--fgColor-closed: var(--fgColor-muted);
|
|
766
|
-
--fgColor-default: #010409;
|
|
767
|
-
--fgColor-draft: var(--fgColor-neutral);
|
|
768
|
-
--fgColor-link: var(--fgColor-accent);
|
|
769
|
-
--fgColor-onEmphasis: #ffffff;
|
|
770
|
-
--fgColor-onInverse: #ffffff;
|
|
771
|
-
--fgColor-upsell: var(--fgColor-done);
|
|
772
|
-
--fgColor-white: #ffffff;
|
|
773
|
-
--focus-outlineColor: var(--borderColor-accent-emphasis);
|
|
768
|
+
--fgColor-black: #010409; /** Pure black text */
|
|
769
|
+
--fgColor-closed: var(--fgColor-muted); /** Text color for closed state indicators (issues, PRs) */
|
|
770
|
+
--fgColor-default: #010409; /** Default text color for primary content and headings */
|
|
771
|
+
--fgColor-draft: var(--fgColor-neutral); /** Text color for draft state indicators */
|
|
772
|
+
--fgColor-link: var(--fgColor-accent); /** Text color for hyperlinks */
|
|
773
|
+
--fgColor-onEmphasis: #ffffff; /** Text color for use on emphasis backgrounds */
|
|
774
|
+
--fgColor-onInverse: #ffffff; /** Text color for use on inverse backgrounds */
|
|
775
|
+
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
776
|
+
--fgColor-white: #ffffff; /** Pure white text */
|
|
777
|
+
--focus-outlineColor: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
774
778
|
--header-fgColor-default: #ffffffb3;
|
|
775
779
|
--header-fgColor-logo: #ffffff;
|
|
776
780
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
@@ -802,10 +806,10 @@
|
|
|
802
806
|
--progressBar-bgColor-severe: var(--bgColor-severe-emphasis);
|
|
803
807
|
--progressBar-bgColor-sponsors: var(--bgColor-sponsors-emphasis);
|
|
804
808
|
--progressBar-bgColor-success: var(--bgColor-success-emphasis);
|
|
805
|
-
--selection-bgColor: #0349b433;
|
|
806
|
-
--shadow-inset: inset 0px 1px 0px 0px #0104090a;
|
|
807
|
-
--shadow-resting-small: 0px 1px 1px 0px #
|
|
808
|
-
--shadow-resting-xsmall: 0px 1px 1px 0px #
|
|
809
|
+
--selection-bgColor: #0349b433; /** Background color for text selection highlights */
|
|
810
|
+
--shadow-inset: inset 0px 1px 0px 0px #0104090a; /** Inset shadow for recessed elements */
|
|
811
|
+
--shadow-resting-small: 0px 1px 1px 0px #0104090a, 0px 1px 2px 0px #01040908; /** Small resting shadow for buttons and interactive elements */
|
|
812
|
+
--shadow-resting-xsmall: 0px 1px 1px 0px #0104090d; /** Extra small resting shadow for minimal elevation */
|
|
809
813
|
--sideNav-bgColor-selected: #ffffff;
|
|
810
814
|
--timelineBadge-bgColor: var(--bgColor-muted);
|
|
811
815
|
--tooltip-bgColor: var(--bgColor-emphasis);
|
|
@@ -820,8 +824,8 @@
|
|
|
820
824
|
--border-open-muted: var(--border-success-muted);
|
|
821
825
|
--border-upsell-emphasis: 0.0625rem solid #622cbc;
|
|
822
826
|
--border-upsell-muted: 0.0625rem solid #a371f7;
|
|
823
|
-
--borderColor-closed-emphasis: var(--borderColor-emphasis);
|
|
824
|
-
--borderColor-neutral-muted: var(--borderColor-muted);
|
|
827
|
+
--borderColor-closed-emphasis: var(--borderColor-emphasis); /** Strong border for closed state badges */
|
|
828
|
+
--borderColor-neutral-muted: var(--borderColor-muted); /** Subtle neutral semantic border */
|
|
825
829
|
--button-danger-bgColor-disabled: var(--control-bgColor-disabled);
|
|
826
830
|
--button-danger-borderColor-rest: var(--control-borderColor-rest);
|
|
827
831
|
--button-danger-iconColor-rest: var(--button-danger-fgColor-rest);
|
|
@@ -879,13 +883,13 @@
|
|
|
879
883
|
--diffBlob-expander-iconColor: var(--fgColor-default);
|
|
880
884
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-default);
|
|
881
885
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
882
|
-
--focus-outline: 2px solid #0349b4;
|
|
886
|
+
--focus-outline: 2px solid #0349b4; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
883
887
|
--progressBar-track-bgColor: var(--bgColor-default);
|
|
884
888
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
885
|
-
--shadow-floating-large: 0px 0px 0px 1px #454c54, 0px 40px 80px 0px #25292e3d;
|
|
886
|
-
--shadow-floating-medium: 0px 0px 0px 1px #454c54, 0px 8px 16px -4px #25292e14, 0px 4px 32px -4px #25292e14, 0px 24px 48px -12px #25292e14, 0px 48px 96px -24px #25292e14;
|
|
887
|
-
--shadow-floating-small: 0px 0px 0px 1px #454c5480, 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f;
|
|
888
|
-
--shadow-floating-xlarge: 0px 0px 0px 1px #454c54, 0px 56px 112px 0px #25292e52;
|
|
889
|
+
--shadow-floating-large: 0px 0px 0px 1px #454c54, 0px 40px 80px 0px #25292e3d; /** Large floating shadow for modals and dialogs */
|
|
890
|
+
--shadow-floating-medium: 0px 0px 0px 1px #454c54, 0px 8px 16px -4px #25292e14, 0px 4px 32px -4px #25292e14, 0px 24px 48px -12px #25292e14, 0px 48px 96px -24px #25292e14; /** Medium floating shadow for popovers and action menus */
|
|
891
|
+
--shadow-floating-small: 0px 0px 0px 1px #454c5480, 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f; /** Small floating shadow for dropdowns, tooltips, and small overlays */
|
|
892
|
+
--shadow-floating-xlarge: 0px 0px 0px 1px #454c54, 0px 56px 112px 0px #25292e52; /** Extra large floating shadow for full-screen overlays and sheets */
|
|
889
893
|
--tooltip-fgColor: var(--fgColor-onEmphasis);
|
|
890
894
|
--underlineNav-borderColor-hover: var(--borderColor-muted);
|
|
891
895
|
--border-neutral-muted: 0.0625rem solid #454c54;
|
|
@@ -911,51 +915,51 @@
|
|
|
911
915
|
--reactionButton-selected-bgColor-hover: #caecff;
|
|
912
916
|
--avatarStack-fade-bgColor-default: #c8d1da;
|
|
913
917
|
--avatarStack-fade-bgColor-muted: #dae0e7;
|
|
914
|
-
--bgColor-accent-emphasis: #0349b4;
|
|
915
|
-
--bgColor-accent-muted: #dff7ff;
|
|
916
|
-
--bgColor-attention-emphasis: #744500;
|
|
917
|
-
--bgColor-attention-muted: #fcf7be;
|
|
918
|
-
--bgColor-danger-emphasis: #a0111f;
|
|
919
|
-
--bgColor-danger-muted: #fff0ee;
|
|
920
|
-
--bgColor-disabled: #e0e6eb;
|
|
921
|
-
--bgColor-done-emphasis: #622cbc;
|
|
922
|
-
--bgColor-done-muted: #faf0fe;
|
|
923
|
-
--bgColor-emphasis: #25292e;
|
|
924
|
-
--bgColor-inset: #eff2f5;
|
|
925
|
-
--bgColor-inverse: #25292e;
|
|
926
|
-
--bgColor-muted: #e6eaef;
|
|
927
|
-
--bgColor-neutral-emphasis: #454c54;
|
|
928
|
-
--bgColor-neutral-muted: #e0e6eb;
|
|
929
|
-
--bgColor-open-emphasis: #a0111f;
|
|
930
|
-
--bgColor-open-muted: #fff0ee;
|
|
931
|
-
--bgColor-severe-emphasis: #a0111f;
|
|
932
|
-
--bgColor-severe-muted: #fff0ee;
|
|
933
|
-
--bgColor-sponsors-emphasis: #971368;
|
|
934
|
-
--bgColor-sponsors-muted: #feeff7;
|
|
935
|
-
--bgColor-success-emphasis: #0349b4;
|
|
936
|
-
--bgColor-success-muted: #dff7ff;
|
|
937
|
-
--bgColor-transparent: #ffffff00;
|
|
938
|
-
--borderColor-accent-emphasis: #0349b4;
|
|
939
|
-
--borderColor-accent-muted: #368cf9;
|
|
940
|
-
--borderColor-attention-emphasis: #744500;
|
|
941
|
-
--borderColor-attention-muted: #b58407;
|
|
942
|
-
--borderColor-danger-emphasis: #a0111f;
|
|
943
|
-
--borderColor-danger-muted: #ee5a5d;
|
|
944
|
-
--borderColor-default: #454c54;
|
|
945
|
-
--borderColor-disabled: #59636e1f;
|
|
946
|
-
--borderColor-done-emphasis: #622cbc;
|
|
947
|
-
--borderColor-done-muted: #a371f7;
|
|
948
|
-
--borderColor-neutral-emphasis: #59636e;
|
|
949
|
-
--borderColor-open-emphasis: #a0111f;
|
|
950
|
-
--borderColor-open-muted: #ee5a5d;
|
|
951
|
-
--borderColor-severe-emphasis: #a0111f;
|
|
952
|
-
--borderColor-severe-muted: #ee5a5d;
|
|
953
|
-
--borderColor-sponsors-emphasis: #971368;
|
|
954
|
-
--borderColor-sponsors-muted: #ed4baf;
|
|
955
|
-
--borderColor-success-emphasis: #0349b4;
|
|
956
|
-
--borderColor-success-muted: #368cf9;
|
|
957
|
-
--borderColor-translucent: #59636e;
|
|
958
|
-
--borderColor-transparent: #ffffff00;
|
|
918
|
+
--bgColor-accent-emphasis: #0349b4; /** Strong accent background for active states and focused states */
|
|
919
|
+
--bgColor-accent-muted: #dff7ff; /** Subtle accent background for informational or selected elements */
|
|
920
|
+
--bgColor-attention-emphasis: #744500; /** Strong attention background for prominent warnings */
|
|
921
|
+
--bgColor-attention-muted: #fcf7be; /** Subtle attention background for warnings and caution states */
|
|
922
|
+
--bgColor-danger-emphasis: #a0111f; /** Emphasized danger background for critical errors and delete confirmations */
|
|
923
|
+
--bgColor-danger-muted: #fff0ee; /** Muted danger background for error states and destructive action contexts */
|
|
924
|
+
--bgColor-disabled: #e0e6eb; /** Background for disabled interactive elements */
|
|
925
|
+
--bgColor-done-emphasis: #622cbc; /** Strong background for completed/done state badges and labels */
|
|
926
|
+
--bgColor-done-muted: #faf0fe; /** Subtle background for completed/done state indicators */
|
|
927
|
+
--bgColor-emphasis: #25292e; /** High-emphasis dark background for strong visual contrast */
|
|
928
|
+
--bgColor-inset: #eff2f5; /** Inset background for recessed content areas like wells or sunken panels */
|
|
929
|
+
--bgColor-inverse: #25292e; /** Inverse background that flips between light and dark modes */
|
|
930
|
+
--bgColor-muted: #e6eaef; /** Muted background for secondary content areas and subtle grouping */
|
|
931
|
+
--bgColor-neutral-emphasis: #454c54; /** Strong neutral background for prominent neutral elements */
|
|
932
|
+
--bgColor-neutral-muted: #e0e6eb; /** Subtle neutral background for tags, labels, and secondary UI elements */
|
|
933
|
+
--bgColor-open-emphasis: #a0111f; /** Strong background for open state badges and labels */
|
|
934
|
+
--bgColor-open-muted: #fff0ee; /** Subtle background for open state indicators (issues, PRs) */
|
|
935
|
+
--bgColor-severe-emphasis: #a0111f; /** Strong severe background for prominent high-priority warnings */
|
|
936
|
+
--bgColor-severe-muted: #fff0ee; /** Subtle severe background for high-priority warnings */
|
|
937
|
+
--bgColor-sponsors-emphasis: #971368; /** Strong background for prominent GitHub Sponsors elements */
|
|
938
|
+
--bgColor-sponsors-muted: #feeff7; /** Subtle background for GitHub Sponsors content */
|
|
939
|
+
--bgColor-success-emphasis: #0349b4; /** Strong success background for prominent positive actions */
|
|
940
|
+
--bgColor-success-muted: #dff7ff; /** Subtle success background for positive feedback and completed states */
|
|
941
|
+
--bgColor-transparent: #ffffff00; /** Fully transparent background */
|
|
942
|
+
--borderColor-accent-emphasis: #0349b4; /** Strong accent border for selected or focused elements */
|
|
943
|
+
--borderColor-accent-muted: #368cf9; /** Subtle accent border for selected or focused elements */
|
|
944
|
+
--borderColor-attention-emphasis: #744500; /** Strong attention border for prominent warnings */
|
|
945
|
+
--borderColor-attention-muted: #b58407; /** Subtle attention border for warnings and caution states */
|
|
946
|
+
--borderColor-danger-emphasis: #a0111f; /** Strong danger border for destructive actions and errors */
|
|
947
|
+
--borderColor-danger-muted: #ee5a5d; /** Subtle danger border for errors and destructive contexts */
|
|
948
|
+
--borderColor-default: #454c54; /** Default border color for most UI elements */
|
|
949
|
+
--borderColor-disabled: #59636e1f; /** Border color for disabled interactive elements */
|
|
950
|
+
--borderColor-done-emphasis: #622cbc; /** Strong border for completed/done state badges */
|
|
951
|
+
--borderColor-done-muted: #a371f7; /** Subtle border for completed/done state indicators */
|
|
952
|
+
--borderColor-neutral-emphasis: #59636e; /** Strong neutral semantic border */
|
|
953
|
+
--borderColor-open-emphasis: #a0111f; /** Strong border for open state badges */
|
|
954
|
+
--borderColor-open-muted: #ee5a5d; /** Subtle border for open state indicators */
|
|
955
|
+
--borderColor-severe-emphasis: #a0111f; /** Strong severe border for prominent high-priority warnings */
|
|
956
|
+
--borderColor-severe-muted: #ee5a5d; /** Subtle severe border for high-priority warnings */
|
|
957
|
+
--borderColor-sponsors-emphasis: #971368; /** Strong border for prominent GitHub Sponsors elements */
|
|
958
|
+
--borderColor-sponsors-muted: #ed4baf; /** Subtle border for GitHub Sponsors content */
|
|
959
|
+
--borderColor-success-emphasis: #0349b4; /** Strong success border for prominent positive elements */
|
|
960
|
+
--borderColor-success-muted: #368cf9; /** Subtle success border for positive feedback elements */
|
|
961
|
+
--borderColor-translucent: #59636e; /** Semi-transparent border for overlays and layered elements */
|
|
962
|
+
--borderColor-transparent: #ffffff00; /** Fully transparent border */
|
|
959
963
|
--button-danger-bgColor-active: #86061d;
|
|
960
964
|
--button-danger-borderColor-hover: #6e011a;
|
|
961
965
|
--button-danger-shadow-selected: inset 0px 1px 0px 0px #43001133;
|
|
@@ -1379,17 +1383,17 @@
|
|
|
1379
1383
|
--display-yellow-scale-7: #704d00;
|
|
1380
1384
|
--display-yellow-scale-8: #5c3d00;
|
|
1381
1385
|
--display-yellow-scale-9: #422b00;
|
|
1382
|
-
--fgColor-accent: #023b95;
|
|
1383
|
-
--fgColor-attention: #603700;
|
|
1384
|
-
--fgColor-danger: #86061d;
|
|
1385
|
-
--fgColor-disabled: #59636e;
|
|
1386
|
-
--fgColor-done: #512598;
|
|
1387
|
-
--fgColor-muted: #393f46;
|
|
1388
|
-
--fgColor-neutral: #393f46;
|
|
1389
|
-
--fgColor-open: #86061d;
|
|
1390
|
-
--fgColor-severe: #86061d;
|
|
1391
|
-
--fgColor-sponsors: #7d0c57;
|
|
1392
|
-
--fgColor-success: #023b95;
|
|
1386
|
+
--fgColor-accent: #023b95; /** Accent text for links and interactive elements */
|
|
1387
|
+
--fgColor-attention: #603700; /** Attention text for warnings and caution states */
|
|
1388
|
+
--fgColor-danger: #86061d; /** Danger text for errors and destructive actions */
|
|
1389
|
+
--fgColor-disabled: #59636e; /** Text color for disabled interactive elements */
|
|
1390
|
+
--fgColor-done: #512598; /** Text color for completed/done state indicators */
|
|
1391
|
+
--fgColor-muted: #393f46; /** Muted text for secondary content and less important information */
|
|
1392
|
+
--fgColor-neutral: #393f46; /** Neutral semantic text for icons and secondary elements */
|
|
1393
|
+
--fgColor-open: #86061d; /** Text color for open state indicators (issues, PRs) */
|
|
1394
|
+
--fgColor-severe: #86061d; /** Severe text for high-priority warnings */
|
|
1395
|
+
--fgColor-sponsors: #7d0c57; /** Text color for GitHub Sponsors content */
|
|
1396
|
+
--fgColor-success: #023b95; /** Success text for positive feedback and completed states */
|
|
1393
1397
|
--header-bgColor: #25292e;
|
|
1394
1398
|
--header-borderColor-divider: #c8d1da;
|
|
1395
1399
|
--headerSearch-bgColor: #25292e;
|
|
@@ -1517,22 +1521,22 @@
|
|
|
1517
1521
|
--reactionButton-selected-fgColor-hover: #023b95;
|
|
1518
1522
|
--selectMenu-bgColor-active: #9cd7ff;
|
|
1519
1523
|
--selectMenu-borderColor: #ffffff00;
|
|
1520
|
-
--shadow-floating-legacy: 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f;
|
|
1521
|
-
--shadow-resting-medium: 0px 1px 1px 0px #25292e1a, 0px 3px 6px 0px #25292e1f;
|
|
1524
|
+
--shadow-floating-legacy: 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f; /** Legacy floating shadow for backward compatibility */
|
|
1525
|
+
--shadow-resting-medium: 0px 1px 1px 0px #25292e1a, 0px 3px 6px 0px #25292e1f; /** Medium resting shadow for cards and elevated surfaces */
|
|
1522
1526
|
--skeletonLoader-bgColor: #dae0e7;
|
|
1523
1527
|
--treeViewItem-leadingVisual-iconColor-rest: #368cf9;
|
|
1524
1528
|
--underlineNav-borderColor-active: #cd3425;
|
|
1525
1529
|
--avatar-bgColor: #ffffff;
|
|
1526
1530
|
--avatar-shadow: 0px 0px 0px 2px #ffffffcc;
|
|
1527
|
-
--bgColor-black: #010409;
|
|
1528
|
-
--bgColor-closed-emphasis: var(--bgColor-neutral-emphasis);
|
|
1529
|
-
--bgColor-closed-muted: var(--bgColor-neutral-muted);
|
|
1530
|
-
--bgColor-default: #ffffff;
|
|
1531
|
-
--bgColor-draft-emphasis: var(--bgColor-neutral-emphasis);
|
|
1532
|
-
--bgColor-draft-muted: var(--bgColor-neutral-muted);
|
|
1533
|
-
--bgColor-upsell-emphasis: var(--bgColor-done-emphasis);
|
|
1534
|
-
--bgColor-upsell-muted: var(--bgColor-done-muted);
|
|
1535
|
-
--bgColor-white: #ffffff;
|
|
1531
|
+
--bgColor-black: #010409; /** Pure black background */
|
|
1532
|
+
--bgColor-closed-emphasis: var(--bgColor-neutral-emphasis); /** Strong background for closed state badges and labels */
|
|
1533
|
+
--bgColor-closed-muted: var(--bgColor-neutral-muted); /** Subtle background for closed state indicators (issues, PRs) */
|
|
1534
|
+
--bgColor-default: #ffffff; /** Default background color for pages and main content areas */
|
|
1535
|
+
--bgColor-draft-emphasis: var(--bgColor-neutral-emphasis); /** Strong background for draft state badges and labels */
|
|
1536
|
+
--bgColor-draft-muted: var(--bgColor-neutral-muted); /** Subtle background for draft state indicators */
|
|
1537
|
+
--bgColor-upsell-emphasis: var(--bgColor-done-emphasis); /** Strong background for prominent upsell elements */
|
|
1538
|
+
--bgColor-upsell-muted: var(--bgColor-done-muted); /** Subtle background for upsell and promotional content */
|
|
1539
|
+
--bgColor-white: #ffffff; /** Pure white background */
|
|
1536
1540
|
--border-accent-emphasis: 0.0625rem solid #0349b4;
|
|
1537
1541
|
--border-accent-muted: 0.0625rem solid #368cf9;
|
|
1538
1542
|
--border-attention-emphasis: 0.0625rem solid #744500;
|
|
@@ -1551,13 +1555,13 @@
|
|
|
1551
1555
|
--border-success-emphasis: 0.0625rem solid #0349b4;
|
|
1552
1556
|
--border-success-muted: 0.0625rem solid #368cf9;
|
|
1553
1557
|
--border-transparent: 0.0625rem solid #ffffff00;
|
|
1554
|
-
--borderColor-closed-muted: var(--borderColor-default);
|
|
1555
|
-
--borderColor-draft-emphasis: var(--borderColor-neutral-emphasis);
|
|
1556
|
-
--borderColor-draft-muted: var(--borderColor-default);
|
|
1557
|
-
--borderColor-emphasis: var(--borderColor-default);
|
|
1558
|
-
--borderColor-muted: var(--borderColor-default);
|
|
1559
|
-
--borderColor-upsell-emphasis: var(--borderColor-done-emphasis);
|
|
1560
|
-
--borderColor-upsell-muted: var(--borderColor-done-muted);
|
|
1558
|
+
--borderColor-closed-muted: var(--borderColor-default); /** Subtle border for closed state indicators */
|
|
1559
|
+
--borderColor-draft-emphasis: var(--borderColor-neutral-emphasis); /** Strong border for draft state badges */
|
|
1560
|
+
--borderColor-draft-muted: var(--borderColor-default); /** Subtle border for draft state indicators */
|
|
1561
|
+
--borderColor-emphasis: var(--borderColor-default); /** Strong border for emphasis and visual weight */
|
|
1562
|
+
--borderColor-muted: var(--borderColor-default); /** Subtle border for secondary elements and light separators */
|
|
1563
|
+
--borderColor-upsell-emphasis: var(--borderColor-done-emphasis); /** Strong border for prominent upsell elements */
|
|
1564
|
+
--borderColor-upsell-muted: var(--borderColor-done-muted); /** Subtle border for upsell and promotional content */
|
|
1561
1565
|
--button-danger-bgColor-hover: var(--bgColor-danger-emphasis);
|
|
1562
1566
|
--button-danger-bgColor-rest: var(--control-bgColor-rest);
|
|
1563
1567
|
--button-danger-borderColor-active: var(--button-danger-borderColor-hover);
|
|
@@ -1658,16 +1662,16 @@
|
|
|
1658
1662
|
--diffBlob-emptyLine-bgColor: var(--bgColor-muted);
|
|
1659
1663
|
--diffBlob-emptyNum-bgColor: var(--bgColor-muted);
|
|
1660
1664
|
--diffBlob-hunkLine-fgColor: var(--fgColor-muted);
|
|
1661
|
-
--fgColor-black: #010409;
|
|
1662
|
-
--fgColor-closed: var(--fgColor-muted);
|
|
1663
|
-
--fgColor-default: #010409;
|
|
1664
|
-
--fgColor-draft: var(--fgColor-neutral);
|
|
1665
|
-
--fgColor-link: var(--fgColor-accent);
|
|
1666
|
-
--fgColor-onEmphasis: #ffffff;
|
|
1667
|
-
--fgColor-onInverse: #ffffff;
|
|
1668
|
-
--fgColor-upsell: var(--fgColor-done);
|
|
1669
|
-
--fgColor-white: #ffffff;
|
|
1670
|
-
--focus-outlineColor: var(--borderColor-accent-emphasis);
|
|
1665
|
+
--fgColor-black: #010409; /** Pure black text */
|
|
1666
|
+
--fgColor-closed: var(--fgColor-muted); /** Text color for closed state indicators (issues, PRs) */
|
|
1667
|
+
--fgColor-default: #010409; /** Default text color for primary content and headings */
|
|
1668
|
+
--fgColor-draft: var(--fgColor-neutral); /** Text color for draft state indicators */
|
|
1669
|
+
--fgColor-link: var(--fgColor-accent); /** Text color for hyperlinks */
|
|
1670
|
+
--fgColor-onEmphasis: #ffffff; /** Text color for use on emphasis backgrounds */
|
|
1671
|
+
--fgColor-onInverse: #ffffff; /** Text color for use on inverse backgrounds */
|
|
1672
|
+
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
1673
|
+
--fgColor-white: #ffffff; /** Pure white text */
|
|
1674
|
+
--focus-outlineColor: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
1671
1675
|
--header-fgColor-default: #ffffffb3;
|
|
1672
1676
|
--header-fgColor-logo: #ffffff;
|
|
1673
1677
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
@@ -1699,10 +1703,10 @@
|
|
|
1699
1703
|
--progressBar-bgColor-severe: var(--bgColor-severe-emphasis);
|
|
1700
1704
|
--progressBar-bgColor-sponsors: var(--bgColor-sponsors-emphasis);
|
|
1701
1705
|
--progressBar-bgColor-success: var(--bgColor-success-emphasis);
|
|
1702
|
-
--selection-bgColor: #0349b433;
|
|
1703
|
-
--shadow-inset: inset 0px 1px 0px 0px #0104090a;
|
|
1704
|
-
--shadow-resting-small: 0px 1px 1px 0px #
|
|
1705
|
-
--shadow-resting-xsmall: 0px 1px 1px 0px #
|
|
1706
|
+
--selection-bgColor: #0349b433; /** Background color for text selection highlights */
|
|
1707
|
+
--shadow-inset: inset 0px 1px 0px 0px #0104090a; /** Inset shadow for recessed elements */
|
|
1708
|
+
--shadow-resting-small: 0px 1px 1px 0px #0104090a, 0px 1px 2px 0px #01040908; /** Small resting shadow for buttons and interactive elements */
|
|
1709
|
+
--shadow-resting-xsmall: 0px 1px 1px 0px #0104090d; /** Extra small resting shadow for minimal elevation */
|
|
1706
1710
|
--sideNav-bgColor-selected: #ffffff;
|
|
1707
1711
|
--timelineBadge-bgColor: var(--bgColor-muted);
|
|
1708
1712
|
--tooltip-bgColor: var(--bgColor-emphasis);
|
|
@@ -1717,8 +1721,8 @@
|
|
|
1717
1721
|
--border-open-muted: var(--border-success-muted);
|
|
1718
1722
|
--border-upsell-emphasis: 0.0625rem solid #622cbc;
|
|
1719
1723
|
--border-upsell-muted: 0.0625rem solid #a371f7;
|
|
1720
|
-
--borderColor-closed-emphasis: var(--borderColor-emphasis);
|
|
1721
|
-
--borderColor-neutral-muted: var(--borderColor-muted);
|
|
1724
|
+
--borderColor-closed-emphasis: var(--borderColor-emphasis); /** Strong border for closed state badges */
|
|
1725
|
+
--borderColor-neutral-muted: var(--borderColor-muted); /** Subtle neutral semantic border */
|
|
1722
1726
|
--button-danger-bgColor-disabled: var(--control-bgColor-disabled);
|
|
1723
1727
|
--button-danger-borderColor-rest: var(--control-borderColor-rest);
|
|
1724
1728
|
--button-danger-iconColor-rest: var(--button-danger-fgColor-rest);
|
|
@@ -1776,13 +1780,13 @@
|
|
|
1776
1780
|
--diffBlob-expander-iconColor: var(--fgColor-default);
|
|
1777
1781
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-default);
|
|
1778
1782
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
1779
|
-
--focus-outline: 2px solid #0349b4;
|
|
1783
|
+
--focus-outline: 2px solid #0349b4; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
1780
1784
|
--progressBar-track-bgColor: var(--bgColor-default);
|
|
1781
1785
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
1782
|
-
--shadow-floating-large: 0px 0px 0px 1px #454c54, 0px 40px 80px 0px #25292e3d;
|
|
1783
|
-
--shadow-floating-medium: 0px 0px 0px 1px #454c54, 0px 8px 16px -4px #25292e14, 0px 4px 32px -4px #25292e14, 0px 24px 48px -12px #25292e14, 0px 48px 96px -24px #25292e14;
|
|
1784
|
-
--shadow-floating-small: 0px 0px 0px 1px #454c5480, 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f;
|
|
1785
|
-
--shadow-floating-xlarge: 0px 0px 0px 1px #454c54, 0px 56px 112px 0px #25292e52;
|
|
1786
|
+
--shadow-floating-large: 0px 0px 0px 1px #454c54, 0px 40px 80px 0px #25292e3d; /** Large floating shadow for modals and dialogs */
|
|
1787
|
+
--shadow-floating-medium: 0px 0px 0px 1px #454c54, 0px 8px 16px -4px #25292e14, 0px 4px 32px -4px #25292e14, 0px 24px 48px -12px #25292e14, 0px 48px 96px -24px #25292e14; /** Medium floating shadow for popovers and action menus */
|
|
1788
|
+
--shadow-floating-small: 0px 0px 0px 1px #454c5480, 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f; /** Small floating shadow for dropdowns, tooltips, and small overlays */
|
|
1789
|
+
--shadow-floating-xlarge: 0px 0px 0px 1px #454c54, 0px 56px 112px 0px #25292e52; /** Extra large floating shadow for full-screen overlays and sheets */
|
|
1786
1790
|
--tooltip-fgColor: var(--fgColor-onEmphasis);
|
|
1787
1791
|
--underlineNav-borderColor-hover: var(--borderColor-muted);
|
|
1788
1792
|
--border-neutral-muted: 0.0625rem solid #454c54;
|