@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="dark"][data-dark-theme="dark_high_contrast"],
|
|
2
6
|
[data-color-mode="auto"][data-light-theme="dark_high_contrast"] {
|
|
3
7
|
--button-primary-bgColor-active: #109135;
|
|
@@ -8,52 +12,52 @@
|
|
|
8
12
|
--control-checked-bgColor-active: #3c79d0;
|
|
9
13
|
--control-checked-bgColor-hover: #2b64c1;
|
|
10
14
|
--control-danger-bgColor-active: #c51120;
|
|
11
|
-
--fgColor-accent: #74b9ff;
|
|
12
|
-
--fgColor-done: #d3abff;
|
|
13
|
-
--fgColor-sponsors: #ff90c8;
|
|
14
|
-
--fgColor-success: #2bd853;
|
|
15
|
+
--fgColor-accent: #74b9ff; /** Accent text for links and interactive elements */
|
|
16
|
+
--fgColor-done: #d3abff; /** Text color for completed/done state indicators */
|
|
17
|
+
--fgColor-sponsors: #ff90c8; /** Text color for GitHub Sponsors content */
|
|
18
|
+
--fgColor-success: #2bd853; /** Success text for positive feedback and completed states */
|
|
15
19
|
--reactionButton-selected-bgColor-hover: #5dadff5c;
|
|
16
20
|
--avatar-shadow: 0px 0px 0px 2px #0d1117;
|
|
17
21
|
--avatarStack-fade-bgColor-default: #3d444d;
|
|
18
22
|
--avatarStack-fade-bgColor-muted: #2a313c;
|
|
19
|
-
--bgColor-accent-emphasis: #194fb1;
|
|
20
|
-
--bgColor-accent-muted: #5cacff1a;
|
|
21
|
-
--bgColor-attention-emphasis: #7b4900;
|
|
22
|
-
--bgColor-attention-muted: #edaa2726;
|
|
23
|
-
--bgColor-danger-emphasis: #ad0116;
|
|
24
|
-
--bgColor-danger-muted: #ff80801a;
|
|
25
|
-
--bgColor-disabled: #262c36;
|
|
26
|
-
--bgColor-done-emphasis: #6921d7;
|
|
27
|
-
--bgColor-done-muted: #bf8fff26;
|
|
28
|
-
--bgColor-emphasis: #3d444d;
|
|
29
|
-
--bgColor-muted: #151b23;
|
|
30
|
-
--bgColor-neutral-emphasis: #3d444d;
|
|
31
|
-
--bgColor-neutral-muted: #212830;
|
|
32
|
-
--bgColor-severe-emphasis: #8f3c00;
|
|
33
|
-
--bgColor-severe-muted: #f48b251a;
|
|
34
|
-
--bgColor-sponsors-emphasis: #9c1d6a;
|
|
35
|
-
--bgColor-sponsors-muted: #f87cbd1a;
|
|
36
|
-
--bgColor-success-emphasis: #006222;
|
|
37
|
-
--bgColor-success-muted: #0ac74026;
|
|
38
|
-
--bgColor-transparent: #00000000;
|
|
39
|
-
--borderColor-accent-emphasis: #409eff;
|
|
40
|
-
--borderColor-accent-muted: #5cacff;
|
|
41
|
-
--borderColor-attention-emphasis: #e09b13;
|
|
42
|
-
--borderColor-attention-muted: #edaa27;
|
|
43
|
-
--borderColor-danger-emphasis: #ff6a69;
|
|
44
|
-
--borderColor-danger-muted: #ff8080;
|
|
45
|
-
--borderColor-default: #b7bdc8;
|
|
46
|
-
--borderColor-disabled: #656c761a;
|
|
47
|
-
--borderColor-done-emphasis: #b87fff;
|
|
48
|
-
--borderColor-done-muted: #bf8fff;
|
|
49
|
-
--borderColor-severe-emphasis: #e7811d;
|
|
50
|
-
--borderColor-severe-muted: #f48b25;
|
|
51
|
-
--borderColor-sponsors-emphasis: #ef6eb1;
|
|
52
|
-
--borderColor-sponsors-muted: #f87cbd;
|
|
53
|
-
--borderColor-success-emphasis: #09b43a;
|
|
54
|
-
--borderColor-success-muted: #0ac740;
|
|
55
|
-
--borderColor-translucent: #9198a1;
|
|
56
|
-
--borderColor-transparent: #00000000;
|
|
23
|
+
--bgColor-accent-emphasis: #194fb1; /** Strong accent background for active states and focused states */
|
|
24
|
+
--bgColor-accent-muted: #5cacff1a; /** Subtle accent background for informational or selected elements */
|
|
25
|
+
--bgColor-attention-emphasis: #7b4900; /** Strong attention background for prominent warnings */
|
|
26
|
+
--bgColor-attention-muted: #edaa2726; /** Subtle attention background for warnings and caution states */
|
|
27
|
+
--bgColor-danger-emphasis: #ad0116; /** Emphasized danger background for critical errors and delete confirmations */
|
|
28
|
+
--bgColor-danger-muted: #ff80801a; /** Muted danger background for error states and destructive action contexts */
|
|
29
|
+
--bgColor-disabled: #262c36; /** Background for disabled interactive elements */
|
|
30
|
+
--bgColor-done-emphasis: #6921d7; /** Strong background for completed/done state badges and labels */
|
|
31
|
+
--bgColor-done-muted: #bf8fff26; /** Subtle background for completed/done state indicators */
|
|
32
|
+
--bgColor-emphasis: #3d444d; /** High-emphasis dark background for strong visual contrast */
|
|
33
|
+
--bgColor-muted: #151b23; /** Muted background for secondary content areas and subtle grouping */
|
|
34
|
+
--bgColor-neutral-emphasis: #3d444d; /** Strong neutral background for prominent neutral elements */
|
|
35
|
+
--bgColor-neutral-muted: #212830; /** Subtle neutral background for tags, labels, and secondary UI elements */
|
|
36
|
+
--bgColor-severe-emphasis: #8f3c00; /** Strong severe background for prominent high-priority warnings */
|
|
37
|
+
--bgColor-severe-muted: #f48b251a; /** Subtle severe background for high-priority warnings */
|
|
38
|
+
--bgColor-sponsors-emphasis: #9c1d6a; /** Strong background for prominent GitHub Sponsors elements */
|
|
39
|
+
--bgColor-sponsors-muted: #f87cbd1a; /** Subtle background for GitHub Sponsors content */
|
|
40
|
+
--bgColor-success-emphasis: #006222; /** Strong success background for prominent positive actions */
|
|
41
|
+
--bgColor-success-muted: #0ac74026; /** Subtle success background for positive feedback and completed states */
|
|
42
|
+
--bgColor-transparent: #00000000; /** Fully transparent background */
|
|
43
|
+
--borderColor-accent-emphasis: #409eff; /** Strong accent border for selected or focused elements */
|
|
44
|
+
--borderColor-accent-muted: #5cacff; /** Subtle accent border for selected or focused elements */
|
|
45
|
+
--borderColor-attention-emphasis: #e09b13; /** Strong attention border for prominent warnings */
|
|
46
|
+
--borderColor-attention-muted: #edaa27; /** Subtle attention border for warnings and caution states */
|
|
47
|
+
--borderColor-danger-emphasis: #ff6a69; /** Strong danger border for destructive actions and errors */
|
|
48
|
+
--borderColor-danger-muted: #ff8080; /** Subtle danger border for errors and destructive contexts */
|
|
49
|
+
--borderColor-default: #b7bdc8; /** Default border color for most UI elements */
|
|
50
|
+
--borderColor-disabled: #656c761a; /** Border color for disabled interactive elements */
|
|
51
|
+
--borderColor-done-emphasis: #b87fff; /** Strong border for completed/done state badges */
|
|
52
|
+
--borderColor-done-muted: #bf8fff; /** Subtle border for completed/done state indicators */
|
|
53
|
+
--borderColor-severe-emphasis: #e7811d; /** Strong severe border for prominent high-priority warnings */
|
|
54
|
+
--borderColor-severe-muted: #f48b25; /** Subtle severe border for high-priority warnings */
|
|
55
|
+
--borderColor-sponsors-emphasis: #ef6eb1; /** Strong border for prominent GitHub Sponsors elements */
|
|
56
|
+
--borderColor-sponsors-muted: #f87cbd; /** Subtle border for GitHub Sponsors content */
|
|
57
|
+
--borderColor-success-emphasis: #09b43a; /** Strong success border for prominent positive elements */
|
|
58
|
+
--borderColor-success-muted: #0ac740; /** Subtle success border for positive feedback elements */
|
|
59
|
+
--borderColor-translucent: #9198a1; /** Semi-transparent border for overlays and layered elements */
|
|
60
|
+
--borderColor-transparent: #00000000; /** Fully transparent border */
|
|
57
61
|
--button-danger-bgColor-hover: #ad0116;
|
|
58
62
|
--button-danger-borderColor-active: #ffb1af;
|
|
59
63
|
--button-danger-borderColor-hover: #ffb1af;
|
|
@@ -491,15 +495,15 @@
|
|
|
491
495
|
--display-yellow-scale-7: #df9e11;
|
|
492
496
|
--display-yellow-scale-8: #edb431;
|
|
493
497
|
--display-yellow-scale-9: #f0ca6a;
|
|
494
|
-
--fgColor-attention: #f0b72f;
|
|
495
|
-
--fgColor-danger: #ff9492;
|
|
496
|
-
--fgColor-disabled: #656c76;
|
|
497
|
-
--fgColor-link: var(--fgColor-accent);
|
|
498
|
-
--fgColor-muted: #b7bdc8;
|
|
499
|
-
--fgColor-neutral: #d1d7e0;
|
|
500
|
-
--fgColor-open: var(--fgColor-success);
|
|
501
|
-
--fgColor-severe: #fe9a2d;
|
|
502
|
-
--fgColor-upsell: var(--fgColor-done);
|
|
498
|
+
--fgColor-attention: #f0b72f; /** Attention text for warnings and caution states */
|
|
499
|
+
--fgColor-danger: #ff9492; /** Danger text for errors and destructive actions */
|
|
500
|
+
--fgColor-disabled: #656c76; /** Text color for disabled interactive elements */
|
|
501
|
+
--fgColor-link: var(--fgColor-accent); /** Text color for hyperlinks */
|
|
502
|
+
--fgColor-muted: #b7bdc8; /** Muted text for secondary content and less important information */
|
|
503
|
+
--fgColor-neutral: #d1d7e0; /** Neutral semantic text for icons and secondary elements */
|
|
504
|
+
--fgColor-open: var(--fgColor-success); /** Text color for open state indicators (issues, PRs) */
|
|
505
|
+
--fgColor-severe: #fe9a2d; /** Severe text for high-priority warnings */
|
|
506
|
+
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
503
507
|
--header-bgColor: #151b23f2;
|
|
504
508
|
--header-borderColor-divider: #656c76;
|
|
505
509
|
--header-fgColor-logo: #f0f6fc;
|
|
@@ -631,19 +635,19 @@
|
|
|
631
635
|
--timelineBadge-bgColor: #212830;
|
|
632
636
|
--underlineNav-borderColor-active: #ff967d;
|
|
633
637
|
--avatar-bgColor: #ffffff1a;
|
|
634
|
-
--bgColor-black: #010409;
|
|
635
|
-
--bgColor-closed-emphasis: var(--bgColor-danger-emphasis);
|
|
636
|
-
--bgColor-closed-muted: var(--bgColor-danger-muted);
|
|
637
|
-
--bgColor-default: #010409;
|
|
638
|
-
--bgColor-draft-emphasis: var(--bgColor-neutral-emphasis);
|
|
639
|
-
--bgColor-draft-muted: var(--bgColor-neutral-muted);
|
|
640
|
-
--bgColor-inset: #010409;
|
|
641
|
-
--bgColor-inverse: #ffffff;
|
|
642
|
-
--bgColor-open-emphasis: var(--bgColor-success-emphasis);
|
|
643
|
-
--bgColor-open-muted: var(--bgColor-success-muted);
|
|
644
|
-
--bgColor-upsell-emphasis: var(--bgColor-done-emphasis);
|
|
645
|
-
--bgColor-upsell-muted: var(--bgColor-done-muted);
|
|
646
|
-
--bgColor-white: #ffffff;
|
|
638
|
+
--bgColor-black: #010409; /** Pure black background */
|
|
639
|
+
--bgColor-closed-emphasis: var(--bgColor-danger-emphasis); /** Strong background for closed state badges and labels */
|
|
640
|
+
--bgColor-closed-muted: var(--bgColor-danger-muted); /** Subtle background for closed state indicators (issues, PRs) */
|
|
641
|
+
--bgColor-default: #010409; /** Default background color for pages and main content areas */
|
|
642
|
+
--bgColor-draft-emphasis: var(--bgColor-neutral-emphasis); /** Strong background for draft state badges and labels */
|
|
643
|
+
--bgColor-draft-muted: var(--bgColor-neutral-muted); /** Subtle background for draft state indicators */
|
|
644
|
+
--bgColor-inset: #010409; /** Inset background for recessed content areas like wells or sunken panels */
|
|
645
|
+
--bgColor-inverse: #ffffff; /** Inverse background that flips between light and dark modes */
|
|
646
|
+
--bgColor-open-emphasis: var(--bgColor-success-emphasis); /** Strong background for open state badges and labels */
|
|
647
|
+
--bgColor-open-muted: var(--bgColor-success-muted); /** Subtle background for open state indicators (issues, PRs) */
|
|
648
|
+
--bgColor-upsell-emphasis: var(--bgColor-done-emphasis); /** Strong background for prominent upsell elements */
|
|
649
|
+
--bgColor-upsell-muted: var(--bgColor-done-muted); /** Subtle background for upsell and promotional content */
|
|
650
|
+
--bgColor-white: #ffffff; /** Pure white background */
|
|
647
651
|
--border-accent-emphasis: 0.0625rem solid #409eff;
|
|
648
652
|
--border-accent-muted: 0.0625rem solid #5cacff;
|
|
649
653
|
--border-attention-emphasis: 0.0625rem solid #e09b13;
|
|
@@ -661,14 +665,14 @@
|
|
|
661
665
|
--border-success-emphasis: 0.0625rem solid #09b43a;
|
|
662
666
|
--border-success-muted: 0.0625rem solid #0ac740;
|
|
663
667
|
--border-transparent: 0.0625rem solid #00000000;
|
|
664
|
-
--borderColor-closed-emphasis: var(--borderColor-danger-emphasis);
|
|
665
|
-
--borderColor-closed-muted: var(--borderColor-danger-muted);
|
|
666
|
-
--borderColor-emphasis: var(--borderColor-default);
|
|
667
|
-
--borderColor-muted: var(--borderColor-default);
|
|
668
|
-
--borderColor-open-emphasis: var(--borderColor-success-emphasis);
|
|
669
|
-
--borderColor-open-muted: var(--borderColor-success-muted);
|
|
670
|
-
--borderColor-upsell-emphasis: var(--borderColor-done-emphasis);
|
|
671
|
-
--borderColor-upsell-muted: var(--borderColor-done-muted);
|
|
668
|
+
--borderColor-closed-emphasis: var(--borderColor-danger-emphasis); /** Strong border for closed state badges */
|
|
669
|
+
--borderColor-closed-muted: var(--borderColor-danger-muted); /** Subtle border for closed state indicators */
|
|
670
|
+
--borderColor-emphasis: var(--borderColor-default); /** Strong border for emphasis and visual weight */
|
|
671
|
+
--borderColor-muted: var(--borderColor-default); /** Subtle border for secondary elements and light separators */
|
|
672
|
+
--borderColor-open-emphasis: var(--borderColor-success-emphasis); /** Strong border for open state badges */
|
|
673
|
+
--borderColor-open-muted: var(--borderColor-success-muted); /** Subtle border for open state indicators */
|
|
674
|
+
--borderColor-upsell-emphasis: var(--borderColor-done-emphasis); /** Strong border for prominent upsell elements */
|
|
675
|
+
--borderColor-upsell-muted: var(--borderColor-done-muted); /** Subtle border for upsell and promotional content */
|
|
672
676
|
--button-danger-bgColor-active: var(--bgColor-danger-emphasis);
|
|
673
677
|
--button-danger-bgColor-rest: var(--control-bgColor-rest);
|
|
674
678
|
--button-danger-fgColor-active: #ffffff;
|
|
@@ -752,14 +756,14 @@
|
|
|
752
756
|
--diffBlob-hunkLine-bgColor: #5cacff33;
|
|
753
757
|
--diffBlob-hunkLine-fgColor: var(--fgColor-muted);
|
|
754
758
|
--diffBlob-hunkNum-bgColor-hover: var(--bgColor-accent-emphasis);
|
|
755
|
-
--fgColor-black: #010409;
|
|
756
|
-
--fgColor-closed: var(--fgColor-danger);
|
|
757
|
-
--fgColor-default: #ffffff;
|
|
758
|
-
--fgColor-draft: var(--fgColor-neutral);
|
|
759
|
-
--fgColor-onEmphasis: #ffffff;
|
|
760
|
-
--fgColor-onInverse: #010409;
|
|
761
|
-
--fgColor-white: #ffffff;
|
|
762
|
-
--focus-outlineColor: var(--borderColor-accent-emphasis);
|
|
759
|
+
--fgColor-black: #010409; /** Pure black text */
|
|
760
|
+
--fgColor-closed: var(--fgColor-danger); /** Text color for closed state indicators (issues, PRs) */
|
|
761
|
+
--fgColor-default: #ffffff; /** Default text color for primary content and headings */
|
|
762
|
+
--fgColor-draft: var(--fgColor-neutral); /** Text color for draft state indicators */
|
|
763
|
+
--fgColor-onEmphasis: #ffffff; /** Text color for use on emphasis backgrounds */
|
|
764
|
+
--fgColor-onInverse: #010409; /** Text color for use on inverse backgrounds */
|
|
765
|
+
--fgColor-white: #ffffff; /** Pure white text */
|
|
766
|
+
--focus-outlineColor: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
763
767
|
--header-fgColor-default: #ffffffb3;
|
|
764
768
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
765
769
|
--label-blue-borderColor: var(--label-blue-fgColor-rest);
|
|
@@ -791,12 +795,12 @@
|
|
|
791
795
|
--progressBar-bgColor-success: var(--bgColor-success-emphasis);
|
|
792
796
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
793
797
|
--selectMenu-borderColor: var(--borderColor-default);
|
|
794
|
-
--selection-bgColor: #194fb1b3;
|
|
795
|
-
--shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
|
|
796
|
-
--shadow-inset: inset 0px 1px 0px 0px #0104093d;
|
|
797
|
-
--shadow-resting-medium: 0px 1px 1px 0px #01040966, 0px 3px 6px 0px #010409cc;
|
|
798
|
-
--shadow-resting-small: 0px 1px 1px 0px #01040999, 0px 1px 3px 0px #01040999;
|
|
799
|
-
--shadow-resting-xsmall: 0px 1px 1px 0px #010409cc;
|
|
798
|
+
--selection-bgColor: #194fb1b3; /** Background color for text selection highlights */
|
|
799
|
+
--shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966; /** Legacy floating shadow for backward compatibility */
|
|
800
|
+
--shadow-inset: inset 0px 1px 0px 0px #0104093d; /** Inset shadow for recessed elements */
|
|
801
|
+
--shadow-resting-medium: 0px 1px 1px 0px #01040966, 0px 3px 6px 0px #010409cc; /** Medium resting shadow for cards and elevated surfaces */
|
|
802
|
+
--shadow-resting-small: 0px 1px 1px 0px #01040999, 0px 1px 3px 0px #01040999; /** Small resting shadow for buttons and interactive elements */
|
|
803
|
+
--shadow-resting-xsmall: 0px 1px 1px 0px #010409cc; /** Extra small resting shadow for minimal elevation */
|
|
800
804
|
--topicTag-borderColor: var(--borderColor-accent-emphasis);
|
|
801
805
|
--treeViewItem-leadingVisual-iconColor-rest: var(--fgColor-muted);
|
|
802
806
|
--underlineNav-iconColor-rest: var(--fgColor-muted);
|
|
@@ -809,8 +813,8 @@
|
|
|
809
813
|
--border-open-muted: var(--border-success-muted);
|
|
810
814
|
--border-upsell-emphasis: 0.0625rem solid #b87fff;
|
|
811
815
|
--border-upsell-muted: 0.0625rem solid #bf8fff;
|
|
812
|
-
--borderColor-neutral-emphasis: var(--borderColor-emphasis);
|
|
813
|
-
--borderColor-neutral-muted: var(--borderColor-muted);
|
|
816
|
+
--borderColor-neutral-emphasis: var(--borderColor-emphasis); /** Strong neutral semantic border */
|
|
817
|
+
--borderColor-neutral-muted: var(--borderColor-muted); /** Subtle neutral semantic border */
|
|
814
818
|
--button-danger-bgColor-disabled: var(--control-bgColor-disabled);
|
|
815
819
|
--button-danger-borderColor-rest: var(--control-borderColor-rest);
|
|
816
820
|
--button-default-bgColor-disabled: var(--control-bgColor-disabled);
|
|
@@ -867,19 +871,19 @@
|
|
|
867
871
|
--diffBlob-expander-iconColor: var(--fgColor-default);
|
|
868
872
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
869
873
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
870
|
-
--focus-outline: 2px solid #409eff;
|
|
874
|
+
--focus-outline: 2px solid #409eff; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
871
875
|
--page-header-bgColor: var(--bgColor-default);
|
|
872
876
|
--progressBar-track-bgColor: var(--bgColor-inverse);
|
|
873
|
-
--shadow-floating-large: 0px 0px 0px 1px #b7bdc8, 0px 24px 48px 0px #010409;
|
|
874
|
-
--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;
|
|
875
|
-
--shadow-floating-small: 0px 0px 0px 1px #b7bdc8, 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
|
|
876
|
-
--shadow-floating-xlarge: 0px 0px 0px 1px #b7bdc8, 0px 32px 64px 0px #010409;
|
|
877
|
+
--shadow-floating-large: 0px 0px 0px 1px #b7bdc8, 0px 24px 48px 0px #010409; /** Large floating shadow for modals and dialogs */
|
|
878
|
+
--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 */
|
|
879
|
+
--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 */
|
|
880
|
+
--shadow-floating-xlarge: 0px 0px 0px 1px #b7bdc8, 0px 32px 64px 0px #010409; /** Extra large floating shadow for full-screen overlays and sheets */
|
|
877
881
|
--tooltip-bgColor: var(--bgColor-inverse);
|
|
878
882
|
--tooltip-fgColor: var(--fgColor-onInverse);
|
|
879
883
|
--border-neutral-emphasis: 0.0625rem solid #b7bdc8;
|
|
880
884
|
--border-neutral-muted: 0.0625rem solid #b7bdc8;
|
|
881
|
-
--borderColor-draft-emphasis: var(--borderColor-neutral-emphasis);
|
|
882
|
-
--borderColor-draft-muted: var(--borderColor-neutral-muted);
|
|
885
|
+
--borderColor-draft-emphasis: var(--borderColor-neutral-emphasis); /** Strong border for draft state badges */
|
|
886
|
+
--borderColor-draft-muted: var(--borderColor-neutral-muted); /** Subtle border for draft state indicators */
|
|
883
887
|
--button-default-borderColor-active: var(--button-default-borderColor-rest);
|
|
884
888
|
--button-default-borderColor-hover: var(--button-default-borderColor-rest);
|
|
885
889
|
--button-default-fgColor-rest: var(--control-fgColor-rest);
|
|
@@ -905,52 +909,52 @@
|
|
|
905
909
|
--control-checked-bgColor-active: #3c79d0;
|
|
906
910
|
--control-checked-bgColor-hover: #2b64c1;
|
|
907
911
|
--control-danger-bgColor-active: #c51120;
|
|
908
|
-
--fgColor-accent: #74b9ff;
|
|
909
|
-
--fgColor-done: #d3abff;
|
|
910
|
-
--fgColor-sponsors: #ff90c8;
|
|
911
|
-
--fgColor-success: #2bd853;
|
|
912
|
+
--fgColor-accent: #74b9ff; /** Accent text for links and interactive elements */
|
|
913
|
+
--fgColor-done: #d3abff; /** Text color for completed/done state indicators */
|
|
914
|
+
--fgColor-sponsors: #ff90c8; /** Text color for GitHub Sponsors content */
|
|
915
|
+
--fgColor-success: #2bd853; /** Success text for positive feedback and completed states */
|
|
912
916
|
--reactionButton-selected-bgColor-hover: #5dadff5c;
|
|
913
917
|
--avatar-shadow: 0px 0px 0px 2px #0d1117;
|
|
914
918
|
--avatarStack-fade-bgColor-default: #3d444d;
|
|
915
919
|
--avatarStack-fade-bgColor-muted: #2a313c;
|
|
916
|
-
--bgColor-accent-emphasis: #194fb1;
|
|
917
|
-
--bgColor-accent-muted: #5cacff1a;
|
|
918
|
-
--bgColor-attention-emphasis: #7b4900;
|
|
919
|
-
--bgColor-attention-muted: #edaa2726;
|
|
920
|
-
--bgColor-danger-emphasis: #ad0116;
|
|
921
|
-
--bgColor-danger-muted: #ff80801a;
|
|
922
|
-
--bgColor-disabled: #262c36;
|
|
923
|
-
--bgColor-done-emphasis: #6921d7;
|
|
924
|
-
--bgColor-done-muted: #bf8fff26;
|
|
925
|
-
--bgColor-emphasis: #3d444d;
|
|
926
|
-
--bgColor-muted: #151b23;
|
|
927
|
-
--bgColor-neutral-emphasis: #3d444d;
|
|
928
|
-
--bgColor-neutral-muted: #212830;
|
|
929
|
-
--bgColor-severe-emphasis: #8f3c00;
|
|
930
|
-
--bgColor-severe-muted: #f48b251a;
|
|
931
|
-
--bgColor-sponsors-emphasis: #9c1d6a;
|
|
932
|
-
--bgColor-sponsors-muted: #f87cbd1a;
|
|
933
|
-
--bgColor-success-emphasis: #006222;
|
|
934
|
-
--bgColor-success-muted: #0ac74026;
|
|
935
|
-
--bgColor-transparent: #00000000;
|
|
936
|
-
--borderColor-accent-emphasis: #409eff;
|
|
937
|
-
--borderColor-accent-muted: #5cacff;
|
|
938
|
-
--borderColor-attention-emphasis: #e09b13;
|
|
939
|
-
--borderColor-attention-muted: #edaa27;
|
|
940
|
-
--borderColor-danger-emphasis: #ff6a69;
|
|
941
|
-
--borderColor-danger-muted: #ff8080;
|
|
942
|
-
--borderColor-default: #b7bdc8;
|
|
943
|
-
--borderColor-disabled: #656c761a;
|
|
944
|
-
--borderColor-done-emphasis: #b87fff;
|
|
945
|
-
--borderColor-done-muted: #bf8fff;
|
|
946
|
-
--borderColor-severe-emphasis: #e7811d;
|
|
947
|
-
--borderColor-severe-muted: #f48b25;
|
|
948
|
-
--borderColor-sponsors-emphasis: #ef6eb1;
|
|
949
|
-
--borderColor-sponsors-muted: #f87cbd;
|
|
950
|
-
--borderColor-success-emphasis: #09b43a;
|
|
951
|
-
--borderColor-success-muted: #0ac740;
|
|
952
|
-
--borderColor-translucent: #9198a1;
|
|
953
|
-
--borderColor-transparent: #00000000;
|
|
920
|
+
--bgColor-accent-emphasis: #194fb1; /** Strong accent background for active states and focused states */
|
|
921
|
+
--bgColor-accent-muted: #5cacff1a; /** Subtle accent background for informational or selected elements */
|
|
922
|
+
--bgColor-attention-emphasis: #7b4900; /** Strong attention background for prominent warnings */
|
|
923
|
+
--bgColor-attention-muted: #edaa2726; /** Subtle attention background for warnings and caution states */
|
|
924
|
+
--bgColor-danger-emphasis: #ad0116; /** Emphasized danger background for critical errors and delete confirmations */
|
|
925
|
+
--bgColor-danger-muted: #ff80801a; /** Muted danger background for error states and destructive action contexts */
|
|
926
|
+
--bgColor-disabled: #262c36; /** Background for disabled interactive elements */
|
|
927
|
+
--bgColor-done-emphasis: #6921d7; /** Strong background for completed/done state badges and labels */
|
|
928
|
+
--bgColor-done-muted: #bf8fff26; /** Subtle background for completed/done state indicators */
|
|
929
|
+
--bgColor-emphasis: #3d444d; /** High-emphasis dark background for strong visual contrast */
|
|
930
|
+
--bgColor-muted: #151b23; /** Muted background for secondary content areas and subtle grouping */
|
|
931
|
+
--bgColor-neutral-emphasis: #3d444d; /** Strong neutral background for prominent neutral elements */
|
|
932
|
+
--bgColor-neutral-muted: #212830; /** Subtle neutral background for tags, labels, and secondary UI elements */
|
|
933
|
+
--bgColor-severe-emphasis: #8f3c00; /** Strong severe background for prominent high-priority warnings */
|
|
934
|
+
--bgColor-severe-muted: #f48b251a; /** Subtle severe background for high-priority warnings */
|
|
935
|
+
--bgColor-sponsors-emphasis: #9c1d6a; /** Strong background for prominent GitHub Sponsors elements */
|
|
936
|
+
--bgColor-sponsors-muted: #f87cbd1a; /** Subtle background for GitHub Sponsors content */
|
|
937
|
+
--bgColor-success-emphasis: #006222; /** Strong success background for prominent positive actions */
|
|
938
|
+
--bgColor-success-muted: #0ac74026; /** Subtle success background for positive feedback and completed states */
|
|
939
|
+
--bgColor-transparent: #00000000; /** Fully transparent background */
|
|
940
|
+
--borderColor-accent-emphasis: #409eff; /** Strong accent border for selected or focused elements */
|
|
941
|
+
--borderColor-accent-muted: #5cacff; /** Subtle accent border for selected or focused elements */
|
|
942
|
+
--borderColor-attention-emphasis: #e09b13; /** Strong attention border for prominent warnings */
|
|
943
|
+
--borderColor-attention-muted: #edaa27; /** Subtle attention border for warnings and caution states */
|
|
944
|
+
--borderColor-danger-emphasis: #ff6a69; /** Strong danger border for destructive actions and errors */
|
|
945
|
+
--borderColor-danger-muted: #ff8080; /** Subtle danger border for errors and destructive contexts */
|
|
946
|
+
--borderColor-default: #b7bdc8; /** Default border color for most UI elements */
|
|
947
|
+
--borderColor-disabled: #656c761a; /** Border color for disabled interactive elements */
|
|
948
|
+
--borderColor-done-emphasis: #b87fff; /** Strong border for completed/done state badges */
|
|
949
|
+
--borderColor-done-muted: #bf8fff; /** Subtle border for completed/done state indicators */
|
|
950
|
+
--borderColor-severe-emphasis: #e7811d; /** Strong severe border for prominent high-priority warnings */
|
|
951
|
+
--borderColor-severe-muted: #f48b25; /** Subtle severe border for high-priority warnings */
|
|
952
|
+
--borderColor-sponsors-emphasis: #ef6eb1; /** Strong border for prominent GitHub Sponsors elements */
|
|
953
|
+
--borderColor-sponsors-muted: #f87cbd; /** Subtle border for GitHub Sponsors content */
|
|
954
|
+
--borderColor-success-emphasis: #09b43a; /** Strong success border for prominent positive elements */
|
|
955
|
+
--borderColor-success-muted: #0ac740; /** Subtle success border for positive feedback elements */
|
|
956
|
+
--borderColor-translucent: #9198a1; /** Semi-transparent border for overlays and layered elements */
|
|
957
|
+
--borderColor-transparent: #00000000; /** Fully transparent border */
|
|
954
958
|
--button-danger-bgColor-hover: #ad0116;
|
|
955
959
|
--button-danger-borderColor-active: #ffb1af;
|
|
956
960
|
--button-danger-borderColor-hover: #ffb1af;
|
|
@@ -1388,15 +1392,15 @@
|
|
|
1388
1392
|
--display-yellow-scale-7: #df9e11;
|
|
1389
1393
|
--display-yellow-scale-8: #edb431;
|
|
1390
1394
|
--display-yellow-scale-9: #f0ca6a;
|
|
1391
|
-
--fgColor-attention: #f0b72f;
|
|
1392
|
-
--fgColor-danger: #ff9492;
|
|
1393
|
-
--fgColor-disabled: #656c76;
|
|
1394
|
-
--fgColor-link: var(--fgColor-accent);
|
|
1395
|
-
--fgColor-muted: #b7bdc8;
|
|
1396
|
-
--fgColor-neutral: #d1d7e0;
|
|
1397
|
-
--fgColor-open: var(--fgColor-success);
|
|
1398
|
-
--fgColor-severe: #fe9a2d;
|
|
1399
|
-
--fgColor-upsell: var(--fgColor-done);
|
|
1395
|
+
--fgColor-attention: #f0b72f; /** Attention text for warnings and caution states */
|
|
1396
|
+
--fgColor-danger: #ff9492; /** Danger text for errors and destructive actions */
|
|
1397
|
+
--fgColor-disabled: #656c76; /** Text color for disabled interactive elements */
|
|
1398
|
+
--fgColor-link: var(--fgColor-accent); /** Text color for hyperlinks */
|
|
1399
|
+
--fgColor-muted: #b7bdc8; /** Muted text for secondary content and less important information */
|
|
1400
|
+
--fgColor-neutral: #d1d7e0; /** Neutral semantic text for icons and secondary elements */
|
|
1401
|
+
--fgColor-open: var(--fgColor-success); /** Text color for open state indicators (issues, PRs) */
|
|
1402
|
+
--fgColor-severe: #fe9a2d; /** Severe text for high-priority warnings */
|
|
1403
|
+
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
1400
1404
|
--header-bgColor: #151b23f2;
|
|
1401
1405
|
--header-borderColor-divider: #656c76;
|
|
1402
1406
|
--header-fgColor-logo: #f0f6fc;
|
|
@@ -1528,19 +1532,19 @@
|
|
|
1528
1532
|
--timelineBadge-bgColor: #212830;
|
|
1529
1533
|
--underlineNav-borderColor-active: #ff967d;
|
|
1530
1534
|
--avatar-bgColor: #ffffff1a;
|
|
1531
|
-
--bgColor-black: #010409;
|
|
1532
|
-
--bgColor-closed-emphasis: var(--bgColor-danger-emphasis);
|
|
1533
|
-
--bgColor-closed-muted: var(--bgColor-danger-muted);
|
|
1534
|
-
--bgColor-default: #010409;
|
|
1535
|
-
--bgColor-draft-emphasis: var(--bgColor-neutral-emphasis);
|
|
1536
|
-
--bgColor-draft-muted: var(--bgColor-neutral-muted);
|
|
1537
|
-
--bgColor-inset: #010409;
|
|
1538
|
-
--bgColor-inverse: #ffffff;
|
|
1539
|
-
--bgColor-open-emphasis: var(--bgColor-success-emphasis);
|
|
1540
|
-
--bgColor-open-muted: var(--bgColor-success-muted);
|
|
1541
|
-
--bgColor-upsell-emphasis: var(--bgColor-done-emphasis);
|
|
1542
|
-
--bgColor-upsell-muted: var(--bgColor-done-muted);
|
|
1543
|
-
--bgColor-white: #ffffff;
|
|
1535
|
+
--bgColor-black: #010409; /** Pure black background */
|
|
1536
|
+
--bgColor-closed-emphasis: var(--bgColor-danger-emphasis); /** Strong background for closed state badges and labels */
|
|
1537
|
+
--bgColor-closed-muted: var(--bgColor-danger-muted); /** Subtle background for closed state indicators (issues, PRs) */
|
|
1538
|
+
--bgColor-default: #010409; /** Default background color for pages and main content areas */
|
|
1539
|
+
--bgColor-draft-emphasis: var(--bgColor-neutral-emphasis); /** Strong background for draft state badges and labels */
|
|
1540
|
+
--bgColor-draft-muted: var(--bgColor-neutral-muted); /** Subtle background for draft state indicators */
|
|
1541
|
+
--bgColor-inset: #010409; /** Inset background for recessed content areas like wells or sunken panels */
|
|
1542
|
+
--bgColor-inverse: #ffffff; /** Inverse background that flips between light and dark modes */
|
|
1543
|
+
--bgColor-open-emphasis: var(--bgColor-success-emphasis); /** Strong background for open state badges and labels */
|
|
1544
|
+
--bgColor-open-muted: var(--bgColor-success-muted); /** Subtle background for open state indicators (issues, PRs) */
|
|
1545
|
+
--bgColor-upsell-emphasis: var(--bgColor-done-emphasis); /** Strong background for prominent upsell elements */
|
|
1546
|
+
--bgColor-upsell-muted: var(--bgColor-done-muted); /** Subtle background for upsell and promotional content */
|
|
1547
|
+
--bgColor-white: #ffffff; /** Pure white background */
|
|
1544
1548
|
--border-accent-emphasis: 0.0625rem solid #409eff;
|
|
1545
1549
|
--border-accent-muted: 0.0625rem solid #5cacff;
|
|
1546
1550
|
--border-attention-emphasis: 0.0625rem solid #e09b13;
|
|
@@ -1558,14 +1562,14 @@
|
|
|
1558
1562
|
--border-success-emphasis: 0.0625rem solid #09b43a;
|
|
1559
1563
|
--border-success-muted: 0.0625rem solid #0ac740;
|
|
1560
1564
|
--border-transparent: 0.0625rem solid #00000000;
|
|
1561
|
-
--borderColor-closed-emphasis: var(--borderColor-danger-emphasis);
|
|
1562
|
-
--borderColor-closed-muted: var(--borderColor-danger-muted);
|
|
1563
|
-
--borderColor-emphasis: var(--borderColor-default);
|
|
1564
|
-
--borderColor-muted: var(--borderColor-default);
|
|
1565
|
-
--borderColor-open-emphasis: var(--borderColor-success-emphasis);
|
|
1566
|
-
--borderColor-open-muted: var(--borderColor-success-muted);
|
|
1567
|
-
--borderColor-upsell-emphasis: var(--borderColor-done-emphasis);
|
|
1568
|
-
--borderColor-upsell-muted: var(--borderColor-done-muted);
|
|
1565
|
+
--borderColor-closed-emphasis: var(--borderColor-danger-emphasis); /** Strong border for closed state badges */
|
|
1566
|
+
--borderColor-closed-muted: var(--borderColor-danger-muted); /** Subtle border for closed state indicators */
|
|
1567
|
+
--borderColor-emphasis: var(--borderColor-default); /** Strong border for emphasis and visual weight */
|
|
1568
|
+
--borderColor-muted: var(--borderColor-default); /** Subtle border for secondary elements and light separators */
|
|
1569
|
+
--borderColor-open-emphasis: var(--borderColor-success-emphasis); /** Strong border for open state badges */
|
|
1570
|
+
--borderColor-open-muted: var(--borderColor-success-muted); /** Subtle border for open state indicators */
|
|
1571
|
+
--borderColor-upsell-emphasis: var(--borderColor-done-emphasis); /** Strong border for prominent upsell elements */
|
|
1572
|
+
--borderColor-upsell-muted: var(--borderColor-done-muted); /** Subtle border for upsell and promotional content */
|
|
1569
1573
|
--button-danger-bgColor-active: var(--bgColor-danger-emphasis);
|
|
1570
1574
|
--button-danger-bgColor-rest: var(--control-bgColor-rest);
|
|
1571
1575
|
--button-danger-fgColor-active: #ffffff;
|
|
@@ -1649,14 +1653,14 @@
|
|
|
1649
1653
|
--diffBlob-hunkLine-bgColor: #5cacff33;
|
|
1650
1654
|
--diffBlob-hunkLine-fgColor: var(--fgColor-muted);
|
|
1651
1655
|
--diffBlob-hunkNum-bgColor-hover: var(--bgColor-accent-emphasis);
|
|
1652
|
-
--fgColor-black: #010409;
|
|
1653
|
-
--fgColor-closed: var(--fgColor-danger);
|
|
1654
|
-
--fgColor-default: #ffffff;
|
|
1655
|
-
--fgColor-draft: var(--fgColor-neutral);
|
|
1656
|
-
--fgColor-onEmphasis: #ffffff;
|
|
1657
|
-
--fgColor-onInverse: #010409;
|
|
1658
|
-
--fgColor-white: #ffffff;
|
|
1659
|
-
--focus-outlineColor: var(--borderColor-accent-emphasis);
|
|
1656
|
+
--fgColor-black: #010409; /** Pure black text */
|
|
1657
|
+
--fgColor-closed: var(--fgColor-danger); /** Text color for closed state indicators (issues, PRs) */
|
|
1658
|
+
--fgColor-default: #ffffff; /** Default text color for primary content and headings */
|
|
1659
|
+
--fgColor-draft: var(--fgColor-neutral); /** Text color for draft state indicators */
|
|
1660
|
+
--fgColor-onEmphasis: #ffffff; /** Text color for use on emphasis backgrounds */
|
|
1661
|
+
--fgColor-onInverse: #010409; /** Text color for use on inverse backgrounds */
|
|
1662
|
+
--fgColor-white: #ffffff; /** Pure white text */
|
|
1663
|
+
--focus-outlineColor: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
1660
1664
|
--header-fgColor-default: #ffffffb3;
|
|
1661
1665
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
1662
1666
|
--label-blue-borderColor: var(--label-blue-fgColor-rest);
|
|
@@ -1688,12 +1692,12 @@
|
|
|
1688
1692
|
--progressBar-bgColor-success: var(--bgColor-success-emphasis);
|
|
1689
1693
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
1690
1694
|
--selectMenu-borderColor: var(--borderColor-default);
|
|
1691
|
-
--selection-bgColor: #194fb1b3;
|
|
1692
|
-
--shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
|
|
1693
|
-
--shadow-inset: inset 0px 1px 0px 0px #0104093d;
|
|
1694
|
-
--shadow-resting-medium: 0px 1px 1px 0px #01040966, 0px 3px 6px 0px #010409cc;
|
|
1695
|
-
--shadow-resting-small: 0px 1px 1px 0px #01040999, 0px 1px 3px 0px #01040999;
|
|
1696
|
-
--shadow-resting-xsmall: 0px 1px 1px 0px #010409cc;
|
|
1695
|
+
--selection-bgColor: #194fb1b3; /** Background color for text selection highlights */
|
|
1696
|
+
--shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966; /** Legacy floating shadow for backward compatibility */
|
|
1697
|
+
--shadow-inset: inset 0px 1px 0px 0px #0104093d; /** Inset shadow for recessed elements */
|
|
1698
|
+
--shadow-resting-medium: 0px 1px 1px 0px #01040966, 0px 3px 6px 0px #010409cc; /** Medium resting shadow for cards and elevated surfaces */
|
|
1699
|
+
--shadow-resting-small: 0px 1px 1px 0px #01040999, 0px 1px 3px 0px #01040999; /** Small resting shadow for buttons and interactive elements */
|
|
1700
|
+
--shadow-resting-xsmall: 0px 1px 1px 0px #010409cc; /** Extra small resting shadow for minimal elevation */
|
|
1697
1701
|
--topicTag-borderColor: var(--borderColor-accent-emphasis);
|
|
1698
1702
|
--treeViewItem-leadingVisual-iconColor-rest: var(--fgColor-muted);
|
|
1699
1703
|
--underlineNav-iconColor-rest: var(--fgColor-muted);
|
|
@@ -1706,8 +1710,8 @@
|
|
|
1706
1710
|
--border-open-muted: var(--border-success-muted);
|
|
1707
1711
|
--border-upsell-emphasis: 0.0625rem solid #b87fff;
|
|
1708
1712
|
--border-upsell-muted: 0.0625rem solid #bf8fff;
|
|
1709
|
-
--borderColor-neutral-emphasis: var(--borderColor-emphasis);
|
|
1710
|
-
--borderColor-neutral-muted: var(--borderColor-muted);
|
|
1713
|
+
--borderColor-neutral-emphasis: var(--borderColor-emphasis); /** Strong neutral semantic border */
|
|
1714
|
+
--borderColor-neutral-muted: var(--borderColor-muted); /** Subtle neutral semantic border */
|
|
1711
1715
|
--button-danger-bgColor-disabled: var(--control-bgColor-disabled);
|
|
1712
1716
|
--button-danger-borderColor-rest: var(--control-borderColor-rest);
|
|
1713
1717
|
--button-default-bgColor-disabled: var(--control-bgColor-disabled);
|
|
@@ -1764,19 +1768,19 @@
|
|
|
1764
1768
|
--diffBlob-expander-iconColor: var(--fgColor-default);
|
|
1765
1769
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
1766
1770
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
1767
|
-
--focus-outline: 2px solid #409eff;
|
|
1771
|
+
--focus-outline: 2px solid #409eff; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
1768
1772
|
--page-header-bgColor: var(--bgColor-default);
|
|
1769
1773
|
--progressBar-track-bgColor: var(--bgColor-inverse);
|
|
1770
|
-
--shadow-floating-large: 0px 0px 0px 1px #b7bdc8, 0px 24px 48px 0px #010409;
|
|
1771
|
-
--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;
|
|
1772
|
-
--shadow-floating-small: 0px 0px 0px 1px #b7bdc8, 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
|
|
1773
|
-
--shadow-floating-xlarge: 0px 0px 0px 1px #b7bdc8, 0px 32px 64px 0px #010409;
|
|
1774
|
+
--shadow-floating-large: 0px 0px 0px 1px #b7bdc8, 0px 24px 48px 0px #010409; /** Large floating shadow for modals and dialogs */
|
|
1775
|
+
--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 */
|
|
1776
|
+
--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 */
|
|
1777
|
+
--shadow-floating-xlarge: 0px 0px 0px 1px #b7bdc8, 0px 32px 64px 0px #010409; /** Extra large floating shadow for full-screen overlays and sheets */
|
|
1774
1778
|
--tooltip-bgColor: var(--bgColor-inverse);
|
|
1775
1779
|
--tooltip-fgColor: var(--fgColor-onInverse);
|
|
1776
1780
|
--border-neutral-emphasis: 0.0625rem solid #b7bdc8;
|
|
1777
1781
|
--border-neutral-muted: 0.0625rem solid #b7bdc8;
|
|
1778
|
-
--borderColor-draft-emphasis: var(--borderColor-neutral-emphasis);
|
|
1779
|
-
--borderColor-draft-muted: var(--borderColor-neutral-muted);
|
|
1782
|
+
--borderColor-draft-emphasis: var(--borderColor-neutral-emphasis); /** Strong border for draft state badges */
|
|
1783
|
+
--borderColor-draft-muted: var(--borderColor-neutral-muted); /** Subtle border for draft state indicators */
|
|
1780
1784
|
--button-default-borderColor-active: var(--button-default-borderColor-rest);
|
|
1781
1785
|
--button-default-borderColor-hover: var(--button-default-borderColor-rest);
|
|
1782
1786
|
--button-default-fgColor-rest: var(--control-fgColor-rest);
|