@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"],
|
|
2
6
|
[data-color-mode="auto"][data-light-theme="dark"] {
|
|
3
7
|
--button-danger-fgColor-rest: #fa5e55;
|
|
@@ -9,50 +13,50 @@
|
|
|
9
13
|
--color-ansi-cyan-bright: #56d4dd;
|
|
10
14
|
--control-checked-bgColor-active: #3685f3;
|
|
11
15
|
--control-checked-bgColor-hover: #2a7aef;
|
|
12
|
-
--fgColor-accent: #4493f8;
|
|
16
|
+
--fgColor-accent: #4493f8; /** Accent text for links and interactive elements */
|
|
13
17
|
--reactionButton-selected-bgColor-hover: #3a8cfd5c;
|
|
14
18
|
--avatar-shadow: 0px 0px 0px 2px #0d1117;
|
|
15
19
|
--avatarStack-fade-bgColor-default: #3d444d;
|
|
16
20
|
--avatarStack-fade-bgColor-muted: #2a313c;
|
|
17
|
-
--bgColor-accent-emphasis: #1f6feb;
|
|
18
|
-
--bgColor-accent-muted: #388bfd1a;
|
|
19
|
-
--bgColor-attention-emphasis: #9e6a03;
|
|
20
|
-
--bgColor-attention-muted: #bb800926;
|
|
21
|
-
--bgColor-danger-emphasis: #da3633;
|
|
22
|
-
--bgColor-danger-muted: #f851491a;
|
|
23
|
-
--bgColor-default: #0d1117;
|
|
24
|
-
--bgColor-disabled: #212830;
|
|
25
|
-
--bgColor-done-emphasis: #8957e5;
|
|
26
|
-
--bgColor-done-muted: #ab7df826;
|
|
27
|
-
--bgColor-emphasis: #3d444d;
|
|
28
|
-
--bgColor-muted: #151b23;
|
|
29
|
-
--bgColor-neutral-emphasis: #656c76;
|
|
30
|
-
--bgColor-neutral-muted: #656c7633;
|
|
31
|
-
--bgColor-severe-emphasis: #bd561d;
|
|
32
|
-
--bgColor-severe-muted: #db6d281a;
|
|
33
|
-
--bgColor-sponsors-emphasis: #bf4b8a;
|
|
34
|
-
--bgColor-sponsors-muted: #db61a21a;
|
|
35
|
-
--bgColor-success-emphasis: #238636;
|
|
36
|
-
--bgColor-success-muted: #2ea04326;
|
|
37
|
-
--bgColor-transparent: #00000000;
|
|
38
|
-
--borderColor-accent-emphasis: #1f6feb;
|
|
39
|
-
--borderColor-accent-muted: #388bfd66;
|
|
40
|
-
--borderColor-attention-emphasis: #9e6a03;
|
|
41
|
-
--borderColor-attention-muted: #bb800966;
|
|
42
|
-
--borderColor-danger-emphasis: #da3633;
|
|
43
|
-
--borderColor-danger-muted: #f8514966;
|
|
44
|
-
--borderColor-default: #3d444d;
|
|
45
|
-
--borderColor-disabled: #656c761a;
|
|
46
|
-
--borderColor-done-emphasis: #8957e5;
|
|
47
|
-
--borderColor-done-muted: #ab7df866;
|
|
48
|
-
--borderColor-emphasis: #656c76;
|
|
49
|
-
--borderColor-severe-emphasis: #bd561d;
|
|
50
|
-
--borderColor-severe-muted: #db6d2866;
|
|
51
|
-
--borderColor-sponsors-emphasis: #bf4b8a;
|
|
52
|
-
--borderColor-sponsors-muted: #db61a266;
|
|
53
|
-
--borderColor-success-emphasis: #238636;
|
|
54
|
-
--borderColor-success-muted: #2ea04366;
|
|
55
|
-
--borderColor-transparent: #00000000;
|
|
21
|
+
--bgColor-accent-emphasis: #1f6feb; /** Strong accent background for active states and focused states */
|
|
22
|
+
--bgColor-accent-muted: #388bfd1a; /** Subtle accent background for informational or selected elements */
|
|
23
|
+
--bgColor-attention-emphasis: #9e6a03; /** Strong attention background for prominent warnings */
|
|
24
|
+
--bgColor-attention-muted: #bb800926; /** Subtle attention background for warnings and caution states */
|
|
25
|
+
--bgColor-danger-emphasis: #da3633; /** Emphasized danger background for critical errors and delete confirmations */
|
|
26
|
+
--bgColor-danger-muted: #f851491a; /** Muted danger background for error states and destructive action contexts */
|
|
27
|
+
--bgColor-default: #0d1117; /** Default background color for pages and main content areas */
|
|
28
|
+
--bgColor-disabled: #212830; /** Background for disabled interactive elements */
|
|
29
|
+
--bgColor-done-emphasis: #8957e5; /** Strong background for completed/done state badges and labels */
|
|
30
|
+
--bgColor-done-muted: #ab7df826; /** Subtle background for completed/done state indicators */
|
|
31
|
+
--bgColor-emphasis: #3d444d; /** High-emphasis dark background for strong visual contrast */
|
|
32
|
+
--bgColor-muted: #151b23; /** Muted background for secondary content areas and subtle grouping */
|
|
33
|
+
--bgColor-neutral-emphasis: #656c76; /** Strong neutral background for prominent neutral elements */
|
|
34
|
+
--bgColor-neutral-muted: #656c7633; /** Subtle neutral background for tags, labels, and secondary UI elements */
|
|
35
|
+
--bgColor-severe-emphasis: #bd561d; /** Strong severe background for prominent high-priority warnings */
|
|
36
|
+
--bgColor-severe-muted: #db6d281a; /** Subtle severe background for high-priority warnings */
|
|
37
|
+
--bgColor-sponsors-emphasis: #bf4b8a; /** Strong background for prominent GitHub Sponsors elements */
|
|
38
|
+
--bgColor-sponsors-muted: #db61a21a; /** Subtle background for GitHub Sponsors content */
|
|
39
|
+
--bgColor-success-emphasis: #238636; /** Strong success background for prominent positive actions */
|
|
40
|
+
--bgColor-success-muted: #2ea04326; /** Subtle success background for positive feedback and completed states */
|
|
41
|
+
--bgColor-transparent: #00000000; /** Fully transparent background */
|
|
42
|
+
--borderColor-accent-emphasis: #1f6feb; /** Strong accent border for selected or focused elements */
|
|
43
|
+
--borderColor-accent-muted: #388bfd66; /** Subtle accent border for selected or focused elements */
|
|
44
|
+
--borderColor-attention-emphasis: #9e6a03; /** Strong attention border for prominent warnings */
|
|
45
|
+
--borderColor-attention-muted: #bb800966; /** Subtle attention border for warnings and caution states */
|
|
46
|
+
--borderColor-danger-emphasis: #da3633; /** Strong danger border for destructive actions and errors */
|
|
47
|
+
--borderColor-danger-muted: #f8514966; /** Subtle danger border for errors and destructive contexts */
|
|
48
|
+
--borderColor-default: #3d444d; /** Default border color for most UI elements */
|
|
49
|
+
--borderColor-disabled: #656c761a; /** Border color for disabled interactive elements */
|
|
50
|
+
--borderColor-done-emphasis: #8957e5; /** Strong border for completed/done state badges */
|
|
51
|
+
--borderColor-done-muted: #ab7df866; /** Subtle border for completed/done state indicators */
|
|
52
|
+
--borderColor-emphasis: #656c76; /** Strong border for emphasis and visual weight */
|
|
53
|
+
--borderColor-severe-emphasis: #bd561d; /** Strong severe border for prominent high-priority warnings */
|
|
54
|
+
--borderColor-severe-muted: #db6d2866; /** Subtle severe border for high-priority warnings */
|
|
55
|
+
--borderColor-sponsors-emphasis: #bf4b8a; /** Strong border for prominent GitHub Sponsors elements */
|
|
56
|
+
--borderColor-sponsors-muted: #db61a266; /** Subtle border for GitHub Sponsors content */
|
|
57
|
+
--borderColor-success-emphasis: #238636; /** Strong success border for prominent positive elements */
|
|
58
|
+
--borderColor-success-muted: #2ea04366; /** Subtle success border for positive feedback elements */
|
|
59
|
+
--borderColor-transparent: #00000000; /** Fully transparent border */
|
|
56
60
|
--button-danger-bgColor-hover: #b62324;
|
|
57
61
|
--button-danger-iconColor-rest: var(--button-danger-fgColor-rest);
|
|
58
62
|
--button-danger-shadow-selected: 0px 0px 0px 0px #000000;
|
|
@@ -489,17 +493,17 @@
|
|
|
489
493
|
--display-yellow-scale-7: #df9e11;
|
|
490
494
|
--display-yellow-scale-8: #edb431;
|
|
491
495
|
--display-yellow-scale-9: #f0ca6a;
|
|
492
|
-
--fgColor-attention: #d29922;
|
|
493
|
-
--fgColor-danger: #f85149;
|
|
494
|
-
--fgColor-default: #f0f6fc;
|
|
495
|
-
--fgColor-disabled: #656c76;
|
|
496
|
-
--fgColor-done: #ab7df8;
|
|
497
|
-
--fgColor-link: var(--fgColor-accent);
|
|
498
|
-
--fgColor-muted: #9198a1;
|
|
499
|
-
--fgColor-neutral: #9198a1;
|
|
500
|
-
--fgColor-severe: #db6d28;
|
|
501
|
-
--fgColor-sponsors: #db61a2;
|
|
502
|
-
--fgColor-success: #3fb950;
|
|
496
|
+
--fgColor-attention: #d29922; /** Attention text for warnings and caution states */
|
|
497
|
+
--fgColor-danger: #f85149; /** Danger text for errors and destructive actions */
|
|
498
|
+
--fgColor-default: #f0f6fc; /** Default text color for primary content and headings */
|
|
499
|
+
--fgColor-disabled: #656c76; /** Text color for disabled interactive elements */
|
|
500
|
+
--fgColor-done: #ab7df8; /** Text color for completed/done state indicators */
|
|
501
|
+
--fgColor-link: var(--fgColor-accent); /** Text color for hyperlinks */
|
|
502
|
+
--fgColor-muted: #9198a1; /** Muted text for secondary content and less important information */
|
|
503
|
+
--fgColor-neutral: #9198a1; /** Neutral semantic text for icons and secondary elements */
|
|
504
|
+
--fgColor-severe: #db6d28; /** Severe text for high-priority warnings */
|
|
505
|
+
--fgColor-sponsors: #db61a2; /** Text color for GitHub Sponsors content */
|
|
506
|
+
--fgColor-success: #3fb950; /** Success text for positive feedback and completed states */
|
|
503
507
|
--header-bgColor: #151b23f2;
|
|
504
508
|
--header-borderColor-divider: #656c76;
|
|
505
509
|
--header-fgColor-logo: #f0f6fc;
|
|
@@ -651,18 +655,18 @@
|
|
|
651
655
|
--topicTag-borderColor: #00000000;
|
|
652
656
|
--underlineNav-borderColor-active: #f78166;
|
|
653
657
|
--avatar-bgColor: #ffffff1a;
|
|
654
|
-
--bgColor-black: #010409;
|
|
655
|
-
--bgColor-closed-emphasis: var(--bgColor-danger-emphasis);
|
|
656
|
-
--bgColor-closed-muted: var(--bgColor-danger-muted);
|
|
657
|
-
--bgColor-draft-emphasis: var(--bgColor-neutral-emphasis);
|
|
658
|
-
--bgColor-draft-muted: var(--bgColor-neutral-muted);
|
|
659
|
-
--bgColor-inset: #010409;
|
|
660
|
-
--bgColor-inverse: #ffffff;
|
|
661
|
-
--bgColor-open-emphasis: var(--bgColor-success-emphasis);
|
|
662
|
-
--bgColor-open-muted: var(--bgColor-success-muted);
|
|
663
|
-
--bgColor-upsell-emphasis: var(--bgColor-done-emphasis);
|
|
664
|
-
--bgColor-upsell-muted: var(--bgColor-done-muted);
|
|
665
|
-
--bgColor-white: #ffffff;
|
|
658
|
+
--bgColor-black: #010409; /** Pure black background */
|
|
659
|
+
--bgColor-closed-emphasis: var(--bgColor-danger-emphasis); /** Strong background for closed state badges and labels */
|
|
660
|
+
--bgColor-closed-muted: var(--bgColor-danger-muted); /** Subtle background for closed state indicators (issues, PRs) */
|
|
661
|
+
--bgColor-draft-emphasis: var(--bgColor-neutral-emphasis); /** Strong background for draft state badges and labels */
|
|
662
|
+
--bgColor-draft-muted: var(--bgColor-neutral-muted); /** Subtle background for draft state indicators */
|
|
663
|
+
--bgColor-inset: #010409; /** Inset background for recessed content areas like wells or sunken panels */
|
|
664
|
+
--bgColor-inverse: #ffffff; /** Inverse background that flips between light and dark modes */
|
|
665
|
+
--bgColor-open-emphasis: var(--bgColor-success-emphasis); /** Strong background for open state badges and labels */
|
|
666
|
+
--bgColor-open-muted: var(--bgColor-success-muted); /** Subtle background for open state indicators (issues, PRs) */
|
|
667
|
+
--bgColor-upsell-emphasis: var(--bgColor-done-emphasis); /** Strong background for prominent upsell elements */
|
|
668
|
+
--bgColor-upsell-muted: var(--bgColor-done-muted); /** Subtle background for upsell and promotional content */
|
|
669
|
+
--bgColor-white: #ffffff; /** Pure white background */
|
|
666
670
|
--border-accent-emphasis: 0.0625rem solid #1f6feb;
|
|
667
671
|
--border-accent-muted: 0.0625rem solid #388bfd66;
|
|
668
672
|
--border-attention-emphasis: 0.0625rem solid #9e6a03;
|
|
@@ -681,15 +685,15 @@
|
|
|
681
685
|
--border-success-emphasis: 0.0625rem solid #238636;
|
|
682
686
|
--border-success-muted: 0.0625rem solid #2ea04366;
|
|
683
687
|
--border-transparent: 0.0625rem solid #00000000;
|
|
684
|
-
--borderColor-closed-emphasis: var(--borderColor-danger-emphasis);
|
|
685
|
-
--borderColor-closed-muted: var(--borderColor-danger-muted);
|
|
686
|
-
--borderColor-muted: #3d444db3;
|
|
687
|
-
--borderColor-neutral-emphasis: var(--borderColor-emphasis);
|
|
688
|
-
--borderColor-open-emphasis: var(--borderColor-success-emphasis);
|
|
689
|
-
--borderColor-open-muted: var(--borderColor-success-muted);
|
|
690
|
-
--borderColor-translucent: #ffffff26;
|
|
691
|
-
--borderColor-upsell-emphasis: var(--borderColor-done-emphasis);
|
|
692
|
-
--borderColor-upsell-muted: var(--borderColor-done-muted);
|
|
688
|
+
--borderColor-closed-emphasis: var(--borderColor-danger-emphasis); /** Strong border for closed state badges */
|
|
689
|
+
--borderColor-closed-muted: var(--borderColor-danger-muted); /** Subtle border for closed state indicators */
|
|
690
|
+
--borderColor-muted: #3d444db3; /** Subtle border for secondary elements and light separators */
|
|
691
|
+
--borderColor-neutral-emphasis: var(--borderColor-emphasis); /** Strong neutral semantic border */
|
|
692
|
+
--borderColor-open-emphasis: var(--borderColor-success-emphasis); /** Strong border for open state badges */
|
|
693
|
+
--borderColor-open-muted: var(--borderColor-success-muted); /** Subtle border for open state indicators */
|
|
694
|
+
--borderColor-translucent: #ffffff26; /** Semi-transparent border for overlays and layered elements */
|
|
695
|
+
--borderColor-upsell-emphasis: var(--borderColor-done-emphasis); /** Strong border for prominent upsell elements */
|
|
696
|
+
--borderColor-upsell-muted: var(--borderColor-done-muted); /** Subtle border for upsell and promotional content */
|
|
693
697
|
--button-danger-bgColor-active: var(--bgColor-danger-emphasis);
|
|
694
698
|
--button-danger-bgColor-rest: var(--control-bgColor-rest);
|
|
695
699
|
--button-danger-fgColor-active: #ffffff;
|
|
@@ -791,15 +795,15 @@
|
|
|
791
795
|
--diffBlob-hunkLine-fgColor: var(--fgColor-muted);
|
|
792
796
|
--diffBlob-hunkNum-bgColor-hover: var(--bgColor-accent-emphasis);
|
|
793
797
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
794
|
-
--fgColor-black: #010409;
|
|
795
|
-
--fgColor-closed: var(--fgColor-danger);
|
|
796
|
-
--fgColor-draft: var(--fgColor-neutral);
|
|
797
|
-
--fgColor-onEmphasis: #ffffff;
|
|
798
|
-
--fgColor-onInverse: #010409;
|
|
799
|
-
--fgColor-open: var(--fgColor-success);
|
|
800
|
-
--fgColor-upsell: var(--fgColor-done);
|
|
801
|
-
--fgColor-white: #ffffff;
|
|
802
|
-
--focus-outlineColor: var(--borderColor-accent-emphasis);
|
|
798
|
+
--fgColor-black: #010409; /** Pure black text */
|
|
799
|
+
--fgColor-closed: var(--fgColor-danger); /** Text color for closed state indicators (issues, PRs) */
|
|
800
|
+
--fgColor-draft: var(--fgColor-neutral); /** Text color for draft state indicators */
|
|
801
|
+
--fgColor-onEmphasis: #ffffff; /** Text color for use on emphasis backgrounds */
|
|
802
|
+
--fgColor-onInverse: #010409; /** Text color for use on inverse backgrounds */
|
|
803
|
+
--fgColor-open: var(--fgColor-success); /** Text color for open state indicators (issues, PRs) */
|
|
804
|
+
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
805
|
+
--fgColor-white: #ffffff; /** Pure white text */
|
|
806
|
+
--focus-outlineColor: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
803
807
|
--header-fgColor-default: #ffffffb3;
|
|
804
808
|
--overlay-bgColor: #010409;
|
|
805
809
|
--page-header-bgColor: var(--bgColor-default);
|
|
@@ -814,12 +818,12 @@
|
|
|
814
818
|
--progressBar-track-bgColor: var(--borderColor-default);
|
|
815
819
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
816
820
|
--selectMenu-borderColor: var(--borderColor-default);
|
|
817
|
-
--selection-bgColor: #1f6febb3;
|
|
818
|
-
--shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
|
|
819
|
-
--shadow-inset: inset 0px 1px 0px 0px #0104093d;
|
|
820
|
-
--shadow-resting-medium: 0px 1px 1px 0px #01040966, 0px 3px 6px 0px #010409cc;
|
|
821
|
-
--shadow-resting-small: 0px 1px 1px 0px #01040999, 0px 1px 3px 0px #01040999;
|
|
822
|
-
--shadow-resting-xsmall: 0px 1px 1px 0px #010409cc;
|
|
821
|
+
--selection-bgColor: #1f6febb3; /** Background color for text selection highlights */
|
|
822
|
+
--shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966; /** Legacy floating shadow for backward compatibility */
|
|
823
|
+
--shadow-inset: inset 0px 1px 0px 0px #0104093d; /** Inset shadow for recessed elements */
|
|
824
|
+
--shadow-resting-medium: 0px 1px 1px 0px #01040966, 0px 3px 6px 0px #010409cc; /** Medium resting shadow for cards and elevated surfaces */
|
|
825
|
+
--shadow-resting-small: 0px 1px 1px 0px #01040999, 0px 1px 3px 0px #01040999; /** Small resting shadow for buttons and interactive elements */
|
|
826
|
+
--shadow-resting-xsmall: 0px 1px 1px 0px #010409cc; /** Extra small resting shadow for minimal elevation */
|
|
823
827
|
--tooltip-bgColor: var(--bgColor-emphasis);
|
|
824
828
|
--treeViewItem-leadingVisual-iconColor-rest: var(--fgColor-muted);
|
|
825
829
|
--underlineNav-iconColor-rest: var(--fgColor-muted);
|
|
@@ -832,8 +836,8 @@
|
|
|
832
836
|
--border-open-muted: var(--border-success-muted);
|
|
833
837
|
--border-upsell-emphasis: 0.0625rem solid #8957e5;
|
|
834
838
|
--border-upsell-muted: 0.0625rem solid #ab7df866;
|
|
835
|
-
--borderColor-draft-emphasis: var(--borderColor-neutral-emphasis);
|
|
836
|
-
--borderColor-neutral-muted: var(--borderColor-muted);
|
|
839
|
+
--borderColor-draft-emphasis: var(--borderColor-neutral-emphasis); /** Strong border for draft state badges */
|
|
840
|
+
--borderColor-neutral-muted: var(--borderColor-muted); /** Subtle neutral semantic border */
|
|
837
841
|
--button-danger-bgColor-disabled: var(--control-bgColor-disabled);
|
|
838
842
|
--button-danger-borderColor-rest: var(--control-borderColor-rest);
|
|
839
843
|
--button-default-bgColor-disabled: var(--control-bgColor-disabled);
|
|
@@ -873,11 +877,11 @@
|
|
|
873
877
|
--controlTrack-fgColor-disabled: var(--fgColor-onEmphasis);
|
|
874
878
|
--dashboard-bgColor: var(--bgColor-inset);
|
|
875
879
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
876
|
-
--focus-outline: 2px solid #1f6feb;
|
|
880
|
+
--focus-outline: 2px solid #1f6feb; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
877
881
|
--overlay-borderColor: var(--borderColor-muted);
|
|
878
882
|
--tooltip-fgColor: var(--fgColor-onEmphasis);
|
|
879
883
|
--border-neutral-muted: 0.0625rem solid #3d444db3;
|
|
880
|
-
--borderColor-draft-muted: var(--borderColor-neutral-muted);
|
|
884
|
+
--borderColor-draft-muted: var(--borderColor-neutral-muted); /** Subtle border for draft state indicators */
|
|
881
885
|
--button-danger-borderColor-hover: var(--button-primary-borderColor-rest);
|
|
882
886
|
--button-default-borderColor-active: var(--button-default-borderColor-rest);
|
|
883
887
|
--button-default-borderColor-hover: var(--button-default-borderColor-rest);
|
|
@@ -886,10 +890,10 @@
|
|
|
886
890
|
--buttonKeybindingHint-danger-borderColor-disabled: var(--buttonKeybindingHint-default-borderColor-disabled);
|
|
887
891
|
--buttonKeybindingHint-danger-borderColor-rest: var(--buttonKeybindingHint-default-borderColor-rest);
|
|
888
892
|
--buttonKeybindingHint-danger-fgColor-disabled: var(--buttonKeybindingHint-default-fgColor-disabled);
|
|
889
|
-
--shadow-floating-large: 0px 0px 0px 1px #3d444d, 0px 24px 48px 0px #010409;
|
|
890
|
-
--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;
|
|
891
|
-
--shadow-floating-small: 0px 0px 0px 1px #3d444d, 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
|
|
892
|
-
--shadow-floating-xlarge: 0px 0px 0px 1px #3d444d, 0px 32px 64px 0px #010409;
|
|
893
|
+
--shadow-floating-large: 0px 0px 0px 1px #3d444d, 0px 24px 48px 0px #010409; /** Large floating shadow for modals and dialogs */
|
|
894
|
+
--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 */
|
|
895
|
+
--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 */
|
|
896
|
+
--shadow-floating-xlarge: 0px 0px 0px 1px #3d444d, 0px 32px 64px 0px #010409; /** Extra large floating shadow for full-screen overlays and sheets */
|
|
893
897
|
--underlineNav-borderColor-hover: var(--borderColor-neutral-muted);
|
|
894
898
|
--button-danger-borderColor-active: var(--button-danger-borderColor-hover);
|
|
895
899
|
--button-outline-borderColor-hover: var(--button-default-borderColor-hover);
|
|
@@ -906,50 +910,50 @@
|
|
|
906
910
|
--color-ansi-cyan-bright: #56d4dd;
|
|
907
911
|
--control-checked-bgColor-active: #3685f3;
|
|
908
912
|
--control-checked-bgColor-hover: #2a7aef;
|
|
909
|
-
--fgColor-accent: #4493f8;
|
|
913
|
+
--fgColor-accent: #4493f8; /** Accent text for links and interactive elements */
|
|
910
914
|
--reactionButton-selected-bgColor-hover: #3a8cfd5c;
|
|
911
915
|
--avatar-shadow: 0px 0px 0px 2px #0d1117;
|
|
912
916
|
--avatarStack-fade-bgColor-default: #3d444d;
|
|
913
917
|
--avatarStack-fade-bgColor-muted: #2a313c;
|
|
914
|
-
--bgColor-accent-emphasis: #1f6feb;
|
|
915
|
-
--bgColor-accent-muted: #388bfd1a;
|
|
916
|
-
--bgColor-attention-emphasis: #9e6a03;
|
|
917
|
-
--bgColor-attention-muted: #bb800926;
|
|
918
|
-
--bgColor-danger-emphasis: #da3633;
|
|
919
|
-
--bgColor-danger-muted: #f851491a;
|
|
920
|
-
--bgColor-default: #0d1117;
|
|
921
|
-
--bgColor-disabled: #212830;
|
|
922
|
-
--bgColor-done-emphasis: #8957e5;
|
|
923
|
-
--bgColor-done-muted: #ab7df826;
|
|
924
|
-
--bgColor-emphasis: #3d444d;
|
|
925
|
-
--bgColor-muted: #151b23;
|
|
926
|
-
--bgColor-neutral-emphasis: #656c76;
|
|
927
|
-
--bgColor-neutral-muted: #656c7633;
|
|
928
|
-
--bgColor-severe-emphasis: #bd561d;
|
|
929
|
-
--bgColor-severe-muted: #db6d281a;
|
|
930
|
-
--bgColor-sponsors-emphasis: #bf4b8a;
|
|
931
|
-
--bgColor-sponsors-muted: #db61a21a;
|
|
932
|
-
--bgColor-success-emphasis: #238636;
|
|
933
|
-
--bgColor-success-muted: #2ea04326;
|
|
934
|
-
--bgColor-transparent: #00000000;
|
|
935
|
-
--borderColor-accent-emphasis: #1f6feb;
|
|
936
|
-
--borderColor-accent-muted: #388bfd66;
|
|
937
|
-
--borderColor-attention-emphasis: #9e6a03;
|
|
938
|
-
--borderColor-attention-muted: #bb800966;
|
|
939
|
-
--borderColor-danger-emphasis: #da3633;
|
|
940
|
-
--borderColor-danger-muted: #f8514966;
|
|
941
|
-
--borderColor-default: #3d444d;
|
|
942
|
-
--borderColor-disabled: #656c761a;
|
|
943
|
-
--borderColor-done-emphasis: #8957e5;
|
|
944
|
-
--borderColor-done-muted: #ab7df866;
|
|
945
|
-
--borderColor-emphasis: #656c76;
|
|
946
|
-
--borderColor-severe-emphasis: #bd561d;
|
|
947
|
-
--borderColor-severe-muted: #db6d2866;
|
|
948
|
-
--borderColor-sponsors-emphasis: #bf4b8a;
|
|
949
|
-
--borderColor-sponsors-muted: #db61a266;
|
|
950
|
-
--borderColor-success-emphasis: #238636;
|
|
951
|
-
--borderColor-success-muted: #2ea04366;
|
|
952
|
-
--borderColor-transparent: #00000000;
|
|
918
|
+
--bgColor-accent-emphasis: #1f6feb; /** Strong accent background for active states and focused states */
|
|
919
|
+
--bgColor-accent-muted: #388bfd1a; /** Subtle accent background for informational or selected elements */
|
|
920
|
+
--bgColor-attention-emphasis: #9e6a03; /** Strong attention background for prominent warnings */
|
|
921
|
+
--bgColor-attention-muted: #bb800926; /** Subtle attention background for warnings and caution states */
|
|
922
|
+
--bgColor-danger-emphasis: #da3633; /** Emphasized danger background for critical errors and delete confirmations */
|
|
923
|
+
--bgColor-danger-muted: #f851491a; /** Muted danger background for error states and destructive action contexts */
|
|
924
|
+
--bgColor-default: #0d1117; /** Default background color for pages and main content areas */
|
|
925
|
+
--bgColor-disabled: #212830; /** Background for disabled interactive elements */
|
|
926
|
+
--bgColor-done-emphasis: #8957e5; /** Strong background for completed/done state badges and labels */
|
|
927
|
+
--bgColor-done-muted: #ab7df826; /** Subtle background for completed/done state indicators */
|
|
928
|
+
--bgColor-emphasis: #3d444d; /** High-emphasis dark background for strong visual contrast */
|
|
929
|
+
--bgColor-muted: #151b23; /** Muted background for secondary content areas and subtle grouping */
|
|
930
|
+
--bgColor-neutral-emphasis: #656c76; /** Strong neutral background for prominent neutral elements */
|
|
931
|
+
--bgColor-neutral-muted: #656c7633; /** Subtle neutral background for tags, labels, and secondary UI elements */
|
|
932
|
+
--bgColor-severe-emphasis: #bd561d; /** Strong severe background for prominent high-priority warnings */
|
|
933
|
+
--bgColor-severe-muted: #db6d281a; /** Subtle severe background for high-priority warnings */
|
|
934
|
+
--bgColor-sponsors-emphasis: #bf4b8a; /** Strong background for prominent GitHub Sponsors elements */
|
|
935
|
+
--bgColor-sponsors-muted: #db61a21a; /** Subtle background for GitHub Sponsors content */
|
|
936
|
+
--bgColor-success-emphasis: #238636; /** Strong success background for prominent positive actions */
|
|
937
|
+
--bgColor-success-muted: #2ea04326; /** Subtle success background for positive feedback and completed states */
|
|
938
|
+
--bgColor-transparent: #00000000; /** Fully transparent background */
|
|
939
|
+
--borderColor-accent-emphasis: #1f6feb; /** Strong accent border for selected or focused elements */
|
|
940
|
+
--borderColor-accent-muted: #388bfd66; /** Subtle accent border for selected or focused elements */
|
|
941
|
+
--borderColor-attention-emphasis: #9e6a03; /** Strong attention border for prominent warnings */
|
|
942
|
+
--borderColor-attention-muted: #bb800966; /** Subtle attention border for warnings and caution states */
|
|
943
|
+
--borderColor-danger-emphasis: #da3633; /** Strong danger border for destructive actions and errors */
|
|
944
|
+
--borderColor-danger-muted: #f8514966; /** Subtle danger border for errors and destructive contexts */
|
|
945
|
+
--borderColor-default: #3d444d; /** Default border color for most UI elements */
|
|
946
|
+
--borderColor-disabled: #656c761a; /** Border color for disabled interactive elements */
|
|
947
|
+
--borderColor-done-emphasis: #8957e5; /** Strong border for completed/done state badges */
|
|
948
|
+
--borderColor-done-muted: #ab7df866; /** Subtle border for completed/done state indicators */
|
|
949
|
+
--borderColor-emphasis: #656c76; /** Strong border for emphasis and visual weight */
|
|
950
|
+
--borderColor-severe-emphasis: #bd561d; /** Strong severe border for prominent high-priority warnings */
|
|
951
|
+
--borderColor-severe-muted: #db6d2866; /** Subtle severe border for high-priority warnings */
|
|
952
|
+
--borderColor-sponsors-emphasis: #bf4b8a; /** Strong border for prominent GitHub Sponsors elements */
|
|
953
|
+
--borderColor-sponsors-muted: #db61a266; /** Subtle border for GitHub Sponsors content */
|
|
954
|
+
--borderColor-success-emphasis: #238636; /** Strong success border for prominent positive elements */
|
|
955
|
+
--borderColor-success-muted: #2ea04366; /** Subtle success border for positive feedback elements */
|
|
956
|
+
--borderColor-transparent: #00000000; /** Fully transparent border */
|
|
953
957
|
--button-danger-bgColor-hover: #b62324;
|
|
954
958
|
--button-danger-iconColor-rest: var(--button-danger-fgColor-rest);
|
|
955
959
|
--button-danger-shadow-selected: 0px 0px 0px 0px #000000;
|
|
@@ -1386,17 +1390,17 @@
|
|
|
1386
1390
|
--display-yellow-scale-7: #df9e11;
|
|
1387
1391
|
--display-yellow-scale-8: #edb431;
|
|
1388
1392
|
--display-yellow-scale-9: #f0ca6a;
|
|
1389
|
-
--fgColor-attention: #d29922;
|
|
1390
|
-
--fgColor-danger: #f85149;
|
|
1391
|
-
--fgColor-default: #f0f6fc;
|
|
1392
|
-
--fgColor-disabled: #656c76;
|
|
1393
|
-
--fgColor-done: #ab7df8;
|
|
1394
|
-
--fgColor-link: var(--fgColor-accent);
|
|
1395
|
-
--fgColor-muted: #9198a1;
|
|
1396
|
-
--fgColor-neutral: #9198a1;
|
|
1397
|
-
--fgColor-severe: #db6d28;
|
|
1398
|
-
--fgColor-sponsors: #db61a2;
|
|
1399
|
-
--fgColor-success: #3fb950;
|
|
1393
|
+
--fgColor-attention: #d29922; /** Attention text for warnings and caution states */
|
|
1394
|
+
--fgColor-danger: #f85149; /** Danger text for errors and destructive actions */
|
|
1395
|
+
--fgColor-default: #f0f6fc; /** Default text color for primary content and headings */
|
|
1396
|
+
--fgColor-disabled: #656c76; /** Text color for disabled interactive elements */
|
|
1397
|
+
--fgColor-done: #ab7df8; /** Text color for completed/done state indicators */
|
|
1398
|
+
--fgColor-link: var(--fgColor-accent); /** Text color for hyperlinks */
|
|
1399
|
+
--fgColor-muted: #9198a1; /** Muted text for secondary content and less important information */
|
|
1400
|
+
--fgColor-neutral: #9198a1; /** Neutral semantic text for icons and secondary elements */
|
|
1401
|
+
--fgColor-severe: #db6d28; /** Severe text for high-priority warnings */
|
|
1402
|
+
--fgColor-sponsors: #db61a2; /** Text color for GitHub Sponsors content */
|
|
1403
|
+
--fgColor-success: #3fb950; /** Success text for positive feedback and completed states */
|
|
1400
1404
|
--header-bgColor: #151b23f2;
|
|
1401
1405
|
--header-borderColor-divider: #656c76;
|
|
1402
1406
|
--header-fgColor-logo: #f0f6fc;
|
|
@@ -1548,18 +1552,18 @@
|
|
|
1548
1552
|
--topicTag-borderColor: #00000000;
|
|
1549
1553
|
--underlineNav-borderColor-active: #f78166;
|
|
1550
1554
|
--avatar-bgColor: #ffffff1a;
|
|
1551
|
-
--bgColor-black: #010409;
|
|
1552
|
-
--bgColor-closed-emphasis: var(--bgColor-danger-emphasis);
|
|
1553
|
-
--bgColor-closed-muted: var(--bgColor-danger-muted);
|
|
1554
|
-
--bgColor-draft-emphasis: var(--bgColor-neutral-emphasis);
|
|
1555
|
-
--bgColor-draft-muted: var(--bgColor-neutral-muted);
|
|
1556
|
-
--bgColor-inset: #010409;
|
|
1557
|
-
--bgColor-inverse: #ffffff;
|
|
1558
|
-
--bgColor-open-emphasis: var(--bgColor-success-emphasis);
|
|
1559
|
-
--bgColor-open-muted: var(--bgColor-success-muted);
|
|
1560
|
-
--bgColor-upsell-emphasis: var(--bgColor-done-emphasis);
|
|
1561
|
-
--bgColor-upsell-muted: var(--bgColor-done-muted);
|
|
1562
|
-
--bgColor-white: #ffffff;
|
|
1555
|
+
--bgColor-black: #010409; /** Pure black background */
|
|
1556
|
+
--bgColor-closed-emphasis: var(--bgColor-danger-emphasis); /** Strong background for closed state badges and labels */
|
|
1557
|
+
--bgColor-closed-muted: var(--bgColor-danger-muted); /** Subtle background for closed state indicators (issues, PRs) */
|
|
1558
|
+
--bgColor-draft-emphasis: var(--bgColor-neutral-emphasis); /** Strong background for draft state badges and labels */
|
|
1559
|
+
--bgColor-draft-muted: var(--bgColor-neutral-muted); /** Subtle background for draft state indicators */
|
|
1560
|
+
--bgColor-inset: #010409; /** Inset background for recessed content areas like wells or sunken panels */
|
|
1561
|
+
--bgColor-inverse: #ffffff; /** Inverse background that flips between light and dark modes */
|
|
1562
|
+
--bgColor-open-emphasis: var(--bgColor-success-emphasis); /** Strong background for open state badges and labels */
|
|
1563
|
+
--bgColor-open-muted: var(--bgColor-success-muted); /** Subtle background for open state indicators (issues, PRs) */
|
|
1564
|
+
--bgColor-upsell-emphasis: var(--bgColor-done-emphasis); /** Strong background for prominent upsell elements */
|
|
1565
|
+
--bgColor-upsell-muted: var(--bgColor-done-muted); /** Subtle background for upsell and promotional content */
|
|
1566
|
+
--bgColor-white: #ffffff; /** Pure white background */
|
|
1563
1567
|
--border-accent-emphasis: 0.0625rem solid #1f6feb;
|
|
1564
1568
|
--border-accent-muted: 0.0625rem solid #388bfd66;
|
|
1565
1569
|
--border-attention-emphasis: 0.0625rem solid #9e6a03;
|
|
@@ -1578,15 +1582,15 @@
|
|
|
1578
1582
|
--border-success-emphasis: 0.0625rem solid #238636;
|
|
1579
1583
|
--border-success-muted: 0.0625rem solid #2ea04366;
|
|
1580
1584
|
--border-transparent: 0.0625rem solid #00000000;
|
|
1581
|
-
--borderColor-closed-emphasis: var(--borderColor-danger-emphasis);
|
|
1582
|
-
--borderColor-closed-muted: var(--borderColor-danger-muted);
|
|
1583
|
-
--borderColor-muted: #3d444db3;
|
|
1584
|
-
--borderColor-neutral-emphasis: var(--borderColor-emphasis);
|
|
1585
|
-
--borderColor-open-emphasis: var(--borderColor-success-emphasis);
|
|
1586
|
-
--borderColor-open-muted: var(--borderColor-success-muted);
|
|
1587
|
-
--borderColor-translucent: #ffffff26;
|
|
1588
|
-
--borderColor-upsell-emphasis: var(--borderColor-done-emphasis);
|
|
1589
|
-
--borderColor-upsell-muted: var(--borderColor-done-muted);
|
|
1585
|
+
--borderColor-closed-emphasis: var(--borderColor-danger-emphasis); /** Strong border for closed state badges */
|
|
1586
|
+
--borderColor-closed-muted: var(--borderColor-danger-muted); /** Subtle border for closed state indicators */
|
|
1587
|
+
--borderColor-muted: #3d444db3; /** Subtle border for secondary elements and light separators */
|
|
1588
|
+
--borderColor-neutral-emphasis: var(--borderColor-emphasis); /** Strong neutral semantic border */
|
|
1589
|
+
--borderColor-open-emphasis: var(--borderColor-success-emphasis); /** Strong border for open state badges */
|
|
1590
|
+
--borderColor-open-muted: var(--borderColor-success-muted); /** Subtle border for open state indicators */
|
|
1591
|
+
--borderColor-translucent: #ffffff26; /** Semi-transparent border for overlays and layered elements */
|
|
1592
|
+
--borderColor-upsell-emphasis: var(--borderColor-done-emphasis); /** Strong border for prominent upsell elements */
|
|
1593
|
+
--borderColor-upsell-muted: var(--borderColor-done-muted); /** Subtle border for upsell and promotional content */
|
|
1590
1594
|
--button-danger-bgColor-active: var(--bgColor-danger-emphasis);
|
|
1591
1595
|
--button-danger-bgColor-rest: var(--control-bgColor-rest);
|
|
1592
1596
|
--button-danger-fgColor-active: #ffffff;
|
|
@@ -1688,15 +1692,15 @@
|
|
|
1688
1692
|
--diffBlob-hunkLine-fgColor: var(--fgColor-muted);
|
|
1689
1693
|
--diffBlob-hunkNum-bgColor-hover: var(--bgColor-accent-emphasis);
|
|
1690
1694
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
1691
|
-
--fgColor-black: #010409;
|
|
1692
|
-
--fgColor-closed: var(--fgColor-danger);
|
|
1693
|
-
--fgColor-draft: var(--fgColor-neutral);
|
|
1694
|
-
--fgColor-onEmphasis: #ffffff;
|
|
1695
|
-
--fgColor-onInverse: #010409;
|
|
1696
|
-
--fgColor-open: var(--fgColor-success);
|
|
1697
|
-
--fgColor-upsell: var(--fgColor-done);
|
|
1698
|
-
--fgColor-white: #ffffff;
|
|
1699
|
-
--focus-outlineColor: var(--borderColor-accent-emphasis);
|
|
1695
|
+
--fgColor-black: #010409; /** Pure black text */
|
|
1696
|
+
--fgColor-closed: var(--fgColor-danger); /** Text color for closed state indicators (issues, PRs) */
|
|
1697
|
+
--fgColor-draft: var(--fgColor-neutral); /** Text color for draft state indicators */
|
|
1698
|
+
--fgColor-onEmphasis: #ffffff; /** Text color for use on emphasis backgrounds */
|
|
1699
|
+
--fgColor-onInverse: #010409; /** Text color for use on inverse backgrounds */
|
|
1700
|
+
--fgColor-open: var(--fgColor-success); /** Text color for open state indicators (issues, PRs) */
|
|
1701
|
+
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
1702
|
+
--fgColor-white: #ffffff; /** Pure white text */
|
|
1703
|
+
--focus-outlineColor: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
1700
1704
|
--header-fgColor-default: #ffffffb3;
|
|
1701
1705
|
--overlay-bgColor: #010409;
|
|
1702
1706
|
--page-header-bgColor: var(--bgColor-default);
|
|
@@ -1711,12 +1715,12 @@
|
|
|
1711
1715
|
--progressBar-track-bgColor: var(--borderColor-default);
|
|
1712
1716
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
1713
1717
|
--selectMenu-borderColor: var(--borderColor-default);
|
|
1714
|
-
--selection-bgColor: #1f6febb3;
|
|
1715
|
-
--shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
|
|
1716
|
-
--shadow-inset: inset 0px 1px 0px 0px #0104093d;
|
|
1717
|
-
--shadow-resting-medium: 0px 1px 1px 0px #01040966, 0px 3px 6px 0px #010409cc;
|
|
1718
|
-
--shadow-resting-small: 0px 1px 1px 0px #01040999, 0px 1px 3px 0px #01040999;
|
|
1719
|
-
--shadow-resting-xsmall: 0px 1px 1px 0px #010409cc;
|
|
1718
|
+
--selection-bgColor: #1f6febb3; /** Background color for text selection highlights */
|
|
1719
|
+
--shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966; /** Legacy floating shadow for backward compatibility */
|
|
1720
|
+
--shadow-inset: inset 0px 1px 0px 0px #0104093d; /** Inset shadow for recessed elements */
|
|
1721
|
+
--shadow-resting-medium: 0px 1px 1px 0px #01040966, 0px 3px 6px 0px #010409cc; /** Medium resting shadow for cards and elevated surfaces */
|
|
1722
|
+
--shadow-resting-small: 0px 1px 1px 0px #01040999, 0px 1px 3px 0px #01040999; /** Small resting shadow for buttons and interactive elements */
|
|
1723
|
+
--shadow-resting-xsmall: 0px 1px 1px 0px #010409cc; /** Extra small resting shadow for minimal elevation */
|
|
1720
1724
|
--tooltip-bgColor: var(--bgColor-emphasis);
|
|
1721
1725
|
--treeViewItem-leadingVisual-iconColor-rest: var(--fgColor-muted);
|
|
1722
1726
|
--underlineNav-iconColor-rest: var(--fgColor-muted);
|
|
@@ -1729,8 +1733,8 @@
|
|
|
1729
1733
|
--border-open-muted: var(--border-success-muted);
|
|
1730
1734
|
--border-upsell-emphasis: 0.0625rem solid #8957e5;
|
|
1731
1735
|
--border-upsell-muted: 0.0625rem solid #ab7df866;
|
|
1732
|
-
--borderColor-draft-emphasis: var(--borderColor-neutral-emphasis);
|
|
1733
|
-
--borderColor-neutral-muted: var(--borderColor-muted);
|
|
1736
|
+
--borderColor-draft-emphasis: var(--borderColor-neutral-emphasis); /** Strong border for draft state badges */
|
|
1737
|
+
--borderColor-neutral-muted: var(--borderColor-muted); /** Subtle neutral semantic border */
|
|
1734
1738
|
--button-danger-bgColor-disabled: var(--control-bgColor-disabled);
|
|
1735
1739
|
--button-danger-borderColor-rest: var(--control-borderColor-rest);
|
|
1736
1740
|
--button-default-bgColor-disabled: var(--control-bgColor-disabled);
|
|
@@ -1770,11 +1774,11 @@
|
|
|
1770
1774
|
--controlTrack-fgColor-disabled: var(--fgColor-onEmphasis);
|
|
1771
1775
|
--dashboard-bgColor: var(--bgColor-inset);
|
|
1772
1776
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
1773
|
-
--focus-outline: 2px solid #1f6feb;
|
|
1777
|
+
--focus-outline: 2px solid #1f6feb; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
1774
1778
|
--overlay-borderColor: var(--borderColor-muted);
|
|
1775
1779
|
--tooltip-fgColor: var(--fgColor-onEmphasis);
|
|
1776
1780
|
--border-neutral-muted: 0.0625rem solid #3d444db3;
|
|
1777
|
-
--borderColor-draft-muted: var(--borderColor-neutral-muted);
|
|
1781
|
+
--borderColor-draft-muted: var(--borderColor-neutral-muted); /** Subtle border for draft state indicators */
|
|
1778
1782
|
--button-danger-borderColor-hover: var(--button-primary-borderColor-rest);
|
|
1779
1783
|
--button-default-borderColor-active: var(--button-default-borderColor-rest);
|
|
1780
1784
|
--button-default-borderColor-hover: var(--button-default-borderColor-rest);
|
|
@@ -1783,10 +1787,10 @@
|
|
|
1783
1787
|
--buttonKeybindingHint-danger-borderColor-disabled: var(--buttonKeybindingHint-default-borderColor-disabled);
|
|
1784
1788
|
--buttonKeybindingHint-danger-borderColor-rest: var(--buttonKeybindingHint-default-borderColor-rest);
|
|
1785
1789
|
--buttonKeybindingHint-danger-fgColor-disabled: var(--buttonKeybindingHint-default-fgColor-disabled);
|
|
1786
|
-
--shadow-floating-large: 0px 0px 0px 1px #3d444d, 0px 24px 48px 0px #010409;
|
|
1787
|
-
--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;
|
|
1788
|
-
--shadow-floating-small: 0px 0px 0px 1px #3d444d, 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
|
|
1789
|
-
--shadow-floating-xlarge: 0px 0px 0px 1px #3d444d, 0px 32px 64px 0px #010409;
|
|
1790
|
+
--shadow-floating-large: 0px 0px 0px 1px #3d444d, 0px 24px 48px 0px #010409; /** Large floating shadow for modals and dialogs */
|
|
1791
|
+
--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 */
|
|
1792
|
+
--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 */
|
|
1793
|
+
--shadow-floating-xlarge: 0px 0px 0px 1px #3d444d, 0px 32px 64px 0px #010409; /** Extra large floating shadow for full-screen overlays and sheets */
|
|
1790
1794
|
--underlineNav-borderColor-hover: var(--borderColor-neutral-muted);
|
|
1791
1795
|
--button-danger-borderColor-active: var(--button-danger-borderColor-hover);
|
|
1792
1796
|
--button-outline-borderColor-hover: var(--button-default-borderColor-hover);
|