@primer/primitives 11.4.0-rc.b3c35298 → 11.4.0-rc.daff2d10

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.
Files changed (154) hide show
  1. package/dist/build/filters/hasLlmExtensions.d.ts +7 -0
  2. package/dist/build/filters/hasLlmExtensions.js +11 -0
  3. package/dist/build/filters/index.d.ts +1 -0
  4. package/dist/build/filters/index.js +1 -0
  5. package/dist/build/formats/index.d.ts +1 -0
  6. package/dist/build/formats/index.js +1 -0
  7. package/dist/build/formats/markdownLlmGuidelines.d.ts +8 -0
  8. package/dist/build/formats/markdownLlmGuidelines.js +93 -0
  9. package/dist/build/platforms/css.js +2 -2
  10. package/dist/build/platforms/index.d.ts +1 -0
  11. package/dist/build/platforms/index.js +1 -0
  12. package/dist/build/platforms/llmGuidelines.d.ts +2 -0
  13. package/dist/build/platforms/llmGuidelines.js +16 -0
  14. package/dist/build/primerStyleDictionary.js +5 -1
  15. package/dist/build/schemas/borderToken.d.ts +6 -0
  16. package/dist/build/schemas/borderToken.js +6 -0
  17. package/dist/build/schemas/colorToken.d.ts +4 -0
  18. package/dist/build/schemas/colorToken.js +2 -0
  19. package/dist/build/schemas/cubicBezierToken.d.ts +6 -0
  20. package/dist/build/schemas/cubicBezierToken.js +10 -2
  21. package/dist/build/schemas/dimensionToken.d.ts +4 -0
  22. package/dist/build/schemas/dimensionToken.js +3 -1
  23. package/dist/build/schemas/dimensionValue.js +1 -1
  24. package/dist/build/schemas/durationToken.d.ts +6 -0
  25. package/dist/build/schemas/durationToken.js +6 -0
  26. package/dist/build/schemas/fontFamilyToken.d.ts +4 -0
  27. package/dist/build/schemas/fontFamilyToken.js +2 -0
  28. package/dist/build/schemas/fontWeightToken.d.ts +4 -0
  29. package/dist/build/schemas/fontWeightToken.js +2 -0
  30. package/dist/build/schemas/gradientToken.d.ts +4 -0
  31. package/dist/build/schemas/gradientToken.js +2 -0
  32. package/dist/build/schemas/llmExtension.d.ts +9 -0
  33. package/dist/build/schemas/llmExtension.js +11 -0
  34. package/dist/build/schemas/numberToken.d.ts +4 -0
  35. package/dist/build/schemas/numberToken.js +2 -0
  36. package/dist/build/schemas/shadowToken.d.ts +4 -0
  37. package/dist/build/schemas/shadowToken.js +2 -0
  38. package/dist/build/schemas/stringToken.d.ts +6 -0
  39. package/dist/build/schemas/stringToken.js +6 -0
  40. package/dist/build/schemas/transitionToken.d.ts +6 -0
  41. package/dist/build/schemas/transitionToken.js +6 -0
  42. package/dist/build/schemas/typographyToken.d.ts +6 -0
  43. package/dist/build/schemas/typographyToken.js +6 -0
  44. package/dist/build/schemas/viewportRangeToken.d.ts +6 -0
  45. package/dist/build/schemas/viewportRangeToken.js +6 -0
  46. package/dist/css/base/motion/motion.css +5 -4
  47. package/dist/css/base/typography/typography.css +6 -0
  48. package/dist/css/functional/size/border.css +9 -14
  49. package/dist/css/functional/size/radius.css +7 -0
  50. package/dist/css/functional/size/viewport.css +1 -1
  51. package/dist/css/functional/themes/dark-colorblind-high-contrast.css +172 -175
  52. package/dist/css/functional/themes/dark-colorblind.css +172 -175
  53. package/dist/css/functional/themes/dark-dimmed-high-contrast.css +172 -175
  54. package/dist/css/functional/themes/dark-dimmed.css +172 -175
  55. package/dist/css/functional/themes/dark-high-contrast.css +172 -175
  56. package/dist/css/functional/themes/dark-tritanopia-high-contrast.css +172 -175
  57. package/dist/css/functional/themes/dark-tritanopia.css +172 -175
  58. package/dist/css/functional/themes/dark.css +172 -175
  59. package/dist/css/functional/themes/light-colorblind-high-contrast.css +172 -175
  60. package/dist/css/functional/themes/light-colorblind.css +172 -175
  61. package/dist/css/functional/themes/light-high-contrast.css +172 -175
  62. package/dist/css/functional/themes/light-tritanopia-high-contrast.css +172 -175
  63. package/dist/css/functional/themes/light-tritanopia.css +172 -175
  64. package/dist/css/functional/themes/light.css +172 -175
  65. package/dist/css/functional/typography/typography.css +13 -13
  66. package/dist/css/primitives.css +1 -0
  67. package/dist/docs/base/motion/motion.json +85 -8
  68. package/dist/docs/base/typography/typography.json +174 -0
  69. package/dist/docs/functional/size/border.json +42 -177
  70. package/dist/docs/functional/size/radius.json +209 -0
  71. package/dist/docs/functional/size/viewport.json +2 -2
  72. package/dist/docs/functional/themes/dark-colorblind-high-contrast.json +897 -87
  73. package/dist/docs/functional/themes/dark-colorblind.json +897 -87
  74. package/dist/docs/functional/themes/dark-dimmed-high-contrast.json +897 -87
  75. package/dist/docs/functional/themes/dark-dimmed.json +935 -125
  76. package/dist/docs/functional/themes/dark-high-contrast.json +897 -87
  77. package/dist/docs/functional/themes/dark-tritanopia-high-contrast.json +897 -87
  78. package/dist/docs/functional/themes/dark-tritanopia.json +897 -87
  79. package/dist/docs/functional/themes/dark.json +897 -87
  80. package/dist/docs/functional/themes/light-colorblind-high-contrast.json +897 -87
  81. package/dist/docs/functional/themes/light-colorblind.json +897 -87
  82. package/dist/docs/functional/themes/light-high-contrast.json +897 -87
  83. package/dist/docs/functional/themes/light-tritanopia-high-contrast.json +897 -87
  84. package/dist/docs/functional/themes/light-tritanopia.json +897 -87
  85. package/dist/docs/functional/themes/light.json +897 -87
  86. package/dist/docs/functional/typography/typography.json +181 -17
  87. package/dist/fallbacks/base/motion/motion.json +1 -0
  88. package/dist/fallbacks/base/typography/typography.json +6 -0
  89. package/dist/fallbacks/functional/size/border.json +0 -5
  90. package/dist/fallbacks/functional/size/radius.json +7 -0
  91. package/dist/fallbacks/functional/size/viewport.json +1 -1
  92. package/dist/figma/dimension/dimension.json +30 -20
  93. package/dist/figma/themes/dark-colorblind.json +83 -0
  94. package/dist/figma/themes/dark-dimmed.json +132 -49
  95. package/dist/figma/themes/dark-high-contrast.json +83 -0
  96. package/dist/figma/themes/dark-tritanopia.json +83 -0
  97. package/dist/figma/themes/dark.json +83 -0
  98. package/dist/figma/themes/light-colorblind.json +83 -0
  99. package/dist/figma/themes/light-high-contrast.json +83 -0
  100. package/dist/figma/themes/light-tritanopia.json +83 -0
  101. package/dist/figma/themes/light.json +83 -0
  102. package/dist/figma/typography/typography.json +119 -40
  103. package/dist/internalCss/dark-colorblind-high-contrast.css +190 -203
  104. package/dist/internalCss/dark-colorblind.css +190 -203
  105. package/dist/internalCss/dark-dimmed-high-contrast.css +190 -203
  106. package/dist/internalCss/dark-dimmed.css +190 -203
  107. package/dist/internalCss/dark-high-contrast.css +190 -203
  108. package/dist/internalCss/dark-tritanopia-high-contrast.css +190 -203
  109. package/dist/internalCss/dark-tritanopia.css +190 -203
  110. package/dist/internalCss/dark.css +190 -203
  111. package/dist/internalCss/light-colorblind-high-contrast.css +190 -203
  112. package/dist/internalCss/light-colorblind.css +190 -203
  113. package/dist/internalCss/light-high-contrast.css +190 -203
  114. package/dist/internalCss/light-tritanopia-high-contrast.css +190 -203
  115. package/dist/internalCss/light-tritanopia.css +190 -203
  116. package/dist/internalCss/light.css +190 -203
  117. package/dist/styleLint/base/motion/motion.json +85 -8
  118. package/dist/styleLint/base/typography/typography.json +174 -0
  119. package/dist/styleLint/functional/size/border.json +34 -169
  120. package/dist/styleLint/functional/size/radius.json +209 -0
  121. package/dist/styleLint/functional/size/viewport.json +2 -2
  122. package/dist/styleLint/functional/themes/dark-colorblind-high-contrast.json +812 -2
  123. package/dist/styleLint/functional/themes/dark-colorblind.json +812 -2
  124. package/dist/styleLint/functional/themes/dark-dimmed-high-contrast.json +812 -2
  125. package/dist/styleLint/functional/themes/dark-dimmed.json +850 -40
  126. package/dist/styleLint/functional/themes/dark-high-contrast.json +812 -2
  127. package/dist/styleLint/functional/themes/dark-tritanopia-high-contrast.json +812 -2
  128. package/dist/styleLint/functional/themes/dark-tritanopia.json +812 -2
  129. package/dist/styleLint/functional/themes/dark.json +812 -2
  130. package/dist/styleLint/functional/themes/light-colorblind-high-contrast.json +812 -2
  131. package/dist/styleLint/functional/themes/light-colorblind.json +812 -2
  132. package/dist/styleLint/functional/themes/light-high-contrast.json +812 -2
  133. package/dist/styleLint/functional/themes/light-tritanopia-high-contrast.json +812 -2
  134. package/dist/styleLint/functional/themes/light-tritanopia.json +812 -2
  135. package/dist/styleLint/functional/themes/light.json +812 -2
  136. package/dist/styleLint/functional/typography/typography.json +195 -31
  137. package/guidelines/color.llm.md +16 -0
  138. package/guidelines/guidelines.llm.md +34 -0
  139. package/guidelines/motion.llm.md +41 -0
  140. package/guidelines/spacing.llm.md +20 -0
  141. package/guidelines/typography.llm.md +14 -0
  142. package/package.json +4 -2
  143. package/src/tokens/base/motion/easing.json5 +39 -4
  144. package/src/tokens/base/typography/typography.json5 +68 -0
  145. package/src/tokens/functional/color/bgColor.json5 +157 -0
  146. package/src/tokens/functional/color/borderColor.json5 +146 -0
  147. package/src/tokens/functional/color/fgColor.json5 +93 -1
  148. package/src/tokens/functional/shadow/shadow.json5 +10 -0
  149. package/src/tokens/functional/size/border.json5 +17 -69
  150. package/src/tokens/functional/size/radius.json5 +90 -0
  151. package/src/tokens/functional/size/viewport.json5 +1 -1
  152. package/src/tokens/functional/typography/font-stack.json5 +60 -0
  153. package/src/tokens/functional/typography/typography.json5 +76 -53
  154. package/token-guidelines.llm.md +546 -0
@@ -4,6 +4,7 @@ import { dimensionValue } from './dimensionValue.js';
4
4
  import { baseToken } from './baseToken.js';
5
5
  import { fontWeightValue } from './fontWeightValue.js';
6
6
  import { tokenType } from './tokenType.js';
7
+ import { llmExtension } from './llmExtension.js';
7
8
  export const typographyValue = z.object({
8
9
  fontSize: z.union([dimensionValue, referenceValue]),
9
10
  lineHeight: z.union([dimensionValue, referenceValue]).optional(),
@@ -14,5 +15,10 @@ export const typographyToken = baseToken
14
15
  .extend({
15
16
  $value: z.union([typographyValue, referenceValue]),
16
17
  $type: tokenType('typography'),
18
+ $extensions: z
19
+ .object({
20
+ 'org.primer.llm': llmExtension,
21
+ })
22
+ .optional(),
17
23
  })
18
24
  .strict();
@@ -4,4 +4,10 @@ export declare const viewportRangeToken: z.ZodObject<{
4
4
  $deprecated: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>;
5
5
  $value: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
6
6
  $type: z.ZodLiteral<"string" | "number" | "border" | "color" | "fontFamily" | "fontWeight" | "transition" | "dimension" | "duration" | "gradient" | "shadow" | "typography" | "cubicBezier" | "custom-viewportRange">;
7
+ $extensions: z.ZodOptional<z.ZodObject<{
8
+ 'org.primer.llm': z.ZodOptional<z.ZodObject<{
9
+ usage: z.ZodOptional<z.ZodArray<z.ZodString>>;
10
+ rules: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>>;
12
+ }, z.core.$strip>>;
7
13
  }, z.core.$strict>;
@@ -2,9 +2,15 @@ import { z } from 'zod';
2
2
  import { baseToken } from './baseToken.js';
3
3
  import { referenceValue } from './referenceValue.js';
4
4
  import { tokenType } from './tokenType.js';
5
+ import { llmExtension } from './llmExtension.js';
5
6
  export const viewportRangeToken = baseToken
6
7
  .extend({
7
8
  $value: z.union([z.string(), referenceValue]),
8
9
  $type: tokenType('custom-viewportRange'),
10
+ $extensions: z
11
+ .object({
12
+ 'org.primer.llm': llmExtension,
13
+ })
14
+ .optional(),
9
15
  })
10
16
  .strict();
@@ -11,8 +11,9 @@
11
11
  --base-duration-700: 700ms;
12
12
  --base-duration-800: 800ms;
13
13
  --base-duration-900: 900ms;
14
- --base-easing-easeIn: cubic-bezier(0.7, 0.1, 0.75, 0.9); /** Ideal for movement that starts on the page and ends off the page. */
15
- --base-easing-easeInOut: cubic-bezier(0.6, 0, 0.2, 1); /** Ideal for movement that starts and ends on the page. */
16
- --base-easing-easeOut: cubic-bezier(0.3, 0.8, 0.6, 1); /** Ideal for movement that starts off the page and ends on the page. */
17
- --base-easing-linear: cubic-bezier(0, 0, 1, 1); /** Ideal for non-movement properties, like opacity or background color. */
14
+ --base-easing-ease: cubic-bezier(0.25, 0.1, 0.25, 1); /** CSS default easing. Use for hover state changes and micro-interactions. */
15
+ --base-easing-easeIn: cubic-bezier(0.7, 0.1, 0.75, 0.9); /** Accelerating motion. Use for elements exiting the viewport (moving off-screen). */
16
+ --base-easing-easeInOut: cubic-bezier(0.6, 0, 0.2, 1); /** Smooth acceleration and deceleration. Use for elements moving or morphing within the viewport. */
17
+ --base-easing-easeOut: cubic-bezier(0.3, 0.8, 0.6, 1); /** Decelerating motion. Use for elements entering the viewport or appearing on screen. */
18
+ --base-easing-linear: cubic-bezier(0, 0, 1, 1); /** Constant motion with no acceleration. Use for continuous animations like progress bars or loaders. */
18
19
  }
@@ -4,6 +4,12 @@
4
4
  --base-text-lineHeight-relaxed: 1.625; /** Use for longer-form content, smaller text sizes (12-13px), or when increased readability is desired. Good for text that needs extra breathing room. */
5
5
  --base-text-lineHeight-snug: 1.375; /** Use for display text, large headings, or short multi-line text where moderate density is needed. Good for hero sections and marketing headlines. */
6
6
  --base-text-lineHeight-tight: 1.25; /** Use for single-line text in compact UI elements like labels, badges, buttons, or captions where vertical space is limited. Not recommended for multi-line body text due to reduced readability. */
7
+ --base-text-size-2xl: 2.5rem; /** 40px - Display text for hero sections. */
8
+ --base-text-size-lg: 1.25rem; /** 20px - Medium titles and subtitles. */
9
+ --base-text-size-md: 1rem; /** 16px - Large body text and small titles. */
10
+ --base-text-size-sm: 0.875rem; /** 14px - Default body text size for UI. */
11
+ --base-text-size-xl: 2rem; /** 32px - Large titles and page headings. */
12
+ --base-text-size-xs: 0.75rem; /** 12px - Smallest text size for captions and compact UI elements. */
7
13
  --base-text-weight-light: 300;
8
14
  --base-text-weight-medium: 500;
9
15
  --base-text-weight-normal: 400;
@@ -1,16 +1,11 @@
1
1
  :root {
2
- --borderRadius-full: 624.9375rem; /** Use this border radius for pill shaped elements */
3
- --borderRadius-large: 0.75rem;
4
- --borderRadius-medium: 0.375rem;
5
- --borderRadius-small: 0.1875rem;
6
- --borderWidth-thick: 0.125rem;
7
- --borderWidth-thicker: 0.25rem;
8
- --borderWidth-thin: 0.0625rem;
9
- --outline-focus-offset: -0.125rem;
10
- --outline-focus-width: 0.125rem;
11
- --borderRadius-default: var(--borderRadius-medium);
12
- --borderWidth-default: var(--borderWidth-thin);
13
- --boxShadow-thick: inset 0 0 0 var(--borderWidth-thick);
14
- --boxShadow-thicker: inset 0 0 0 var(--borderWidth-thicker);
15
- --boxShadow-thin: inset 0 0 0 var(--borderWidth-thin); /** Thin shadow for borders */
2
+ --borderWidth-thick: 0.125rem; /** Thick 2px border for emphasis. Use for focus indicators, selected states, or to emphasize important boundaries */
3
+ --borderWidth-thicker: 0.25rem; /** Extra thick 4px border for maximum emphasis. Use sparingly for high-contrast focus indicators or critical visual separators */
4
+ --borderWidth-thin: 0.0625rem; /** Standard 1px border width. Use for most borders, dividers, and outlines throughout the interface */
5
+ --outline-focus-offset: -0.125rem; /** Focus outline offset (-2px). Negative value creates an inset outline for keyboard focus indicators, ensuring the focus ring stays within the element bounds */
6
+ --outline-focus-width: 0.125rem; /** Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements */
7
+ --borderWidth-default: var(--borderWidth-thin); /** Default border width for most UI elements. Alias of borderWidth.thin (1px) */
8
+ --boxShadow-thick: inset 0 0 0 var(--borderWidth-thick); /** Thick shadow (2px) used instead of a border for emphasis without layout shift */
9
+ --boxShadow-thicker: inset 0 0 0 var(--borderWidth-thicker); /** Thickest shadow (4px) used for high emphasis borders without layout shift. Use sparingly for maximum visual impact */
10
+ --boxShadow-thin: inset 0 0 0 var(--borderWidth-thin); /** Thin shadow used instead of a border to prevent layout shift */
16
11
  }
@@ -0,0 +1,7 @@
1
+ :root {
2
+ --borderRadius-full: 624.9375rem; /** Use this border radius for pill shaped elements */
3
+ --borderRadius-large: 0.75rem; /** Large border radius (12px). Use for larger containers, dialogs, or when more visual softness is desired. Always use this for buttons. */
4
+ --borderRadius-medium: 0.375rem; /** Medium border radius (6px). The default choice for most buttons, cards, and containers */
5
+ --borderRadius-small: 0.1875rem; /** Small border radius (3px). Use for small variants of components or small UI elements like badges, tags, or anything below 16px in height */
6
+ --borderRadius-default: var(--borderRadius-medium); /** Default border radius for most UI elements. Alias of borderRadius.medium (6px). Use when in doubt */
7
+ }
@@ -1,6 +1,6 @@
1
1
  @custom-media --viewportRange-landscape (orientation: landscape);
2
2
  @custom-media --viewportRange-narrow (max-width: calc(48rem - 0.02px));
3
- @custom-media --viewportRange-narrowLandscape (max-width: calc(63.25rem - 0.02px) and (max-height: calc(34rem - 0.02px)) and (orientation: landscape));
3
+ @custom-media --viewportRange-narrowLandscape ((max-width: calc(63.25rem - 0.02px)) and (max-height: calc(34rem - 0.02px)) and (orientation: landscape));
4
4
  @custom-media --viewportRange-portrait (orientation: portrait);
5
5
  @custom-media --viewportRange-regular (min-width: 48rem);
6
6
  @custom-media --viewportRange-wide (min-width: 87.5rem);
@@ -1,7 +1,5 @@
1
1
  [data-color-mode="dark"][data-dark-theme="dark_colorblind_high_contrast"],
2
- [data-color-mode="dark"][data-dark-theme="dark_colorblind_high_contrast"] ::backdrop,
3
- [data-color-mode="auto"][data-light-theme="dark_colorblind_high_contrast"],
4
- [data-color-mode="auto"][data-light-theme="dark_colorblind_high_contrast"] ::backdrop {
2
+ [data-color-mode="auto"][data-light-theme="dark_colorblind_high_contrast"] {
5
3
  --button-primary-bgColor-active: #3685f3;
6
4
  --button-primary-bgColor-hover: #2a7aef;
7
5
  --button-primary-borderColor-disabled: #1158c7;
@@ -9,55 +7,55 @@
9
7
  --color-ansi-cyan-bright: #56d4dd;
10
8
  --control-checked-bgColor-active: #3c79d0;
11
9
  --control-checked-bgColor-hover: #2b64c1;
12
- --fgColor-accent: #74b9ff;
13
- --fgColor-done: #d3abff;
14
- --fgColor-sponsors: #ff90c8;
10
+ --fgColor-accent: #74b9ff; /** Accent text for links and interactive elements */
11
+ --fgColor-done: #d3abff; /** Text color for completed/done state indicators */
12
+ --fgColor-sponsors: #ff90c8; /** Text color for GitHub Sponsors content */
15
13
  --reactionButton-selected-bgColor-hover: #3a8cfd5c;
16
14
  --avatar-shadow: 0px 0px 0px 2px #0d1117;
17
15
  --avatarStack-fade-bgColor-default: #3d444d;
18
16
  --avatarStack-fade-bgColor-muted: #2a313c;
19
- --bgColor-accent-emphasis: #194fb1;
20
- --bgColor-accent-muted: #5cacff1a;
21
- --bgColor-attention-emphasis: #7b4900;
22
- --bgColor-attention-muted: #edaa2726;
23
- --bgColor-danger-emphasis: #8f3c00;
24
- --bgColor-danger-muted: #ff80801a;
25
- --bgColor-disabled: #262c36;
26
- --bgColor-done-emphasis: #6921d7;
27
- --bgColor-done-muted: #bf8fff26;
28
- --bgColor-emphasis: #3d444d;
29
- --bgColor-muted: #151b23;
30
- --bgColor-neutral-emphasis: #3d444d;
31
- --bgColor-neutral-muted: #212830;
32
- --bgColor-open-emphasis: #8f3c00;
33
- --bgColor-open-muted: #f48b251a;
34
- --bgColor-severe-emphasis: #8f3c00;
35
- --bgColor-severe-muted: #f48b251a;
36
- --bgColor-sponsors-emphasis: #9c1d6a;
37
- --bgColor-sponsors-muted: #f87cbd1a;
38
- --bgColor-success-emphasis: #194fb1;
39
- --bgColor-success-muted: #5cacff33;
40
- --bgColor-transparent: #00000000;
41
- --borderColor-accent-emphasis: #409eff;
42
- --borderColor-accent-muted: #5cacff;
43
- --borderColor-attention-emphasis: #e09b13;
44
- --borderColor-attention-muted: #edaa27;
45
- --borderColor-danger-emphasis: #e7811d;
46
- --borderColor-danger-muted: #f48b25;
47
- --borderColor-default: #b7bdc8;
48
- --borderColor-disabled: #656c761a;
49
- --borderColor-done-emphasis: #b87fff;
50
- --borderColor-done-muted: #bf8fff;
51
- --borderColor-open-emphasis: #e7811d;
52
- --borderColor-open-muted: #f48b25;
53
- --borderColor-severe-emphasis: #e7811d;
54
- --borderColor-severe-muted: #e7811d;
55
- --borderColor-sponsors-emphasis: #ef6eb1;
56
- --borderColor-sponsors-muted: #f87cbd;
57
- --borderColor-success-emphasis: #409eff;
58
- --borderColor-success-muted: #5cacff;
59
- --borderColor-translucent: #9198a1;
60
- --borderColor-transparent: #00000000;
17
+ --bgColor-accent-emphasis: #194fb1; /** Strong accent background for active states and focused states */
18
+ --bgColor-accent-muted: #5cacff1a; /** Subtle accent background for informational or selected elements */
19
+ --bgColor-attention-emphasis: #7b4900; /** Strong attention background for prominent warnings */
20
+ --bgColor-attention-muted: #edaa2726; /** Subtle attention background for warnings and caution states */
21
+ --bgColor-danger-emphasis: #8f3c00; /** Emphasized danger background for critical errors and delete confirmations */
22
+ --bgColor-danger-muted: #ff80801a; /** Muted danger background for error states and destructive action contexts */
23
+ --bgColor-disabled: #262c36; /** Background for disabled interactive elements */
24
+ --bgColor-done-emphasis: #6921d7; /** Strong background for completed/done state badges and labels */
25
+ --bgColor-done-muted: #bf8fff26; /** Subtle background for completed/done state indicators */
26
+ --bgColor-emphasis: #3d444d; /** High-emphasis dark background for strong visual contrast */
27
+ --bgColor-muted: #151b23; /** Muted background for secondary content areas and subtle grouping */
28
+ --bgColor-neutral-emphasis: #3d444d; /** Strong neutral background for prominent neutral elements */
29
+ --bgColor-neutral-muted: #212830; /** Subtle neutral background for tags, labels, and secondary UI elements */
30
+ --bgColor-open-emphasis: #8f3c00; /** Strong background for open state badges and labels */
31
+ --bgColor-open-muted: #f48b251a; /** Subtle background for open state indicators (issues, PRs) */
32
+ --bgColor-severe-emphasis: #8f3c00; /** Strong severe background for prominent high-priority warnings */
33
+ --bgColor-severe-muted: #f48b251a; /** Subtle severe background for high-priority warnings */
34
+ --bgColor-sponsors-emphasis: #9c1d6a; /** Strong background for prominent GitHub Sponsors elements */
35
+ --bgColor-sponsors-muted: #f87cbd1a; /** Subtle background for GitHub Sponsors content */
36
+ --bgColor-success-emphasis: #194fb1; /** Strong success background for prominent positive actions */
37
+ --bgColor-success-muted: #5cacff33; /** Subtle success background for positive feedback and completed states */
38
+ --bgColor-transparent: #00000000; /** Fully transparent background */
39
+ --borderColor-accent-emphasis: #409eff; /** Strong accent border for selected or focused elements */
40
+ --borderColor-accent-muted: #5cacff; /** Subtle accent border for selected or focused elements */
41
+ --borderColor-attention-emphasis: #e09b13; /** Strong attention border for prominent warnings */
42
+ --borderColor-attention-muted: #edaa27; /** Subtle attention border for warnings and caution states */
43
+ --borderColor-danger-emphasis: #e7811d; /** Strong danger border for destructive actions and errors */
44
+ --borderColor-danger-muted: #f48b25; /** Subtle danger border for errors and destructive contexts */
45
+ --borderColor-default: #b7bdc8; /** Default border color for most UI elements */
46
+ --borderColor-disabled: #656c761a; /** Border color for disabled interactive elements */
47
+ --borderColor-done-emphasis: #b87fff; /** Strong border for completed/done state badges */
48
+ --borderColor-done-muted: #bf8fff; /** Subtle border for completed/done state indicators */
49
+ --borderColor-open-emphasis: #e7811d; /** Strong border for open state badges */
50
+ --borderColor-open-muted: #f48b25; /** Subtle border for open state indicators */
51
+ --borderColor-severe-emphasis: #e7811d; /** Strong severe border for prominent high-priority warnings */
52
+ --borderColor-severe-muted: #e7811d; /** Subtle severe border for high-priority warnings */
53
+ --borderColor-sponsors-emphasis: #ef6eb1; /** Strong border for prominent GitHub Sponsors elements */
54
+ --borderColor-sponsors-muted: #f87cbd; /** Subtle border for GitHub Sponsors content */
55
+ --borderColor-success-emphasis: #409eff; /** Strong success border for prominent positive elements */
56
+ --borderColor-success-muted: #5cacff; /** Subtle success border for positive feedback elements */
57
+ --borderColor-translucent: #9198a1; /** Semi-transparent border for overlays and layered elements */
58
+ --borderColor-transparent: #00000000; /** Fully transparent border */
61
59
  --button-danger-bgColor-hover: #8f3c00;
62
60
  --button-danger-borderColor-hover: #ffb757;
63
61
  --button-danger-fgColor-rest: #ffb757;
@@ -498,16 +496,16 @@
498
496
  --display-yellow-scale-7: #df9e11;
499
497
  --display-yellow-scale-8: #edb431;
500
498
  --display-yellow-scale-9: #f0ca6a;
501
- --fgColor-attention: #f0b72f;
502
- --fgColor-danger: #ffb757;
503
- --fgColor-disabled: #656c76;
504
- --fgColor-link: var(--fgColor-accent);
505
- --fgColor-muted: #b7bdc8;
506
- --fgColor-neutral: #d1d7e0;
507
- --fgColor-open: #ffb757;
508
- --fgColor-severe: #fe9a2d;
509
- --fgColor-success: #addcff;
510
- --fgColor-upsell: var(--fgColor-done);
499
+ --fgColor-attention: #f0b72f; /** Attention text for warnings and caution states */
500
+ --fgColor-danger: #ffb757; /** Danger text for errors and destructive actions */
501
+ --fgColor-disabled: #656c76; /** Text color for disabled interactive elements */
502
+ --fgColor-link: var(--fgColor-accent); /** Text color for hyperlinks */
503
+ --fgColor-muted: #b7bdc8; /** Muted text for secondary content and less important information */
504
+ --fgColor-neutral: #d1d7e0; /** Neutral semantic text for icons and secondary elements */
505
+ --fgColor-open: #ffb757; /** Text color for open state indicators (issues, PRs) */
506
+ --fgColor-severe: #fe9a2d; /** Severe text for high-priority warnings */
507
+ --fgColor-success: #addcff; /** Success text for positive feedback and completed states */
508
+ --fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
511
509
  --header-bgColor: #151b23f2;
512
510
  --header-borderColor-divider: #656c76;
513
511
  --header-fgColor-logo: #f0f6fc;
@@ -639,17 +637,17 @@
639
637
  --timelineBadge-bgColor: #212830;
640
638
  --underlineNav-borderColor-active: #ff967d;
641
639
  --avatar-bgColor: #ffffff1a;
642
- --bgColor-black: #010409;
643
- --bgColor-closed-emphasis: var(--bgColor-neutral-emphasis);
644
- --bgColor-closed-muted: #2128301a;
645
- --bgColor-default: #010409;
646
- --bgColor-draft-emphasis: var(--bgColor-neutral-emphasis);
647
- --bgColor-draft-muted: #2128301a;
648
- --bgColor-inset: #010409;
649
- --bgColor-inverse: #ffffff;
650
- --bgColor-upsell-emphasis: var(--bgColor-done-emphasis);
651
- --bgColor-upsell-muted: var(--bgColor-done-muted);
652
- --bgColor-white: #ffffff;
640
+ --bgColor-black: #010409; /** Pure black background */
641
+ --bgColor-closed-emphasis: var(--bgColor-neutral-emphasis); /** Strong background for closed state badges and labels */
642
+ --bgColor-closed-muted: #2128301a; /** Subtle background for closed state indicators (issues, PRs) */
643
+ --bgColor-default: #010409; /** Default background color for pages and main content areas */
644
+ --bgColor-draft-emphasis: var(--bgColor-neutral-emphasis); /** Strong background for draft state badges and labels */
645
+ --bgColor-draft-muted: #2128301a; /** Subtle background for draft state indicators */
646
+ --bgColor-inset: #010409; /** Inset background for recessed content areas like wells or sunken panels */
647
+ --bgColor-inverse: #ffffff; /** Inverse background that flips between light and dark modes */
648
+ --bgColor-upsell-emphasis: var(--bgColor-done-emphasis); /** Strong background for prominent upsell elements */
649
+ --bgColor-upsell-muted: var(--bgColor-done-muted); /** Subtle background for upsell and promotional content */
650
+ --bgColor-white: #ffffff; /** Pure white background */
653
651
  --border-accent-emphasis: 0.0625rem solid #409eff;
654
652
  --border-accent-muted: 0.0625rem solid #5cacff;
655
653
  --border-attention-emphasis: 0.0625rem solid #e09b13;
@@ -667,12 +665,12 @@
667
665
  --border-success-emphasis: 0.0625rem solid #409eff;
668
666
  --border-success-muted: 0.0625rem solid #5cacff;
669
667
  --border-transparent: 0.0625rem solid #00000000;
670
- --borderColor-closed-muted: var(--borderColor-default);
671
- --borderColor-draft-muted: var(--borderColor-default);
672
- --borderColor-emphasis: var(--borderColor-default);
673
- --borderColor-muted: var(--borderColor-default);
674
- --borderColor-upsell-emphasis: var(--borderColor-done-emphasis);
675
- --borderColor-upsell-muted: var(--borderColor-done-muted);
668
+ --borderColor-closed-muted: var(--borderColor-default); /** Subtle border for closed state indicators */
669
+ --borderColor-draft-muted: var(--borderColor-default); /** Subtle border for draft state indicators */
670
+ --borderColor-emphasis: var(--borderColor-default); /** Strong border for emphasis and visual weight */
671
+ --borderColor-muted: var(--borderColor-default); /** Subtle border for secondary elements and light separators */
672
+ --borderColor-upsell-emphasis: var(--borderColor-done-emphasis); /** Strong border for prominent upsell elements */
673
+ --borderColor-upsell-muted: var(--borderColor-done-muted); /** Subtle border for upsell and promotional content */
676
674
  --button-danger-bgColor-active: var(--bgColor-danger-emphasis);
677
675
  --button-danger-bgColor-rest: var(--control-bgColor-rest);
678
676
  --button-danger-borderColor-active: var(--button-danger-borderColor-hover);
@@ -754,13 +752,13 @@
754
752
  --diffBlob-emptyLine-bgColor: var(--bgColor-muted);
755
753
  --diffBlob-emptyNum-bgColor: var(--bgColor-muted);
756
754
  --diffBlob-hunkLine-fgColor: var(--fgColor-muted);
757
- --fgColor-black: #010409;
758
- --fgColor-closed: var(--fgColor-muted);
759
- --fgColor-default: #ffffff;
760
- --fgColor-draft: var(--fgColor-neutral);
761
- --fgColor-onEmphasis: #ffffff;
762
- --fgColor-onInverse: #010409;
763
- --fgColor-white: #ffffff;
755
+ --fgColor-black: #010409; /** Pure black text */
756
+ --fgColor-closed: var(--fgColor-muted); /** Text color for closed state indicators (issues, PRs) */
757
+ --fgColor-default: #ffffff; /** Default text color for primary content and headings */
758
+ --fgColor-draft: var(--fgColor-neutral); /** Text color for draft state indicators */
759
+ --fgColor-onEmphasis: #ffffff; /** Text color for use on emphasis backgrounds */
760
+ --fgColor-onInverse: #010409; /** Text color for use on inverse backgrounds */
761
+ --fgColor-white: #ffffff; /** Pure white text */
764
762
  --focus-outlineColor: var(--borderColor-accent-emphasis);
765
763
  --header-fgColor-default: #ffffffb3;
766
764
  --label-auburn-borderColor: var(--label-auburn-fgColor-rest);
@@ -811,9 +809,9 @@
811
809
  --border-open-muted: var(--border-success-muted);
812
810
  --border-upsell-emphasis: 0.0625rem solid #b87fff;
813
811
  --border-upsell-muted: 0.0625rem solid #bf8fff;
814
- --borderColor-closed-emphasis: var(--borderColor-emphasis);
815
- --borderColor-neutral-emphasis: var(--borderColor-emphasis);
816
- --borderColor-neutral-muted: var(--borderColor-muted);
812
+ --borderColor-closed-emphasis: var(--borderColor-emphasis); /** Strong border for closed state badges */
813
+ --borderColor-neutral-emphasis: var(--borderColor-emphasis); /** Strong neutral semantic border */
814
+ --borderColor-neutral-muted: var(--borderColor-muted); /** Subtle neutral semantic border */
817
815
  --button-danger-bgColor-disabled: var(--control-bgColor-disabled);
818
816
  --button-danger-borderColor-rest: var(--control-borderColor-rest);
819
817
  --button-default-bgColor-disabled: var(--control-bgColor-disabled);
@@ -873,15 +871,15 @@
873
871
  --focus-outline: 2px solid #409eff;
874
872
  --page-header-bgColor: var(--bgColor-default);
875
873
  --progressBar-track-bgColor: var(--bgColor-inverse);
876
- --shadow-floating-large: 0px 0px 0px 1px #b7bdc8, 0px 24px 48px 0px #010409;
874
+ --shadow-floating-large: 0px 0px 0px 1px #b7bdc8, 0px 24px 48px 0px #010409; /** Large floating shadow for modals and dialogs */
877
875
  --shadow-floating-medium: 0px 0px 0px 1px #b7bdc8, 0px 8px 16px -4px #01040966, 0px 4px 32px -4px #01040966, 0px 24px 48px -12px #01040966, 0px 48px 96px -24px #01040966;
878
- --shadow-floating-small: 0px 0px 0px 1px #b7bdc8, 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
876
+ --shadow-floating-small: 0px 0px 0px 1px #b7bdc8, 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966; /** Small floating shadow for dropdowns, tooltips, and small overlays */
879
877
  --shadow-floating-xlarge: 0px 0px 0px 1px #b7bdc8, 0px 32px 64px 0px #010409;
880
878
  --tooltip-bgColor: var(--bgColor-inverse);
881
879
  --tooltip-fgColor: var(--fgColor-onInverse);
882
880
  --border-neutral-emphasis: 0.0625rem solid #b7bdc8;
883
881
  --border-neutral-muted: 0.0625rem solid #b7bdc8;
884
- --borderColor-draft-emphasis: var(--borderColor-neutral-emphasis);
882
+ --borderColor-draft-emphasis: var(--borderColor-neutral-emphasis); /** Strong border for draft state badges */
885
883
  --button-default-borderColor-active: var(--button-default-borderColor-rest);
886
884
  --button-default-borderColor-hover: var(--button-default-borderColor-rest);
887
885
  --button-default-fgColor-rest: var(--control-fgColor-rest);
@@ -898,8 +896,7 @@
898
896
  --button-outline-borderColor-active: var(--button-outline-borderColor-hover);
899
897
  }
900
898
  @media (prefers-color-scheme: dark) {
901
- [data-color-mode][data-color-mode="auto"][data-dark-theme="dark_colorblind_high_contrast"],
902
- [data-color-mode][data-color-mode="auto"][data-dark-theme="dark_colorblind_high_contrast"] ::backdrop {
899
+ [data-color-mode][data-color-mode="auto"][data-dark-theme="dark_colorblind_high_contrast"] {
903
900
  --button-primary-bgColor-active: #3685f3;
904
901
  --button-primary-bgColor-hover: #2a7aef;
905
902
  --button-primary-borderColor-disabled: #1158c7;
@@ -907,55 +904,55 @@
907
904
  --color-ansi-cyan-bright: #56d4dd;
908
905
  --control-checked-bgColor-active: #3c79d0;
909
906
  --control-checked-bgColor-hover: #2b64c1;
910
- --fgColor-accent: #74b9ff;
911
- --fgColor-done: #d3abff;
912
- --fgColor-sponsors: #ff90c8;
907
+ --fgColor-accent: #74b9ff; /** Accent text for links and interactive elements */
908
+ --fgColor-done: #d3abff; /** Text color for completed/done state indicators */
909
+ --fgColor-sponsors: #ff90c8; /** Text color for GitHub Sponsors content */
913
910
  --reactionButton-selected-bgColor-hover: #3a8cfd5c;
914
911
  --avatar-shadow: 0px 0px 0px 2px #0d1117;
915
912
  --avatarStack-fade-bgColor-default: #3d444d;
916
913
  --avatarStack-fade-bgColor-muted: #2a313c;
917
- --bgColor-accent-emphasis: #194fb1;
918
- --bgColor-accent-muted: #5cacff1a;
919
- --bgColor-attention-emphasis: #7b4900;
920
- --bgColor-attention-muted: #edaa2726;
921
- --bgColor-danger-emphasis: #8f3c00;
922
- --bgColor-danger-muted: #ff80801a;
923
- --bgColor-disabled: #262c36;
924
- --bgColor-done-emphasis: #6921d7;
925
- --bgColor-done-muted: #bf8fff26;
926
- --bgColor-emphasis: #3d444d;
927
- --bgColor-muted: #151b23;
928
- --bgColor-neutral-emphasis: #3d444d;
929
- --bgColor-neutral-muted: #212830;
930
- --bgColor-open-emphasis: #8f3c00;
931
- --bgColor-open-muted: #f48b251a;
932
- --bgColor-severe-emphasis: #8f3c00;
933
- --bgColor-severe-muted: #f48b251a;
934
- --bgColor-sponsors-emphasis: #9c1d6a;
935
- --bgColor-sponsors-muted: #f87cbd1a;
936
- --bgColor-success-emphasis: #194fb1;
937
- --bgColor-success-muted: #5cacff33;
938
- --bgColor-transparent: #00000000;
939
- --borderColor-accent-emphasis: #409eff;
940
- --borderColor-accent-muted: #5cacff;
941
- --borderColor-attention-emphasis: #e09b13;
942
- --borderColor-attention-muted: #edaa27;
943
- --borderColor-danger-emphasis: #e7811d;
944
- --borderColor-danger-muted: #f48b25;
945
- --borderColor-default: #b7bdc8;
946
- --borderColor-disabled: #656c761a;
947
- --borderColor-done-emphasis: #b87fff;
948
- --borderColor-done-muted: #bf8fff;
949
- --borderColor-open-emphasis: #e7811d;
950
- --borderColor-open-muted: #f48b25;
951
- --borderColor-severe-emphasis: #e7811d;
952
- --borderColor-severe-muted: #e7811d;
953
- --borderColor-sponsors-emphasis: #ef6eb1;
954
- --borderColor-sponsors-muted: #f87cbd;
955
- --borderColor-success-emphasis: #409eff;
956
- --borderColor-success-muted: #5cacff;
957
- --borderColor-translucent: #9198a1;
958
- --borderColor-transparent: #00000000;
914
+ --bgColor-accent-emphasis: #194fb1; /** Strong accent background for active states and focused states */
915
+ --bgColor-accent-muted: #5cacff1a; /** Subtle accent background for informational or selected elements */
916
+ --bgColor-attention-emphasis: #7b4900; /** Strong attention background for prominent warnings */
917
+ --bgColor-attention-muted: #edaa2726; /** Subtle attention background for warnings and caution states */
918
+ --bgColor-danger-emphasis: #8f3c00; /** Emphasized danger background for critical errors and delete confirmations */
919
+ --bgColor-danger-muted: #ff80801a; /** Muted danger background for error states and destructive action contexts */
920
+ --bgColor-disabled: #262c36; /** Background for disabled interactive elements */
921
+ --bgColor-done-emphasis: #6921d7; /** Strong background for completed/done state badges and labels */
922
+ --bgColor-done-muted: #bf8fff26; /** Subtle background for completed/done state indicators */
923
+ --bgColor-emphasis: #3d444d; /** High-emphasis dark background for strong visual contrast */
924
+ --bgColor-muted: #151b23; /** Muted background for secondary content areas and subtle grouping */
925
+ --bgColor-neutral-emphasis: #3d444d; /** Strong neutral background for prominent neutral elements */
926
+ --bgColor-neutral-muted: #212830; /** Subtle neutral background for tags, labels, and secondary UI elements */
927
+ --bgColor-open-emphasis: #8f3c00; /** Strong background for open state badges and labels */
928
+ --bgColor-open-muted: #f48b251a; /** Subtle background for open state indicators (issues, PRs) */
929
+ --bgColor-severe-emphasis: #8f3c00; /** Strong severe background for prominent high-priority warnings */
930
+ --bgColor-severe-muted: #f48b251a; /** Subtle severe background for high-priority warnings */
931
+ --bgColor-sponsors-emphasis: #9c1d6a; /** Strong background for prominent GitHub Sponsors elements */
932
+ --bgColor-sponsors-muted: #f87cbd1a; /** Subtle background for GitHub Sponsors content */
933
+ --bgColor-success-emphasis: #194fb1; /** Strong success background for prominent positive actions */
934
+ --bgColor-success-muted: #5cacff33; /** Subtle success background for positive feedback and completed states */
935
+ --bgColor-transparent: #00000000; /** Fully transparent background */
936
+ --borderColor-accent-emphasis: #409eff; /** Strong accent border for selected or focused elements */
937
+ --borderColor-accent-muted: #5cacff; /** Subtle accent border for selected or focused elements */
938
+ --borderColor-attention-emphasis: #e09b13; /** Strong attention border for prominent warnings */
939
+ --borderColor-attention-muted: #edaa27; /** Subtle attention border for warnings and caution states */
940
+ --borderColor-danger-emphasis: #e7811d; /** Strong danger border for destructive actions and errors */
941
+ --borderColor-danger-muted: #f48b25; /** Subtle danger border for errors and destructive contexts */
942
+ --borderColor-default: #b7bdc8; /** Default border color for most UI elements */
943
+ --borderColor-disabled: #656c761a; /** Border color for disabled interactive elements */
944
+ --borderColor-done-emphasis: #b87fff; /** Strong border for completed/done state badges */
945
+ --borderColor-done-muted: #bf8fff; /** Subtle border for completed/done state indicators */
946
+ --borderColor-open-emphasis: #e7811d; /** Strong border for open state badges */
947
+ --borderColor-open-muted: #f48b25; /** Subtle border for open state indicators */
948
+ --borderColor-severe-emphasis: #e7811d; /** Strong severe border for prominent high-priority warnings */
949
+ --borderColor-severe-muted: #e7811d; /** Subtle severe border for high-priority warnings */
950
+ --borderColor-sponsors-emphasis: #ef6eb1; /** Strong border for prominent GitHub Sponsors elements */
951
+ --borderColor-sponsors-muted: #f87cbd; /** Subtle border for GitHub Sponsors content */
952
+ --borderColor-success-emphasis: #409eff; /** Strong success border for prominent positive elements */
953
+ --borderColor-success-muted: #5cacff; /** Subtle success border for positive feedback elements */
954
+ --borderColor-translucent: #9198a1; /** Semi-transparent border for overlays and layered elements */
955
+ --borderColor-transparent: #00000000; /** Fully transparent border */
959
956
  --button-danger-bgColor-hover: #8f3c00;
960
957
  --button-danger-borderColor-hover: #ffb757;
961
958
  --button-danger-fgColor-rest: #ffb757;
@@ -1396,16 +1393,16 @@
1396
1393
  --display-yellow-scale-7: #df9e11;
1397
1394
  --display-yellow-scale-8: #edb431;
1398
1395
  --display-yellow-scale-9: #f0ca6a;
1399
- --fgColor-attention: #f0b72f;
1400
- --fgColor-danger: #ffb757;
1401
- --fgColor-disabled: #656c76;
1402
- --fgColor-link: var(--fgColor-accent);
1403
- --fgColor-muted: #b7bdc8;
1404
- --fgColor-neutral: #d1d7e0;
1405
- --fgColor-open: #ffb757;
1406
- --fgColor-severe: #fe9a2d;
1407
- --fgColor-success: #addcff;
1408
- --fgColor-upsell: var(--fgColor-done);
1396
+ --fgColor-attention: #f0b72f; /** Attention text for warnings and caution states */
1397
+ --fgColor-danger: #ffb757; /** Danger text for errors and destructive actions */
1398
+ --fgColor-disabled: #656c76; /** Text color for disabled interactive elements */
1399
+ --fgColor-link: var(--fgColor-accent); /** Text color for hyperlinks */
1400
+ --fgColor-muted: #b7bdc8; /** Muted text for secondary content and less important information */
1401
+ --fgColor-neutral: #d1d7e0; /** Neutral semantic text for icons and secondary elements */
1402
+ --fgColor-open: #ffb757; /** Text color for open state indicators (issues, PRs) */
1403
+ --fgColor-severe: #fe9a2d; /** Severe text for high-priority warnings */
1404
+ --fgColor-success: #addcff; /** Success text for positive feedback and completed states */
1405
+ --fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
1409
1406
  --header-bgColor: #151b23f2;
1410
1407
  --header-borderColor-divider: #656c76;
1411
1408
  --header-fgColor-logo: #f0f6fc;
@@ -1537,17 +1534,17 @@
1537
1534
  --timelineBadge-bgColor: #212830;
1538
1535
  --underlineNav-borderColor-active: #ff967d;
1539
1536
  --avatar-bgColor: #ffffff1a;
1540
- --bgColor-black: #010409;
1541
- --bgColor-closed-emphasis: var(--bgColor-neutral-emphasis);
1542
- --bgColor-closed-muted: #2128301a;
1543
- --bgColor-default: #010409;
1544
- --bgColor-draft-emphasis: var(--bgColor-neutral-emphasis);
1545
- --bgColor-draft-muted: #2128301a;
1546
- --bgColor-inset: #010409;
1547
- --bgColor-inverse: #ffffff;
1548
- --bgColor-upsell-emphasis: var(--bgColor-done-emphasis);
1549
- --bgColor-upsell-muted: var(--bgColor-done-muted);
1550
- --bgColor-white: #ffffff;
1537
+ --bgColor-black: #010409; /** Pure black background */
1538
+ --bgColor-closed-emphasis: var(--bgColor-neutral-emphasis); /** Strong background for closed state badges and labels */
1539
+ --bgColor-closed-muted: #2128301a; /** Subtle background for closed state indicators (issues, PRs) */
1540
+ --bgColor-default: #010409; /** Default background color for pages and main content areas */
1541
+ --bgColor-draft-emphasis: var(--bgColor-neutral-emphasis); /** Strong background for draft state badges and labels */
1542
+ --bgColor-draft-muted: #2128301a; /** Subtle background for draft state indicators */
1543
+ --bgColor-inset: #010409; /** Inset background for recessed content areas like wells or sunken panels */
1544
+ --bgColor-inverse: #ffffff; /** Inverse background that flips between light and dark modes */
1545
+ --bgColor-upsell-emphasis: var(--bgColor-done-emphasis); /** Strong background for prominent upsell elements */
1546
+ --bgColor-upsell-muted: var(--bgColor-done-muted); /** Subtle background for upsell and promotional content */
1547
+ --bgColor-white: #ffffff; /** Pure white background */
1551
1548
  --border-accent-emphasis: 0.0625rem solid #409eff;
1552
1549
  --border-accent-muted: 0.0625rem solid #5cacff;
1553
1550
  --border-attention-emphasis: 0.0625rem solid #e09b13;
@@ -1565,12 +1562,12 @@
1565
1562
  --border-success-emphasis: 0.0625rem solid #409eff;
1566
1563
  --border-success-muted: 0.0625rem solid #5cacff;
1567
1564
  --border-transparent: 0.0625rem solid #00000000;
1568
- --borderColor-closed-muted: var(--borderColor-default);
1569
- --borderColor-draft-muted: var(--borderColor-default);
1570
- --borderColor-emphasis: var(--borderColor-default);
1571
- --borderColor-muted: var(--borderColor-default);
1572
- --borderColor-upsell-emphasis: var(--borderColor-done-emphasis);
1573
- --borderColor-upsell-muted: var(--borderColor-done-muted);
1565
+ --borderColor-closed-muted: var(--borderColor-default); /** Subtle border for closed state indicators */
1566
+ --borderColor-draft-muted: var(--borderColor-default); /** Subtle border for draft state indicators */
1567
+ --borderColor-emphasis: var(--borderColor-default); /** Strong border for emphasis and visual weight */
1568
+ --borderColor-muted: var(--borderColor-default); /** Subtle border for secondary elements and light separators */
1569
+ --borderColor-upsell-emphasis: var(--borderColor-done-emphasis); /** Strong border for prominent upsell elements */
1570
+ --borderColor-upsell-muted: var(--borderColor-done-muted); /** Subtle border for upsell and promotional content */
1574
1571
  --button-danger-bgColor-active: var(--bgColor-danger-emphasis);
1575
1572
  --button-danger-bgColor-rest: var(--control-bgColor-rest);
1576
1573
  --button-danger-borderColor-active: var(--button-danger-borderColor-hover);
@@ -1652,13 +1649,13 @@
1652
1649
  --diffBlob-emptyLine-bgColor: var(--bgColor-muted);
1653
1650
  --diffBlob-emptyNum-bgColor: var(--bgColor-muted);
1654
1651
  --diffBlob-hunkLine-fgColor: var(--fgColor-muted);
1655
- --fgColor-black: #010409;
1656
- --fgColor-closed: var(--fgColor-muted);
1657
- --fgColor-default: #ffffff;
1658
- --fgColor-draft: var(--fgColor-neutral);
1659
- --fgColor-onEmphasis: #ffffff;
1660
- --fgColor-onInverse: #010409;
1661
- --fgColor-white: #ffffff;
1652
+ --fgColor-black: #010409; /** Pure black text */
1653
+ --fgColor-closed: var(--fgColor-muted); /** Text color for closed state indicators (issues, PRs) */
1654
+ --fgColor-default: #ffffff; /** Default text color for primary content and headings */
1655
+ --fgColor-draft: var(--fgColor-neutral); /** Text color for draft state indicators */
1656
+ --fgColor-onEmphasis: #ffffff; /** Text color for use on emphasis backgrounds */
1657
+ --fgColor-onInverse: #010409; /** Text color for use on inverse backgrounds */
1658
+ --fgColor-white: #ffffff; /** Pure white text */
1662
1659
  --focus-outlineColor: var(--borderColor-accent-emphasis);
1663
1660
  --header-fgColor-default: #ffffffb3;
1664
1661
  --label-auburn-borderColor: var(--label-auburn-fgColor-rest);
@@ -1709,9 +1706,9 @@
1709
1706
  --border-open-muted: var(--border-success-muted);
1710
1707
  --border-upsell-emphasis: 0.0625rem solid #b87fff;
1711
1708
  --border-upsell-muted: 0.0625rem solid #bf8fff;
1712
- --borderColor-closed-emphasis: var(--borderColor-emphasis);
1713
- --borderColor-neutral-emphasis: var(--borderColor-emphasis);
1714
- --borderColor-neutral-muted: var(--borderColor-muted);
1709
+ --borderColor-closed-emphasis: var(--borderColor-emphasis); /** Strong border for closed state badges */
1710
+ --borderColor-neutral-emphasis: var(--borderColor-emphasis); /** Strong neutral semantic border */
1711
+ --borderColor-neutral-muted: var(--borderColor-muted); /** Subtle neutral semantic border */
1715
1712
  --button-danger-bgColor-disabled: var(--control-bgColor-disabled);
1716
1713
  --button-danger-borderColor-rest: var(--control-borderColor-rest);
1717
1714
  --button-default-bgColor-disabled: var(--control-bgColor-disabled);
@@ -1771,15 +1768,15 @@
1771
1768
  --focus-outline: 2px solid #409eff;
1772
1769
  --page-header-bgColor: var(--bgColor-default);
1773
1770
  --progressBar-track-bgColor: var(--bgColor-inverse);
1774
- --shadow-floating-large: 0px 0px 0px 1px #b7bdc8, 0px 24px 48px 0px #010409;
1771
+ --shadow-floating-large: 0px 0px 0px 1px #b7bdc8, 0px 24px 48px 0px #010409; /** Large floating shadow for modals and dialogs */
1775
1772
  --shadow-floating-medium: 0px 0px 0px 1px #b7bdc8, 0px 8px 16px -4px #01040966, 0px 4px 32px -4px #01040966, 0px 24px 48px -12px #01040966, 0px 48px 96px -24px #01040966;
1776
- --shadow-floating-small: 0px 0px 0px 1px #b7bdc8, 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
1773
+ --shadow-floating-small: 0px 0px 0px 1px #b7bdc8, 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966; /** Small floating shadow for dropdowns, tooltips, and small overlays */
1777
1774
  --shadow-floating-xlarge: 0px 0px 0px 1px #b7bdc8, 0px 32px 64px 0px #010409;
1778
1775
  --tooltip-bgColor: var(--bgColor-inverse);
1779
1776
  --tooltip-fgColor: var(--fgColor-onInverse);
1780
1777
  --border-neutral-emphasis: 0.0625rem solid #b7bdc8;
1781
1778
  --border-neutral-muted: 0.0625rem solid #b7bdc8;
1782
- --borderColor-draft-emphasis: var(--borderColor-neutral-emphasis);
1779
+ --borderColor-draft-emphasis: var(--borderColor-neutral-emphasis); /** Strong border for draft state badges */
1783
1780
  --button-default-borderColor-active: var(--button-default-borderColor-rest);
1784
1781
  --button-default-borderColor-hover: var(--button-default-borderColor-rest);
1785
1782
  --button-default-fgColor-rest: var(--control-fgColor-rest);