@gitlab/ui 102.2.0 → 102.4.0
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/CHANGELOG.md +21 -0
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/tailwind.css.map +1 -1
- package/dist/tokens/build/js/tokens.dark.js +5 -5
- package/dist/tokens/build/js/tokens.js +1 -1
- package/dist/tokens/css/tokens.css +4 -4
- package/dist/tokens/css/tokens.dark.css +8 -8
- package/dist/tokens/js/tokens.dark.js +5 -5
- package/dist/tokens/js/tokens.js +1 -1
- package/dist/tokens/json/tokens.dark.json +15 -12
- package/dist/tokens/json/tokens.json +11 -8
- package/dist/tokens/scss/_tokens.dark.scss +8 -8
- package/dist/tokens/scss/_tokens.scss +4 -4
- package/dist/tokens/tailwind/tokens.cjs +1 -1
- package/package.json +2 -2
- package/src/components/base/loading_icon/loading_icon.scss +1 -1
- package/src/tokens/border.tokens.json +3 -3
- package/src/tokens/build/css/tokens.css +4 -4
- package/src/tokens/build/css/tokens.dark.css +8 -8
- package/src/tokens/build/js/tokens.dark.js +5 -5
- package/src/tokens/build/js/tokens.js +1 -1
- package/src/tokens/build/json/tokens.dark.json +15 -12
- package/src/tokens/build/json/tokens.json +11 -8
- package/src/tokens/build/scss/_tokens.dark.scss +8 -8
- package/src/tokens/build/scss/_tokens.scss +4 -4
- package/src/tokens/build/tailwind/tokens.cjs +1 -1
- package/src/tokens/contextual/button.tokens.json +4 -1
- package/src/tokens/contextual/spinner.tokens.json +2 -2
- package/src/tokens/shadow.tokens.json +1 -1
- package/tailwind.defaults.js +1 -1
|
@@ -459,7 +459,7 @@ $gl-background-color-section: $gl-color-neutral-0; // Used for containers, like
|
|
|
459
459
|
$gl-background-color-overlay: $gl-color-alpha-dark-24; // Used for an overlay that covers other content.
|
|
460
460
|
$gl-border-color-default: $gl-color-neutral-100; // Used for the default border color.
|
|
461
461
|
$gl-border-color-subtle: $gl-color-neutral-50; // Used for a subtle border in combination with the default background.
|
|
462
|
-
$gl-border-color-strong: $gl-color-neutral-
|
|
462
|
+
$gl-border-color-strong: $gl-color-neutral-200; // Used for a distinct border that emphasizes an edge or boundaries.
|
|
463
463
|
$gl-border-color-transparent: $gl-color-alpha-0; // Used when a border needs to be present, but not visibly perceived.
|
|
464
464
|
$gl-alert-neutral-border-top-color: $gl-color-alpha-0; // Used for the border center color of a neutral alert.
|
|
465
465
|
$gl-alert-neutral-border-bottom-color: $gl-color-alpha-0; // Used for the border bottom color of a neutral alert.
|
|
@@ -652,6 +652,7 @@ $gl-button-danger-secondary-border-color-active: $gl-color-red-900; // Used for
|
|
|
652
652
|
$gl-button-danger-tertiary-background-color-default: $gl-action-danger-background-color-default; // Used for the background of a borderless, tertiary danger (destructive) button in the default state.
|
|
653
653
|
$gl-button-danger-tertiary-background-color-hover: $gl-action-danger-background-color-hover; // Used for the background of a borderless, tertiary danger (destructive) button in the hover state.
|
|
654
654
|
$gl-button-danger-tertiary-background-color-active: $gl-action-danger-background-color-active; // Used for the background of a borderless, tertiary danger (destructive) button in the active state.
|
|
655
|
+
$gl-button-dashed-border-color-default: $gl-color-neutral-400; // Used for the border of a dashed button in the default state.
|
|
655
656
|
$gl-button-dashed-border-color-active: $gl-color-neutral-600; // Used for the border of a dashed button in the active state.
|
|
656
657
|
$gl-button-selected-border-color-default: $gl-color-neutral-300; // Used for the border of a selected button in the default state.
|
|
657
658
|
$gl-button-selected-border-color-hover: $gl-color-neutral-400; // Used for the border of a selected button in the hover state.
|
|
@@ -863,7 +864,8 @@ $gl-button-danger-tertiary-foreground-color-hover: $gl-action-danger-foreground-
|
|
|
863
864
|
$gl-button-danger-tertiary-foreground-color-active: $gl-action-danger-foreground-color-active; // Used for the foreground of a borderless, tertiary danger (destructive) button in the active state.
|
|
864
865
|
$gl-button-danger-tertiary-background-color-focus: $gl-action-danger-background-color-focus; // Used for the background of a borderless, tertiary danger (destructive) button in the focus state.
|
|
865
866
|
$gl-button-danger-tertiary-border-color-default: $gl-action-danger-border-color-default; // Used for the border of a borderless, tertiary danger (destructive) button in the default state.
|
|
866
|
-
$gl-button-dashed-border-color-
|
|
867
|
+
$gl-button-dashed-border-color-hover: $gl-button-dashed-border-color-default; // Used for the border of a dashed button in the hover state.
|
|
868
|
+
$gl-button-dashed-border-color-focus: $gl-button-dashed-border-color-default; // Used for the border of a dashed button in the focus state.
|
|
867
869
|
$gl-button-link-text-color-default: $gl-text-color-link; // Used for the text of a link button in the default state.
|
|
868
870
|
$gl-button-selected-foreground-color-default: $gl-button-default-primary-foreground-color-default; // Used for the foreground of a selected button in the default state.
|
|
869
871
|
$gl-button-selected-background-color-default: $gl-button-default-primary-background-color-default; // Used for the background of a selected button in the default state.
|
|
@@ -927,8 +929,6 @@ $gl-button-danger-tertiary-foreground-color-focus: $gl-action-danger-foreground-
|
|
|
927
929
|
$gl-button-danger-tertiary-border-color-hover: $gl-action-danger-border-color-hover; // Used for the border of a borderless, tertiary danger (destructive) button in the hover state.
|
|
928
930
|
$gl-button-danger-tertiary-border-color-focus: $gl-action-danger-border-color-focus; // Used for the border of a borderless, tertiary danger (destructive) button in the focus state.
|
|
929
931
|
$gl-button-danger-tertiary-border-color-active: $gl-action-danger-border-color-active; // Used for the border of a borderless, tertiary danger (destructive) button in the active state.
|
|
930
|
-
$gl-button-dashed-border-color-hover: $gl-button-dashed-border-color-default; // Used for the border of a dashed button in the hover state.
|
|
931
|
-
$gl-button-dashed-border-color-focus: $gl-button-dashed-border-color-default; // Used for the border of a dashed button in the focus state.
|
|
932
932
|
$gl-button-link-text-color-hover: $gl-button-link-text-color-default; // Used for the text of a link button in the hover state.
|
|
933
933
|
$gl-button-link-text-color-focus: $gl-button-link-text-color-default; // Used for the text of a link button in the focus state.
|
|
934
934
|
$gl-button-link-text-color-active: $gl-button-link-text-color-default; // Used for the text of a link button in the active state.
|
|
@@ -226,7 +226,7 @@ const backgroundColors = {
|
|
|
226
226
|
const borderColors = {
|
|
227
227
|
default: 'var(--gl-border-color-default, var(--gl-color-neutral-100, #dcdcde))',
|
|
228
228
|
subtle: 'var(--gl-border-color-subtle, var(--gl-color-neutral-50, #ececef))',
|
|
229
|
-
strong: 'var(--gl-border-color-strong, var(--gl-color-neutral-
|
|
229
|
+
strong: 'var(--gl-border-color-strong, var(--gl-color-neutral-200, #bfbfc3))',
|
|
230
230
|
section: 'var(--gl-border-color-section, var(--gl-border-color-default, #dcdcde))',
|
|
231
231
|
transparent: 'var(--gl-border-color-transparent, var(--gl-color-alpha-0, transparent))',
|
|
232
232
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitlab/ui",
|
|
3
|
-
"version": "102.
|
|
3
|
+
"version": "102.4.0",
|
|
4
4
|
"description": "GitLab UI Components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"@babel/preset-env": "^7.26.0",
|
|
109
109
|
"@babel/preset-react": "^7.25.9",
|
|
110
110
|
"@cypress/grep": "^4.0.1",
|
|
111
|
-
"@gitlab/eslint-plugin": "20.
|
|
111
|
+
"@gitlab/eslint-plugin": "20.6.0",
|
|
112
112
|
"@gitlab/fonts": "^1.3.0",
|
|
113
113
|
"@gitlab/stylelint-config": "6.2.2",
|
|
114
114
|
"@gitlab/svgs": "3.120.0",
|
|
@@ -71,7 +71,7 @@ $gl-loader-dots-size-xl: 1rem;
|
|
|
71
71
|
|
|
72
72
|
&.gl-spinner-light {
|
|
73
73
|
// This is the variant we use on backgrounds that are dark even in light mode.
|
|
74
|
-
// This
|
|
74
|
+
// This variant doesn't change its colors for dark mode.
|
|
75
75
|
border-color: var(--gl-spinner-track-color-light);
|
|
76
76
|
border-top-color: var(--gl-spinner-segment-color-light);
|
|
77
77
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"default": {
|
|
5
5
|
"$value": {
|
|
6
6
|
"default": "{color.neutral.100}",
|
|
7
|
-
"dark": "{color.neutral.
|
|
7
|
+
"dark": "{color.neutral.700}"
|
|
8
8
|
},
|
|
9
9
|
"$type": "color",
|
|
10
10
|
"$description": "Used for the default border color."
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
},
|
|
20
20
|
"strong": {
|
|
21
21
|
"$value": {
|
|
22
|
-
"default": "{color.neutral.
|
|
23
|
-
"dark": "{color.neutral.
|
|
22
|
+
"default": "{color.neutral.200}",
|
|
23
|
+
"dark": "{color.neutral.600}"
|
|
24
24
|
},
|
|
25
25
|
"$type": "color",
|
|
26
26
|
"$description": "Used for a distinct border that emphasizes an edge or boundaries."
|
|
@@ -461,7 +461,7 @@
|
|
|
461
461
|
--gl-background-color-overlay: var(--gl-color-alpha-dark-24); /* Used for an overlay that covers other content. */
|
|
462
462
|
--gl-border-color-default: var(--gl-color-neutral-100); /* Used for the default border color. */
|
|
463
463
|
--gl-border-color-subtle: var(--gl-color-neutral-50); /* Used for a subtle border in combination with the default background. */
|
|
464
|
-
--gl-border-color-strong: var(--gl-color-neutral-
|
|
464
|
+
--gl-border-color-strong: var(--gl-color-neutral-200); /* Used for a distinct border that emphasizes an edge or boundaries. */
|
|
465
465
|
--gl-border-color-transparent: var(--gl-color-alpha-0); /* Used when a border needs to be present, but not visibly perceived. */
|
|
466
466
|
--gl-alert-neutral-border-top-color: var(--gl-color-alpha-0); /* Used for the border center color of a neutral alert. */
|
|
467
467
|
--gl-alert-neutral-border-bottom-color: var(--gl-color-alpha-0); /* Used for the border bottom color of a neutral alert. */
|
|
@@ -654,6 +654,7 @@
|
|
|
654
654
|
--gl-button-danger-tertiary-background-color-default: var(--gl-action-danger-background-color-default); /* Used for the background of a borderless, tertiary danger (destructive) button in the default state. */
|
|
655
655
|
--gl-button-danger-tertiary-background-color-hover: var(--gl-action-danger-background-color-hover); /* Used for the background of a borderless, tertiary danger (destructive) button in the hover state. */
|
|
656
656
|
--gl-button-danger-tertiary-background-color-active: var(--gl-action-danger-background-color-active); /* Used for the background of a borderless, tertiary danger (destructive) button in the active state. */
|
|
657
|
+
--gl-button-dashed-border-color-default: var(--gl-color-neutral-400); /* Used for the border of a dashed button in the default state. */
|
|
657
658
|
--gl-button-dashed-border-color-active: var(--gl-color-neutral-600); /* Used for the border of a dashed button in the active state. */
|
|
658
659
|
--gl-button-selected-border-color-default: var(--gl-color-neutral-300); /* Used for the border of a selected button in the default state. */
|
|
659
660
|
--gl-button-selected-border-color-hover: var(--gl-color-neutral-400); /* Used for the border of a selected button in the hover state. */
|
|
@@ -865,7 +866,8 @@
|
|
|
865
866
|
--gl-button-danger-tertiary-foreground-color-active: var(--gl-action-danger-foreground-color-active); /* Used for the foreground of a borderless, tertiary danger (destructive) button in the active state. */
|
|
866
867
|
--gl-button-danger-tertiary-background-color-focus: var(--gl-action-danger-background-color-focus); /* Used for the background of a borderless, tertiary danger (destructive) button in the focus state. */
|
|
867
868
|
--gl-button-danger-tertiary-border-color-default: var(--gl-action-danger-border-color-default); /* Used for the border of a borderless, tertiary danger (destructive) button in the default state. */
|
|
868
|
-
--gl-button-dashed-border-color-
|
|
869
|
+
--gl-button-dashed-border-color-hover: var(--gl-button-dashed-border-color-default); /* Used for the border of a dashed button in the hover state. */
|
|
870
|
+
--gl-button-dashed-border-color-focus: var(--gl-button-dashed-border-color-default); /* Used for the border of a dashed button in the focus state. */
|
|
869
871
|
--gl-button-link-text-color-default: var(--gl-text-color-link); /* Used for the text of a link button in the default state. */
|
|
870
872
|
--gl-button-selected-foreground-color-default: var(--gl-button-default-primary-foreground-color-default); /* Used for the foreground of a selected button in the default state. */
|
|
871
873
|
--gl-button-selected-background-color-default: var(--gl-button-default-primary-background-color-default); /* Used for the background of a selected button in the default state. */
|
|
@@ -929,8 +931,6 @@
|
|
|
929
931
|
--gl-button-danger-tertiary-border-color-hover: var(--gl-action-danger-border-color-hover); /* Used for the border of a borderless, tertiary danger (destructive) button in the hover state. */
|
|
930
932
|
--gl-button-danger-tertiary-border-color-focus: var(--gl-action-danger-border-color-focus); /* Used for the border of a borderless, tertiary danger (destructive) button in the focus state. */
|
|
931
933
|
--gl-button-danger-tertiary-border-color-active: var(--gl-action-danger-border-color-active); /* Used for the border of a borderless, tertiary danger (destructive) button in the active state. */
|
|
932
|
-
--gl-button-dashed-border-color-hover: var(--gl-button-dashed-border-color-default); /* Used for the border of a dashed button in the hover state. */
|
|
933
|
-
--gl-button-dashed-border-color-focus: var(--gl-button-dashed-border-color-default); /* Used for the border of a dashed button in the focus state. */
|
|
934
934
|
--gl-button-link-text-color-hover: var(--gl-button-link-text-color-default); /* Used for the text of a link button in the hover state. */
|
|
935
935
|
--gl-button-link-text-color-focus: var(--gl-button-link-text-color-default); /* Used for the text of a link button in the focus state. */
|
|
936
936
|
--gl-button-link-text-color-active: var(--gl-button-link-text-color-default); /* Used for the text of a link button in the active state. */
|
|
@@ -459,9 +459,9 @@
|
|
|
459
459
|
--gl-background-color-overlap: var(--gl-color-neutral-900); /* Used for components, like tooltips and drawers, and content, like a sticky header, that overlap other content. */
|
|
460
460
|
--gl-background-color-section: var(--gl-color-neutral-800); /* Used for containers, like a card header, that are visually distinct from the default page background only when necessary to maintain affordance and hierarchy in different modes. */
|
|
461
461
|
--gl-background-color-overlay: rgba(0,0,0,0.64); /* Used for an overlay that covers other content. */
|
|
462
|
-
--gl-border-color-default: var(--gl-color-neutral-
|
|
462
|
+
--gl-border-color-default: var(--gl-color-neutral-700); /* Used for the default border color. */
|
|
463
463
|
--gl-border-color-subtle: var(--gl-color-neutral-900); /* Used for a subtle border in combination with the default background. */
|
|
464
|
-
--gl-border-color-strong: var(--gl-color-neutral-
|
|
464
|
+
--gl-border-color-strong: var(--gl-color-neutral-600); /* Used for a distinct border that emphasizes an edge or boundaries. */
|
|
465
465
|
--gl-border-color-transparent: var(--gl-color-alpha-0); /* Used when a border needs to be present, but not visibly perceived. */
|
|
466
466
|
--gl-alert-neutral-border-top-color: var(--gl-color-neutral-400); /* Used for the border center color of a neutral alert. */
|
|
467
467
|
--gl-alert-neutral-border-bottom-color: var(--gl-color-alpha-0); /* Used for the border bottom color of a neutral alert. */
|
|
@@ -654,6 +654,7 @@
|
|
|
654
654
|
--gl-button-danger-tertiary-background-color-default: var(--gl-action-danger-background-color-default); /* Used for the background of a borderless, tertiary danger (destructive) button in the default state. */
|
|
655
655
|
--gl-button-danger-tertiary-background-color-hover: var(--gl-action-danger-background-color-hover); /* Used for the background of a borderless, tertiary danger (destructive) button in the hover state. */
|
|
656
656
|
--gl-button-danger-tertiary-background-color-active: var(--gl-action-danger-background-color-active); /* Used for the background of a borderless, tertiary danger (destructive) button in the active state. */
|
|
657
|
+
--gl-button-dashed-border-color-default: var(--gl-color-neutral-400); /* Used for the border of a dashed button in the default state. */
|
|
657
658
|
--gl-button-dashed-border-color-active: var(--gl-color-neutral-300); /* Used for the border of a dashed button in the active state. */
|
|
658
659
|
--gl-button-selected-border-color-default: var(--gl-color-neutral-600); /* Used for the border of a selected button in the default state. */
|
|
659
660
|
--gl-button-selected-border-color-hover: var(--gl-color-neutral-500); /* Used for the border of a selected button in the hover state. */
|
|
@@ -694,9 +695,9 @@
|
|
|
694
695
|
--gl-progress-bar-track-color: var(--gl-color-neutral-700); /* Used for the track color for all progress-bar variants. */
|
|
695
696
|
--gl-skeleton-loader-background-color: var(--gl-color-neutral-800); /* Used for the skeleton loader background color. */
|
|
696
697
|
--gl-skeleton-loader-shimmer-color: var(--gl-color-neutral-700); /* Used for the animated shimmer effect in a skeleton loader. */
|
|
697
|
-
--gl-spinner-track-color-default: var(--gl-color-neutral-
|
|
698
|
+
--gl-spinner-track-color-default: var(--gl-color-neutral-600); /* Used for the static track (background) of a loading spinner. */
|
|
698
699
|
--gl-spinner-track-color-light: var(--gl-color-neutral-800); /* Used for the static track (background) of a loading spinner on a dark background. */
|
|
699
|
-
--gl-spinner-segment-color-default: var(--gl-color-neutral-
|
|
700
|
+
--gl-spinner-segment-color-default: var(--gl-color-neutral-100); /* Used for the animated segment of a loading spinner. */
|
|
700
701
|
--gl-spinner-segment-color-light: var(--gl-color-neutral-200); /* Used for the animated segment of a loading spinner on a dark background. */
|
|
701
702
|
--gl-tab-selected-indicator-color-default: var(--gl-color-blue-400); /* Used for the selected indicator of a tab. */
|
|
702
703
|
--gl-token-selector-token-container-token-background-color-focus: var(--gl-color-neutral-600); /* Used for the background color of a token in a token-selector when it's token-container is in the focus state. */
|
|
@@ -747,7 +748,7 @@
|
|
|
747
748
|
--gl-icon-color-warning: var(--gl-color-orange-300); /* Used for an icon associated with a warning. */
|
|
748
749
|
--gl-icon-color-danger: var(--gl-color-red-300); /* Used for an icon associated with an error or danger. */
|
|
749
750
|
--gl-icon-color-success: var(--gl-color-green-300); /* Used for an icon associated with success or validity. */
|
|
750
|
-
--gl-shadow-color-default: var(--gl-color-alpha-dark-
|
|
751
|
+
--gl-shadow-color-default: var(--gl-color-alpha-dark-40); /* Used for the default shadow color. */
|
|
751
752
|
--gl-status-neutral-background-color: var(--gl-color-neutral-800); /* Used for the background of a neutral status item when the status is neither positive nor negative, or when indicating a special but stable state. */
|
|
752
753
|
--gl-status-neutral-text-color: var(--gl-color-neutral-200); /* Used for the text of a neutral status item when the status is neither positive nor negative, or when indicating a special but stable state. */
|
|
753
754
|
--gl-status-neutral-icon-color: var(--gl-color-neutral-400); /* Used for the icon of a neutral status item when the status is neither positive nor negative, or when indicating a special but stable state. */
|
|
@@ -865,7 +866,8 @@
|
|
|
865
866
|
--gl-button-danger-tertiary-foreground-color-active: var(--gl-action-danger-foreground-color-active); /* Used for the foreground of a borderless, tertiary danger (destructive) button in the active state. */
|
|
866
867
|
--gl-button-danger-tertiary-background-color-focus: var(--gl-action-danger-background-color-focus); /* Used for the background of a borderless, tertiary danger (destructive) button in the focus state. */
|
|
867
868
|
--gl-button-danger-tertiary-border-color-default: var(--gl-action-danger-border-color-default); /* Used for the border of a borderless, tertiary danger (destructive) button in the default state. */
|
|
868
|
-
--gl-button-dashed-border-color-
|
|
869
|
+
--gl-button-dashed-border-color-hover: var(--gl-button-dashed-border-color-default); /* Used for the border of a dashed button in the hover state. */
|
|
870
|
+
--gl-button-dashed-border-color-focus: var(--gl-button-dashed-border-color-default); /* Used for the border of a dashed button in the focus state. */
|
|
869
871
|
--gl-button-link-text-color-default: var(--gl-text-color-link); /* Used for the text of a link button in the default state. */
|
|
870
872
|
--gl-button-selected-foreground-color-default: var(--gl-button-default-primary-foreground-color-default); /* Used for the foreground of a selected button in the default state. */
|
|
871
873
|
--gl-button-selected-background-color-default: var(--gl-button-default-primary-background-color-default); /* Used for the background of a selected button in the default state. */
|
|
@@ -929,8 +931,6 @@
|
|
|
929
931
|
--gl-button-danger-tertiary-border-color-hover: var(--gl-action-danger-border-color-hover); /* Used for the border of a borderless, tertiary danger (destructive) button in the hover state. */
|
|
930
932
|
--gl-button-danger-tertiary-border-color-focus: var(--gl-action-danger-border-color-focus); /* Used for the border of a borderless, tertiary danger (destructive) button in the focus state. */
|
|
931
933
|
--gl-button-danger-tertiary-border-color-active: var(--gl-action-danger-border-color-active); /* Used for the border of a borderless, tertiary danger (destructive) button in the active state. */
|
|
932
|
-
--gl-button-dashed-border-color-hover: var(--gl-button-dashed-border-color-default); /* Used for the border of a dashed button in the hover state. */
|
|
933
|
-
--gl-button-dashed-border-color-focus: var(--gl-button-dashed-border-color-default); /* Used for the border of a dashed button in the focus state. */
|
|
934
934
|
--gl-button-link-text-color-hover: var(--gl-button-link-text-color-default); /* Used for the text of a link button in the hover state. */
|
|
935
935
|
--gl-button-link-text-color-focus: var(--gl-button-link-text-color-default); /* Used for the text of a link button in the focus state. */
|
|
936
936
|
--gl-button-link-text-color-active: var(--gl-button-link-text-color-default); /* Used for the text of a link button in the active state. */
|
|
@@ -84,9 +84,9 @@ export const GL_BACKGROUND_COLOR_DISABLED = '#28272d';
|
|
|
84
84
|
export const GL_BACKGROUND_COLOR_OVERLAP = '#28272d';
|
|
85
85
|
export const GL_BACKGROUND_COLOR_SECTION = '#3a383f';
|
|
86
86
|
export const GL_BACKGROUND_COLOR_OVERLAY = 'rgba(0,0,0,0.64)';
|
|
87
|
-
export const GL_BORDER_COLOR_DEFAULT = '#
|
|
87
|
+
export const GL_BORDER_COLOR_DEFAULT = '#4c4b51';
|
|
88
88
|
export const GL_BORDER_COLOR_SUBTLE = '#28272d';
|
|
89
|
-
export const GL_BORDER_COLOR_STRONG = '#
|
|
89
|
+
export const GL_BORDER_COLOR_STRONG = '#626168';
|
|
90
90
|
export const GL_BORDER_COLOR_SECTION = '#18171d';
|
|
91
91
|
export const GL_BORDER_COLOR_TRANSPARENT = 'transparent';
|
|
92
92
|
export const GL_COLOR_ALPHA_0 = 'transparent';
|
|
@@ -674,9 +674,9 @@ export const GL_PROGRESS_BAR_INDICATOR_COLOR_DANGER = '#ec5941';
|
|
|
674
674
|
export const GL_PROGRESS_BAR_TRACK_COLOR = '#4c4b51';
|
|
675
675
|
export const GL_SKELETON_LOADER_BACKGROUND_COLOR = '#3a383f';
|
|
676
676
|
export const GL_SKELETON_LOADER_SHIMMER_COLOR = '#4c4b51';
|
|
677
|
-
export const GL_SPINNER_TRACK_COLOR_DEFAULT = '#
|
|
677
|
+
export const GL_SPINNER_TRACK_COLOR_DEFAULT = '#626168';
|
|
678
678
|
export const GL_SPINNER_TRACK_COLOR_LIGHT = '#3a383f';
|
|
679
|
-
export const GL_SPINNER_SEGMENT_COLOR_DEFAULT = '#
|
|
679
|
+
export const GL_SPINNER_SEGMENT_COLOR_DEFAULT = '#dcdcde';
|
|
680
680
|
export const GL_SPINNER_SEGMENT_COLOR_LIGHT = '#bfbfc3';
|
|
681
681
|
export const GL_TABLE_ROW_BACKGROUND_COLOR_HOVER = '#28272d';
|
|
682
682
|
export const GL_TABLE_SORTING_ICON_COLOR = '#fff';
|
|
@@ -918,7 +918,7 @@ export const GL_LINE_HEIGHT_36 = '2.25rem';
|
|
|
918
918
|
export const GL_LINE_HEIGHT_42 = '2.625rem';
|
|
919
919
|
export const GL_LINE_HEIGHT_44 = '2.75rem';
|
|
920
920
|
export const GL_LINE_HEIGHT_52 = '3.25rem';
|
|
921
|
-
export const GL_SHADOW_COLOR_DEFAULT = 'rgba(05, 05, 06, 0.
|
|
921
|
+
export const GL_SHADOW_COLOR_DEFAULT = 'rgba(05, 05, 06, 0.4)';
|
|
922
922
|
export const GL_STATUS_NEUTRAL_BACKGROUND_COLOR = '#3a383f';
|
|
923
923
|
export const GL_STATUS_NEUTRAL_TEXT_COLOR = '#bfbfc3';
|
|
924
924
|
export const GL_STATUS_NEUTRAL_ICON_COLOR = '#89888d';
|
|
@@ -86,7 +86,7 @@ export const GL_BACKGROUND_COLOR_SECTION = '#fff';
|
|
|
86
86
|
export const GL_BACKGROUND_COLOR_OVERLAY = 'rgba(05, 05, 06, 0.24)';
|
|
87
87
|
export const GL_BORDER_COLOR_DEFAULT = '#dcdcde';
|
|
88
88
|
export const GL_BORDER_COLOR_SUBTLE = '#ececef';
|
|
89
|
-
export const GL_BORDER_COLOR_STRONG = '#
|
|
89
|
+
export const GL_BORDER_COLOR_STRONG = '#bfbfc3';
|
|
90
90
|
export const GL_BORDER_COLOR_SECTION = '#dcdcde';
|
|
91
91
|
export const GL_BORDER_COLOR_TRANSPARENT = 'transparent';
|
|
92
92
|
export const GL_COLOR_ALPHA_0 = 'transparent';
|
|
@@ -1954,7 +1954,7 @@
|
|
|
1954
1954
|
"border": {
|
|
1955
1955
|
"color": {
|
|
1956
1956
|
"default": {
|
|
1957
|
-
"$value": "#
|
|
1957
|
+
"$value": "#4c4b51",
|
|
1958
1958
|
"$type": "color",
|
|
1959
1959
|
"$description": "Used for the default border color.",
|
|
1960
1960
|
"filePath": "src/tokens/border.tokens.json",
|
|
@@ -1962,7 +1962,7 @@
|
|
|
1962
1962
|
"original": {
|
|
1963
1963
|
"$value": {
|
|
1964
1964
|
"default": "{color.neutral.100}",
|
|
1965
|
-
"dark": "{color.neutral.
|
|
1965
|
+
"dark": "{color.neutral.700}"
|
|
1966
1966
|
},
|
|
1967
1967
|
"$type": "color",
|
|
1968
1968
|
"$description": "Used for the default border color."
|
|
@@ -1998,15 +1998,15 @@
|
|
|
1998
1998
|
]
|
|
1999
1999
|
},
|
|
2000
2000
|
"strong": {
|
|
2001
|
-
"$value": "#
|
|
2001
|
+
"$value": "#626168",
|
|
2002
2002
|
"$type": "color",
|
|
2003
2003
|
"$description": "Used for a distinct border that emphasizes an edge or boundaries.",
|
|
2004
2004
|
"filePath": "src/tokens/border.tokens.json",
|
|
2005
2005
|
"isSource": true,
|
|
2006
2006
|
"original": {
|
|
2007
2007
|
"$value": {
|
|
2008
|
-
"default": "{color.neutral.
|
|
2009
|
-
"dark": "{color.neutral.
|
|
2008
|
+
"default": "{color.neutral.200}",
|
|
2009
|
+
"dark": "{color.neutral.600}"
|
|
2010
2010
|
},
|
|
2011
2011
|
"$type": "color",
|
|
2012
2012
|
"$description": "Used for a distinct border that emphasizes an edge or boundaries."
|
|
@@ -13184,7 +13184,10 @@
|
|
|
13184
13184
|
"filePath": "src/tokens/contextual/button.tokens.json",
|
|
13185
13185
|
"isSource": true,
|
|
13186
13186
|
"original": {
|
|
13187
|
-
"$value":
|
|
13187
|
+
"$value": {
|
|
13188
|
+
"default": "{color.neutral.400}",
|
|
13189
|
+
"dark": "{color.neutral.400}"
|
|
13190
|
+
},
|
|
13188
13191
|
"$type": "color",
|
|
13189
13192
|
"$description": "Used for the border of a dashed button in the default state."
|
|
13190
13193
|
},
|
|
@@ -14975,7 +14978,7 @@
|
|
|
14975
14978
|
"track": {
|
|
14976
14979
|
"color": {
|
|
14977
14980
|
"default": {
|
|
14978
|
-
"$value": "#
|
|
14981
|
+
"$value": "#626168",
|
|
14979
14982
|
"$type": "color",
|
|
14980
14983
|
"$description": "Used for the static track (background) of a loading spinner.",
|
|
14981
14984
|
"filePath": "src/tokens/contextual/spinner.tokens.json",
|
|
@@ -14983,7 +14986,7 @@
|
|
|
14983
14986
|
"original": {
|
|
14984
14987
|
"$value": {
|
|
14985
14988
|
"default": "{color.neutral.100}",
|
|
14986
|
-
"dark": "{color.neutral.
|
|
14989
|
+
"dark": "{color.neutral.600}"
|
|
14987
14990
|
},
|
|
14988
14991
|
"$type": "color",
|
|
14989
14992
|
"$description": "Used for the static track (background) of a loading spinner."
|
|
@@ -15022,7 +15025,7 @@
|
|
|
15022
15025
|
"segment": {
|
|
15023
15026
|
"color": {
|
|
15024
15027
|
"default": {
|
|
15025
|
-
"$value": "#
|
|
15028
|
+
"$value": "#dcdcde",
|
|
15026
15029
|
"$type": "color",
|
|
15027
15030
|
"$description": "Used for the animated segment of a loading spinner.",
|
|
15028
15031
|
"filePath": "src/tokens/contextual/spinner.tokens.json",
|
|
@@ -15030,7 +15033,7 @@
|
|
|
15030
15033
|
"original": {
|
|
15031
15034
|
"$value": {
|
|
15032
15035
|
"default": "{color.neutral.700}",
|
|
15033
|
-
"dark": "{color.neutral.
|
|
15036
|
+
"dark": "{color.neutral.100}"
|
|
15034
15037
|
},
|
|
15035
15038
|
"$type": "color",
|
|
15036
15039
|
"$description": "Used for the animated segment of a loading spinner."
|
|
@@ -21083,7 +21086,7 @@
|
|
|
21083
21086
|
"shadow": {
|
|
21084
21087
|
"color": {
|
|
21085
21088
|
"default": {
|
|
21086
|
-
"$value": "rgba(05, 05, 06, 0.
|
|
21089
|
+
"$value": "rgba(05, 05, 06, 0.4)",
|
|
21087
21090
|
"$type": "color",
|
|
21088
21091
|
"$description": "Used for the default shadow color.",
|
|
21089
21092
|
"filePath": "src/tokens/shadow.tokens.json",
|
|
@@ -21091,7 +21094,7 @@
|
|
|
21091
21094
|
"original": {
|
|
21092
21095
|
"$value": {
|
|
21093
21096
|
"default": "{color.alpha.dark.16}",
|
|
21094
|
-
"dark": "{color.alpha.dark.
|
|
21097
|
+
"dark": "{color.alpha.dark.40}"
|
|
21095
21098
|
},
|
|
21096
21099
|
"$type": "color",
|
|
21097
21100
|
"$description": "Used for the default shadow color."
|
|
@@ -1962,7 +1962,7 @@
|
|
|
1962
1962
|
"original": {
|
|
1963
1963
|
"$value": {
|
|
1964
1964
|
"default": "{color.neutral.100}",
|
|
1965
|
-
"dark": "{color.neutral.
|
|
1965
|
+
"dark": "{color.neutral.700}"
|
|
1966
1966
|
},
|
|
1967
1967
|
"$type": "color",
|
|
1968
1968
|
"$description": "Used for the default border color."
|
|
@@ -1998,15 +1998,15 @@
|
|
|
1998
1998
|
]
|
|
1999
1999
|
},
|
|
2000
2000
|
"strong": {
|
|
2001
|
-
"$value": "#
|
|
2001
|
+
"$value": "#bfbfc3",
|
|
2002
2002
|
"$type": "color",
|
|
2003
2003
|
"$description": "Used for a distinct border that emphasizes an edge or boundaries.",
|
|
2004
2004
|
"filePath": "src/tokens/border.tokens.json",
|
|
2005
2005
|
"isSource": true,
|
|
2006
2006
|
"original": {
|
|
2007
2007
|
"$value": {
|
|
2008
|
-
"default": "{color.neutral.
|
|
2009
|
-
"dark": "{color.neutral.
|
|
2008
|
+
"default": "{color.neutral.200}",
|
|
2009
|
+
"dark": "{color.neutral.600}"
|
|
2010
2010
|
},
|
|
2011
2011
|
"$type": "color",
|
|
2012
2012
|
"$description": "Used for a distinct border that emphasizes an edge or boundaries."
|
|
@@ -13184,7 +13184,10 @@
|
|
|
13184
13184
|
"filePath": "src/tokens/contextual/button.tokens.json",
|
|
13185
13185
|
"isSource": true,
|
|
13186
13186
|
"original": {
|
|
13187
|
-
"$value":
|
|
13187
|
+
"$value": {
|
|
13188
|
+
"default": "{color.neutral.400}",
|
|
13189
|
+
"dark": "{color.neutral.400}"
|
|
13190
|
+
},
|
|
13188
13191
|
"$type": "color",
|
|
13189
13192
|
"$description": "Used for the border of a dashed button in the default state."
|
|
13190
13193
|
},
|
|
@@ -14983,7 +14986,7 @@
|
|
|
14983
14986
|
"original": {
|
|
14984
14987
|
"$value": {
|
|
14985
14988
|
"default": "{color.neutral.100}",
|
|
14986
|
-
"dark": "{color.neutral.
|
|
14989
|
+
"dark": "{color.neutral.600}"
|
|
14987
14990
|
},
|
|
14988
14991
|
"$type": "color",
|
|
14989
14992
|
"$description": "Used for the static track (background) of a loading spinner."
|
|
@@ -15030,7 +15033,7 @@
|
|
|
15030
15033
|
"original": {
|
|
15031
15034
|
"$value": {
|
|
15032
15035
|
"default": "{color.neutral.700}",
|
|
15033
|
-
"dark": "{color.neutral.
|
|
15036
|
+
"dark": "{color.neutral.100}"
|
|
15034
15037
|
},
|
|
15035
15038
|
"$type": "color",
|
|
15036
15039
|
"$description": "Used for the animated segment of a loading spinner."
|
|
@@ -21091,7 +21094,7 @@
|
|
|
21091
21094
|
"original": {
|
|
21092
21095
|
"$value": {
|
|
21093
21096
|
"default": "{color.alpha.dark.16}",
|
|
21094
|
-
"dark": "{color.alpha.dark.
|
|
21097
|
+
"dark": "{color.alpha.dark.40}"
|
|
21095
21098
|
},
|
|
21096
21099
|
"$type": "color",
|
|
21097
21100
|
"$description": "Used for the default shadow color."
|
|
@@ -457,9 +457,9 @@ $gl-background-color-disabled: $gl-color-neutral-900; // Used to identify a disa
|
|
|
457
457
|
$gl-background-color-overlap: $gl-color-neutral-900; // Used for components, like tooltips and drawers, and content, like a sticky header, that overlap other content.
|
|
458
458
|
$gl-background-color-section: $gl-color-neutral-800; // Used for containers, like a card header, that are visually distinct from the default page background only when necessary to maintain affordance and hierarchy in different modes.
|
|
459
459
|
$gl-background-color-overlay: rgba(0,0,0,0.64); // Used for an overlay that covers other content.
|
|
460
|
-
$gl-border-color-default: $gl-color-neutral-
|
|
460
|
+
$gl-border-color-default: $gl-color-neutral-700; // Used for the default border color.
|
|
461
461
|
$gl-border-color-subtle: $gl-color-neutral-900; // Used for a subtle border in combination with the default background.
|
|
462
|
-
$gl-border-color-strong: $gl-color-neutral-
|
|
462
|
+
$gl-border-color-strong: $gl-color-neutral-600; // Used for a distinct border that emphasizes an edge or boundaries.
|
|
463
463
|
$gl-border-color-transparent: $gl-color-alpha-0; // Used when a border needs to be present, but not visibly perceived.
|
|
464
464
|
$gl-alert-neutral-border-top-color: $gl-color-neutral-400; // Used for the border center color of a neutral alert.
|
|
465
465
|
$gl-alert-neutral-border-bottom-color: $gl-color-alpha-0; // Used for the border bottom color of a neutral alert.
|
|
@@ -652,6 +652,7 @@ $gl-button-danger-secondary-border-color-active: $gl-color-alpha-0; // Used for
|
|
|
652
652
|
$gl-button-danger-tertiary-background-color-default: $gl-action-danger-background-color-default; // Used for the background of a borderless, tertiary danger (destructive) button in the default state.
|
|
653
653
|
$gl-button-danger-tertiary-background-color-hover: $gl-action-danger-background-color-hover; // Used for the background of a borderless, tertiary danger (destructive) button in the hover state.
|
|
654
654
|
$gl-button-danger-tertiary-background-color-active: $gl-action-danger-background-color-active; // Used for the background of a borderless, tertiary danger (destructive) button in the active state.
|
|
655
|
+
$gl-button-dashed-border-color-default: $gl-color-neutral-400; // Used for the border of a dashed button in the default state.
|
|
655
656
|
$gl-button-dashed-border-color-active: $gl-color-neutral-300; // Used for the border of a dashed button in the active state.
|
|
656
657
|
$gl-button-selected-border-color-default: $gl-color-neutral-600; // Used for the border of a selected button in the default state.
|
|
657
658
|
$gl-button-selected-border-color-hover: $gl-color-neutral-500; // Used for the border of a selected button in the hover state.
|
|
@@ -692,9 +693,9 @@ $gl-link-mention-background-color-current: $gl-color-orange-800; // Used for the
|
|
|
692
693
|
$gl-progress-bar-track-color: $gl-color-neutral-700; // Used for the track color for all progress-bar variants.
|
|
693
694
|
$gl-skeleton-loader-background-color: $gl-color-neutral-800; // Used for the skeleton loader background color.
|
|
694
695
|
$gl-skeleton-loader-shimmer-color: $gl-color-neutral-700; // Used for the animated shimmer effect in a skeleton loader.
|
|
695
|
-
$gl-spinner-track-color-default: $gl-color-neutral-
|
|
696
|
+
$gl-spinner-track-color-default: $gl-color-neutral-600; // Used for the static track (background) of a loading spinner.
|
|
696
697
|
$gl-spinner-track-color-light: $gl-color-neutral-800; // Used for the static track (background) of a loading spinner on a dark background.
|
|
697
|
-
$gl-spinner-segment-color-default: $gl-color-neutral-
|
|
698
|
+
$gl-spinner-segment-color-default: $gl-color-neutral-100; // Used for the animated segment of a loading spinner.
|
|
698
699
|
$gl-spinner-segment-color-light: $gl-color-neutral-200; // Used for the animated segment of a loading spinner on a dark background.
|
|
699
700
|
$gl-tab-selected-indicator-color-default: $gl-color-blue-400; // Used for the selected indicator of a tab.
|
|
700
701
|
$gl-token-selector-token-container-token-background-color-focus: $gl-color-neutral-600; // Used for the background color of a token in a token-selector when it's token-container is in the focus state.
|
|
@@ -745,7 +746,7 @@ $gl-icon-color-info: $gl-color-blue-300; // Used for an icon associated with inf
|
|
|
745
746
|
$gl-icon-color-warning: $gl-color-orange-300; // Used for an icon associated with a warning.
|
|
746
747
|
$gl-icon-color-danger: $gl-color-red-300; // Used for an icon associated with an error or danger.
|
|
747
748
|
$gl-icon-color-success: $gl-color-green-300; // Used for an icon associated with success or validity.
|
|
748
|
-
$gl-shadow-color-default: $gl-color-alpha-dark-
|
|
749
|
+
$gl-shadow-color-default: $gl-color-alpha-dark-40; // Used for the default shadow color.
|
|
749
750
|
$gl-status-neutral-background-color: $gl-color-neutral-800; // Used for the background of a neutral status item when the status is neither positive nor negative, or when indicating a special but stable state.
|
|
750
751
|
$gl-status-neutral-text-color: $gl-color-neutral-200; // Used for the text of a neutral status item when the status is neither positive nor negative, or when indicating a special but stable state.
|
|
751
752
|
$gl-status-neutral-icon-color: $gl-color-neutral-400; // Used for the icon of a neutral status item when the status is neither positive nor negative, or when indicating a special but stable state.
|
|
@@ -863,7 +864,8 @@ $gl-button-danger-tertiary-foreground-color-hover: $gl-action-danger-foreground-
|
|
|
863
864
|
$gl-button-danger-tertiary-foreground-color-active: $gl-action-danger-foreground-color-active; // Used for the foreground of a borderless, tertiary danger (destructive) button in the active state.
|
|
864
865
|
$gl-button-danger-tertiary-background-color-focus: $gl-action-danger-background-color-focus; // Used for the background of a borderless, tertiary danger (destructive) button in the focus state.
|
|
865
866
|
$gl-button-danger-tertiary-border-color-default: $gl-action-danger-border-color-default; // Used for the border of a borderless, tertiary danger (destructive) button in the default state.
|
|
866
|
-
$gl-button-dashed-border-color-
|
|
867
|
+
$gl-button-dashed-border-color-hover: $gl-button-dashed-border-color-default; // Used for the border of a dashed button in the hover state.
|
|
868
|
+
$gl-button-dashed-border-color-focus: $gl-button-dashed-border-color-default; // Used for the border of a dashed button in the focus state.
|
|
867
869
|
$gl-button-link-text-color-default: $gl-text-color-link; // Used for the text of a link button in the default state.
|
|
868
870
|
$gl-button-selected-foreground-color-default: $gl-button-default-primary-foreground-color-default; // Used for the foreground of a selected button in the default state.
|
|
869
871
|
$gl-button-selected-background-color-default: $gl-button-default-primary-background-color-default; // Used for the background of a selected button in the default state.
|
|
@@ -927,8 +929,6 @@ $gl-button-danger-tertiary-foreground-color-focus: $gl-action-danger-foreground-
|
|
|
927
929
|
$gl-button-danger-tertiary-border-color-hover: $gl-action-danger-border-color-hover; // Used for the border of a borderless, tertiary danger (destructive) button in the hover state.
|
|
928
930
|
$gl-button-danger-tertiary-border-color-focus: $gl-action-danger-border-color-focus; // Used for the border of a borderless, tertiary danger (destructive) button in the focus state.
|
|
929
931
|
$gl-button-danger-tertiary-border-color-active: $gl-action-danger-border-color-active; // Used for the border of a borderless, tertiary danger (destructive) button in the active state.
|
|
930
|
-
$gl-button-dashed-border-color-hover: $gl-button-dashed-border-color-default; // Used for the border of a dashed button in the hover state.
|
|
931
|
-
$gl-button-dashed-border-color-focus: $gl-button-dashed-border-color-default; // Used for the border of a dashed button in the focus state.
|
|
932
932
|
$gl-button-link-text-color-hover: $gl-button-link-text-color-default; // Used for the text of a link button in the hover state.
|
|
933
933
|
$gl-button-link-text-color-focus: $gl-button-link-text-color-default; // Used for the text of a link button in the focus state.
|
|
934
934
|
$gl-button-link-text-color-active: $gl-button-link-text-color-default; // Used for the text of a link button in the active state.
|
|
@@ -459,7 +459,7 @@ $gl-background-color-section: $gl-color-neutral-0; // Used for containers, like
|
|
|
459
459
|
$gl-background-color-overlay: $gl-color-alpha-dark-24; // Used for an overlay that covers other content.
|
|
460
460
|
$gl-border-color-default: $gl-color-neutral-100; // Used for the default border color.
|
|
461
461
|
$gl-border-color-subtle: $gl-color-neutral-50; // Used for a subtle border in combination with the default background.
|
|
462
|
-
$gl-border-color-strong: $gl-color-neutral-
|
|
462
|
+
$gl-border-color-strong: $gl-color-neutral-200; // Used for a distinct border that emphasizes an edge or boundaries.
|
|
463
463
|
$gl-border-color-transparent: $gl-color-alpha-0; // Used when a border needs to be present, but not visibly perceived.
|
|
464
464
|
$gl-alert-neutral-border-top-color: $gl-color-alpha-0; // Used for the border center color of a neutral alert.
|
|
465
465
|
$gl-alert-neutral-border-bottom-color: $gl-color-alpha-0; // Used for the border bottom color of a neutral alert.
|
|
@@ -652,6 +652,7 @@ $gl-button-danger-secondary-border-color-active: $gl-color-red-900; // Used for
|
|
|
652
652
|
$gl-button-danger-tertiary-background-color-default: $gl-action-danger-background-color-default; // Used for the background of a borderless, tertiary danger (destructive) button in the default state.
|
|
653
653
|
$gl-button-danger-tertiary-background-color-hover: $gl-action-danger-background-color-hover; // Used for the background of a borderless, tertiary danger (destructive) button in the hover state.
|
|
654
654
|
$gl-button-danger-tertiary-background-color-active: $gl-action-danger-background-color-active; // Used for the background of a borderless, tertiary danger (destructive) button in the active state.
|
|
655
|
+
$gl-button-dashed-border-color-default: $gl-color-neutral-400; // Used for the border of a dashed button in the default state.
|
|
655
656
|
$gl-button-dashed-border-color-active: $gl-color-neutral-600; // Used for the border of a dashed button in the active state.
|
|
656
657
|
$gl-button-selected-border-color-default: $gl-color-neutral-300; // Used for the border of a selected button in the default state.
|
|
657
658
|
$gl-button-selected-border-color-hover: $gl-color-neutral-400; // Used for the border of a selected button in the hover state.
|
|
@@ -863,7 +864,8 @@ $gl-button-danger-tertiary-foreground-color-hover: $gl-action-danger-foreground-
|
|
|
863
864
|
$gl-button-danger-tertiary-foreground-color-active: $gl-action-danger-foreground-color-active; // Used for the foreground of a borderless, tertiary danger (destructive) button in the active state.
|
|
864
865
|
$gl-button-danger-tertiary-background-color-focus: $gl-action-danger-background-color-focus; // Used for the background of a borderless, tertiary danger (destructive) button in the focus state.
|
|
865
866
|
$gl-button-danger-tertiary-border-color-default: $gl-action-danger-border-color-default; // Used for the border of a borderless, tertiary danger (destructive) button in the default state.
|
|
866
|
-
$gl-button-dashed-border-color-
|
|
867
|
+
$gl-button-dashed-border-color-hover: $gl-button-dashed-border-color-default; // Used for the border of a dashed button in the hover state.
|
|
868
|
+
$gl-button-dashed-border-color-focus: $gl-button-dashed-border-color-default; // Used for the border of a dashed button in the focus state.
|
|
867
869
|
$gl-button-link-text-color-default: $gl-text-color-link; // Used for the text of a link button in the default state.
|
|
868
870
|
$gl-button-selected-foreground-color-default: $gl-button-default-primary-foreground-color-default; // Used for the foreground of a selected button in the default state.
|
|
869
871
|
$gl-button-selected-background-color-default: $gl-button-default-primary-background-color-default; // Used for the background of a selected button in the default state.
|
|
@@ -927,8 +929,6 @@ $gl-button-danger-tertiary-foreground-color-focus: $gl-action-danger-foreground-
|
|
|
927
929
|
$gl-button-danger-tertiary-border-color-hover: $gl-action-danger-border-color-hover; // Used for the border of a borderless, tertiary danger (destructive) button in the hover state.
|
|
928
930
|
$gl-button-danger-tertiary-border-color-focus: $gl-action-danger-border-color-focus; // Used for the border of a borderless, tertiary danger (destructive) button in the focus state.
|
|
929
931
|
$gl-button-danger-tertiary-border-color-active: $gl-action-danger-border-color-active; // Used for the border of a borderless, tertiary danger (destructive) button in the active state.
|
|
930
|
-
$gl-button-dashed-border-color-hover: $gl-button-dashed-border-color-default; // Used for the border of a dashed button in the hover state.
|
|
931
|
-
$gl-button-dashed-border-color-focus: $gl-button-dashed-border-color-default; // Used for the border of a dashed button in the focus state.
|
|
932
932
|
$gl-button-link-text-color-hover: $gl-button-link-text-color-default; // Used for the text of a link button in the hover state.
|
|
933
933
|
$gl-button-link-text-color-focus: $gl-button-link-text-color-default; // Used for the text of a link button in the focus state.
|
|
934
934
|
$gl-button-link-text-color-active: $gl-button-link-text-color-default; // Used for the text of a link button in the active state.
|
|
@@ -226,7 +226,7 @@ const backgroundColors = {
|
|
|
226
226
|
const borderColors = {
|
|
227
227
|
default: 'var(--gl-border-color-default, var(--gl-color-neutral-100, #dcdcde))',
|
|
228
228
|
subtle: 'var(--gl-border-color-subtle, var(--gl-color-neutral-50, #ececef))',
|
|
229
|
-
strong: 'var(--gl-border-color-strong, var(--gl-color-neutral-
|
|
229
|
+
strong: 'var(--gl-border-color-strong, var(--gl-color-neutral-200, #bfbfc3))',
|
|
230
230
|
section: 'var(--gl-border-color-section, var(--gl-border-color-default, #dcdcde))',
|
|
231
231
|
transparent: 'var(--gl-border-color-transparent, var(--gl-color-alpha-0, transparent))',
|
|
232
232
|
};
|
|
@@ -710,7 +710,10 @@
|
|
|
710
710
|
"border": {
|
|
711
711
|
"color": {
|
|
712
712
|
"default": {
|
|
713
|
-
"$value":
|
|
713
|
+
"$value": {
|
|
714
|
+
"default": "{color.neutral.400}",
|
|
715
|
+
"dark": "{color.neutral.400}"
|
|
716
|
+
},
|
|
714
717
|
"$type": "color",
|
|
715
718
|
"$description": "Used for the border of a dashed button in the default state."
|
|
716
719
|
},
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"default": {
|
|
6
6
|
"$value": {
|
|
7
7
|
"default": "{color.neutral.100}",
|
|
8
|
-
"dark": "{color.neutral.
|
|
8
|
+
"dark": "{color.neutral.600}"
|
|
9
9
|
},
|
|
10
10
|
"$type": "color",
|
|
11
11
|
"$description": "Used for the static track (background) of a loading spinner."
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"default": {
|
|
23
23
|
"$value": {
|
|
24
24
|
"default": "{color.neutral.700}",
|
|
25
|
-
"dark": "{color.neutral.
|
|
25
|
+
"dark": "{color.neutral.100}"
|
|
26
26
|
},
|
|
27
27
|
"$type": "color",
|
|
28
28
|
"$description": "Used for the animated segment of a loading spinner."
|
package/tailwind.defaults.js
CHANGED
|
@@ -448,7 +448,7 @@ module.exports = {
|
|
|
448
448
|
boxShadow: {
|
|
449
449
|
DEFAULT: '0 1px 4px 0 #0000004d',
|
|
450
450
|
none: 'none',
|
|
451
|
-
sm: '0 0 2px var(--gl-shadow-color-default, #05050629), 0 1px 4px var(--gl-shadow-color-default, #05050629)
|
|
451
|
+
sm: '0 0 2px var(--gl-shadow-color-default, #05050629), 0 1px 4px var(--gl-shadow-color-default, #05050629)',
|
|
452
452
|
md: '0 0 1px var(--gl-shadow-color-default, #05050629), 0 0 2px var(--gl-shadow-color-default, #05050629), 0 2px 8px var(--gl-shadow-color-default, #05050629)',
|
|
453
453
|
lg: '0 0 2px var(--gl-shadow-color-default, #05050629), 0 0 2px var(--gl-shadow-color-default, #05050629), 0 4px 12px var(--gl-shadow-color-default, #05050629)',
|
|
454
454
|
'inner-1-blue-500': 'inset 0 0 0 1px var(--blue-500, #1f75cb)',
|