@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_dimmed_high_contrast"],
|
|
2
6
|
[data-color-mode="auto"][data-light-theme="dark_dimmed_high_contrast"] {
|
|
3
7
|
--button-danger-fgColor-active: #ffffff;
|
|
@@ -12,51 +16,51 @@
|
|
|
12
16
|
--control-checked-bgColor-active: #3c79d0;
|
|
13
17
|
--control-checked-bgColor-hover: #2b64c1;
|
|
14
18
|
--control-danger-bgColor-active: #c51120;
|
|
15
|
-
--fgColor-onEmphasis: #ffffff;
|
|
19
|
+
--fgColor-onEmphasis: #ffffff; /** Text color for use on emphasis backgrounds */
|
|
16
20
|
--reactionButton-selected-bgColor-hover: #3a8cfd5c;
|
|
17
21
|
--avatar-shadow: 0px 0px 0px 2px #0d1117;
|
|
18
22
|
--avatarStack-fade-bgColor-default: #3d444d;
|
|
19
23
|
--avatarStack-fade-bgColor-muted: #2a313c;
|
|
20
|
-
--bgColor-accent-emphasis: #1b4b91;
|
|
21
|
-
--bgColor-accent-muted: #4184e41a;
|
|
22
|
-
--bgColor-attention-emphasis: #6c4400;
|
|
23
|
-
--bgColor-attention-muted: #ae7c1426;
|
|
24
|
-
--bgColor-danger-emphasis: #922323;
|
|
25
|
-
--bgColor-danger-muted: #e5534b1a;
|
|
26
|
-
--bgColor-default: #212830;
|
|
27
|
-
--bgColor-disabled: #2a313c;
|
|
28
|
-
--bgColor-done-emphasis: #5936a2;
|
|
29
|
-
--bgColor-done-muted: #986ee226;
|
|
30
|
-
--bgColor-emphasis: #3d444d;
|
|
31
|
-
--bgColor-inset: #151b23;
|
|
32
|
-
--bgColor-muted: #262c36;
|
|
33
|
-
--bgColor-neutral-emphasis: #3d444d;
|
|
34
|
-
--bgColor-neutral-muted: #656c7633;
|
|
35
|
-
--bgColor-severe-emphasis: #7f3913;
|
|
36
|
-
--bgColor-severe-muted: #cc6b2c1a;
|
|
37
|
-
--bgColor-sponsors-emphasis: #7e325a;
|
|
38
|
-
--bgColor-sponsors-muted: #c961981a;
|
|
39
|
-
--bgColor-success-emphasis: #245829;
|
|
40
|
-
--bgColor-success-muted: #46954a26;
|
|
41
|
-
--bgColor-transparent: #00000000;
|
|
42
|
-
--borderColor-accent-emphasis: #6cb6ff;
|
|
43
|
-
--borderColor-accent-muted: #6cb6ff;
|
|
44
|
-
--borderColor-attention-emphasis: #daaa3f;
|
|
45
|
-
--borderColor-attention-muted: #daaa3f;
|
|
46
|
-
--borderColor-danger-emphasis: #ff938a;
|
|
47
|
-
--borderColor-danger-muted: #ff938a;
|
|
48
|
-
--borderColor-default: #b7bdc8;
|
|
49
|
-
--borderColor-disabled: #656c761a;
|
|
50
|
-
--borderColor-done-emphasis: #dcbdfb;
|
|
51
|
-
--borderColor-done-muted: #dcbdfb;
|
|
52
|
-
--borderColor-severe-emphasis: #f69d50;
|
|
53
|
-
--borderColor-severe-muted: #f69d50;
|
|
54
|
-
--borderColor-sponsors-emphasis: #e275ad;
|
|
55
|
-
--borderColor-sponsors-muted: #fc8dc7;
|
|
56
|
-
--borderColor-success-emphasis: #6bc46d;
|
|
57
|
-
--borderColor-success-muted: #6bc46d;
|
|
58
|
-
--borderColor-translucent: #9198a1;
|
|
59
|
-
--borderColor-transparent: #00000000;
|
|
24
|
+
--bgColor-accent-emphasis: #1b4b91; /** Strong accent background for active states and focused states */
|
|
25
|
+
--bgColor-accent-muted: #4184e41a; /** Subtle accent background for informational or selected elements */
|
|
26
|
+
--bgColor-attention-emphasis: #6c4400; /** Strong attention background for prominent warnings */
|
|
27
|
+
--bgColor-attention-muted: #ae7c1426; /** Subtle attention background for warnings and caution states */
|
|
28
|
+
--bgColor-danger-emphasis: #922323; /** Emphasized danger background for critical errors and delete confirmations */
|
|
29
|
+
--bgColor-danger-muted: #e5534b1a; /** Muted danger background for error states and destructive action contexts */
|
|
30
|
+
--bgColor-default: #212830; /** Default background color for pages and main content areas */
|
|
31
|
+
--bgColor-disabled: #2a313c; /** Background for disabled interactive elements */
|
|
32
|
+
--bgColor-done-emphasis: #5936a2; /** Strong background for completed/done state badges and labels */
|
|
33
|
+
--bgColor-done-muted: #986ee226; /** Subtle background for completed/done state indicators */
|
|
34
|
+
--bgColor-emphasis: #3d444d; /** High-emphasis dark background for strong visual contrast */
|
|
35
|
+
--bgColor-inset: #151b23; /** Inset background for recessed content areas like wells or sunken panels */
|
|
36
|
+
--bgColor-muted: #262c36; /** Muted background for secondary content areas and subtle grouping */
|
|
37
|
+
--bgColor-neutral-emphasis: #3d444d; /** Strong neutral background for prominent neutral elements */
|
|
38
|
+
--bgColor-neutral-muted: #656c7633; /** Subtle neutral background for tags, labels, and secondary UI elements */
|
|
39
|
+
--bgColor-severe-emphasis: #7f3913; /** Strong severe background for prominent high-priority warnings */
|
|
40
|
+
--bgColor-severe-muted: #cc6b2c1a; /** Subtle severe background for high-priority warnings */
|
|
41
|
+
--bgColor-sponsors-emphasis: #7e325a; /** Strong background for prominent GitHub Sponsors elements */
|
|
42
|
+
--bgColor-sponsors-muted: #c961981a; /** Subtle background for GitHub Sponsors content */
|
|
43
|
+
--bgColor-success-emphasis: #245829; /** Strong success background for prominent positive actions */
|
|
44
|
+
--bgColor-success-muted: #46954a26; /** Subtle success background for positive feedback and completed states */
|
|
45
|
+
--bgColor-transparent: #00000000; /** Fully transparent background */
|
|
46
|
+
--borderColor-accent-emphasis: #6cb6ff; /** Strong accent border for selected or focused elements */
|
|
47
|
+
--borderColor-accent-muted: #6cb6ff; /** Subtle accent border for selected or focused elements */
|
|
48
|
+
--borderColor-attention-emphasis: #daaa3f; /** Strong attention border for prominent warnings */
|
|
49
|
+
--borderColor-attention-muted: #daaa3f; /** Subtle attention border for warnings and caution states */
|
|
50
|
+
--borderColor-danger-emphasis: #ff938a; /** Strong danger border for destructive actions and errors */
|
|
51
|
+
--borderColor-danger-muted: #ff938a; /** Subtle danger border for errors and destructive contexts */
|
|
52
|
+
--borderColor-default: #b7bdc8; /** Default border color for most UI elements */
|
|
53
|
+
--borderColor-disabled: #656c761a; /** Border color for disabled interactive elements */
|
|
54
|
+
--borderColor-done-emphasis: #dcbdfb; /** Strong border for completed/done state badges */
|
|
55
|
+
--borderColor-done-muted: #dcbdfb; /** Subtle border for completed/done state indicators */
|
|
56
|
+
--borderColor-severe-emphasis: #f69d50; /** Strong severe border for prominent high-priority warnings */
|
|
57
|
+
--borderColor-severe-muted: #f69d50; /** Subtle severe border for high-priority warnings */
|
|
58
|
+
--borderColor-sponsors-emphasis: #e275ad; /** Strong border for prominent GitHub Sponsors elements */
|
|
59
|
+
--borderColor-sponsors-muted: #fc8dc7; /** Subtle border for GitHub Sponsors content */
|
|
60
|
+
--borderColor-success-emphasis: #6bc46d; /** Strong success border for prominent positive elements */
|
|
61
|
+
--borderColor-success-muted: #6bc46d; /** Subtle success border for positive feedback elements */
|
|
62
|
+
--borderColor-translucent: #9198a1; /** Semi-transparent border for overlays and layered elements */
|
|
63
|
+
--borderColor-transparent: #00000000; /** Fully transparent border */
|
|
60
64
|
--button-danger-bgColor-hover: #922323;
|
|
61
65
|
--button-danger-borderColor-hover: #ffb8b0;
|
|
62
66
|
--button-danger-fgColor-rest: #ffb8b0;
|
|
@@ -504,17 +508,17 @@
|
|
|
504
508
|
--display-yellow-scale-7: #df9e11;
|
|
505
509
|
--display-yellow-scale-8: #edb431;
|
|
506
510
|
--display-yellow-scale-9: #f0ca6a;
|
|
507
|
-
--fgColor-accent: #96d0ff;
|
|
508
|
-
--fgColor-attention: #eac55f;
|
|
509
|
-
--fgColor-danger: #ffb8b0;
|
|
510
|
-
--fgColor-default: #f0f6fc;
|
|
511
|
-
--fgColor-disabled: #656c76;
|
|
512
|
-
--fgColor-done: #dcbdfb;
|
|
513
|
-
--fgColor-muted: #b7bdc8;
|
|
514
|
-
--fgColor-neutral: #d1d7e0;
|
|
515
|
-
--fgColor-severe: #ffbc6f;
|
|
516
|
-
--fgColor-sponsors: #ffb3d8;
|
|
517
|
-
--fgColor-success: #b4f1b4;
|
|
511
|
+
--fgColor-accent: #96d0ff; /** Accent text for links and interactive elements */
|
|
512
|
+
--fgColor-attention: #eac55f; /** Attention text for warnings and caution states */
|
|
513
|
+
--fgColor-danger: #ffb8b0; /** Danger text for errors and destructive actions */
|
|
514
|
+
--fgColor-default: #f0f6fc; /** Default text color for primary content and headings */
|
|
515
|
+
--fgColor-disabled: #656c76; /** Text color for disabled interactive elements */
|
|
516
|
+
--fgColor-done: #dcbdfb; /** Text color for completed/done state indicators */
|
|
517
|
+
--fgColor-muted: #b7bdc8; /** Muted text for secondary content and less important information */
|
|
518
|
+
--fgColor-neutral: #d1d7e0; /** Neutral semantic text for icons and secondary elements */
|
|
519
|
+
--fgColor-severe: #ffbc6f; /** Severe text for high-priority warnings */
|
|
520
|
+
--fgColor-sponsors: #ffb3d8; /** Text color for GitHub Sponsors content */
|
|
521
|
+
--fgColor-success: #b4f1b4; /** Success text for positive feedback and completed states */
|
|
518
522
|
--header-bgColor: #151b23f2;
|
|
519
523
|
--header-borderColor-divider: #656c76;
|
|
520
524
|
--header-fgColor-logo: #f0f6fc;
|
|
@@ -647,17 +651,17 @@
|
|
|
647
651
|
--timelineBadge-bgColor: #212830;
|
|
648
652
|
--underlineNav-borderColor-active: #ec775c;
|
|
649
653
|
--avatar-bgColor: #cdd9e51a;
|
|
650
|
-
--bgColor-black: #010409;
|
|
651
|
-
--bgColor-closed-emphasis: var(--bgColor-danger-emphasis);
|
|
652
|
-
--bgColor-closed-muted: var(--bgColor-danger-muted);
|
|
653
|
-
--bgColor-draft-emphasis: var(--bgColor-neutral-emphasis);
|
|
654
|
-
--bgColor-draft-muted: var(--bgColor-neutral-muted);
|
|
655
|
-
--bgColor-inverse: #cdd9e5;
|
|
656
|
-
--bgColor-open-emphasis: var(--bgColor-success-emphasis);
|
|
657
|
-
--bgColor-open-muted: var(--bgColor-success-muted);
|
|
658
|
-
--bgColor-upsell-emphasis: var(--bgColor-done-emphasis);
|
|
659
|
-
--bgColor-upsell-muted: var(--bgColor-done-muted);
|
|
660
|
-
--bgColor-white: #cdd9e5;
|
|
654
|
+
--bgColor-black: #010409; /** Pure black background */
|
|
655
|
+
--bgColor-closed-emphasis: var(--bgColor-danger-emphasis); /** Strong background for closed state badges and labels */
|
|
656
|
+
--bgColor-closed-muted: var(--bgColor-danger-muted); /** Subtle background for closed state indicators (issues, PRs) */
|
|
657
|
+
--bgColor-draft-emphasis: var(--bgColor-neutral-emphasis); /** Strong background for draft state badges and labels */
|
|
658
|
+
--bgColor-draft-muted: var(--bgColor-neutral-muted); /** Subtle background for draft state indicators */
|
|
659
|
+
--bgColor-inverse: #cdd9e5; /** Inverse background that flips between light and dark modes */
|
|
660
|
+
--bgColor-open-emphasis: var(--bgColor-success-emphasis); /** Strong background for open state badges and labels */
|
|
661
|
+
--bgColor-open-muted: var(--bgColor-success-muted); /** Subtle background for open state indicators (issues, PRs) */
|
|
662
|
+
--bgColor-upsell-emphasis: var(--bgColor-done-emphasis); /** Strong background for prominent upsell elements */
|
|
663
|
+
--bgColor-upsell-muted: var(--bgColor-done-muted); /** Subtle background for upsell and promotional content */
|
|
664
|
+
--bgColor-white: #cdd9e5; /** Pure white background */
|
|
661
665
|
--border-accent-emphasis: 0.0625rem solid #6cb6ff;
|
|
662
666
|
--border-accent-muted: 0.0625rem solid #6cb6ff;
|
|
663
667
|
--border-attention-emphasis: 0.0625rem solid #daaa3f;
|
|
@@ -675,14 +679,14 @@
|
|
|
675
679
|
--border-success-emphasis: 0.0625rem solid #6bc46d;
|
|
676
680
|
--border-success-muted: 0.0625rem solid #6bc46d;
|
|
677
681
|
--border-transparent: 0.0625rem solid #00000000;
|
|
678
|
-
--borderColor-closed-emphasis: var(--borderColor-danger-emphasis);
|
|
679
|
-
--borderColor-closed-muted: var(--borderColor-danger-muted);
|
|
680
|
-
--borderColor-emphasis: var(--borderColor-default);
|
|
681
|
-
--borderColor-muted: var(--borderColor-default);
|
|
682
|
-
--borderColor-open-emphasis: var(--borderColor-success-emphasis);
|
|
683
|
-
--borderColor-open-muted: var(--borderColor-success-muted);
|
|
684
|
-
--borderColor-upsell-emphasis: var(--borderColor-done-emphasis);
|
|
685
|
-
--borderColor-upsell-muted: var(--borderColor-done-muted);
|
|
682
|
+
--borderColor-closed-emphasis: var(--borderColor-danger-emphasis); /** Strong border for closed state badges */
|
|
683
|
+
--borderColor-closed-muted: var(--borderColor-danger-muted); /** Subtle border for closed state indicators */
|
|
684
|
+
--borderColor-emphasis: var(--borderColor-default); /** Strong border for emphasis and visual weight */
|
|
685
|
+
--borderColor-muted: var(--borderColor-default); /** Subtle border for secondary elements and light separators */
|
|
686
|
+
--borderColor-open-emphasis: var(--borderColor-success-emphasis); /** Strong border for open state badges */
|
|
687
|
+
--borderColor-open-muted: var(--borderColor-success-muted); /** Subtle border for open state indicators */
|
|
688
|
+
--borderColor-upsell-emphasis: var(--borderColor-done-emphasis); /** Strong border for prominent upsell elements */
|
|
689
|
+
--borderColor-upsell-muted: var(--borderColor-done-muted); /** Subtle border for upsell and promotional content */
|
|
686
690
|
--button-danger-bgColor-active: var(--bgColor-danger-emphasis);
|
|
687
691
|
--button-danger-bgColor-rest: var(--control-bgColor-rest);
|
|
688
692
|
--button-danger-borderColor-active: var(--button-danger-borderColor-hover);
|
|
@@ -783,15 +787,15 @@
|
|
|
783
787
|
--diffBlob-hunkLine-fgColor: var(--fgColor-muted);
|
|
784
788
|
--diffBlob-hunkNum-bgColor-hover: var(--bgColor-accent-emphasis);
|
|
785
789
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
786
|
-
--fgColor-black: #010409;
|
|
787
|
-
--fgColor-closed: var(--fgColor-danger);
|
|
788
|
-
--fgColor-draft: var(--fgColor-neutral);
|
|
789
|
-
--fgColor-link: var(--fgColor-accent);
|
|
790
|
-
--fgColor-onInverse: #010409;
|
|
791
|
-
--fgColor-open: var(--fgColor-success);
|
|
792
|
-
--fgColor-upsell: var(--fgColor-done);
|
|
793
|
-
--fgColor-white: #cdd9e5;
|
|
794
|
-
--focus-outlineColor: var(--borderColor-accent-emphasis);
|
|
790
|
+
--fgColor-black: #010409; /** Pure black text */
|
|
791
|
+
--fgColor-closed: var(--fgColor-danger); /** Text color for closed state indicators (issues, PRs) */
|
|
792
|
+
--fgColor-draft: var(--fgColor-neutral); /** Text color for draft state indicators */
|
|
793
|
+
--fgColor-link: var(--fgColor-accent); /** Text color for hyperlinks */
|
|
794
|
+
--fgColor-onInverse: #010409; /** Text color for use on inverse backgrounds */
|
|
795
|
+
--fgColor-open: var(--fgColor-success); /** Text color for open state indicators (issues, PRs) */
|
|
796
|
+
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
797
|
+
--fgColor-white: #cdd9e5; /** Pure white text */
|
|
798
|
+
--focus-outlineColor: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
795
799
|
--header-fgColor-default: #cdd9e5b3;
|
|
796
800
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
797
801
|
--label-blue-borderColor: var(--label-blue-fgColor-rest);
|
|
@@ -822,12 +826,12 @@
|
|
|
822
826
|
--progressBar-bgColor-sponsors: var(--bgColor-sponsors-emphasis);
|
|
823
827
|
--progressBar-bgColor-success: var(--bgColor-success-emphasis);
|
|
824
828
|
--selectMenu-borderColor: var(--borderColor-default);
|
|
825
|
-
--selection-bgColor: #1b4b91b3;
|
|
826
|
-
--shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
|
|
827
|
-
--shadow-inset: inset 0px 1px 0px 0px #0104093d;
|
|
828
|
-
--shadow-resting-medium: 0px 1px 1px 0px #01040966, 0px 3px 6px 0px #010409cc;
|
|
829
|
-
--shadow-resting-small: 0px 1px 1px 0px #01040999, 0px 1px 3px 0px #01040999;
|
|
830
|
-
--shadow-resting-xsmall: 0px 1px 1px 0px #010409cc;
|
|
829
|
+
--selection-bgColor: #1b4b91b3; /** Background color for text selection highlights */
|
|
830
|
+
--shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966; /** Legacy floating shadow for backward compatibility */
|
|
831
|
+
--shadow-inset: inset 0px 1px 0px 0px #0104093d; /** Inset shadow for recessed elements */
|
|
832
|
+
--shadow-resting-medium: 0px 1px 1px 0px #01040966, 0px 3px 6px 0px #010409cc; /** Medium resting shadow for cards and elevated surfaces */
|
|
833
|
+
--shadow-resting-small: 0px 1px 1px 0px #01040999, 0px 1px 3px 0px #01040999; /** Small resting shadow for buttons and interactive elements */
|
|
834
|
+
--shadow-resting-xsmall: 0px 1px 1px 0px #010409cc; /** Extra small resting shadow for minimal elevation */
|
|
831
835
|
--topicTag-borderColor: var(--borderColor-accent-emphasis);
|
|
832
836
|
--treeViewItem-leadingVisual-iconColor-rest: var(--fgColor-muted);
|
|
833
837
|
--underlineNav-iconColor-rest: var(--fgColor-muted);
|
|
@@ -840,8 +844,8 @@
|
|
|
840
844
|
--border-open-muted: var(--border-success-muted);
|
|
841
845
|
--border-upsell-emphasis: 0.0625rem solid #dcbdfb;
|
|
842
846
|
--border-upsell-muted: 0.0625rem solid #dcbdfb;
|
|
843
|
-
--borderColor-neutral-emphasis: var(--borderColor-emphasis);
|
|
844
|
-
--borderColor-neutral-muted: var(--borderColor-muted);
|
|
847
|
+
--borderColor-neutral-emphasis: var(--borderColor-emphasis); /** Strong neutral semantic border */
|
|
848
|
+
--borderColor-neutral-muted: var(--borderColor-muted); /** Subtle neutral semantic border */
|
|
845
849
|
--button-danger-bgColor-disabled: var(--control-bgColor-disabled);
|
|
846
850
|
--button-danger-borderColor-rest: var(--control-borderColor-rest);
|
|
847
851
|
--button-default-bgColor-disabled: var(--control-bgColor-disabled);
|
|
@@ -871,19 +875,19 @@
|
|
|
871
875
|
--controlKnob-borderColor-checked: var(--control-checked-bgColor-rest);
|
|
872
876
|
--controlKnob-borderColor-disabled: var(--control-bgColor-disabled);
|
|
873
877
|
--controlTrack-borderColor-rest: var(--borderColor-emphasis);
|
|
874
|
-
--focus-outline: 2px solid #6cb6ff;
|
|
878
|
+
--focus-outline: 2px solid #6cb6ff; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
875
879
|
--progressBar-track-bgColor: var(--bgColor-inverse);
|
|
876
880
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
877
|
-
--shadow-floating-large: 0px 0px 0px 1px #b7bdc8, 0px 24px 48px 0px #010409;
|
|
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;
|
|
879
|
-
--shadow-floating-small: 0px 0px 0px 1px #b7bdc8, 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
|
|
880
|
-
--shadow-floating-xlarge: 0px 0px 0px 1px #b7bdc8, 0px 32px 64px 0px #010409;
|
|
881
|
+
--shadow-floating-large: 0px 0px 0px 1px #b7bdc8, 0px 24px 48px 0px #010409; /** Large floating shadow for modals and dialogs */
|
|
882
|
+
--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 */
|
|
883
|
+
--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 */
|
|
884
|
+
--shadow-floating-xlarge: 0px 0px 0px 1px #b7bdc8, 0px 32px 64px 0px #010409; /** Extra large floating shadow for full-screen overlays and sheets */
|
|
881
885
|
--tooltip-bgColor: var(--bgColor-inverse);
|
|
882
886
|
--tooltip-fgColor: var(--fgColor-onInverse);
|
|
883
887
|
--border-neutral-emphasis: 0.0625rem solid #b7bdc8;
|
|
884
888
|
--border-neutral-muted: 0.0625rem solid #b7bdc8;
|
|
885
|
-
--borderColor-draft-emphasis: var(--borderColor-neutral-emphasis);
|
|
886
|
-
--borderColor-draft-muted: var(--borderColor-neutral-muted);
|
|
889
|
+
--borderColor-draft-emphasis: var(--borderColor-neutral-emphasis); /** Strong border for draft state badges */
|
|
890
|
+
--borderColor-draft-muted: var(--borderColor-neutral-muted); /** Subtle border for draft state indicators */
|
|
887
891
|
--button-default-borderColor-active: var(--button-default-borderColor-rest);
|
|
888
892
|
--button-default-borderColor-hover: var(--button-default-borderColor-rest);
|
|
889
893
|
--buttonKeybindingHint-danger-borderColor-disabled: var(--buttonKeybindingHint-default-borderColor-disabled);
|
|
@@ -909,51 +913,51 @@
|
|
|
909
913
|
--control-checked-bgColor-active: #3c79d0;
|
|
910
914
|
--control-checked-bgColor-hover: #2b64c1;
|
|
911
915
|
--control-danger-bgColor-active: #c51120;
|
|
912
|
-
--fgColor-onEmphasis: #ffffff;
|
|
916
|
+
--fgColor-onEmphasis: #ffffff; /** Text color for use on emphasis backgrounds */
|
|
913
917
|
--reactionButton-selected-bgColor-hover: #3a8cfd5c;
|
|
914
918
|
--avatar-shadow: 0px 0px 0px 2px #0d1117;
|
|
915
919
|
--avatarStack-fade-bgColor-default: #3d444d;
|
|
916
920
|
--avatarStack-fade-bgColor-muted: #2a313c;
|
|
917
|
-
--bgColor-accent-emphasis: #1b4b91;
|
|
918
|
-
--bgColor-accent-muted: #4184e41a;
|
|
919
|
-
--bgColor-attention-emphasis: #6c4400;
|
|
920
|
-
--bgColor-attention-muted: #ae7c1426;
|
|
921
|
-
--bgColor-danger-emphasis: #922323;
|
|
922
|
-
--bgColor-danger-muted: #e5534b1a;
|
|
923
|
-
--bgColor-default: #212830;
|
|
924
|
-
--bgColor-disabled: #2a313c;
|
|
925
|
-
--bgColor-done-emphasis: #5936a2;
|
|
926
|
-
--bgColor-done-muted: #986ee226;
|
|
927
|
-
--bgColor-emphasis: #3d444d;
|
|
928
|
-
--bgColor-inset: #151b23;
|
|
929
|
-
--bgColor-muted: #262c36;
|
|
930
|
-
--bgColor-neutral-emphasis: #3d444d;
|
|
931
|
-
--bgColor-neutral-muted: #656c7633;
|
|
932
|
-
--bgColor-severe-emphasis: #7f3913;
|
|
933
|
-
--bgColor-severe-muted: #cc6b2c1a;
|
|
934
|
-
--bgColor-sponsors-emphasis: #7e325a;
|
|
935
|
-
--bgColor-sponsors-muted: #c961981a;
|
|
936
|
-
--bgColor-success-emphasis: #245829;
|
|
937
|
-
--bgColor-success-muted: #46954a26;
|
|
938
|
-
--bgColor-transparent: #00000000;
|
|
939
|
-
--borderColor-accent-emphasis: #6cb6ff;
|
|
940
|
-
--borderColor-accent-muted: #6cb6ff;
|
|
941
|
-
--borderColor-attention-emphasis: #daaa3f;
|
|
942
|
-
--borderColor-attention-muted: #daaa3f;
|
|
943
|
-
--borderColor-danger-emphasis: #ff938a;
|
|
944
|
-
--borderColor-danger-muted: #ff938a;
|
|
945
|
-
--borderColor-default: #b7bdc8;
|
|
946
|
-
--borderColor-disabled: #656c761a;
|
|
947
|
-
--borderColor-done-emphasis: #dcbdfb;
|
|
948
|
-
--borderColor-done-muted: #dcbdfb;
|
|
949
|
-
--borderColor-severe-emphasis: #f69d50;
|
|
950
|
-
--borderColor-severe-muted: #f69d50;
|
|
951
|
-
--borderColor-sponsors-emphasis: #e275ad;
|
|
952
|
-
--borderColor-sponsors-muted: #fc8dc7;
|
|
953
|
-
--borderColor-success-emphasis: #6bc46d;
|
|
954
|
-
--borderColor-success-muted: #6bc46d;
|
|
955
|
-
--borderColor-translucent: #9198a1;
|
|
956
|
-
--borderColor-transparent: #00000000;
|
|
921
|
+
--bgColor-accent-emphasis: #1b4b91; /** Strong accent background for active states and focused states */
|
|
922
|
+
--bgColor-accent-muted: #4184e41a; /** Subtle accent background for informational or selected elements */
|
|
923
|
+
--bgColor-attention-emphasis: #6c4400; /** Strong attention background for prominent warnings */
|
|
924
|
+
--bgColor-attention-muted: #ae7c1426; /** Subtle attention background for warnings and caution states */
|
|
925
|
+
--bgColor-danger-emphasis: #922323; /** Emphasized danger background for critical errors and delete confirmations */
|
|
926
|
+
--bgColor-danger-muted: #e5534b1a; /** Muted danger background for error states and destructive action contexts */
|
|
927
|
+
--bgColor-default: #212830; /** Default background color for pages and main content areas */
|
|
928
|
+
--bgColor-disabled: #2a313c; /** Background for disabled interactive elements */
|
|
929
|
+
--bgColor-done-emphasis: #5936a2; /** Strong background for completed/done state badges and labels */
|
|
930
|
+
--bgColor-done-muted: #986ee226; /** Subtle background for completed/done state indicators */
|
|
931
|
+
--bgColor-emphasis: #3d444d; /** High-emphasis dark background for strong visual contrast */
|
|
932
|
+
--bgColor-inset: #151b23; /** Inset background for recessed content areas like wells or sunken panels */
|
|
933
|
+
--bgColor-muted: #262c36; /** Muted background for secondary content areas and subtle grouping */
|
|
934
|
+
--bgColor-neutral-emphasis: #3d444d; /** Strong neutral background for prominent neutral elements */
|
|
935
|
+
--bgColor-neutral-muted: #656c7633; /** Subtle neutral background for tags, labels, and secondary UI elements */
|
|
936
|
+
--bgColor-severe-emphasis: #7f3913; /** Strong severe background for prominent high-priority warnings */
|
|
937
|
+
--bgColor-severe-muted: #cc6b2c1a; /** Subtle severe background for high-priority warnings */
|
|
938
|
+
--bgColor-sponsors-emphasis: #7e325a; /** Strong background for prominent GitHub Sponsors elements */
|
|
939
|
+
--bgColor-sponsors-muted: #c961981a; /** Subtle background for GitHub Sponsors content */
|
|
940
|
+
--bgColor-success-emphasis: #245829; /** Strong success background for prominent positive actions */
|
|
941
|
+
--bgColor-success-muted: #46954a26; /** Subtle success background for positive feedback and completed states */
|
|
942
|
+
--bgColor-transparent: #00000000; /** Fully transparent background */
|
|
943
|
+
--borderColor-accent-emphasis: #6cb6ff; /** Strong accent border for selected or focused elements */
|
|
944
|
+
--borderColor-accent-muted: #6cb6ff; /** Subtle accent border for selected or focused elements */
|
|
945
|
+
--borderColor-attention-emphasis: #daaa3f; /** Strong attention border for prominent warnings */
|
|
946
|
+
--borderColor-attention-muted: #daaa3f; /** Subtle attention border for warnings and caution states */
|
|
947
|
+
--borderColor-danger-emphasis: #ff938a; /** Strong danger border for destructive actions and errors */
|
|
948
|
+
--borderColor-danger-muted: #ff938a; /** Subtle danger border for errors and destructive contexts */
|
|
949
|
+
--borderColor-default: #b7bdc8; /** Default border color for most UI elements */
|
|
950
|
+
--borderColor-disabled: #656c761a; /** Border color for disabled interactive elements */
|
|
951
|
+
--borderColor-done-emphasis: #dcbdfb; /** Strong border for completed/done state badges */
|
|
952
|
+
--borderColor-done-muted: #dcbdfb; /** Subtle border for completed/done state indicators */
|
|
953
|
+
--borderColor-severe-emphasis: #f69d50; /** Strong severe border for prominent high-priority warnings */
|
|
954
|
+
--borderColor-severe-muted: #f69d50; /** Subtle severe border for high-priority warnings */
|
|
955
|
+
--borderColor-sponsors-emphasis: #e275ad; /** Strong border for prominent GitHub Sponsors elements */
|
|
956
|
+
--borderColor-sponsors-muted: #fc8dc7; /** Subtle border for GitHub Sponsors content */
|
|
957
|
+
--borderColor-success-emphasis: #6bc46d; /** Strong success border for prominent positive elements */
|
|
958
|
+
--borderColor-success-muted: #6bc46d; /** Subtle success border for positive feedback elements */
|
|
959
|
+
--borderColor-translucent: #9198a1; /** Semi-transparent border for overlays and layered elements */
|
|
960
|
+
--borderColor-transparent: #00000000; /** Fully transparent border */
|
|
957
961
|
--button-danger-bgColor-hover: #922323;
|
|
958
962
|
--button-danger-borderColor-hover: #ffb8b0;
|
|
959
963
|
--button-danger-fgColor-rest: #ffb8b0;
|
|
@@ -1401,17 +1405,17 @@
|
|
|
1401
1405
|
--display-yellow-scale-7: #df9e11;
|
|
1402
1406
|
--display-yellow-scale-8: #edb431;
|
|
1403
1407
|
--display-yellow-scale-9: #f0ca6a;
|
|
1404
|
-
--fgColor-accent: #96d0ff;
|
|
1405
|
-
--fgColor-attention: #eac55f;
|
|
1406
|
-
--fgColor-danger: #ffb8b0;
|
|
1407
|
-
--fgColor-default: #f0f6fc;
|
|
1408
|
-
--fgColor-disabled: #656c76;
|
|
1409
|
-
--fgColor-done: #dcbdfb;
|
|
1410
|
-
--fgColor-muted: #b7bdc8;
|
|
1411
|
-
--fgColor-neutral: #d1d7e0;
|
|
1412
|
-
--fgColor-severe: #ffbc6f;
|
|
1413
|
-
--fgColor-sponsors: #ffb3d8;
|
|
1414
|
-
--fgColor-success: #b4f1b4;
|
|
1408
|
+
--fgColor-accent: #96d0ff; /** Accent text for links and interactive elements */
|
|
1409
|
+
--fgColor-attention: #eac55f; /** Attention text for warnings and caution states */
|
|
1410
|
+
--fgColor-danger: #ffb8b0; /** Danger text for errors and destructive actions */
|
|
1411
|
+
--fgColor-default: #f0f6fc; /** Default text color for primary content and headings */
|
|
1412
|
+
--fgColor-disabled: #656c76; /** Text color for disabled interactive elements */
|
|
1413
|
+
--fgColor-done: #dcbdfb; /** Text color for completed/done state indicators */
|
|
1414
|
+
--fgColor-muted: #b7bdc8; /** Muted text for secondary content and less important information */
|
|
1415
|
+
--fgColor-neutral: #d1d7e0; /** Neutral semantic text for icons and secondary elements */
|
|
1416
|
+
--fgColor-severe: #ffbc6f; /** Severe text for high-priority warnings */
|
|
1417
|
+
--fgColor-sponsors: #ffb3d8; /** Text color for GitHub Sponsors content */
|
|
1418
|
+
--fgColor-success: #b4f1b4; /** Success text for positive feedback and completed states */
|
|
1415
1419
|
--header-bgColor: #151b23f2;
|
|
1416
1420
|
--header-borderColor-divider: #656c76;
|
|
1417
1421
|
--header-fgColor-logo: #f0f6fc;
|
|
@@ -1544,17 +1548,17 @@
|
|
|
1544
1548
|
--timelineBadge-bgColor: #212830;
|
|
1545
1549
|
--underlineNav-borderColor-active: #ec775c;
|
|
1546
1550
|
--avatar-bgColor: #cdd9e51a;
|
|
1547
|
-
--bgColor-black: #010409;
|
|
1548
|
-
--bgColor-closed-emphasis: var(--bgColor-danger-emphasis);
|
|
1549
|
-
--bgColor-closed-muted: var(--bgColor-danger-muted);
|
|
1550
|
-
--bgColor-draft-emphasis: var(--bgColor-neutral-emphasis);
|
|
1551
|
-
--bgColor-draft-muted: var(--bgColor-neutral-muted);
|
|
1552
|
-
--bgColor-inverse: #cdd9e5;
|
|
1553
|
-
--bgColor-open-emphasis: var(--bgColor-success-emphasis);
|
|
1554
|
-
--bgColor-open-muted: var(--bgColor-success-muted);
|
|
1555
|
-
--bgColor-upsell-emphasis: var(--bgColor-done-emphasis);
|
|
1556
|
-
--bgColor-upsell-muted: var(--bgColor-done-muted);
|
|
1557
|
-
--bgColor-white: #cdd9e5;
|
|
1551
|
+
--bgColor-black: #010409; /** Pure black background */
|
|
1552
|
+
--bgColor-closed-emphasis: var(--bgColor-danger-emphasis); /** Strong background for closed state badges and labels */
|
|
1553
|
+
--bgColor-closed-muted: var(--bgColor-danger-muted); /** Subtle background for closed state indicators (issues, PRs) */
|
|
1554
|
+
--bgColor-draft-emphasis: var(--bgColor-neutral-emphasis); /** Strong background for draft state badges and labels */
|
|
1555
|
+
--bgColor-draft-muted: var(--bgColor-neutral-muted); /** Subtle background for draft state indicators */
|
|
1556
|
+
--bgColor-inverse: #cdd9e5; /** Inverse background that flips between light and dark modes */
|
|
1557
|
+
--bgColor-open-emphasis: var(--bgColor-success-emphasis); /** Strong background for open state badges and labels */
|
|
1558
|
+
--bgColor-open-muted: var(--bgColor-success-muted); /** Subtle background for open state indicators (issues, PRs) */
|
|
1559
|
+
--bgColor-upsell-emphasis: var(--bgColor-done-emphasis); /** Strong background for prominent upsell elements */
|
|
1560
|
+
--bgColor-upsell-muted: var(--bgColor-done-muted); /** Subtle background for upsell and promotional content */
|
|
1561
|
+
--bgColor-white: #cdd9e5; /** Pure white background */
|
|
1558
1562
|
--border-accent-emphasis: 0.0625rem solid #6cb6ff;
|
|
1559
1563
|
--border-accent-muted: 0.0625rem solid #6cb6ff;
|
|
1560
1564
|
--border-attention-emphasis: 0.0625rem solid #daaa3f;
|
|
@@ -1572,14 +1576,14 @@
|
|
|
1572
1576
|
--border-success-emphasis: 0.0625rem solid #6bc46d;
|
|
1573
1577
|
--border-success-muted: 0.0625rem solid #6bc46d;
|
|
1574
1578
|
--border-transparent: 0.0625rem solid #00000000;
|
|
1575
|
-
--borderColor-closed-emphasis: var(--borderColor-danger-emphasis);
|
|
1576
|
-
--borderColor-closed-muted: var(--borderColor-danger-muted);
|
|
1577
|
-
--borderColor-emphasis: var(--borderColor-default);
|
|
1578
|
-
--borderColor-muted: var(--borderColor-default);
|
|
1579
|
-
--borderColor-open-emphasis: var(--borderColor-success-emphasis);
|
|
1580
|
-
--borderColor-open-muted: var(--borderColor-success-muted);
|
|
1581
|
-
--borderColor-upsell-emphasis: var(--borderColor-done-emphasis);
|
|
1582
|
-
--borderColor-upsell-muted: var(--borderColor-done-muted);
|
|
1579
|
+
--borderColor-closed-emphasis: var(--borderColor-danger-emphasis); /** Strong border for closed state badges */
|
|
1580
|
+
--borderColor-closed-muted: var(--borderColor-danger-muted); /** Subtle border for closed state indicators */
|
|
1581
|
+
--borderColor-emphasis: var(--borderColor-default); /** Strong border for emphasis and visual weight */
|
|
1582
|
+
--borderColor-muted: var(--borderColor-default); /** Subtle border for secondary elements and light separators */
|
|
1583
|
+
--borderColor-open-emphasis: var(--borderColor-success-emphasis); /** Strong border for open state badges */
|
|
1584
|
+
--borderColor-open-muted: var(--borderColor-success-muted); /** Subtle border for open state indicators */
|
|
1585
|
+
--borderColor-upsell-emphasis: var(--borderColor-done-emphasis); /** Strong border for prominent upsell elements */
|
|
1586
|
+
--borderColor-upsell-muted: var(--borderColor-done-muted); /** Subtle border for upsell and promotional content */
|
|
1583
1587
|
--button-danger-bgColor-active: var(--bgColor-danger-emphasis);
|
|
1584
1588
|
--button-danger-bgColor-rest: var(--control-bgColor-rest);
|
|
1585
1589
|
--button-danger-borderColor-active: var(--button-danger-borderColor-hover);
|
|
@@ -1680,15 +1684,15 @@
|
|
|
1680
1684
|
--diffBlob-hunkLine-fgColor: var(--fgColor-muted);
|
|
1681
1685
|
--diffBlob-hunkNum-bgColor-hover: var(--bgColor-accent-emphasis);
|
|
1682
1686
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
1683
|
-
--fgColor-black: #010409;
|
|
1684
|
-
--fgColor-closed: var(--fgColor-danger);
|
|
1685
|
-
--fgColor-draft: var(--fgColor-neutral);
|
|
1686
|
-
--fgColor-link: var(--fgColor-accent);
|
|
1687
|
-
--fgColor-onInverse: #010409;
|
|
1688
|
-
--fgColor-open: var(--fgColor-success);
|
|
1689
|
-
--fgColor-upsell: var(--fgColor-done);
|
|
1690
|
-
--fgColor-white: #cdd9e5;
|
|
1691
|
-
--focus-outlineColor: var(--borderColor-accent-emphasis);
|
|
1687
|
+
--fgColor-black: #010409; /** Pure black text */
|
|
1688
|
+
--fgColor-closed: var(--fgColor-danger); /** Text color for closed state indicators (issues, PRs) */
|
|
1689
|
+
--fgColor-draft: var(--fgColor-neutral); /** Text color for draft state indicators */
|
|
1690
|
+
--fgColor-link: var(--fgColor-accent); /** Text color for hyperlinks */
|
|
1691
|
+
--fgColor-onInverse: #010409; /** Text color for use on inverse backgrounds */
|
|
1692
|
+
--fgColor-open: var(--fgColor-success); /** Text color for open state indicators (issues, PRs) */
|
|
1693
|
+
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
1694
|
+
--fgColor-white: #cdd9e5; /** Pure white text */
|
|
1695
|
+
--focus-outlineColor: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
1692
1696
|
--header-fgColor-default: #cdd9e5b3;
|
|
1693
1697
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
1694
1698
|
--label-blue-borderColor: var(--label-blue-fgColor-rest);
|
|
@@ -1719,12 +1723,12 @@
|
|
|
1719
1723
|
--progressBar-bgColor-sponsors: var(--bgColor-sponsors-emphasis);
|
|
1720
1724
|
--progressBar-bgColor-success: var(--bgColor-success-emphasis);
|
|
1721
1725
|
--selectMenu-borderColor: var(--borderColor-default);
|
|
1722
|
-
--selection-bgColor: #1b4b91b3;
|
|
1723
|
-
--shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
|
|
1724
|
-
--shadow-inset: inset 0px 1px 0px 0px #0104093d;
|
|
1725
|
-
--shadow-resting-medium: 0px 1px 1px 0px #01040966, 0px 3px 6px 0px #010409cc;
|
|
1726
|
-
--shadow-resting-small: 0px 1px 1px 0px #01040999, 0px 1px 3px 0px #01040999;
|
|
1727
|
-
--shadow-resting-xsmall: 0px 1px 1px 0px #010409cc;
|
|
1726
|
+
--selection-bgColor: #1b4b91b3; /** Background color for text selection highlights */
|
|
1727
|
+
--shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966; /** Legacy floating shadow for backward compatibility */
|
|
1728
|
+
--shadow-inset: inset 0px 1px 0px 0px #0104093d; /** Inset shadow for recessed elements */
|
|
1729
|
+
--shadow-resting-medium: 0px 1px 1px 0px #01040966, 0px 3px 6px 0px #010409cc; /** Medium resting shadow for cards and elevated surfaces */
|
|
1730
|
+
--shadow-resting-small: 0px 1px 1px 0px #01040999, 0px 1px 3px 0px #01040999; /** Small resting shadow for buttons and interactive elements */
|
|
1731
|
+
--shadow-resting-xsmall: 0px 1px 1px 0px #010409cc; /** Extra small resting shadow for minimal elevation */
|
|
1728
1732
|
--topicTag-borderColor: var(--borderColor-accent-emphasis);
|
|
1729
1733
|
--treeViewItem-leadingVisual-iconColor-rest: var(--fgColor-muted);
|
|
1730
1734
|
--underlineNav-iconColor-rest: var(--fgColor-muted);
|
|
@@ -1737,8 +1741,8 @@
|
|
|
1737
1741
|
--border-open-muted: var(--border-success-muted);
|
|
1738
1742
|
--border-upsell-emphasis: 0.0625rem solid #dcbdfb;
|
|
1739
1743
|
--border-upsell-muted: 0.0625rem solid #dcbdfb;
|
|
1740
|
-
--borderColor-neutral-emphasis: var(--borderColor-emphasis);
|
|
1741
|
-
--borderColor-neutral-muted: var(--borderColor-muted);
|
|
1744
|
+
--borderColor-neutral-emphasis: var(--borderColor-emphasis); /** Strong neutral semantic border */
|
|
1745
|
+
--borderColor-neutral-muted: var(--borderColor-muted); /** Subtle neutral semantic border */
|
|
1742
1746
|
--button-danger-bgColor-disabled: var(--control-bgColor-disabled);
|
|
1743
1747
|
--button-danger-borderColor-rest: var(--control-borderColor-rest);
|
|
1744
1748
|
--button-default-bgColor-disabled: var(--control-bgColor-disabled);
|
|
@@ -1768,19 +1772,19 @@
|
|
|
1768
1772
|
--controlKnob-borderColor-checked: var(--control-checked-bgColor-rest);
|
|
1769
1773
|
--controlKnob-borderColor-disabled: var(--control-bgColor-disabled);
|
|
1770
1774
|
--controlTrack-borderColor-rest: var(--borderColor-emphasis);
|
|
1771
|
-
--focus-outline: 2px solid #6cb6ff;
|
|
1775
|
+
--focus-outline: 2px solid #6cb6ff; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
1772
1776
|
--progressBar-track-bgColor: var(--bgColor-inverse);
|
|
1773
1777
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
1774
|
-
--shadow-floating-large: 0px 0px 0px 1px #b7bdc8, 0px 24px 48px 0px #010409;
|
|
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;
|
|
1776
|
-
--shadow-floating-small: 0px 0px 0px 1px #b7bdc8, 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
|
|
1777
|
-
--shadow-floating-xlarge: 0px 0px 0px 1px #b7bdc8, 0px 32px 64px 0px #010409;
|
|
1778
|
+
--shadow-floating-large: 0px 0px 0px 1px #b7bdc8, 0px 24px 48px 0px #010409; /** Large floating shadow for modals and dialogs */
|
|
1779
|
+
--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 */
|
|
1780
|
+
--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 */
|
|
1781
|
+
--shadow-floating-xlarge: 0px 0px 0px 1px #b7bdc8, 0px 32px 64px 0px #010409; /** Extra large floating shadow for full-screen overlays and sheets */
|
|
1778
1782
|
--tooltip-bgColor: var(--bgColor-inverse);
|
|
1779
1783
|
--tooltip-fgColor: var(--fgColor-onInverse);
|
|
1780
1784
|
--border-neutral-emphasis: 0.0625rem solid #b7bdc8;
|
|
1781
1785
|
--border-neutral-muted: 0.0625rem solid #b7bdc8;
|
|
1782
|
-
--borderColor-draft-emphasis: var(--borderColor-neutral-emphasis);
|
|
1783
|
-
--borderColor-draft-muted: var(--borderColor-neutral-muted);
|
|
1786
|
+
--borderColor-draft-emphasis: var(--borderColor-neutral-emphasis); /** Strong border for draft state badges */
|
|
1787
|
+
--borderColor-draft-muted: var(--borderColor-neutral-muted); /** Subtle border for draft state indicators */
|
|
1784
1788
|
--button-default-borderColor-active: var(--button-default-borderColor-rest);
|
|
1785
1789
|
--button-default-borderColor-hover: var(--button-default-borderColor-rest);
|
|
1786
1790
|
--buttonKeybindingHint-danger-borderColor-disabled: var(--buttonKeybindingHint-default-borderColor-disabled);
|