@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"],
|
|
2
6
|
[data-color-mode="auto"][data-light-theme="dark_dimmed"] {
|
|
3
7
|
--button-danger-fgColor-active: #ffffff;
|
|
@@ -17,53 +21,53 @@
|
|
|
17
21
|
--control-checked-bgColor-hover: #3876d3;
|
|
18
22
|
--control-checked-borderColor-active: #3f7fdb;
|
|
19
23
|
--control-checked-borderColor-hover: #3876d3;
|
|
20
|
-
--fgColor-accent: #478be6;
|
|
24
|
+
--fgColor-accent: #478be6; /** Accent text for links and interactive elements */
|
|
21
25
|
--reactionButton-selected-bgColor-hover: #4285e55c;
|
|
22
26
|
--avatar-shadow: 0px 0px 0px 2px #0d1117;
|
|
23
27
|
--avatarStack-fade-bgColor-default: #3d444d;
|
|
24
28
|
--avatarStack-fade-bgColor-muted: #2a313c;
|
|
25
|
-
--bgColor-accent-emphasis: #316dca;
|
|
26
|
-
--bgColor-accent-muted: #4184e41a;
|
|
27
|
-
--bgColor-attention-emphasis: #966600;
|
|
28
|
-
--bgColor-attention-muted: #ae7c1426;
|
|
29
|
-
--bgColor-danger-emphasis: #c93c37;
|
|
30
|
-
--bgColor-danger-muted: #e5534b1a;
|
|
31
|
-
--bgColor-default: #212830;
|
|
32
|
-
--bgColor-disabled: #2a313c;
|
|
33
|
-
--bgColor-done-emphasis: #8256d0;
|
|
34
|
-
--bgColor-done-muted: #986ee226;
|
|
35
|
-
--bgColor-emphasis: #3d444d;
|
|
36
|
-
--bgColor-inset: #151b23;
|
|
37
|
-
--bgColor-muted: #262c36;
|
|
38
|
-
--bgColor-neutral-emphasis: #656c76;
|
|
39
|
-
--bgColor-neutral-muted: #656c7633;
|
|
40
|
-
--bgColor-severe-emphasis: #ae5622;
|
|
41
|
-
--bgColor-severe-muted: #cc6b2c1a;
|
|
42
|
-
--bgColor-sponsors-emphasis: #ae4c82;
|
|
43
|
-
--bgColor-sponsors-muted: #c961981a;
|
|
44
|
-
--bgColor-success-emphasis: #347d39;
|
|
45
|
-
--bgColor-success-muted: #46954a26;
|
|
46
|
-
--bgColor-transparent: #00000000;
|
|
47
|
-
--borderColor-accent-emphasis: #316dca;
|
|
48
|
-
--borderColor-accent-muted: #4184e466;
|
|
49
|
-
--borderColor-attention-emphasis: #966600;
|
|
50
|
-
--borderColor-attention-muted: #ae7c1466;
|
|
51
|
-
--borderColor-danger-emphasis: #c93c37;
|
|
52
|
-
--borderColor-danger-muted: #e5534b66;
|
|
53
|
-
--borderColor-default: #3d444d;
|
|
54
|
-
--borderColor-disabled: #656c761a;
|
|
55
|
-
--borderColor-done-emphasis: #8256d0;
|
|
56
|
-
--borderColor-done-muted: #986ee266;
|
|
57
|
-
--borderColor-emphasis: #656c76;
|
|
58
|
-
--borderColor-muted: #3d444db3;
|
|
59
|
-
--borderColor-neutral-muted: #3d444db3;
|
|
60
|
-
--borderColor-severe-emphasis: #ae5622;
|
|
61
|
-
--borderColor-severe-muted: #cc6b2c66;
|
|
62
|
-
--borderColor-sponsors-emphasis: #ae4c82;
|
|
63
|
-
--borderColor-sponsors-muted: #c9619866;
|
|
64
|
-
--borderColor-success-emphasis: #347d39;
|
|
65
|
-
--borderColor-success-muted: #46954a66;
|
|
66
|
-
--borderColor-transparent: #00000000;
|
|
29
|
+
--bgColor-accent-emphasis: #316dca; /** Strong accent background for active states and focused states */
|
|
30
|
+
--bgColor-accent-muted: #4184e41a; /** Subtle accent background for informational or selected elements */
|
|
31
|
+
--bgColor-attention-emphasis: #966600; /** Strong attention background for prominent warnings */
|
|
32
|
+
--bgColor-attention-muted: #ae7c1426; /** Subtle attention background for warnings and caution states */
|
|
33
|
+
--bgColor-danger-emphasis: #c93c37; /** Emphasized danger background for critical errors and delete confirmations */
|
|
34
|
+
--bgColor-danger-muted: #e5534b1a; /** Muted danger background for error states and destructive action contexts */
|
|
35
|
+
--bgColor-default: #212830; /** Default background color for pages and main content areas */
|
|
36
|
+
--bgColor-disabled: #2a313c; /** Background for disabled interactive elements */
|
|
37
|
+
--bgColor-done-emphasis: #8256d0; /** Strong background for completed/done state badges and labels */
|
|
38
|
+
--bgColor-done-muted: #986ee226; /** Subtle background for completed/done state indicators */
|
|
39
|
+
--bgColor-emphasis: #3d444d; /** High-emphasis dark background for strong visual contrast */
|
|
40
|
+
--bgColor-inset: #151b23; /** Inset background for recessed content areas like wells or sunken panels */
|
|
41
|
+
--bgColor-muted: #262c36; /** Muted background for secondary content areas and subtle grouping */
|
|
42
|
+
--bgColor-neutral-emphasis: #656c76; /** Strong neutral background for prominent neutral elements */
|
|
43
|
+
--bgColor-neutral-muted: #656c7633; /** Subtle neutral background for tags, labels, and secondary UI elements */
|
|
44
|
+
--bgColor-severe-emphasis: #ae5622; /** Strong severe background for prominent high-priority warnings */
|
|
45
|
+
--bgColor-severe-muted: #cc6b2c1a; /** Subtle severe background for high-priority warnings */
|
|
46
|
+
--bgColor-sponsors-emphasis: #ae4c82; /** Strong background for prominent GitHub Sponsors elements */
|
|
47
|
+
--bgColor-sponsors-muted: #c961981a; /** Subtle background for GitHub Sponsors content */
|
|
48
|
+
--bgColor-success-emphasis: #347d39; /** Strong success background for prominent positive actions */
|
|
49
|
+
--bgColor-success-muted: #46954a26; /** Subtle success background for positive feedback and completed states */
|
|
50
|
+
--bgColor-transparent: #00000000; /** Fully transparent background */
|
|
51
|
+
--borderColor-accent-emphasis: #316dca; /** Strong accent border for selected or focused elements */
|
|
52
|
+
--borderColor-accent-muted: #4184e466; /** Subtle accent border for selected or focused elements */
|
|
53
|
+
--borderColor-attention-emphasis: #966600; /** Strong attention border for prominent warnings */
|
|
54
|
+
--borderColor-attention-muted: #ae7c1466; /** Subtle attention border for warnings and caution states */
|
|
55
|
+
--borderColor-danger-emphasis: #c93c37; /** Strong danger border for destructive actions and errors */
|
|
56
|
+
--borderColor-danger-muted: #e5534b66; /** Subtle danger border for errors and destructive contexts */
|
|
57
|
+
--borderColor-default: #3d444d; /** Default border color for most UI elements */
|
|
58
|
+
--borderColor-disabled: #656c761a; /** Border color for disabled interactive elements */
|
|
59
|
+
--borderColor-done-emphasis: #8256d0; /** Strong border for completed/done state badges */
|
|
60
|
+
--borderColor-done-muted: #986ee266; /** Subtle border for completed/done state indicators */
|
|
61
|
+
--borderColor-emphasis: #656c76; /** Strong border for emphasis and visual weight */
|
|
62
|
+
--borderColor-muted: #3d444db3; /** Subtle border for secondary elements and light separators */
|
|
63
|
+
--borderColor-neutral-muted: #3d444db3; /** Subtle neutral semantic border */
|
|
64
|
+
--borderColor-severe-emphasis: #ae5622; /** Strong severe border for prominent high-priority warnings */
|
|
65
|
+
--borderColor-severe-muted: #cc6b2c66; /** Subtle severe border for high-priority warnings */
|
|
66
|
+
--borderColor-sponsors-emphasis: #ae4c82; /** Strong border for prominent GitHub Sponsors elements */
|
|
67
|
+
--borderColor-sponsors-muted: #c9619866; /** Subtle border for GitHub Sponsors content */
|
|
68
|
+
--borderColor-success-emphasis: #347d39; /** Strong success border for prominent positive elements */
|
|
69
|
+
--borderColor-success-muted: #46954a66; /** Subtle success border for positive feedback elements */
|
|
70
|
+
--borderColor-transparent: #00000000; /** Fully transparent border */
|
|
67
71
|
--button-danger-bgColor-hover: #ad2e2c;
|
|
68
72
|
--button-danger-borderColor-rest: var(--control-borderColor-rest);
|
|
69
73
|
--button-danger-iconColor-rest: var(--button-danger-fgColor-rest);
|
|
@@ -504,18 +508,18 @@
|
|
|
504
508
|
--display-yellow-scale-7: #df9e11;
|
|
505
509
|
--display-yellow-scale-8: #edb431;
|
|
506
510
|
--display-yellow-scale-9: #f0ca6a;
|
|
507
|
-
--fgColor-attention: #c69026;
|
|
508
|
-
--fgColor-danger: #e5534b;
|
|
509
|
-
--fgColor-default: #
|
|
510
|
-
--fgColor-disabled: #656c76;
|
|
511
|
-
--fgColor-done: #986ee2;
|
|
512
|
-
--fgColor-link: var(--fgColor-accent);
|
|
513
|
-
--fgColor-muted: #9198a1;
|
|
514
|
-
--fgColor-neutral: #9198a1;
|
|
515
|
-
--fgColor-onEmphasis: #f0f6fc;
|
|
516
|
-
--fgColor-severe: #cc6b2c;
|
|
517
|
-
--fgColor-sponsors: #c96198;
|
|
518
|
-
--fgColor-success: #57ab5a;
|
|
511
|
+
--fgColor-attention: #c69026; /** Attention text for warnings and caution states */
|
|
512
|
+
--fgColor-danger: #e5534b; /** Danger text for errors and destructive actions */
|
|
513
|
+
--fgColor-default: #f0f6fc; /** Default text color for primary content and headings */
|
|
514
|
+
--fgColor-disabled: #656c76; /** Text color for disabled interactive elements */
|
|
515
|
+
--fgColor-done: #986ee2; /** Text color for completed/done state indicators */
|
|
516
|
+
--fgColor-link: var(--fgColor-accent); /** Text color for hyperlinks */
|
|
517
|
+
--fgColor-muted: #9198a1; /** Muted text for secondary content and less important information */
|
|
518
|
+
--fgColor-neutral: #9198a1; /** Neutral semantic text for icons and secondary elements */
|
|
519
|
+
--fgColor-onEmphasis: #f0f6fc; /** Text color for use on emphasis backgrounds */
|
|
520
|
+
--fgColor-severe: #cc6b2c; /** Severe text for high-priority warnings */
|
|
521
|
+
--fgColor-sponsors: #c96198; /** Text color for GitHub Sponsors content */
|
|
522
|
+
--fgColor-success: #57ab5a; /** Success text for positive feedback and completed states */
|
|
519
523
|
--header-bgColor: #151b23f2;
|
|
520
524
|
--header-borderColor-divider: #656c76;
|
|
521
525
|
--header-fgColor-logo: #f0f6fc;
|
|
@@ -669,17 +673,17 @@
|
|
|
669
673
|
--topicTag-borderColor: #00000000;
|
|
670
674
|
--underlineNav-borderColor-active: #ec775c;
|
|
671
675
|
--avatar-bgColor: #cdd9e51a;
|
|
672
|
-
--bgColor-black: #010409;
|
|
673
|
-
--bgColor-closed-emphasis: var(--bgColor-danger-emphasis);
|
|
674
|
-
--bgColor-closed-muted: var(--bgColor-danger-muted);
|
|
675
|
-
--bgColor-draft-emphasis: var(--bgColor-neutral-emphasis);
|
|
676
|
-
--bgColor-draft-muted: var(--bgColor-neutral-muted);
|
|
677
|
-
--bgColor-inverse: #cdd9e5;
|
|
678
|
-
--bgColor-open-emphasis: var(--bgColor-success-emphasis);
|
|
679
|
-
--bgColor-open-muted: var(--bgColor-success-muted);
|
|
680
|
-
--bgColor-upsell-emphasis: var(--bgColor-done-emphasis);
|
|
681
|
-
--bgColor-upsell-muted: var(--bgColor-done-muted);
|
|
682
|
-
--bgColor-white: #cdd9e5;
|
|
676
|
+
--bgColor-black: #010409; /** Pure black background */
|
|
677
|
+
--bgColor-closed-emphasis: var(--bgColor-danger-emphasis); /** Strong background for closed state badges and labels */
|
|
678
|
+
--bgColor-closed-muted: var(--bgColor-danger-muted); /** Subtle background for closed state indicators (issues, PRs) */
|
|
679
|
+
--bgColor-draft-emphasis: var(--bgColor-neutral-emphasis); /** Strong background for draft state badges and labels */
|
|
680
|
+
--bgColor-draft-muted: var(--bgColor-neutral-muted); /** Subtle background for draft state indicators */
|
|
681
|
+
--bgColor-inverse: #cdd9e5; /** Inverse background that flips between light and dark modes */
|
|
682
|
+
--bgColor-open-emphasis: var(--bgColor-success-emphasis); /** Strong background for open state badges and labels */
|
|
683
|
+
--bgColor-open-muted: var(--bgColor-success-muted); /** Subtle background for open state indicators (issues, PRs) */
|
|
684
|
+
--bgColor-upsell-emphasis: var(--bgColor-done-emphasis); /** Strong background for prominent upsell elements */
|
|
685
|
+
--bgColor-upsell-muted: var(--bgColor-done-muted); /** Subtle background for upsell and promotional content */
|
|
686
|
+
--bgColor-white: #cdd9e5; /** Pure white background */
|
|
683
687
|
--border-accent-emphasis: 0.0625rem solid #316dca;
|
|
684
688
|
--border-accent-muted: 0.0625rem solid #4184e466;
|
|
685
689
|
--border-attention-emphasis: 0.0625rem solid #966600;
|
|
@@ -700,15 +704,15 @@
|
|
|
700
704
|
--border-success-emphasis: 0.0625rem solid #347d39;
|
|
701
705
|
--border-success-muted: 0.0625rem solid #46954a66;
|
|
702
706
|
--border-transparent: 0.0625rem solid #00000000;
|
|
703
|
-
--borderColor-closed-emphasis: var(--borderColor-danger-emphasis);
|
|
704
|
-
--borderColor-closed-muted: var(--borderColor-danger-muted);
|
|
705
|
-
--borderColor-draft-muted: var(--borderColor-neutral-muted);
|
|
706
|
-
--borderColor-neutral-emphasis: var(--borderColor-emphasis);
|
|
707
|
-
--borderColor-open-emphasis: var(--borderColor-success-emphasis);
|
|
708
|
-
--borderColor-open-muted: var(--borderColor-success-muted);
|
|
709
|
-
--borderColor-translucent: #cdd9e526;
|
|
710
|
-
--borderColor-upsell-emphasis: var(--borderColor-done-emphasis);
|
|
711
|
-
--borderColor-upsell-muted: var(--borderColor-done-muted);
|
|
707
|
+
--borderColor-closed-emphasis: var(--borderColor-danger-emphasis); /** Strong border for closed state badges */
|
|
708
|
+
--borderColor-closed-muted: var(--borderColor-danger-muted); /** Subtle border for closed state indicators */
|
|
709
|
+
--borderColor-draft-muted: var(--borderColor-neutral-muted); /** Subtle border for draft state indicators */
|
|
710
|
+
--borderColor-neutral-emphasis: var(--borderColor-emphasis); /** Strong neutral semantic border */
|
|
711
|
+
--borderColor-open-emphasis: var(--borderColor-success-emphasis); /** Strong border for open state badges */
|
|
712
|
+
--borderColor-open-muted: var(--borderColor-success-muted); /** Subtle border for open state indicators */
|
|
713
|
+
--borderColor-translucent: #cdd9e526; /** Semi-transparent border for overlays and layered elements */
|
|
714
|
+
--borderColor-upsell-emphasis: var(--borderColor-done-emphasis); /** Strong border for prominent upsell elements */
|
|
715
|
+
--borderColor-upsell-muted: var(--borderColor-done-muted); /** Subtle border for upsell and promotional content */
|
|
712
716
|
--button-danger-bgColor-active: var(--bgColor-danger-emphasis);
|
|
713
717
|
--button-danger-bgColor-rest: var(--control-bgColor-rest);
|
|
714
718
|
--button-danger-fgColor-disabled: #e5534b80;
|
|
@@ -819,14 +823,14 @@
|
|
|
819
823
|
--diffBlob-hunkNum-bgColor-hover: var(--bgColor-accent-emphasis);
|
|
820
824
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
821
825
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
822
|
-
--fgColor-black: #010409;
|
|
823
|
-
--fgColor-closed: var(--fgColor-danger);
|
|
824
|
-
--fgColor-draft: var(--fgColor-neutral);
|
|
825
|
-
--fgColor-onInverse: #010409;
|
|
826
|
-
--fgColor-open: var(--fgColor-success);
|
|
827
|
-
--fgColor-upsell: var(--fgColor-done);
|
|
828
|
-
--fgColor-white: #cdd9e5;
|
|
829
|
-
--focus-outlineColor: var(--borderColor-accent-emphasis);
|
|
826
|
+
--fgColor-black: #010409; /** Pure black text */
|
|
827
|
+
--fgColor-closed: var(--fgColor-danger); /** Text color for closed state indicators (issues, PRs) */
|
|
828
|
+
--fgColor-draft: var(--fgColor-neutral); /** Text color for draft state indicators */
|
|
829
|
+
--fgColor-onInverse: #010409; /** Text color for use on inverse backgrounds */
|
|
830
|
+
--fgColor-open: var(--fgColor-success); /** Text color for open state indicators (issues, PRs) */
|
|
831
|
+
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
832
|
+
--fgColor-white: #cdd9e5; /** Pure white text */
|
|
833
|
+
--focus-outlineColor: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
830
834
|
--header-fgColor-default: #cdd9e5b3;
|
|
831
835
|
--page-header-bgColor: var(--bgColor-default);
|
|
832
836
|
--progressBar-bgColor-accent: var(--bgColor-accent-emphasis);
|
|
@@ -840,16 +844,16 @@
|
|
|
840
844
|
--progressBar-track-bgColor: var(--borderColor-default);
|
|
841
845
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
842
846
|
--selectMenu-borderColor: var(--borderColor-default);
|
|
843
|
-
--selection-bgColor: #316dcab3;
|
|
844
|
-
--shadow-floating-large: 0px 0px 0px 1px #3d444d, 0px 24px 48px 0px #010409;
|
|
845
|
-
--shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
|
|
846
|
-
--shadow-floating-medium: 0px 0px 0px 1px #3d444d, 0px 8px 16px -4px #01040966, 0px 4px 32px -4px #01040966, 0px 24px 48px -12px #01040966, 0px 48px 96px -24px #01040966;
|
|
847
|
-
--shadow-floating-small: 0px 0px 0px 1px #3d444d, 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
|
|
848
|
-
--shadow-floating-xlarge: 0px 0px 0px 1px #3d444d, 0px 32px 64px 0px #010409;
|
|
849
|
-
--shadow-inset: inset 0px 1px 0px 0px #0104093d;
|
|
850
|
-
--shadow-resting-medium: 0px 1px 1px 0px #01040966, 0px 3px 6px 0px #010409cc;
|
|
851
|
-
--shadow-resting-small: 0px 1px 1px 0px #01040999, 0px 1px 3px 0px #01040999;
|
|
852
|
-
--shadow-resting-xsmall: 0px 1px 1px 0px #010409cc;
|
|
847
|
+
--selection-bgColor: #316dcab3; /** Background color for text selection highlights */
|
|
848
|
+
--shadow-floating-large: 0px 0px 0px 1px #3d444d, 0px 24px 48px 0px #010409; /** Large floating shadow for modals and dialogs */
|
|
849
|
+
--shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966; /** Legacy floating shadow for backward compatibility */
|
|
850
|
+
--shadow-floating-medium: 0px 0px 0px 1px #3d444d, 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 */
|
|
851
|
+
--shadow-floating-small: 0px 0px 0px 1px #3d444d, 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966; /** Small floating shadow for dropdowns, tooltips, and small overlays */
|
|
852
|
+
--shadow-floating-xlarge: 0px 0px 0px 1px #3d444d, 0px 32px 64px 0px #010409; /** Extra large floating shadow for full-screen overlays and sheets */
|
|
853
|
+
--shadow-inset: inset 0px 1px 0px 0px #0104093d; /** Inset shadow for recessed elements */
|
|
854
|
+
--shadow-resting-medium: 0px 1px 1px 0px #01040966, 0px 3px 6px 0px #010409cc; /** Medium resting shadow for cards and elevated surfaces */
|
|
855
|
+
--shadow-resting-small: 0px 1px 1px 0px #01040999, 0px 1px 3px 0px #01040999; /** Small resting shadow for buttons and interactive elements */
|
|
856
|
+
--shadow-resting-xsmall: 0px 1px 1px 0px #010409cc; /** Extra small resting shadow for minimal elevation */
|
|
853
857
|
--tooltip-bgColor: var(--bgColor-emphasis);
|
|
854
858
|
--tooltip-fgColor: var(--fgColor-onEmphasis);
|
|
855
859
|
--treeViewItem-leadingVisual-iconColor-rest: var(--fgColor-muted);
|
|
@@ -863,7 +867,7 @@
|
|
|
863
867
|
--border-open-muted: var(--border-success-muted);
|
|
864
868
|
--border-upsell-emphasis: 0.0625rem solid #8256d0;
|
|
865
869
|
--border-upsell-muted: 0.0625rem solid #986ee266;
|
|
866
|
-
--borderColor-draft-emphasis: var(--borderColor-neutral-emphasis);
|
|
870
|
+
--borderColor-draft-emphasis: var(--borderColor-neutral-emphasis); /** Strong border for draft state badges */
|
|
867
871
|
--button-danger-bgColor-disabled: var(--control-bgColor-disabled);
|
|
868
872
|
--button-default-bgColor-disabled: var(--control-bgColor-disabled);
|
|
869
873
|
--button-default-fgColor-rest: var(--control-fgColor-rest);
|
|
@@ -887,7 +891,7 @@
|
|
|
887
891
|
--controlKnob-bgColor-disabled: var(--control-bgColor-disabled);
|
|
888
892
|
--controlKnob-borderColor-checked: var(--control-checked-bgColor-rest);
|
|
889
893
|
--controlKnob-borderColor-disabled: var(--control-bgColor-disabled);
|
|
890
|
-
--focus-outline: 2px solid #316dca;
|
|
894
|
+
--focus-outline: 2px solid #316dca; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
891
895
|
--button-danger-borderColor-hover: var(--button-primary-borderColor-rest);
|
|
892
896
|
--button-outline-borderColor-active: var(--button-outline-borderColor-hover);
|
|
893
897
|
--button-primary-borderColor-active: var(--button-primary-borderColor-rest);
|
|
@@ -914,53 +918,53 @@
|
|
|
914
918
|
--control-checked-bgColor-hover: #3876d3;
|
|
915
919
|
--control-checked-borderColor-active: #3f7fdb;
|
|
916
920
|
--control-checked-borderColor-hover: #3876d3;
|
|
917
|
-
--fgColor-accent: #478be6;
|
|
921
|
+
--fgColor-accent: #478be6; /** Accent text for links and interactive elements */
|
|
918
922
|
--reactionButton-selected-bgColor-hover: #4285e55c;
|
|
919
923
|
--avatar-shadow: 0px 0px 0px 2px #0d1117;
|
|
920
924
|
--avatarStack-fade-bgColor-default: #3d444d;
|
|
921
925
|
--avatarStack-fade-bgColor-muted: #2a313c;
|
|
922
|
-
--bgColor-accent-emphasis: #316dca;
|
|
923
|
-
--bgColor-accent-muted: #4184e41a;
|
|
924
|
-
--bgColor-attention-emphasis: #966600;
|
|
925
|
-
--bgColor-attention-muted: #ae7c1426;
|
|
926
|
-
--bgColor-danger-emphasis: #c93c37;
|
|
927
|
-
--bgColor-danger-muted: #e5534b1a;
|
|
928
|
-
--bgColor-default: #212830;
|
|
929
|
-
--bgColor-disabled: #2a313c;
|
|
930
|
-
--bgColor-done-emphasis: #8256d0;
|
|
931
|
-
--bgColor-done-muted: #986ee226;
|
|
932
|
-
--bgColor-emphasis: #3d444d;
|
|
933
|
-
--bgColor-inset: #151b23;
|
|
934
|
-
--bgColor-muted: #262c36;
|
|
935
|
-
--bgColor-neutral-emphasis: #656c76;
|
|
936
|
-
--bgColor-neutral-muted: #656c7633;
|
|
937
|
-
--bgColor-severe-emphasis: #ae5622;
|
|
938
|
-
--bgColor-severe-muted: #cc6b2c1a;
|
|
939
|
-
--bgColor-sponsors-emphasis: #ae4c82;
|
|
940
|
-
--bgColor-sponsors-muted: #c961981a;
|
|
941
|
-
--bgColor-success-emphasis: #347d39;
|
|
942
|
-
--bgColor-success-muted: #46954a26;
|
|
943
|
-
--bgColor-transparent: #00000000;
|
|
944
|
-
--borderColor-accent-emphasis: #316dca;
|
|
945
|
-
--borderColor-accent-muted: #4184e466;
|
|
946
|
-
--borderColor-attention-emphasis: #966600;
|
|
947
|
-
--borderColor-attention-muted: #ae7c1466;
|
|
948
|
-
--borderColor-danger-emphasis: #c93c37;
|
|
949
|
-
--borderColor-danger-muted: #e5534b66;
|
|
950
|
-
--borderColor-default: #3d444d;
|
|
951
|
-
--borderColor-disabled: #656c761a;
|
|
952
|
-
--borderColor-done-emphasis: #8256d0;
|
|
953
|
-
--borderColor-done-muted: #986ee266;
|
|
954
|
-
--borderColor-emphasis: #656c76;
|
|
955
|
-
--borderColor-muted: #3d444db3;
|
|
956
|
-
--borderColor-neutral-muted: #3d444db3;
|
|
957
|
-
--borderColor-severe-emphasis: #ae5622;
|
|
958
|
-
--borderColor-severe-muted: #cc6b2c66;
|
|
959
|
-
--borderColor-sponsors-emphasis: #ae4c82;
|
|
960
|
-
--borderColor-sponsors-muted: #c9619866;
|
|
961
|
-
--borderColor-success-emphasis: #347d39;
|
|
962
|
-
--borderColor-success-muted: #46954a66;
|
|
963
|
-
--borderColor-transparent: #00000000;
|
|
926
|
+
--bgColor-accent-emphasis: #316dca; /** Strong accent background for active states and focused states */
|
|
927
|
+
--bgColor-accent-muted: #4184e41a; /** Subtle accent background for informational or selected elements */
|
|
928
|
+
--bgColor-attention-emphasis: #966600; /** Strong attention background for prominent warnings */
|
|
929
|
+
--bgColor-attention-muted: #ae7c1426; /** Subtle attention background for warnings and caution states */
|
|
930
|
+
--bgColor-danger-emphasis: #c93c37; /** Emphasized danger background for critical errors and delete confirmations */
|
|
931
|
+
--bgColor-danger-muted: #e5534b1a; /** Muted danger background for error states and destructive action contexts */
|
|
932
|
+
--bgColor-default: #212830; /** Default background color for pages and main content areas */
|
|
933
|
+
--bgColor-disabled: #2a313c; /** Background for disabled interactive elements */
|
|
934
|
+
--bgColor-done-emphasis: #8256d0; /** Strong background for completed/done state badges and labels */
|
|
935
|
+
--bgColor-done-muted: #986ee226; /** Subtle background for completed/done state indicators */
|
|
936
|
+
--bgColor-emphasis: #3d444d; /** High-emphasis dark background for strong visual contrast */
|
|
937
|
+
--bgColor-inset: #151b23; /** Inset background for recessed content areas like wells or sunken panels */
|
|
938
|
+
--bgColor-muted: #262c36; /** Muted background for secondary content areas and subtle grouping */
|
|
939
|
+
--bgColor-neutral-emphasis: #656c76; /** Strong neutral background for prominent neutral elements */
|
|
940
|
+
--bgColor-neutral-muted: #656c7633; /** Subtle neutral background for tags, labels, and secondary UI elements */
|
|
941
|
+
--bgColor-severe-emphasis: #ae5622; /** Strong severe background for prominent high-priority warnings */
|
|
942
|
+
--bgColor-severe-muted: #cc6b2c1a; /** Subtle severe background for high-priority warnings */
|
|
943
|
+
--bgColor-sponsors-emphasis: #ae4c82; /** Strong background for prominent GitHub Sponsors elements */
|
|
944
|
+
--bgColor-sponsors-muted: #c961981a; /** Subtle background for GitHub Sponsors content */
|
|
945
|
+
--bgColor-success-emphasis: #347d39; /** Strong success background for prominent positive actions */
|
|
946
|
+
--bgColor-success-muted: #46954a26; /** Subtle success background for positive feedback and completed states */
|
|
947
|
+
--bgColor-transparent: #00000000; /** Fully transparent background */
|
|
948
|
+
--borderColor-accent-emphasis: #316dca; /** Strong accent border for selected or focused elements */
|
|
949
|
+
--borderColor-accent-muted: #4184e466; /** Subtle accent border for selected or focused elements */
|
|
950
|
+
--borderColor-attention-emphasis: #966600; /** Strong attention border for prominent warnings */
|
|
951
|
+
--borderColor-attention-muted: #ae7c1466; /** Subtle attention border for warnings and caution states */
|
|
952
|
+
--borderColor-danger-emphasis: #c93c37; /** Strong danger border for destructive actions and errors */
|
|
953
|
+
--borderColor-danger-muted: #e5534b66; /** Subtle danger border for errors and destructive contexts */
|
|
954
|
+
--borderColor-default: #3d444d; /** Default border color for most UI elements */
|
|
955
|
+
--borderColor-disabled: #656c761a; /** Border color for disabled interactive elements */
|
|
956
|
+
--borderColor-done-emphasis: #8256d0; /** Strong border for completed/done state badges */
|
|
957
|
+
--borderColor-done-muted: #986ee266; /** Subtle border for completed/done state indicators */
|
|
958
|
+
--borderColor-emphasis: #656c76; /** Strong border for emphasis and visual weight */
|
|
959
|
+
--borderColor-muted: #3d444db3; /** Subtle border for secondary elements and light separators */
|
|
960
|
+
--borderColor-neutral-muted: #3d444db3; /** Subtle neutral semantic border */
|
|
961
|
+
--borderColor-severe-emphasis: #ae5622; /** Strong severe border for prominent high-priority warnings */
|
|
962
|
+
--borderColor-severe-muted: #cc6b2c66; /** Subtle severe border for high-priority warnings */
|
|
963
|
+
--borderColor-sponsors-emphasis: #ae4c82; /** Strong border for prominent GitHub Sponsors elements */
|
|
964
|
+
--borderColor-sponsors-muted: #c9619866; /** Subtle border for GitHub Sponsors content */
|
|
965
|
+
--borderColor-success-emphasis: #347d39; /** Strong success border for prominent positive elements */
|
|
966
|
+
--borderColor-success-muted: #46954a66; /** Subtle success border for positive feedback elements */
|
|
967
|
+
--borderColor-transparent: #00000000; /** Fully transparent border */
|
|
964
968
|
--button-danger-bgColor-hover: #ad2e2c;
|
|
965
969
|
--button-danger-borderColor-rest: var(--control-borderColor-rest);
|
|
966
970
|
--button-danger-iconColor-rest: var(--button-danger-fgColor-rest);
|
|
@@ -1401,18 +1405,18 @@
|
|
|
1401
1405
|
--display-yellow-scale-7: #df9e11;
|
|
1402
1406
|
--display-yellow-scale-8: #edb431;
|
|
1403
1407
|
--display-yellow-scale-9: #f0ca6a;
|
|
1404
|
-
--fgColor-attention: #c69026;
|
|
1405
|
-
--fgColor-danger: #e5534b;
|
|
1406
|
-
--fgColor-default: #
|
|
1407
|
-
--fgColor-disabled: #656c76;
|
|
1408
|
-
--fgColor-done: #986ee2;
|
|
1409
|
-
--fgColor-link: var(--fgColor-accent);
|
|
1410
|
-
--fgColor-muted: #9198a1;
|
|
1411
|
-
--fgColor-neutral: #9198a1;
|
|
1412
|
-
--fgColor-onEmphasis: #f0f6fc;
|
|
1413
|
-
--fgColor-severe: #cc6b2c;
|
|
1414
|
-
--fgColor-sponsors: #c96198;
|
|
1415
|
-
--fgColor-success: #57ab5a;
|
|
1408
|
+
--fgColor-attention: #c69026; /** Attention text for warnings and caution states */
|
|
1409
|
+
--fgColor-danger: #e5534b; /** Danger text for errors and destructive actions */
|
|
1410
|
+
--fgColor-default: #f0f6fc; /** Default text color for primary content and headings */
|
|
1411
|
+
--fgColor-disabled: #656c76; /** Text color for disabled interactive elements */
|
|
1412
|
+
--fgColor-done: #986ee2; /** Text color for completed/done state indicators */
|
|
1413
|
+
--fgColor-link: var(--fgColor-accent); /** Text color for hyperlinks */
|
|
1414
|
+
--fgColor-muted: #9198a1; /** Muted text for secondary content and less important information */
|
|
1415
|
+
--fgColor-neutral: #9198a1; /** Neutral semantic text for icons and secondary elements */
|
|
1416
|
+
--fgColor-onEmphasis: #f0f6fc; /** Text color for use on emphasis backgrounds */
|
|
1417
|
+
--fgColor-severe: #cc6b2c; /** Severe text for high-priority warnings */
|
|
1418
|
+
--fgColor-sponsors: #c96198; /** Text color for GitHub Sponsors content */
|
|
1419
|
+
--fgColor-success: #57ab5a; /** Success text for positive feedback and completed states */
|
|
1416
1420
|
--header-bgColor: #151b23f2;
|
|
1417
1421
|
--header-borderColor-divider: #656c76;
|
|
1418
1422
|
--header-fgColor-logo: #f0f6fc;
|
|
@@ -1566,17 +1570,17 @@
|
|
|
1566
1570
|
--topicTag-borderColor: #00000000;
|
|
1567
1571
|
--underlineNav-borderColor-active: #ec775c;
|
|
1568
1572
|
--avatar-bgColor: #cdd9e51a;
|
|
1569
|
-
--bgColor-black: #010409;
|
|
1570
|
-
--bgColor-closed-emphasis: var(--bgColor-danger-emphasis);
|
|
1571
|
-
--bgColor-closed-muted: var(--bgColor-danger-muted);
|
|
1572
|
-
--bgColor-draft-emphasis: var(--bgColor-neutral-emphasis);
|
|
1573
|
-
--bgColor-draft-muted: var(--bgColor-neutral-muted);
|
|
1574
|
-
--bgColor-inverse: #cdd9e5;
|
|
1575
|
-
--bgColor-open-emphasis: var(--bgColor-success-emphasis);
|
|
1576
|
-
--bgColor-open-muted: var(--bgColor-success-muted);
|
|
1577
|
-
--bgColor-upsell-emphasis: var(--bgColor-done-emphasis);
|
|
1578
|
-
--bgColor-upsell-muted: var(--bgColor-done-muted);
|
|
1579
|
-
--bgColor-white: #cdd9e5;
|
|
1573
|
+
--bgColor-black: #010409; /** Pure black background */
|
|
1574
|
+
--bgColor-closed-emphasis: var(--bgColor-danger-emphasis); /** Strong background for closed state badges and labels */
|
|
1575
|
+
--bgColor-closed-muted: var(--bgColor-danger-muted); /** Subtle background for closed state indicators (issues, PRs) */
|
|
1576
|
+
--bgColor-draft-emphasis: var(--bgColor-neutral-emphasis); /** Strong background for draft state badges and labels */
|
|
1577
|
+
--bgColor-draft-muted: var(--bgColor-neutral-muted); /** Subtle background for draft state indicators */
|
|
1578
|
+
--bgColor-inverse: #cdd9e5; /** Inverse background that flips between light and dark modes */
|
|
1579
|
+
--bgColor-open-emphasis: var(--bgColor-success-emphasis); /** Strong background for open state badges and labels */
|
|
1580
|
+
--bgColor-open-muted: var(--bgColor-success-muted); /** Subtle background for open state indicators (issues, PRs) */
|
|
1581
|
+
--bgColor-upsell-emphasis: var(--bgColor-done-emphasis); /** Strong background for prominent upsell elements */
|
|
1582
|
+
--bgColor-upsell-muted: var(--bgColor-done-muted); /** Subtle background for upsell and promotional content */
|
|
1583
|
+
--bgColor-white: #cdd9e5; /** Pure white background */
|
|
1580
1584
|
--border-accent-emphasis: 0.0625rem solid #316dca;
|
|
1581
1585
|
--border-accent-muted: 0.0625rem solid #4184e466;
|
|
1582
1586
|
--border-attention-emphasis: 0.0625rem solid #966600;
|
|
@@ -1597,15 +1601,15 @@
|
|
|
1597
1601
|
--border-success-emphasis: 0.0625rem solid #347d39;
|
|
1598
1602
|
--border-success-muted: 0.0625rem solid #46954a66;
|
|
1599
1603
|
--border-transparent: 0.0625rem solid #00000000;
|
|
1600
|
-
--borderColor-closed-emphasis: var(--borderColor-danger-emphasis);
|
|
1601
|
-
--borderColor-closed-muted: var(--borderColor-danger-muted);
|
|
1602
|
-
--borderColor-draft-muted: var(--borderColor-neutral-muted);
|
|
1603
|
-
--borderColor-neutral-emphasis: var(--borderColor-emphasis);
|
|
1604
|
-
--borderColor-open-emphasis: var(--borderColor-success-emphasis);
|
|
1605
|
-
--borderColor-open-muted: var(--borderColor-success-muted);
|
|
1606
|
-
--borderColor-translucent: #cdd9e526;
|
|
1607
|
-
--borderColor-upsell-emphasis: var(--borderColor-done-emphasis);
|
|
1608
|
-
--borderColor-upsell-muted: var(--borderColor-done-muted);
|
|
1604
|
+
--borderColor-closed-emphasis: var(--borderColor-danger-emphasis); /** Strong border for closed state badges */
|
|
1605
|
+
--borderColor-closed-muted: var(--borderColor-danger-muted); /** Subtle border for closed state indicators */
|
|
1606
|
+
--borderColor-draft-muted: var(--borderColor-neutral-muted); /** Subtle border for draft state indicators */
|
|
1607
|
+
--borderColor-neutral-emphasis: var(--borderColor-emphasis); /** Strong neutral semantic border */
|
|
1608
|
+
--borderColor-open-emphasis: var(--borderColor-success-emphasis); /** Strong border for open state badges */
|
|
1609
|
+
--borderColor-open-muted: var(--borderColor-success-muted); /** Subtle border for open state indicators */
|
|
1610
|
+
--borderColor-translucent: #cdd9e526; /** Semi-transparent border for overlays and layered elements */
|
|
1611
|
+
--borderColor-upsell-emphasis: var(--borderColor-done-emphasis); /** Strong border for prominent upsell elements */
|
|
1612
|
+
--borderColor-upsell-muted: var(--borderColor-done-muted); /** Subtle border for upsell and promotional content */
|
|
1609
1613
|
--button-danger-bgColor-active: var(--bgColor-danger-emphasis);
|
|
1610
1614
|
--button-danger-bgColor-rest: var(--control-bgColor-rest);
|
|
1611
1615
|
--button-danger-fgColor-disabled: #e5534b80;
|
|
@@ -1716,14 +1720,14 @@
|
|
|
1716
1720
|
--diffBlob-hunkNum-bgColor-hover: var(--bgColor-accent-emphasis);
|
|
1717
1721
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
1718
1722
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
1719
|
-
--fgColor-black: #010409;
|
|
1720
|
-
--fgColor-closed: var(--fgColor-danger);
|
|
1721
|
-
--fgColor-draft: var(--fgColor-neutral);
|
|
1722
|
-
--fgColor-onInverse: #010409;
|
|
1723
|
-
--fgColor-open: var(--fgColor-success);
|
|
1724
|
-
--fgColor-upsell: var(--fgColor-done);
|
|
1725
|
-
--fgColor-white: #cdd9e5;
|
|
1726
|
-
--focus-outlineColor: var(--borderColor-accent-emphasis);
|
|
1723
|
+
--fgColor-black: #010409; /** Pure black text */
|
|
1724
|
+
--fgColor-closed: var(--fgColor-danger); /** Text color for closed state indicators (issues, PRs) */
|
|
1725
|
+
--fgColor-draft: var(--fgColor-neutral); /** Text color for draft state indicators */
|
|
1726
|
+
--fgColor-onInverse: #010409; /** Text color for use on inverse backgrounds */
|
|
1727
|
+
--fgColor-open: var(--fgColor-success); /** Text color for open state indicators (issues, PRs) */
|
|
1728
|
+
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
1729
|
+
--fgColor-white: #cdd9e5; /** Pure white text */
|
|
1730
|
+
--focus-outlineColor: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
1727
1731
|
--header-fgColor-default: #cdd9e5b3;
|
|
1728
1732
|
--page-header-bgColor: var(--bgColor-default);
|
|
1729
1733
|
--progressBar-bgColor-accent: var(--bgColor-accent-emphasis);
|
|
@@ -1737,16 +1741,16 @@
|
|
|
1737
1741
|
--progressBar-track-bgColor: var(--borderColor-default);
|
|
1738
1742
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
1739
1743
|
--selectMenu-borderColor: var(--borderColor-default);
|
|
1740
|
-
--selection-bgColor: #316dcab3;
|
|
1741
|
-
--shadow-floating-large: 0px 0px 0px 1px #3d444d, 0px 24px 48px 0px #010409;
|
|
1742
|
-
--shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
|
|
1743
|
-
--shadow-floating-medium: 0px 0px 0px 1px #3d444d, 0px 8px 16px -4px #01040966, 0px 4px 32px -4px #01040966, 0px 24px 48px -12px #01040966, 0px 48px 96px -24px #01040966;
|
|
1744
|
-
--shadow-floating-small: 0px 0px 0px 1px #3d444d, 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
|
|
1745
|
-
--shadow-floating-xlarge: 0px 0px 0px 1px #3d444d, 0px 32px 64px 0px #010409;
|
|
1746
|
-
--shadow-inset: inset 0px 1px 0px 0px #0104093d;
|
|
1747
|
-
--shadow-resting-medium: 0px 1px 1px 0px #01040966, 0px 3px 6px 0px #010409cc;
|
|
1748
|
-
--shadow-resting-small: 0px 1px 1px 0px #01040999, 0px 1px 3px 0px #01040999;
|
|
1749
|
-
--shadow-resting-xsmall: 0px 1px 1px 0px #010409cc;
|
|
1744
|
+
--selection-bgColor: #316dcab3; /** Background color for text selection highlights */
|
|
1745
|
+
--shadow-floating-large: 0px 0px 0px 1px #3d444d, 0px 24px 48px 0px #010409; /** Large floating shadow for modals and dialogs */
|
|
1746
|
+
--shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966; /** Legacy floating shadow for backward compatibility */
|
|
1747
|
+
--shadow-floating-medium: 0px 0px 0px 1px #3d444d, 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 */
|
|
1748
|
+
--shadow-floating-small: 0px 0px 0px 1px #3d444d, 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966; /** Small floating shadow for dropdowns, tooltips, and small overlays */
|
|
1749
|
+
--shadow-floating-xlarge: 0px 0px 0px 1px #3d444d, 0px 32px 64px 0px #010409; /** Extra large floating shadow for full-screen overlays and sheets */
|
|
1750
|
+
--shadow-inset: inset 0px 1px 0px 0px #0104093d; /** Inset shadow for recessed elements */
|
|
1751
|
+
--shadow-resting-medium: 0px 1px 1px 0px #01040966, 0px 3px 6px 0px #010409cc; /** Medium resting shadow for cards and elevated surfaces */
|
|
1752
|
+
--shadow-resting-small: 0px 1px 1px 0px #01040999, 0px 1px 3px 0px #01040999; /** Small resting shadow for buttons and interactive elements */
|
|
1753
|
+
--shadow-resting-xsmall: 0px 1px 1px 0px #010409cc; /** Extra small resting shadow for minimal elevation */
|
|
1750
1754
|
--tooltip-bgColor: var(--bgColor-emphasis);
|
|
1751
1755
|
--tooltip-fgColor: var(--fgColor-onEmphasis);
|
|
1752
1756
|
--treeViewItem-leadingVisual-iconColor-rest: var(--fgColor-muted);
|
|
@@ -1760,7 +1764,7 @@
|
|
|
1760
1764
|
--border-open-muted: var(--border-success-muted);
|
|
1761
1765
|
--border-upsell-emphasis: 0.0625rem solid #8256d0;
|
|
1762
1766
|
--border-upsell-muted: 0.0625rem solid #986ee266;
|
|
1763
|
-
--borderColor-draft-emphasis: var(--borderColor-neutral-emphasis);
|
|
1767
|
+
--borderColor-draft-emphasis: var(--borderColor-neutral-emphasis); /** Strong border for draft state badges */
|
|
1764
1768
|
--button-danger-bgColor-disabled: var(--control-bgColor-disabled);
|
|
1765
1769
|
--button-default-bgColor-disabled: var(--control-bgColor-disabled);
|
|
1766
1770
|
--button-default-fgColor-rest: var(--control-fgColor-rest);
|
|
@@ -1784,7 +1788,7 @@
|
|
|
1784
1788
|
--controlKnob-bgColor-disabled: var(--control-bgColor-disabled);
|
|
1785
1789
|
--controlKnob-borderColor-checked: var(--control-checked-bgColor-rest);
|
|
1786
1790
|
--controlKnob-borderColor-disabled: var(--control-bgColor-disabled);
|
|
1787
|
-
--focus-outline: 2px solid #316dca;
|
|
1791
|
+
--focus-outline: 2px solid #316dca; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
1788
1792
|
--button-danger-borderColor-hover: var(--button-primary-borderColor-rest);
|
|
1789
1793
|
--button-outline-borderColor-active: var(--button-outline-borderColor-hover);
|
|
1790
1794
|
--button-primary-borderColor-active: var(--button-primary-borderColor-rest);
|