@primer/primitives 0.0.0-20260414072928 → 0.0.0-20260414084630
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 +28 -20
- package/DESIGN_TOKENS_SPEC.md +78 -12
- package/dist/build/platforms/css.js +0 -1
- package/dist/build/transformers/transitionToCss.js +5 -1
- package/dist/css/functional/motion/motion.css +15 -0
- package/dist/css/functional/size/border.css +2 -4
- package/dist/css/functional/size/size.css +0 -5
- package/dist/css/functional/themes/dark-colorblind-high-contrast.css +4 -8
- package/dist/css/functional/themes/dark-colorblind.css +4 -8
- package/dist/css/functional/themes/dark-dimmed-high-contrast.css +4 -8
- package/dist/css/functional/themes/dark-dimmed.css +4 -8
- package/dist/css/functional/themes/dark-high-contrast.css +4 -8
- package/dist/css/functional/themes/dark-tritanopia-high-contrast.css +4 -8
- package/dist/css/functional/themes/dark-tritanopia.css +4 -8
- package/dist/css/functional/themes/dark.css +4 -8
- package/dist/css/functional/themes/light-colorblind-high-contrast.css +6 -10
- package/dist/css/functional/themes/light-colorblind.css +6 -10
- package/dist/css/functional/themes/light-high-contrast.css +34 -38
- package/dist/css/functional/themes/light-tritanopia-high-contrast.css +6 -10
- package/dist/css/functional/themes/light-tritanopia.css +6 -10
- package/dist/css/functional/themes/light.css +6 -10
- package/dist/css/functional/typography/typography.css +0 -1
- package/dist/css/primitives.css +1 -0
- package/dist/docs/functional/motion/motion.json +427 -0
- package/dist/docs/functional/size/border.json +12 -74
- package/dist/docs/functional/size/size.json +0 -135
- package/dist/docs/functional/themes/dark-colorblind-high-contrast.json +17 -217
- package/dist/docs/functional/themes/dark-colorblind.json +17 -217
- package/dist/docs/functional/themes/dark-dimmed-high-contrast.json +17 -217
- package/dist/docs/functional/themes/dark-dimmed.json +17 -217
- package/dist/docs/functional/themes/dark-high-contrast.json +17 -217
- package/dist/docs/functional/themes/dark-tritanopia-high-contrast.json +17 -217
- package/dist/docs/functional/themes/dark-tritanopia.json +17 -217
- package/dist/docs/functional/themes/dark.json +17 -217
- package/dist/docs/functional/themes/light-colorblind-high-contrast.json +19 -219
- package/dist/docs/functional/themes/light-colorblind.json +19 -219
- package/dist/docs/functional/themes/light-high-contrast.json +44 -244
- package/dist/docs/functional/themes/light-tritanopia-high-contrast.json +19 -219
- package/dist/docs/functional/themes/light-tritanopia.json +19 -219
- package/dist/docs/functional/themes/light.json +19 -219
- package/dist/docs/functional/typography/typography.json +0 -35
- package/dist/fallbacks/color-fallbacks.json +0 -1
- package/dist/fallbacks/functional/motion/motion.json +51 -0
- package/dist/fallbacks/functional/size/border.json +0 -2
- package/dist/fallbacks/functional/size/size.json +0 -5
- package/dist/fallbacks/functional/typography/typography.json +0 -1
- package/dist/figma/dimension/dimension.json +22 -101
- package/dist/figma/figma.json +1 -1
- package/dist/figma/themes/dark-colorblind.json +17 -34
- package/dist/figma/themes/dark-dimmed.json +17 -34
- package/dist/figma/themes/dark-high-contrast.json +17 -34
- package/dist/figma/themes/dark-tritanopia.json +17 -34
- package/dist/figma/themes/dark.json +17 -34
- package/dist/figma/themes/light-colorblind.json +18 -35
- package/dist/figma/themes/light-high-contrast.json +60 -80
- package/dist/figma/themes/light-tritanopia.json +18 -35
- package/dist/figma/themes/light.json +18 -35
- package/dist/figma/typography/typography.json +0 -7
- package/dist/internalCss/dark-colorblind-high-contrast.css +22 -14
- package/dist/internalCss/dark-colorblind.css +22 -14
- package/dist/internalCss/dark-dimmed-high-contrast.css +22 -14
- package/dist/internalCss/dark-dimmed.css +22 -14
- package/dist/internalCss/dark-high-contrast.css +22 -14
- package/dist/internalCss/dark-tritanopia-high-contrast.css +22 -14
- package/dist/internalCss/dark-tritanopia.css +22 -14
- package/dist/internalCss/dark.css +22 -14
- package/dist/internalCss/light-colorblind-high-contrast.css +24 -16
- package/dist/internalCss/light-colorblind.css +24 -16
- package/dist/internalCss/light-high-contrast.css +52 -44
- package/dist/internalCss/light-tritanopia-high-contrast.css +24 -16
- package/dist/internalCss/light-tritanopia.css +24 -16
- package/dist/internalCss/light.css +24 -16
- package/dist/styleLint/functional/motion/motion.json +427 -0
- package/dist/styleLint/functional/size/border.json +13 -75
- package/dist/styleLint/functional/size/size.json +0 -135
- package/dist/styleLint/functional/themes/dark-colorblind-high-contrast.json +16 -220
- package/dist/styleLint/functional/themes/dark-colorblind.json +16 -220
- package/dist/styleLint/functional/themes/dark-dimmed-high-contrast.json +16 -220
- package/dist/styleLint/functional/themes/dark-dimmed.json +16 -220
- package/dist/styleLint/functional/themes/dark-high-contrast.json +16 -220
- package/dist/styleLint/functional/themes/dark-tritanopia-high-contrast.json +16 -220
- package/dist/styleLint/functional/themes/dark-tritanopia.json +16 -220
- package/dist/styleLint/functional/themes/dark.json +16 -220
- package/dist/styleLint/functional/themes/light-colorblind-high-contrast.json +18 -222
- package/dist/styleLint/functional/themes/light-colorblind.json +18 -222
- package/dist/styleLint/functional/themes/light-high-contrast.json +43 -247
- package/dist/styleLint/functional/themes/light-tritanopia-high-contrast.json +18 -222
- package/dist/styleLint/functional/themes/light-tritanopia.json +18 -222
- package/dist/styleLint/functional/themes/light.json +18 -222
- package/dist/styleLint/functional/typography/typography.json +0 -35
- package/package.json +1 -1
- package/src/tokens/fallback/color-fallbacks.json +0 -1
- package/src/tokens/functional/border/border.json5 +20 -0
- package/src/tokens/functional/color/fgColor.json5 +3 -3
- package/src/tokens/functional/color/focus.json5 +20 -0
- package/src/tokens/functional/motion/motion.json5 +190 -0
- package/src/tokens/functional/shadow/shadow.json5 +1 -100
- package/src/tokens/functional/size/border.json5 +30 -0
- package/src/tokens/functional/size/size.json5 +0 -50
- package/src/tokens/functional/typography/typography.json5 +0 -14
- package/src/tokens/component/focus.json5 +0 -104
package/DESIGN_TOKENS_GUIDE.md
CHANGED
|
@@ -65,18 +65,26 @@
|
|
|
65
65
|
|
|
66
66
|
### Motion
|
|
67
67
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
|
77
|
-
|
|
|
78
|
-
|
|
|
79
|
-
|
|
|
68
|
+
```
|
|
69
|
+
--motion-[property]-[semantic]
|
|
70
|
+
├── property: duration | easing | transition
|
|
71
|
+
└── semantic: micro | short | medium | long (duration)
|
|
72
|
+
hover | enter | exit | move | linear (easing)
|
|
73
|
+
hover | stateChange | enter | exit (transition)
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
| Keyword | Rule |
|
|
77
|
+
| ------- | -------------------------------------------------------------------------- |
|
|
78
|
+
| MUST | Use `motion.transition.*` tokens for interactive state changes |
|
|
79
|
+
| MUST | Keep animations ≤`motion.duration.medium` (300ms) for UI interactions |
|
|
80
|
+
| MUST | Respect `prefers-reduced-motion` media query |
|
|
81
|
+
| MUST | Provide instant alternatives when motion is reduced |
|
|
82
|
+
| SHOULD | Use `motion.duration.micro` (100ms) for hover and focus micro-interactions |
|
|
83
|
+
| SHOULD | Use `motion.duration.short` (200ms) for state changes |
|
|
84
|
+
| NEVER | Exceed `motion.duration.long` (500ms) for UI interactions |
|
|
85
|
+
| NEVER | Use motion purely for decoration |
|
|
86
|
+
| NEVER | Create indefinitely looping motion without user control |
|
|
87
|
+
| NEVER | Rely solely on motion to convey information |
|
|
80
88
|
|
|
81
89
|
### Typography
|
|
82
90
|
|
|
@@ -126,10 +134,10 @@
|
|
|
126
134
|
|
|
127
135
|
## Decision Tree: Easing Selection
|
|
128
136
|
|
|
129
|
-
1. Is element entering/exiting viewport? →
|
|
130
|
-
2. Is element moving/morphing on screen? →
|
|
131
|
-
3. Is this a hover state change? →
|
|
132
|
-
4. Is this constant motion (loaders)? → linear
|
|
137
|
+
1. Is element entering/exiting viewport? → `motion.easing.enter` / `motion.easing.exit`
|
|
138
|
+
2. Is element moving/morphing on screen? → `motion.easing.move`
|
|
139
|
+
3. Is this a hover state change? → `motion.easing.hover`
|
|
140
|
+
4. Is this constant motion (loaders)? → `motion.easing.linear`
|
|
133
141
|
|
|
134
142
|
---
|
|
135
143
|
|
|
@@ -148,11 +156,11 @@
|
|
|
148
156
|
font: var(--text-body-shorthand-medium);
|
|
149
157
|
cursor: pointer;
|
|
150
158
|
|
|
151
|
-
/* Motion:
|
|
159
|
+
/* Motion: Use functional motion tokens */
|
|
152
160
|
transition:
|
|
153
|
-
background-color
|
|
154
|
-
box-shadow
|
|
155
|
-
transform
|
|
161
|
+
background-color var(--motion-transition-hover),
|
|
162
|
+
box-shadow var(--motion-transition-hover),
|
|
163
|
+
transform var(--motion-transition-hover);
|
|
156
164
|
}
|
|
157
165
|
|
|
158
166
|
/* State: Hover */
|
package/DESIGN_TOKENS_SPEC.md
CHANGED
|
@@ -233,7 +233,7 @@ Tokens for interactive controls like buttons, inputs, and selects.
|
|
|
233
233
|
**Scale:** Use xsmall/small for dense layouts, medium for default UI, large/xlarge for prominent CTAs.
|
|
234
234
|
|
|
235
235
|
**Size patterns:**
|
|
236
|
-
- `control-[xsmall, small, medium, large, xlarge]-[gap,
|
|
236
|
+
- `control-[xsmall, small, medium, large, xlarge]-[gap, paddingBlock, paddingInline-condensed, paddingInline-normal, paddingInline-spacious, size]`
|
|
237
237
|
|
|
238
238
|
**State variants:**
|
|
239
239
|
- `control-checked-[bgColor-active, bgColor-disabled, bgColor-hover, bgColor-rest, borderColor-active, borderColor-disabled, borderColor-hover, borderColor-rest, fgColor-disabled, fgColor-rest]`
|
|
@@ -400,16 +400,11 @@ Focus ring outline for keyboard navigation and accessibility.
|
|
|
400
400
|
**U:** accessibility-indicator, focus-ring, keyboard-navigation
|
|
401
401
|
**R:** Always ensure focus states are visible. Do not override with custom focus styles that reduce visibility. Use for interactive elements like buttons, links, and form controls.
|
|
402
402
|
|
|
403
|
-
### focus-
|
|
403
|
+
### focus-outlineColor
|
|
404
404
|
Outline color for focus states on interactive elements
|
|
405
405
|
**U:** accessibility-indicator, focus-ring, keyboard-navigation
|
|
406
406
|
**R:** Use for focus outlines on interactive elements like buttons, links, and form controls. MUST be visible for keyboard navigation accessibility. Do NOT use for decorative borders or non-interactive elements.
|
|
407
407
|
|
|
408
|
-
### focus-outline-width
|
|
409
|
-
Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements
|
|
410
|
-
**U:** accessibility, focus-ring, keyboard-focus
|
|
411
|
-
**R:** MUST use for all keyboard focus indicators. Required for WCAG 2.4.7 compliance.
|
|
412
|
-
|
|
413
408
|
## Font Stacks
|
|
414
409
|
|
|
415
410
|
Font family tokens.
|
|
@@ -429,6 +424,82 @@ Display font stack for headings and titles. Same as sansSerif but semantically d
|
|
|
429
424
|
**U:** display-text, heading, title
|
|
430
425
|
**R:** Use for headings and display text. Prefer over sansSerif for titles.
|
|
431
426
|
|
|
427
|
+
## Motion
|
|
428
|
+
|
|
429
|
+
### motion-duration-long
|
|
430
|
+
Longer duration for complex multi-step animations or large-scale layout shifts. Use sparingly.
|
|
431
|
+
**U:** complex-animation, layout-shift, multi-step
|
|
432
|
+
**R:** Use sparingly for complex animations. NEVER use for simple UI interactions.
|
|
433
|
+
|
|
434
|
+
### motion-duration-medium
|
|
435
|
+
Standard duration for elements entering or exiting the viewport, such as modals and dropdowns.
|
|
436
|
+
**U:** dropdown-appear, modal-open, tooltip-show
|
|
437
|
+
**R:** Use for elements entering or leaving the viewport. Maximum recommended duration for UI interactions.
|
|
438
|
+
|
|
439
|
+
### motion-duration-micro
|
|
440
|
+
Fast micro-interactions like hover, focus ring, and color shifts.
|
|
441
|
+
**U:** color-shift, focus-ring, hover-transition
|
|
442
|
+
**R:** Use for instantaneous feedback on hover and focus states.
|
|
443
|
+
|
|
444
|
+
### motion-duration-short
|
|
445
|
+
Quick transitions for state changes like expand/collapse, toggles, and visibility changes.
|
|
446
|
+
**U:** expand-collapse, toggle, visibility-change
|
|
447
|
+
**R:** Use for interactive state changes that need to feel responsive.
|
|
448
|
+
|
|
449
|
+
### motion-easing-enter
|
|
450
|
+
Decelerating easing for elements entering the viewport or appearing on screen.
|
|
451
|
+
**U:** element-appearing, enter-animation, modal-open
|
|
452
|
+
**R:** RECOMMENDED default for enter animations. Element decelerates into its final position.
|
|
453
|
+
|
|
454
|
+
### motion-easing-exit
|
|
455
|
+
Accelerating easing for elements exiting the viewport or leaving the screen.
|
|
456
|
+
**U:** element-leaving, exit-animation, modal-close
|
|
457
|
+
**R:** Use for elements leaving the viewport. Element accelerates away.
|
|
458
|
+
|
|
459
|
+
### motion-easing-hover
|
|
460
|
+
Easing for hover state changes and micro-interactions.
|
|
461
|
+
**U:** button-hover, hover-state, micro-interaction
|
|
462
|
+
**R:** Use for hover state changes.
|
|
463
|
+
|
|
464
|
+
### motion-easing-linear
|
|
465
|
+
Constant motion with no acceleration. Use for continuous animations like progress bars or loaders.
|
|
466
|
+
**U:** continuous-animation, loader, progress-bar
|
|
467
|
+
**R:** Use only for constant, uninterrupted motion.
|
|
468
|
+
|
|
469
|
+
### motion-easing-move
|
|
470
|
+
Smooth easing for elements moving or morphing within the viewport.
|
|
471
|
+
**U:** morph-animation, position-change, size-change
|
|
472
|
+
**R:** Use for elements that move or change shape on screen.
|
|
473
|
+
|
|
474
|
+
### motion-transition-enter
|
|
475
|
+
Transition for elements entering the viewport, such as modals, dropdowns, and tooltips.
|
|
476
|
+
**U:** dropdown-appear, modal-open, tooltip-show
|
|
477
|
+
**R:** Use for elements appearing on screen. Element decelerates into final position.
|
|
478
|
+
|
|
479
|
+
### motion-transition-exit
|
|
480
|
+
Transition for elements exiting the viewport, such as closing modals and dismissing dropdowns.
|
|
481
|
+
**U:** dropdown-dismiss, modal-close, tooltip-hide
|
|
482
|
+
**R:** Use for elements leaving the screen. Shorter than enter to feel snappy.
|
|
483
|
+
|
|
484
|
+
### motion-transition-hover
|
|
485
|
+
Transition for hover state changes on interactive elements like buttons and links.
|
|
486
|
+
**U:** button-hover, interactive-hover, link-hover
|
|
487
|
+
**R:** Use for all hover state transitions. Keeps interactions feeling instantaneous.
|
|
488
|
+
|
|
489
|
+
### motion-transition-stateChange
|
|
490
|
+
Transition for state changes like toggles, expand/collapse, and visibility changes.
|
|
491
|
+
**U:** accordion, expand-collapse, toggle
|
|
492
|
+
**R:** Use for interactive elements that change between states.
|
|
493
|
+
|
|
494
|
+
## Outline
|
|
495
|
+
|
|
496
|
+
Outline tokens for focus indicators.
|
|
497
|
+
|
|
498
|
+
### outline-focus-width
|
|
499
|
+
Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements
|
|
500
|
+
**U:** accessibility, focus-ring, keyboard-focus
|
|
501
|
+
**R:** MUST use for all keyboard focus indicators. Required for WCAG 2.4.7 compliance.
|
|
502
|
+
|
|
432
503
|
## Overlay
|
|
433
504
|
|
|
434
505
|
Tokens for modals, dialogs, popovers, and dropdown menus.
|
|
@@ -466,11 +537,6 @@ Large floating shadow for modals and dialogs
|
|
|
466
537
|
**U:** dialog, full-screen-overlay, modal
|
|
467
538
|
**R:** MUST use for modals and dialogs. Do NOT use for small floating elements.
|
|
468
539
|
|
|
469
|
-
### shadow-floating-legacy
|
|
470
|
-
Legacy floating shadow for backward compatibility
|
|
471
|
-
**U:** backward-compatibility, legacy-component
|
|
472
|
-
**R:** DEPRECATED: Use shadow-floating-small instead. Only use for maintaining backward compatibility with existing implementations.
|
|
473
|
-
|
|
474
540
|
### shadow-floating-medium
|
|
475
541
|
Medium floating shadow for popovers and action menus
|
|
476
542
|
**U:** action-menu, popover, select-panel
|
|
@@ -49,7 +49,6 @@ export const css = (outputFile, prefix, buildPath, options) => {
|
|
|
49
49
|
filter: token => isSource(token) &&
|
|
50
50
|
(options === null || options === void 0 ? void 0 : options.themed) === true &&
|
|
51
51
|
token.$type !== 'custom-viewportRange' &&
|
|
52
|
-
token.$type !== 'dimension' &&
|
|
53
52
|
!isFromFile(token, [
|
|
54
53
|
'src/tokens/functional/size/size-coarse.json5',
|
|
55
54
|
'src/tokens/functional/size/size-fine.json5',
|
|
@@ -22,6 +22,10 @@ export const transitionToCss = {
|
|
|
22
22
|
}
|
|
23
23
|
// check required properties
|
|
24
24
|
checkRequiredTokenProperties(value, ['duration', 'timingFunction']);
|
|
25
|
-
|
|
25
|
+
// timingFunction may already be a CSS string if resolved from a cubicBezier reference
|
|
26
|
+
const timing = typeof value.timingFunction === 'string'
|
|
27
|
+
? value.timingFunction
|
|
28
|
+
: cubicBezierArrayToCss(value.timingFunction, token.path);
|
|
29
|
+
return `${value.duration} ${timing} ${value.delay ? value.delay : ''}`.trim();
|
|
26
30
|
},
|
|
27
31
|
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--motion-duration-long: var(--base-duration-500); /** Longer duration for complex multi-step animations or large-scale layout shifts. Use sparingly. */
|
|
3
|
+
--motion-duration-medium: var(--base-duration-300); /** Standard duration for elements entering or exiting the viewport, such as modals and dropdowns. */
|
|
4
|
+
--motion-duration-micro: var(--base-duration-100); /** Fast micro-interactions like hover, focus ring, and color shifts. */
|
|
5
|
+
--motion-duration-short: var(--base-duration-200); /** Quick transitions for state changes like expand/collapse, toggles, and visibility changes. */
|
|
6
|
+
--motion-easing-enter: var(--base-easing-easeOut); /** Decelerating easing for elements entering the viewport or appearing on screen. */
|
|
7
|
+
--motion-easing-exit: var(--base-easing-easeIn); /** Accelerating easing for elements exiting the viewport or leaving the screen. */
|
|
8
|
+
--motion-easing-hover: var(--base-easing-ease); /** Easing for hover state changes and micro-interactions. */
|
|
9
|
+
--motion-easing-linear: var(--base-easing-linear); /** Constant motion with no acceleration. Use for continuous animations like progress bars or loaders. */
|
|
10
|
+
--motion-easing-move: var(--base-easing-easeInOut); /** Smooth easing for elements moving or morphing within the viewport. */
|
|
11
|
+
--motion-transition-enter: var(--motion-duration-medium) var(--motion-easing-enter); /** Transition for elements entering the viewport, such as modals, dropdowns, and tooltips. */
|
|
12
|
+
--motion-transition-exit: var(--motion-duration-short) var(--motion-easing-exit); /** Transition for elements exiting the viewport, such as closing modals and dismissing dropdowns. */
|
|
13
|
+
--motion-transition-hover: var(--motion-duration-micro) var(--motion-easing-hover); /** Transition for hover state changes on interactive elements like buttons and links. */
|
|
14
|
+
--motion-transition-stateChange: var(--motion-duration-short) var(--motion-easing-move); /** Transition for state changes like toggles, expand/collapse, and visibility changes. */
|
|
15
|
+
}
|
|
@@ -2,12 +2,10 @@
|
|
|
2
2
|
--borderWidth-thick: 0.125rem; /** Thick 2px border for emphasis. Use for focus indicators, selected states, or to emphasize important boundaries */
|
|
3
3
|
--borderWidth-thicker: 0.25rem; /** Extra thick 4px border for maximum emphasis. Use sparingly for high-contrast focus indicators or critical visual separators */
|
|
4
4
|
--borderWidth-thin: 0.0625rem; /** Standard 1px border width. Use for most borders, dividers, and outlines throughout the interface */
|
|
5
|
-
--focus-
|
|
6
|
-
--focus-
|
|
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
7
|
--borderWidth-default: var(--borderWidth-thin); /** Default border width for most UI elements. Alias of borderWidth.thin (1px) */
|
|
8
8
|
--boxShadow-thick: inset 0 0 0 var(--borderWidth-thick); /** Thick shadow (2px) used instead of a border for emphasis without layout shift */
|
|
9
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
10
|
--boxShadow-thin: inset 0 0 0 var(--borderWidth-thin); /** Thin shadow used instead of a border to prevent layout shift */
|
|
11
|
-
--outline-focus-offset: var(--focus-outline-offset); /** Deprecated. Use focus.outline-offset instead. */
|
|
12
|
-
--outline-focus-width: var(--focus-outline-width); /** Deprecated. Use focus.outline-width instead. */
|
|
13
11
|
}
|
|
@@ -15,13 +15,11 @@
|
|
|
15
15
|
--overlay-width-xsmall: 12rem;
|
|
16
16
|
--spinner-strokeWidth-default: 0.125rem;
|
|
17
17
|
--control-large-gap: 0.5rem;
|
|
18
|
-
--control-large-lineBoxHeight: 1.25rem;
|
|
19
18
|
--control-large-paddingInline-condensed: 0.5rem;
|
|
20
19
|
--control-large-paddingInline-normal: 0.75rem;
|
|
21
20
|
--control-large-paddingInline-spacious: 1rem;
|
|
22
21
|
--control-large-size: 2.5rem;
|
|
23
22
|
--control-medium-gap: 0.5rem;
|
|
24
|
-
--control-medium-lineBoxHeight: 1.25rem;
|
|
25
23
|
--control-medium-paddingInline-condensed: 0.5rem;
|
|
26
24
|
--control-medium-paddingInline-normal: 0.75rem;
|
|
27
25
|
--control-medium-paddingInline-spacious: 1rem;
|
|
@@ -29,20 +27,17 @@
|
|
|
29
27
|
--control-minTarget-coarse: 2.75rem;
|
|
30
28
|
--control-minTarget-fine: 1rem;
|
|
31
29
|
--control-small-gap: 0.25rem;
|
|
32
|
-
--control-small-lineBoxHeight: 1.25rem;
|
|
33
30
|
--control-small-paddingBlock: 0.25rem;
|
|
34
31
|
--control-small-paddingInline-condensed: 0.5rem;
|
|
35
32
|
--control-small-paddingInline-normal: 0.75rem;
|
|
36
33
|
--control-small-paddingInline-spacious: 1rem;
|
|
37
34
|
--control-small-size: 1.75rem;
|
|
38
35
|
--control-xlarge-gap: 0.5rem;
|
|
39
|
-
--control-xlarge-lineBoxHeight: 1.25rem;
|
|
40
36
|
--control-xlarge-paddingInline-condensed: 0.5rem;
|
|
41
37
|
--control-xlarge-paddingInline-normal: 0.75rem;
|
|
42
38
|
--control-xlarge-paddingInline-spacious: 1rem;
|
|
43
39
|
--control-xlarge-size: 3rem;
|
|
44
40
|
--control-xsmall-gap: 0.25rem;
|
|
45
|
-
--control-xsmall-lineBoxHeight: 1.25rem;
|
|
46
41
|
--control-xsmall-paddingInline-condensed: 0.25rem;
|
|
47
42
|
--control-xsmall-paddingInline-normal: 0.5rem;
|
|
48
43
|
--control-xsmall-paddingInline-spacious: 0.75rem;
|
|
@@ -765,7 +765,7 @@
|
|
|
765
765
|
--fgColor-onEmphasis: #ffffff; /** Text color for use on emphasis backgrounds */
|
|
766
766
|
--fgColor-onInverse: #010409; /** Text color for use on inverse backgrounds */
|
|
767
767
|
--fgColor-white: #ffffff; /** Pure white text */
|
|
768
|
-
--focus-
|
|
768
|
+
--focus-outlineColor: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
769
769
|
--header-fgColor-default: #ffffffb3;
|
|
770
770
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
771
771
|
--label-blue-borderColor: var(--label-blue-fgColor-rest);
|
|
@@ -798,7 +798,6 @@
|
|
|
798
798
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
799
799
|
--selectMenu-borderColor: var(--borderColor-default);
|
|
800
800
|
--selection-bgColor: #194fb1b3; /** Background color for text selection highlights */
|
|
801
|
-
--shadow-floating-legacy: 0 6px 12px -3px #01040966, 0 6px 18px 0 #01040966; /** Legacy floating shadow for backward compatibility */
|
|
802
801
|
--shadow-inset: inset 0 1px 0 0 #0104093d; /** Inset shadow for recessed elements */
|
|
803
802
|
--shadow-resting-medium: 0 1px 1px 0 #01040966, 0 3px 6px 0 #010409cc; /** Medium resting shadow for cards and elevated surfaces */
|
|
804
803
|
--shadow-resting-small: 0 1px 1px 0 #01040999, 0 1px 3px 0 #01040999; /** Small resting shadow for buttons and interactive elements */
|
|
@@ -877,8 +876,7 @@
|
|
|
877
876
|
--diffBlob-expander-iconColor: var(--fgColor-default);
|
|
878
877
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
879
878
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
880
|
-
--focus-outline:
|
|
881
|
-
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
879
|
+
--focus-outline: 2px solid #409eff; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
882
880
|
--page-header-bgColor: var(--bgColor-default);
|
|
883
881
|
--progressBar-track-bgColor: var(--bgColor-inverse);
|
|
884
882
|
--shadow-floating-large: 0 0 0 1px #b7bdc8, 0 24px 48px 0 #010409; /** Large floating shadow for modals and dialogs */
|
|
@@ -1669,7 +1667,7 @@
|
|
|
1669
1667
|
--fgColor-onEmphasis: #ffffff; /** Text color for use on emphasis backgrounds */
|
|
1670
1668
|
--fgColor-onInverse: #010409; /** Text color for use on inverse backgrounds */
|
|
1671
1669
|
--fgColor-white: #ffffff; /** Pure white text */
|
|
1672
|
-
--focus-
|
|
1670
|
+
--focus-outlineColor: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
1673
1671
|
--header-fgColor-default: #ffffffb3;
|
|
1674
1672
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
1675
1673
|
--label-blue-borderColor: var(--label-blue-fgColor-rest);
|
|
@@ -1702,7 +1700,6 @@
|
|
|
1702
1700
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
1703
1701
|
--selectMenu-borderColor: var(--borderColor-default);
|
|
1704
1702
|
--selection-bgColor: #194fb1b3; /** Background color for text selection highlights */
|
|
1705
|
-
--shadow-floating-legacy: 0 6px 12px -3px #01040966, 0 6px 18px 0 #01040966; /** Legacy floating shadow for backward compatibility */
|
|
1706
1703
|
--shadow-inset: inset 0 1px 0 0 #0104093d; /** Inset shadow for recessed elements */
|
|
1707
1704
|
--shadow-resting-medium: 0 1px 1px 0 #01040966, 0 3px 6px 0 #010409cc; /** Medium resting shadow for cards and elevated surfaces */
|
|
1708
1705
|
--shadow-resting-small: 0 1px 1px 0 #01040999, 0 1px 3px 0 #01040999; /** Small resting shadow for buttons and interactive elements */
|
|
@@ -1781,8 +1778,7 @@
|
|
|
1781
1778
|
--diffBlob-expander-iconColor: var(--fgColor-default);
|
|
1782
1779
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
1783
1780
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
1784
|
-
--focus-outline:
|
|
1785
|
-
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
1781
|
+
--focus-outline: 2px solid #409eff; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
1786
1782
|
--page-header-bgColor: var(--bgColor-default);
|
|
1787
1783
|
--progressBar-track-bgColor: var(--bgColor-inverse);
|
|
1788
1784
|
--shadow-floating-large: 0 0 0 1px #b7bdc8, 0 24px 48px 0 #010409; /** Large floating shadow for modals and dialogs */
|
|
@@ -804,7 +804,7 @@
|
|
|
804
804
|
--fgColor-onInverse: #010409; /** Text color for use on inverse backgrounds */
|
|
805
805
|
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
806
806
|
--fgColor-white: #ffffff; /** Pure white text */
|
|
807
|
-
--focus-
|
|
807
|
+
--focus-outlineColor: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
808
808
|
--header-fgColor-default: #ffffffb3;
|
|
809
809
|
--overlay-bgColor: #010409;
|
|
810
810
|
--page-header-bgColor: var(--bgColor-default);
|
|
@@ -820,7 +820,6 @@
|
|
|
820
820
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
821
821
|
--selectMenu-borderColor: var(--borderColor-default);
|
|
822
822
|
--selection-bgColor: #1f6febb3; /** Background color for text selection highlights */
|
|
823
|
-
--shadow-floating-legacy: 0 6px 12px -3px #01040966, 0 6px 18px 0 #01040966; /** Legacy floating shadow for backward compatibility */
|
|
824
823
|
--shadow-inset: inset 0 1px 0 0 #0104093d; /** Inset shadow for recessed elements */
|
|
825
824
|
--shadow-resting-medium: 0 1px 1px 0 #01040966, 0 3px 6px 0 #010409cc; /** Medium resting shadow for cards and elevated surfaces */
|
|
826
825
|
--shadow-resting-small: 0 1px 1px 0 #01040999, 0 1px 3px 0 #01040999; /** Small resting shadow for buttons and interactive elements */
|
|
@@ -883,8 +882,7 @@
|
|
|
883
882
|
--controlTrack-fgColor-disabled: var(--fgColor-onEmphasis);
|
|
884
883
|
--dashboard-bgColor: var(--bgColor-inset);
|
|
885
884
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
886
|
-
--focus-outline:
|
|
887
|
-
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
885
|
+
--focus-outline: 2px solid #1f6feb; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
888
886
|
--overlay-borderColor: var(--borderColor-muted);
|
|
889
887
|
--tooltip-fgColor: var(--fgColor-onEmphasis);
|
|
890
888
|
--border-draft-emphasis: 0.0625rem solid #656c76;
|
|
@@ -1708,7 +1706,7 @@
|
|
|
1708
1706
|
--fgColor-onInverse: #010409; /** Text color for use on inverse backgrounds */
|
|
1709
1707
|
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
1710
1708
|
--fgColor-white: #ffffff; /** Pure white text */
|
|
1711
|
-
--focus-
|
|
1709
|
+
--focus-outlineColor: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
1712
1710
|
--header-fgColor-default: #ffffffb3;
|
|
1713
1711
|
--overlay-bgColor: #010409;
|
|
1714
1712
|
--page-header-bgColor: var(--bgColor-default);
|
|
@@ -1724,7 +1722,6 @@
|
|
|
1724
1722
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
1725
1723
|
--selectMenu-borderColor: var(--borderColor-default);
|
|
1726
1724
|
--selection-bgColor: #1f6febb3; /** Background color for text selection highlights */
|
|
1727
|
-
--shadow-floating-legacy: 0 6px 12px -3px #01040966, 0 6px 18px 0 #01040966; /** Legacy floating shadow for backward compatibility */
|
|
1728
1725
|
--shadow-inset: inset 0 1px 0 0 #0104093d; /** Inset shadow for recessed elements */
|
|
1729
1726
|
--shadow-resting-medium: 0 1px 1px 0 #01040966, 0 3px 6px 0 #010409cc; /** Medium resting shadow for cards and elevated surfaces */
|
|
1730
1727
|
--shadow-resting-small: 0 1px 1px 0 #01040999, 0 1px 3px 0 #01040999; /** Small resting shadow for buttons and interactive elements */
|
|
@@ -1787,8 +1784,7 @@
|
|
|
1787
1784
|
--controlTrack-fgColor-disabled: var(--fgColor-onEmphasis);
|
|
1788
1785
|
--dashboard-bgColor: var(--bgColor-inset);
|
|
1789
1786
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
1790
|
-
--focus-outline:
|
|
1791
|
-
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
1787
|
+
--focus-outline: 2px solid #1f6feb; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
1792
1788
|
--overlay-borderColor: var(--borderColor-muted);
|
|
1793
1789
|
--tooltip-fgColor: var(--fgColor-onEmphasis);
|
|
1794
1790
|
--border-draft-emphasis: 0.0625rem solid #656c76;
|
|
@@ -796,7 +796,7 @@
|
|
|
796
796
|
--fgColor-open: var(--fgColor-success); /** Text color for open state indicators (issues, PRs) */
|
|
797
797
|
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
798
798
|
--fgColor-white: #cdd9e5; /** Pure white text */
|
|
799
|
-
--focus-
|
|
799
|
+
--focus-outlineColor: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
800
800
|
--header-fgColor-default: #cdd9e5b3;
|
|
801
801
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
802
802
|
--label-blue-borderColor: var(--label-blue-fgColor-rest);
|
|
@@ -828,7 +828,6 @@
|
|
|
828
828
|
--progressBar-bgColor-success: var(--bgColor-success-emphasis);
|
|
829
829
|
--selectMenu-borderColor: var(--borderColor-default);
|
|
830
830
|
--selection-bgColor: #1b4b91b3; /** Background color for text selection highlights */
|
|
831
|
-
--shadow-floating-legacy: 0 6px 12px -3px #01040966, 0 6px 18px 0 #01040966; /** Legacy floating shadow for backward compatibility */
|
|
832
831
|
--shadow-inset: inset 0 1px 0 0 #0104093d; /** Inset shadow for recessed elements */
|
|
833
832
|
--shadow-resting-medium: 0 1px 1px 0 #01040966, 0 3px 6px 0 #010409cc; /** Medium resting shadow for cards and elevated surfaces */
|
|
834
833
|
--shadow-resting-small: 0 1px 1px 0 #01040999, 0 1px 3px 0 #01040999; /** Small resting shadow for buttons and interactive elements */
|
|
@@ -879,8 +878,7 @@
|
|
|
879
878
|
--controlKnob-borderColor-checked: var(--control-checked-bgColor-rest);
|
|
880
879
|
--controlKnob-borderColor-disabled: var(--control-bgColor-disabled);
|
|
881
880
|
--controlTrack-borderColor-rest: var(--borderColor-emphasis);
|
|
882
|
-
--focus-outline:
|
|
883
|
-
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
881
|
+
--focus-outline: 2px solid #6cb6ff; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
884
882
|
--progressBar-track-bgColor: var(--bgColor-inverse);
|
|
885
883
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
886
884
|
--shadow-floating-large: 0 0 0 1px #b7bdc8, 0 24px 48px 0 #010409; /** Large floating shadow for modals and dialogs */
|
|
@@ -1700,7 +1698,7 @@
|
|
|
1700
1698
|
--fgColor-open: var(--fgColor-success); /** Text color for open state indicators (issues, PRs) */
|
|
1701
1699
|
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
1702
1700
|
--fgColor-white: #cdd9e5; /** Pure white text */
|
|
1703
|
-
--focus-
|
|
1701
|
+
--focus-outlineColor: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
1704
1702
|
--header-fgColor-default: #cdd9e5b3;
|
|
1705
1703
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
1706
1704
|
--label-blue-borderColor: var(--label-blue-fgColor-rest);
|
|
@@ -1732,7 +1730,6 @@
|
|
|
1732
1730
|
--progressBar-bgColor-success: var(--bgColor-success-emphasis);
|
|
1733
1731
|
--selectMenu-borderColor: var(--borderColor-default);
|
|
1734
1732
|
--selection-bgColor: #1b4b91b3; /** Background color for text selection highlights */
|
|
1735
|
-
--shadow-floating-legacy: 0 6px 12px -3px #01040966, 0 6px 18px 0 #01040966; /** Legacy floating shadow for backward compatibility */
|
|
1736
1733
|
--shadow-inset: inset 0 1px 0 0 #0104093d; /** Inset shadow for recessed elements */
|
|
1737
1734
|
--shadow-resting-medium: 0 1px 1px 0 #01040966, 0 3px 6px 0 #010409cc; /** Medium resting shadow for cards and elevated surfaces */
|
|
1738
1735
|
--shadow-resting-small: 0 1px 1px 0 #01040999, 0 1px 3px 0 #01040999; /** Small resting shadow for buttons and interactive elements */
|
|
@@ -1783,8 +1780,7 @@
|
|
|
1783
1780
|
--controlKnob-borderColor-checked: var(--control-checked-bgColor-rest);
|
|
1784
1781
|
--controlKnob-borderColor-disabled: var(--control-bgColor-disabled);
|
|
1785
1782
|
--controlTrack-borderColor-rest: var(--borderColor-emphasis);
|
|
1786
|
-
--focus-outline:
|
|
1787
|
-
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
1783
|
+
--focus-outline: 2px solid #6cb6ff; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
1788
1784
|
--progressBar-track-bgColor: var(--bgColor-inverse);
|
|
1789
1785
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
1790
1786
|
--shadow-floating-large: 0 0 0 1px #b7bdc8, 0 24px 48px 0 #010409; /** Large floating shadow for modals and dialogs */
|
|
@@ -830,7 +830,7 @@
|
|
|
830
830
|
--fgColor-open: var(--fgColor-success); /** Text color for open state indicators (issues, PRs) */
|
|
831
831
|
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
832
832
|
--fgColor-white: #cdd9e5; /** Pure white text */
|
|
833
|
-
--focus-
|
|
833
|
+
--focus-outlineColor: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
834
834
|
--header-fgColor-default: #cdd9e5b3;
|
|
835
835
|
--page-header-bgColor: var(--bgColor-default);
|
|
836
836
|
--progressBar-bgColor-accent: var(--bgColor-accent-emphasis);
|
|
@@ -846,7 +846,6 @@
|
|
|
846
846
|
--selectMenu-borderColor: var(--borderColor-default);
|
|
847
847
|
--selection-bgColor: #316dcab3; /** Background color for text selection highlights */
|
|
848
848
|
--shadow-floating-large: 0 0 0 1px #3d444d, 0 24px 48px 0 #010409; /** Large floating shadow for modals and dialogs */
|
|
849
|
-
--shadow-floating-legacy: 0 6px 12px -3px #01040966, 0 6px 18px 0 #01040966; /** Legacy floating shadow for backward compatibility */
|
|
850
849
|
--shadow-floating-medium: 0 0 0 1px #3d444d, 0 8px 16px -4px #01040966, 0 4px 32px -4px #01040966, 0 24px 48px -12px #01040966, 0 48px 96px -24px #01040966; /** Medium floating shadow for popovers and action menus */
|
|
851
850
|
--shadow-floating-small: 0 0 0 1px #3d444d, 0 6px 12px -3px #01040966, 0 6px 18px 0 #01040966; /** Small floating shadow for dropdowns, tooltips, and small overlays */
|
|
852
851
|
--shadow-floating-xlarge: 0 0 0 1px #3d444d, 0 32px 64px 0 #010409; /** Extra large floating shadow for full-screen overlays and sheets */
|
|
@@ -896,8 +895,7 @@
|
|
|
896
895
|
--controlKnob-bgColor-disabled: var(--control-bgColor-disabled);
|
|
897
896
|
--controlKnob-borderColor-checked: var(--control-checked-bgColor-rest);
|
|
898
897
|
--controlKnob-borderColor-disabled: var(--control-bgColor-disabled);
|
|
899
|
-
--focus-outline:
|
|
900
|
-
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
898
|
+
--focus-outline: 2px solid #316dca; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
901
899
|
--border-draft-emphasis: 0.0625rem solid #656c76;
|
|
902
900
|
--button-danger-borderColor-hover: var(--button-primary-borderColor-rest);
|
|
903
901
|
--button-outline-borderColor-active: var(--button-outline-borderColor-hover);
|
|
@@ -1734,7 +1732,7 @@
|
|
|
1734
1732
|
--fgColor-open: var(--fgColor-success); /** Text color for open state indicators (issues, PRs) */
|
|
1735
1733
|
--fgColor-upsell: var(--fgColor-done); /** Text color for upsell and promotional content */
|
|
1736
1734
|
--fgColor-white: #cdd9e5; /** Pure white text */
|
|
1737
|
-
--focus-
|
|
1735
|
+
--focus-outlineColor: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
1738
1736
|
--header-fgColor-default: #cdd9e5b3;
|
|
1739
1737
|
--page-header-bgColor: var(--bgColor-default);
|
|
1740
1738
|
--progressBar-bgColor-accent: var(--bgColor-accent-emphasis);
|
|
@@ -1750,7 +1748,6 @@
|
|
|
1750
1748
|
--selectMenu-borderColor: var(--borderColor-default);
|
|
1751
1749
|
--selection-bgColor: #316dcab3; /** Background color for text selection highlights */
|
|
1752
1750
|
--shadow-floating-large: 0 0 0 1px #3d444d, 0 24px 48px 0 #010409; /** Large floating shadow for modals and dialogs */
|
|
1753
|
-
--shadow-floating-legacy: 0 6px 12px -3px #01040966, 0 6px 18px 0 #01040966; /** Legacy floating shadow for backward compatibility */
|
|
1754
1751
|
--shadow-floating-medium: 0 0 0 1px #3d444d, 0 8px 16px -4px #01040966, 0 4px 32px -4px #01040966, 0 24px 48px -12px #01040966, 0 48px 96px -24px #01040966; /** Medium floating shadow for popovers and action menus */
|
|
1755
1752
|
--shadow-floating-small: 0 0 0 1px #3d444d, 0 6px 12px -3px #01040966, 0 6px 18px 0 #01040966; /** Small floating shadow for dropdowns, tooltips, and small overlays */
|
|
1756
1753
|
--shadow-floating-xlarge: 0 0 0 1px #3d444d, 0 32px 64px 0 #010409; /** Extra large floating shadow for full-screen overlays and sheets */
|
|
@@ -1800,8 +1797,7 @@
|
|
|
1800
1797
|
--controlKnob-bgColor-disabled: var(--control-bgColor-disabled);
|
|
1801
1798
|
--controlKnob-borderColor-checked: var(--control-checked-bgColor-rest);
|
|
1802
1799
|
--controlKnob-borderColor-disabled: var(--control-bgColor-disabled);
|
|
1803
|
-
--focus-outline:
|
|
1804
|
-
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
1800
|
+
--focus-outline: 2px solid #316dca; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
1805
1801
|
--border-draft-emphasis: 0.0625rem solid #656c76;
|
|
1806
1802
|
--button-danger-borderColor-hover: var(--button-primary-borderColor-rest);
|
|
1807
1803
|
--button-outline-borderColor-active: var(--button-outline-borderColor-hover);
|
|
@@ -765,7 +765,7 @@
|
|
|
765
765
|
--fgColor-onEmphasis: #ffffff; /** Text color for use on emphasis backgrounds */
|
|
766
766
|
--fgColor-onInverse: #010409; /** Text color for use on inverse backgrounds */
|
|
767
767
|
--fgColor-white: #ffffff; /** Pure white text */
|
|
768
|
-
--focus-
|
|
768
|
+
--focus-outlineColor: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
769
769
|
--header-fgColor-default: #ffffffb3;
|
|
770
770
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
771
771
|
--label-blue-borderColor: var(--label-blue-fgColor-rest);
|
|
@@ -798,7 +798,6 @@
|
|
|
798
798
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
799
799
|
--selectMenu-borderColor: var(--borderColor-default);
|
|
800
800
|
--selection-bgColor: #194fb1b3; /** Background color for text selection highlights */
|
|
801
|
-
--shadow-floating-legacy: 0 6px 12px -3px #01040966, 0 6px 18px 0 #01040966; /** Legacy floating shadow for backward compatibility */
|
|
802
801
|
--shadow-inset: inset 0 1px 0 0 #0104093d; /** Inset shadow for recessed elements */
|
|
803
802
|
--shadow-resting-medium: 0 1px 1px 0 #01040966, 0 3px 6px 0 #010409cc; /** Medium resting shadow for cards and elevated surfaces */
|
|
804
803
|
--shadow-resting-small: 0 1px 1px 0 #01040999, 0 1px 3px 0 #01040999; /** Small resting shadow for buttons and interactive elements */
|
|
@@ -875,8 +874,7 @@
|
|
|
875
874
|
--diffBlob-expander-iconColor: var(--fgColor-default);
|
|
876
875
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
877
876
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
878
|
-
--focus-outline:
|
|
879
|
-
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
877
|
+
--focus-outline: 2px solid #409eff; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
880
878
|
--page-header-bgColor: var(--bgColor-default);
|
|
881
879
|
--progressBar-track-bgColor: var(--bgColor-inverse);
|
|
882
880
|
--shadow-floating-large: 0 0 0 1px #b7bdc8, 0 24px 48px 0 #010409; /** Large floating shadow for modals and dialogs */
|
|
@@ -1669,7 +1667,7 @@
|
|
|
1669
1667
|
--fgColor-onEmphasis: #ffffff; /** Text color for use on emphasis backgrounds */
|
|
1670
1668
|
--fgColor-onInverse: #010409; /** Text color for use on inverse backgrounds */
|
|
1671
1669
|
--fgColor-white: #ffffff; /** Pure white text */
|
|
1672
|
-
--focus-
|
|
1670
|
+
--focus-outlineColor: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
1673
1671
|
--header-fgColor-default: #ffffffb3;
|
|
1674
1672
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
1675
1673
|
--label-blue-borderColor: var(--label-blue-fgColor-rest);
|
|
@@ -1702,7 +1700,6 @@
|
|
|
1702
1700
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
1703
1701
|
--selectMenu-borderColor: var(--borderColor-default);
|
|
1704
1702
|
--selection-bgColor: #194fb1b3; /** Background color for text selection highlights */
|
|
1705
|
-
--shadow-floating-legacy: 0 6px 12px -3px #01040966, 0 6px 18px 0 #01040966; /** Legacy floating shadow for backward compatibility */
|
|
1706
1703
|
--shadow-inset: inset 0 1px 0 0 #0104093d; /** Inset shadow for recessed elements */
|
|
1707
1704
|
--shadow-resting-medium: 0 1px 1px 0 #01040966, 0 3px 6px 0 #010409cc; /** Medium resting shadow for cards and elevated surfaces */
|
|
1708
1705
|
--shadow-resting-small: 0 1px 1px 0 #01040999, 0 1px 3px 0 #01040999; /** Small resting shadow for buttons and interactive elements */
|
|
@@ -1779,8 +1776,7 @@
|
|
|
1779
1776
|
--diffBlob-expander-iconColor: var(--fgColor-default);
|
|
1780
1777
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
1781
1778
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
1782
|
-
--focus-outline:
|
|
1783
|
-
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
1779
|
+
--focus-outline: 2px solid #409eff; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
1784
1780
|
--page-header-bgColor: var(--bgColor-default);
|
|
1785
1781
|
--progressBar-track-bgColor: var(--bgColor-inverse);
|
|
1786
1782
|
--shadow-floating-large: 0 0 0 1px #b7bdc8, 0 24px 48px 0 #010409; /** Large floating shadow for modals and dialogs */
|
|
@@ -765,7 +765,7 @@
|
|
|
765
765
|
--fgColor-onEmphasis: #ffffff; /** Text color for use on emphasis backgrounds */
|
|
766
766
|
--fgColor-onInverse: #010409; /** Text color for use on inverse backgrounds */
|
|
767
767
|
--fgColor-white: #ffffff; /** Pure white text */
|
|
768
|
-
--focus-
|
|
768
|
+
--focus-outlineColor: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
769
769
|
--header-fgColor-default: #ffffffb3;
|
|
770
770
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
771
771
|
--label-blue-borderColor: var(--label-blue-fgColor-rest);
|
|
@@ -798,7 +798,6 @@
|
|
|
798
798
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
799
799
|
--selectMenu-borderColor: var(--borderColor-default);
|
|
800
800
|
--selection-bgColor: #194fb1b3; /** Background color for text selection highlights */
|
|
801
|
-
--shadow-floating-legacy: 0 6px 12px -3px #01040966, 0 6px 18px 0 #01040966; /** Legacy floating shadow for backward compatibility */
|
|
802
801
|
--shadow-inset: inset 0 1px 0 0 #0104093d; /** Inset shadow for recessed elements */
|
|
803
802
|
--shadow-resting-medium: 0 1px 1px 0 #01040966, 0 3px 6px 0 #010409cc; /** Medium resting shadow for cards and elevated surfaces */
|
|
804
803
|
--shadow-resting-small: 0 1px 1px 0 #01040999, 0 1px 3px 0 #01040999; /** Small resting shadow for buttons and interactive elements */
|
|
@@ -877,8 +876,7 @@
|
|
|
877
876
|
--diffBlob-expander-iconColor: var(--fgColor-default);
|
|
878
877
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
879
878
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
880
|
-
--focus-outline:
|
|
881
|
-
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
879
|
+
--focus-outline: 2px solid #409eff; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
882
880
|
--page-header-bgColor: var(--bgColor-default);
|
|
883
881
|
--progressBar-track-bgColor: var(--bgColor-inverse);
|
|
884
882
|
--shadow-floating-large: 0 0 0 1px #b7bdc8, 0 24px 48px 0 #010409; /** Large floating shadow for modals and dialogs */
|
|
@@ -1669,7 +1667,7 @@
|
|
|
1669
1667
|
--fgColor-onEmphasis: #ffffff; /** Text color for use on emphasis backgrounds */
|
|
1670
1668
|
--fgColor-onInverse: #010409; /** Text color for use on inverse backgrounds */
|
|
1671
1669
|
--fgColor-white: #ffffff; /** Pure white text */
|
|
1672
|
-
--focus-
|
|
1670
|
+
--focus-outlineColor: var(--borderColor-accent-emphasis); /** Outline color for focus states on interactive elements */
|
|
1673
1671
|
--header-fgColor-default: #ffffffb3;
|
|
1674
1672
|
--label-auburn-borderColor: var(--label-auburn-fgColor-rest);
|
|
1675
1673
|
--label-blue-borderColor: var(--label-blue-fgColor-rest);
|
|
@@ -1702,7 +1700,6 @@
|
|
|
1702
1700
|
--reactionButton-selected-fgColor-rest: var(--fgColor-link);
|
|
1703
1701
|
--selectMenu-borderColor: var(--borderColor-default);
|
|
1704
1702
|
--selection-bgColor: #194fb1b3; /** Background color for text selection highlights */
|
|
1705
|
-
--shadow-floating-legacy: 0 6px 12px -3px #01040966, 0 6px 18px 0 #01040966; /** Legacy floating shadow for backward compatibility */
|
|
1706
1703
|
--shadow-inset: inset 0 1px 0 0 #0104093d; /** Inset shadow for recessed elements */
|
|
1707
1704
|
--shadow-resting-medium: 0 1px 1px 0 #01040966, 0 3px 6px 0 #010409cc; /** Medium resting shadow for cards and elevated surfaces */
|
|
1708
1705
|
--shadow-resting-small: 0 1px 1px 0 #01040999, 0 1px 3px 0 #01040999; /** Small resting shadow for buttons and interactive elements */
|
|
@@ -1781,8 +1778,7 @@
|
|
|
1781
1778
|
--diffBlob-expander-iconColor: var(--fgColor-default);
|
|
1782
1779
|
--diffBlob-hunkNum-fgColor-hover: var(--fgColor-onEmphasis);
|
|
1783
1780
|
--diffBlob-hunkNum-fgColor-rest: var(--fgColor-default);
|
|
1784
|
-
--focus-outline:
|
|
1785
|
-
--focus-outlineColor: var(--focus-outline-color); /** Deprecated. Use focus.outline-color instead. */
|
|
1781
|
+
--focus-outline: 2px solid #409eff; /** Focus ring outline for keyboard navigation and accessibility. */
|
|
1786
1782
|
--page-header-bgColor: var(--bgColor-default);
|
|
1787
1783
|
--progressBar-track-bgColor: var(--bgColor-inverse);
|
|
1788
1784
|
--shadow-floating-large: 0 0 0 1px #b7bdc8, 0 24px 48px 0 #010409; /** Large floating shadow for modals and dialogs */
|