@gitlab/ui 122.8.0 → 122.9.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/README.md +5 -2
- package/dist/components/base/breadcrumb/breadcrumb.js +1 -1
- package/dist/components/base/search_box_by_click/search_box_by_click.js +1 -1
- package/dist/components/dashboards/dashboard_panel/dashboard_panel.js +1 -1
- package/dist/components/regions/dashboard_skeleton/dashboard_skeleton.js +1 -1
- package/dist/index.css +2 -2
- 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 +24 -6
- package/dist/tokens/build/js/tokens.js +24 -6
- package/dist/tokens/css/tokens.css +23 -5
- package/dist/tokens/css/tokens.dark.css +23 -5
- package/dist/tokens/docs/tokens-tailwind-docs.dark.json +354 -0
- package/dist/tokens/docs/tokens-tailwind-docs.json +354 -0
- package/dist/tokens/figma/constants.tokens.json +94 -0
- package/dist/tokens/figma/contextual.tokens.json +78 -0
- package/dist/tokens/figma/semantic.tokens.json +34 -0
- package/dist/tokens/js/tokens.dark.js +23 -5
- package/dist/tokens/js/tokens.js +23 -5
- package/dist/tokens/json/tokens.dark.json +746 -171
- package/dist/tokens/json/tokens.json +746 -171
- package/dist/tokens/scss/_tokens.dark.scss +23 -5
- package/dist/tokens/scss/_tokens.scss +23 -5
- package/dist/tokens/scss/_tokens_custom_properties.scss +23 -5
- package/dist/tokens/tailwind/tokens.cjs +2 -0
- package/package.json +1 -1
- package/src/components/base/alert/alert.scss +1 -1
- package/src/components/base/avatar/avatar.scss +3 -3
- package/src/components/base/avatars_inline/avatars_inline.scss +1 -1
- package/src/components/base/breadcrumb/breadcrumb.scss +1 -1
- package/src/components/base/breadcrumb/breadcrumb.vue +1 -1
- package/src/components/base/broadcast_message/broadcast_message.scss +1 -1
- package/src/components/base/button/button.scss +1 -1
- package/src/components/base/card/card.scss +5 -5
- package/src/components/base/datepicker/datepicker.scss +3 -3
- package/src/components/base/dropdown/dropdown.scss +1 -1
- package/src/components/base/filtered_search/filtered_search.scss +1 -1
- package/src/components/base/filtered_search/filtered_search_suggestion_list.scss +1 -1
- package/src/components/base/form/form_input/form_input.scss +1 -0
- package/src/components/base/form/form_select/form_select.scss +1 -0
- package/src/components/base/form/input_group_text/input_group_text.scss +6 -5
- package/src/components/base/keyset_pagination/keyset_pagination.scss +1 -1
- package/src/components/base/link/link.scss +1 -1
- package/src/components/base/markdown/markdown.scss +3 -3
- package/src/components/base/modal/modal.scss +5 -5
- package/src/components/base/new_dropdowns/dropdown.scss +1 -1
- package/src/components/base/new_dropdowns/dropdown_item.scss +1 -1
- package/src/components/base/pagination/pagination.scss +2 -2
- package/src/components/base/path/path.scss +2 -2
- package/src/components/base/search_box_by_click/search_box_by_click.vue +1 -1
- package/src/components/base/tabs/tabs/tabs.scss +1 -1
- package/src/components/base/toast/toast.scss +1 -1
- package/src/components/base/token/token.scss +1 -1
- package/src/components/base/tooltip/tooltip.scss +1 -1
- package/src/components/charts/single_stat/single_stat.scss +1 -1
- package/src/components/dashboards/dashboard_panel/dashboard_panel.vue +2 -2
- package/src/components/regions/dashboard_skeleton/dashboard_skeleton.vue +1 -1
- package/src/scss/mixins.scss +2 -2
- package/src/scss/variables.scss +0 -1
- package/src/tokens/build/css/tokens.css +23 -5
- package/src/tokens/build/css/tokens.dark.css +23 -5
- package/src/tokens/build/docs/tokens-tailwind-docs.dark.json +354 -0
- package/src/tokens/build/docs/tokens-tailwind-docs.json +354 -0
- package/src/tokens/build/figma/constants.tokens.json +94 -0
- package/src/tokens/build/figma/contextual.tokens.json +78 -0
- package/src/tokens/build/figma/semantic.tokens.json +34 -0
- package/src/tokens/build/js/tokens.dark.js +23 -5
- package/src/tokens/build/js/tokens.js +23 -5
- package/src/tokens/build/json/tokens.dark.json +746 -171
- package/src/tokens/build/json/tokens.json +746 -171
- package/src/tokens/build/scss/_tokens.dark.scss +23 -5
- package/src/tokens/build/scss/_tokens.scss +23 -5
- package/src/tokens/build/scss/_tokens_custom_properties.scss +23 -5
- package/src/tokens/build/tailwind/tokens.cjs +14 -0
- package/src/tokens/constant/border.tokens.json +96 -0
- package/src/tokens/contextual/alert.tokens.json +12 -0
- package/src/tokens/contextual/broadcast.tokens.json +10 -0
- package/src/tokens/contextual/button.tokens.json +12 -0
- package/src/tokens/contextual/card.tokens.json +16 -0
- package/src/tokens/contextual/dropdown.tokens.json +10 -0
- package/src/tokens/contextual/modal.tokens.json +16 -0
- package/src/tokens/semantic/action.tokens.json +12 -0
- package/src/tokens/semantic/border.tokens.json +12 -0
- package/src/tokens/semantic/control.tokens.json +10 -0
- package/tailwind.defaults.js +2 -3
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit directly, this file was auto-generated.
|
|
3
3
|
|
|
4
|
+
$gl-border-radius-full: 9999px;
|
|
4
5
|
$gl-color-alpha-0: transparent;
|
|
5
6
|
$gl-color-alpha-dark-2: rgba(05, 05, 06, 0.02);
|
|
6
7
|
$gl-color-alpha-dark-4: rgba(05, 05, 06, 0.04);
|
|
@@ -540,6 +541,18 @@ $gl-action-danger-background-color-active: rgba(236, 89, 65, 0.16); // Used for
|
|
|
540
541
|
$gl-text-primary: #ececef; // Use text.color.default instead.
|
|
541
542
|
$gl-text-secondary: #89888d; // Use text.color.subtle instead.
|
|
542
543
|
$gl-text-tertiary: #737278; // Use text.color.disabled instead.
|
|
544
|
+
$gl-border-radius-none: $gl-spacing-scale-0;
|
|
545
|
+
$gl-border-radius-xs: $gl-spacing-scale-px;
|
|
546
|
+
$gl-border-radius-sm: $gl-spacing-scale-1;
|
|
547
|
+
$gl-border-radius-md: $gl-spacing-scale-2;
|
|
548
|
+
$gl-border-radius-lg: $gl-spacing-scale-3;
|
|
549
|
+
$gl-border-radius-xl: $gl-spacing-scale-4;
|
|
550
|
+
$gl-border-radius-2xl: $gl-spacing-scale-5;
|
|
551
|
+
$gl-border-radius-3xl: $gl-spacing-scale-6;
|
|
552
|
+
$gl-border-color-default: $gl-color-neutral-700; // Used for the default border color.
|
|
553
|
+
$gl-border-color-subtle: $gl-color-neutral-800; // Used for a subtle border in combination with the default background.
|
|
554
|
+
$gl-border-color-strong: $gl-color-neutral-600; // Used for a distinct border that emphasizes an edge or boundaries.
|
|
555
|
+
$gl-border-color-transparent: $gl-color-alpha-0; // Used when a border needs to be present, but not visibly perceived.
|
|
543
556
|
$gl-alert-neutral-border-top-color: $gl-color-neutral-400; // Used for the border center color of a neutral alert.
|
|
544
557
|
$gl-alert-neutral-border-bottom-color: $gl-color-alpha-0; // Used for the border bottom color of a neutral alert.
|
|
545
558
|
$gl-alert-info-border-top-color: $gl-color-blue-400; // Used for the border color of an info alert.
|
|
@@ -820,10 +833,6 @@ $gl-background-color-disabled: $gl-color-neutral-900; // Used to identify a disa
|
|
|
820
833
|
$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.
|
|
821
834
|
$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.
|
|
822
835
|
$gl-background-color-overlay: rgba(0,0,0,0.64); // Used for an overlay that covers other content.
|
|
823
|
-
$gl-border-color-default: $gl-color-neutral-700; // Used for the default border color.
|
|
824
|
-
$gl-border-color-subtle: $gl-color-neutral-800; // Used for a subtle border in combination with the default background.
|
|
825
|
-
$gl-border-color-strong: $gl-color-neutral-600; // Used for a distinct border that emphasizes an edge or boundaries.
|
|
826
|
-
$gl-border-color-transparent: $gl-color-alpha-0; // Used when a border needs to be present, but not visibly perceived.
|
|
827
836
|
$gl-control-background-color-default: $gl-color-alpha-dark-40; // Used for form control (input, radio button, checkbox, textarea) default background.
|
|
828
837
|
$gl-control-background-color-disabled: $gl-color-alpha-light-4; // Used for disabled form control (checkbox, input, radio button, textarea) background.
|
|
829
838
|
$gl-control-background-color-concatenation: $gl-color-alpha-light-4; // Used for the background of static content that prepends or appends a text input.
|
|
@@ -894,6 +903,8 @@ $gl-text-color-warning: $gl-color-orange-300; // Used for text that requires cau
|
|
|
894
903
|
$gl-text-color-danger: $gl-color-red-300; // Used for text indicating a problem, critical state, destructive action, error, failure, removal, stop, or declination.
|
|
895
904
|
$gl-text-color-success: $gl-color-green-300; // Used for text indicating success, completion, approval, addition, or validity.
|
|
896
905
|
$gl-text-color-disabled: $gl-color-neutral-400; // Used for disabled text.
|
|
906
|
+
$gl-border-radius-default: $gl-border-radius-md;
|
|
907
|
+
$gl-border-color-section: $gl-background-color-default; // Used for the border color that surrounds content or elements when they appear as a closed container or closed section of the page.
|
|
897
908
|
$gl-alert-neutral-title-color: $gl-text-color-heading; // Used for the title color of a neutral alert.
|
|
898
909
|
$gl-alert-neutral-background-color: $gl-feedback-neutral-background-color; // Used for the background color of a neutral alert.
|
|
899
910
|
$gl-alert-info-title-color: $gl-color-blue-300; // Used for the title color of an info alert.
|
|
@@ -969,6 +980,7 @@ $gl-chart-axis-text-color: $gl-text-color-subtle; // Used in charts for the text
|
|
|
969
980
|
$gl-datepicker-date-text-color-selected: $gl-control-indicator-color-selected; // Used for the datepicker date text color state indicators.
|
|
970
981
|
$gl-dropdown-background-color: $gl-background-color-overlap; // Used for the background of a dropdown.
|
|
971
982
|
$gl-dropdown-border-color: $gl-border-color-default; // Used for the border of a dropdown.
|
|
983
|
+
$gl-dropdown-border-radius: $gl-border-radius-lg; // Used for the border radius of a dropdown.
|
|
972
984
|
$gl-dropdown-divider-color: $gl-border-color-subtle; // Used for the divider of a dropdown.
|
|
973
985
|
$gl-dropdown-option-text-color-default: $gl-action-neutral-foreground-color-default; // Used for the text of a dropdown option in the default state.
|
|
974
986
|
$gl-dropdown-option-text-color-disabled: $gl-action-disabled-foreground-color; // Used for the text of a dropdown option in the disabled state.
|
|
@@ -1017,7 +1029,6 @@ $gl-action-strong-confirm-border-color-hover: $gl-action-strong-confirm-border-c
|
|
|
1017
1029
|
$gl-action-strong-neutral-background-color-focus: $gl-action-strong-neutral-background-color-hover; // Used for the background of a strong neutral action in the focus state.
|
|
1018
1030
|
$gl-action-strong-neutral-foreground-color-hover: $gl-color-neutral-0; // Used for the foreground of a strong neutral action in the hover state.
|
|
1019
1031
|
$gl-action-strong-neutral-border-color-hover: $gl-action-strong-neutral-border-color-default; // Used for the border of a strong neutral action in the hover state.
|
|
1020
|
-
$gl-border-color-section: $gl-background-color-default; // Used for the border color that surrounds content or elements when they appear as a closed container or closed section of the page.
|
|
1021
1032
|
$gl-control-text-color-error: $gl-text-color-danger; // Used for the helper text when the input is invalid.
|
|
1022
1033
|
$gl-control-text-color-valid: $gl-text-color-success; // Used for the helper text when the input is valid.
|
|
1023
1034
|
$gl-control-placeholder-color: $gl-text-color-disabled; // Used for placeholder text within inputs.
|
|
@@ -1030,6 +1041,7 @@ $gl-icon-color-link: $gl-text-color-link; // Used for an icon within a link.
|
|
|
1030
1041
|
$gl-icon-color-warning: $gl-text-color-warning; // Used for an icon associated with a warning.
|
|
1031
1042
|
$gl-icon-color-danger: $gl-text-color-danger; // Used for an icon associated with an error or danger.
|
|
1032
1043
|
$gl-icon-color-success: $gl-text-color-success; // Used for an icon associated with success or validity.
|
|
1044
|
+
$gl-alert-border-radius: $gl-border-radius-default; // Used for alert border radius.
|
|
1033
1045
|
$gl-badge-muted-background-color-focus: $gl-badge-muted-background-color-hover; // Used for the background of a muted badge in the focus state.
|
|
1034
1046
|
$gl-badge-neutral-background-color-focus: $gl-badge-neutral-background-color-hover; // Used for the background of a neutral badge in the focus state.
|
|
1035
1047
|
$gl-badge-info-background-color-focus: $gl-badge-info-background-color-hover; // Used for the background of an informational badge in the focus state.
|
|
@@ -1037,6 +1049,7 @@ $gl-badge-success-background-color-focus: $gl-badge-success-background-color-hov
|
|
|
1037
1049
|
$gl-badge-warning-background-color-focus: $gl-badge-warning-background-color-hover; // Used for the background of a warning badge in the focus state.
|
|
1038
1050
|
$gl-badge-danger-background-color-focus: $gl-badge-danger-background-color-hover; // Used for the background of a danger badge in the focus state.
|
|
1039
1051
|
$gl-badge-tier-background-color-focus: $gl-badge-tier-background-color-hover; // Used for the background of a tier related badge in the focus state.
|
|
1052
|
+
$gl-broadcast-banner-border-radius: $gl-border-radius-default; // Used for broadcast banner border radius.
|
|
1040
1053
|
$gl-button-default-tertiary-foreground-color-hover: $gl-action-neutral-foreground-color-hover; // Used for the foreground of a default borderless, tertiary button in the hover state.
|
|
1041
1054
|
$gl-button-default-tertiary-foreground-color-focus: $gl-action-neutral-foreground-color-focus; // Used for the foreground of a default borderless, tertiary button in the focus state.
|
|
1042
1055
|
$gl-button-default-tertiary-foreground-color-active: $gl-action-neutral-foreground-color-active; // Used for the foreground of a default borderless, tertiary button in the active state.
|
|
@@ -1060,19 +1073,24 @@ $gl-button-selected-foreground-color-hover: $gl-color-neutral-950; // Used for t
|
|
|
1060
1073
|
$gl-button-selected-foreground-color-focus: $gl-color-neutral-950; // Used for the foreground of a selected button in the focus state.
|
|
1061
1074
|
$gl-button-selected-foreground-color-active: $gl-color-neutral-950; // Used for the foreground of a selected button in the active state.
|
|
1062
1075
|
$gl-button-selected-background-color-focus: $gl-color-neutral-200; // Used for the background of a selected button in the focus state.
|
|
1076
|
+
$gl-card-border-radius: $gl-border-radius-default; // Used for card border radius.
|
|
1063
1077
|
$gl-chart-axis-pointer-color: $gl-icon-color-subtle; // Used in charts for the color of the reference line and axis value under mouse pointer.
|
|
1064
1078
|
$gl-chart-zoom-handle-color: $gl-icon-color-subtle; // Used in charts for the handle color when zooming in on a specific area of data.
|
|
1065
1079
|
$gl-dropdown-option-text-color-hover: $gl-action-neutral-foreground-color-hover; // Used for the text of a dropdown option in the hover state.
|
|
1066
1080
|
$gl-dropdown-option-text-color-focus: $gl-action-neutral-foreground-color-focus; // Used for the text of a dropdown option in the focus state.
|
|
1067
1081
|
$gl-dropdown-option-text-color-active: $gl-action-neutral-foreground-color-active; // Used for the text of a dropdown option in the active state.
|
|
1082
|
+
$gl-modal-border-radius: $gl-border-radius-default; // Used for modal border radius.
|
|
1068
1083
|
$gl-toggle-switch-icon-color-unchecked-focus: $gl-action-strong-neutral-background-color-focus; // Used for the icon color of an unchecked toggle switch in the focus state.
|
|
1069
1084
|
$gl-toggle-switch-icon-color-checked-focus: $gl-action-strong-confirm-background-color-focus; // Used for the icon color of a checked toggle switch in the focus state.
|
|
1085
|
+
$gl-action-border-radius: $gl-border-radius-default; // Used for the border radius of an action.
|
|
1070
1086
|
$gl-action-selected-foreground-color-focus: $gl-action-selected-foreground-color-hover; // Used for the foreground of a selected action in the focus state.
|
|
1071
1087
|
$gl-action-selected-border-color-focus: $gl-action-selected-background-color-focus; // Used for the border of a selected action in the focus state.
|
|
1072
1088
|
$gl-action-strong-confirm-foreground-color-focus: $gl-action-strong-confirm-foreground-color-hover; // Used for the foreground of a strong confirm action in the focus state.
|
|
1073
1089
|
$gl-action-strong-confirm-border-color-focus: $gl-action-strong-confirm-border-color-hover; // Used for the border of a strong confirm action in the focus state.
|
|
1074
1090
|
$gl-action-strong-neutral-foreground-color-focus: $gl-action-strong-neutral-foreground-color-hover; // Used for the foreground of a strong neutral action in the focus state.
|
|
1075
1091
|
$gl-action-strong-neutral-border-color-focus: $gl-action-strong-neutral-border-color-hover; // Used for the border of a strong neutral action in the focus state.
|
|
1092
|
+
$gl-control-border-radius: $gl-border-radius-default; // Used for form control (input, radio button, checkbox, textarea) default border radius.
|
|
1093
|
+
$gl-button-border-radius: $gl-action-border-radius; // Used for button border radius.
|
|
1076
1094
|
$gl-button-confirm-primary-foreground-color-focus: $gl-action-strong-confirm-foreground-color-focus; // Used for the foreground of a confirm (positive) primary button in the focus state.
|
|
1077
1095
|
$gl-action-selected-foreground-color-active: $gl-action-selected-foreground-color-focus; // Used for the foreground of a selected action in the active state.
|
|
1078
1096
|
$gl-action-strong-confirm-foreground-color-active: $gl-action-strong-confirm-foreground-color-focus; // Used for the foreground of a strong confirm action in the active state.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit directly, this file was auto-generated.
|
|
3
3
|
|
|
4
|
+
$gl-border-radius-full: 9999px;
|
|
4
5
|
$gl-color-alpha-0: transparent;
|
|
5
6
|
$gl-color-alpha-dark-2: rgba(05, 05, 06, 0.02);
|
|
6
7
|
$gl-color-alpha-dark-4: rgba(05, 05, 06, 0.04);
|
|
@@ -540,6 +541,18 @@ $gl-action-danger-background-color-active: rgba(174, 24, 0, 0.24); // Used for t
|
|
|
540
541
|
$gl-text-primary: #28272d; // Use text.color.default instead.
|
|
541
542
|
$gl-text-secondary: #737278; // Use text.color.subtle instead.
|
|
542
543
|
$gl-text-tertiary: #89888d; // Use text.color.disabled instead.
|
|
544
|
+
$gl-border-radius-none: $gl-spacing-scale-0;
|
|
545
|
+
$gl-border-radius-xs: $gl-spacing-scale-px;
|
|
546
|
+
$gl-border-radius-sm: $gl-spacing-scale-1;
|
|
547
|
+
$gl-border-radius-md: $gl-spacing-scale-2;
|
|
548
|
+
$gl-border-radius-lg: $gl-spacing-scale-3;
|
|
549
|
+
$gl-border-radius-xl: $gl-spacing-scale-4;
|
|
550
|
+
$gl-border-radius-2xl: $gl-spacing-scale-5;
|
|
551
|
+
$gl-border-radius-3xl: $gl-spacing-scale-6;
|
|
552
|
+
$gl-border-color-default: $gl-color-neutral-100; // Used for the default border color.
|
|
553
|
+
$gl-border-color-subtle: $gl-color-neutral-50; // Used for a subtle border in combination with the default background.
|
|
554
|
+
$gl-border-color-strong: $gl-color-neutral-200; // Used for a distinct border that emphasizes an edge or boundaries.
|
|
555
|
+
$gl-border-color-transparent: $gl-color-alpha-0; // Used when a border needs to be present, but not visibly perceived.
|
|
543
556
|
$gl-alert-neutral-border-top-color: $gl-color-alpha-0; // Used for the border center color of a neutral alert.
|
|
544
557
|
$gl-alert-neutral-border-bottom-color: $gl-color-alpha-0; // Used for the border bottom color of a neutral alert.
|
|
545
558
|
$gl-alert-info-border-top-color: $gl-color-alpha-0; // Used for the border color of an info alert.
|
|
@@ -820,10 +833,6 @@ $gl-background-color-disabled: $gl-color-neutral-10; // Used to identify a disab
|
|
|
820
833
|
$gl-background-color-overlap: $gl-color-neutral-0; // Used for components, like tooltips and drawers, and content, like a sticky header, that overlap other content.
|
|
821
834
|
$gl-background-color-section: $gl-color-neutral-0; // 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.
|
|
822
835
|
$gl-background-color-overlay: $gl-color-alpha-dark-24; // Used for an overlay that covers other content.
|
|
823
|
-
$gl-border-color-default: $gl-color-neutral-100; // Used for the default border color.
|
|
824
|
-
$gl-border-color-subtle: $gl-color-neutral-50; // Used for a subtle border in combination with the default background.
|
|
825
|
-
$gl-border-color-strong: $gl-color-neutral-200; // Used for a distinct border that emphasizes an edge or boundaries.
|
|
826
|
-
$gl-border-color-transparent: $gl-color-alpha-0; // Used when a border needs to be present, but not visibly perceived.
|
|
827
836
|
$gl-control-background-color-default: $gl-color-neutral-0; // Used for form control (input, radio button, checkbox, textarea) default background.
|
|
828
837
|
$gl-control-background-color-disabled: $gl-color-neutral-10; // Used for disabled form control (checkbox, input, radio button, textarea) background.
|
|
829
838
|
$gl-control-background-color-concatenation: $gl-color-neutral-10; // Used for the background of static content that prepends or appends a text input.
|
|
@@ -894,6 +903,8 @@ $gl-text-color-warning: $gl-color-orange-600; // Used for text that requires cau
|
|
|
894
903
|
$gl-text-color-danger: $gl-color-red-600; // Used for text indicating a problem, critical state, destructive action, error, failure, removal, stop, or declination.
|
|
895
904
|
$gl-text-color-success: $gl-color-green-600; // Used for text indicating success, completion, approval, addition, or validity.
|
|
896
905
|
$gl-text-color-disabled: $gl-color-neutral-400; // Used for disabled text.
|
|
906
|
+
$gl-border-radius-default: $gl-border-radius-md;
|
|
907
|
+
$gl-border-color-section: $gl-border-color-default; // Used for the border color that surrounds content or elements when they appear as a closed container or closed section of the page.
|
|
897
908
|
$gl-alert-neutral-title-color: $gl-text-color-heading; // Used for the title color of a neutral alert.
|
|
898
909
|
$gl-alert-neutral-background-color: $gl-feedback-neutral-background-color; // Used for the background color of a neutral alert.
|
|
899
910
|
$gl-alert-info-title-color: $gl-text-color-heading; // Used for the title color of an info alert.
|
|
@@ -969,6 +980,7 @@ $gl-chart-axis-text-color: $gl-text-color-subtle; // Used in charts for the text
|
|
|
969
980
|
$gl-datepicker-date-text-color-selected: $gl-control-indicator-color-selected; // Used for the datepicker date text color state indicators.
|
|
970
981
|
$gl-dropdown-background-color: $gl-background-color-overlap; // Used for the background of a dropdown.
|
|
971
982
|
$gl-dropdown-border-color: $gl-border-color-strong; // Used for the border of a dropdown.
|
|
983
|
+
$gl-dropdown-border-radius: $gl-border-radius-lg; // Used for the border radius of a dropdown.
|
|
972
984
|
$gl-dropdown-divider-color: $gl-border-color-default; // Used for the divider of a dropdown.
|
|
973
985
|
$gl-dropdown-option-text-color-default: $gl-action-neutral-foreground-color-default; // Used for the text of a dropdown option in the default state.
|
|
974
986
|
$gl-dropdown-option-text-color-disabled: $gl-action-disabled-foreground-color; // Used for the text of a dropdown option in the disabled state.
|
|
@@ -1017,7 +1029,6 @@ $gl-action-strong-confirm-border-color-hover: $gl-action-strong-confirm-border-c
|
|
|
1017
1029
|
$gl-action-strong-neutral-background-color-focus: $gl-action-strong-neutral-background-color-hover; // Used for the background of a strong neutral action in the focus state.
|
|
1018
1030
|
$gl-action-strong-neutral-foreground-color-hover: $gl-action-strong-neutral-foreground-color-default; // Used for the foreground of a strong neutral action in the hover state.
|
|
1019
1031
|
$gl-action-strong-neutral-border-color-hover: $gl-action-strong-neutral-border-color-default; // Used for the border of a strong neutral action in the hover state.
|
|
1020
|
-
$gl-border-color-section: $gl-border-color-default; // Used for the border color that surrounds content or elements when they appear as a closed container or closed section of the page.
|
|
1021
1032
|
$gl-control-text-color-error: $gl-text-color-danger; // Used for the helper text when the input is invalid.
|
|
1022
1033
|
$gl-control-text-color-valid: $gl-text-color-success; // Used for the helper text when the input is valid.
|
|
1023
1034
|
$gl-control-placeholder-color: $gl-text-color-disabled; // Used for placeholder text within inputs.
|
|
@@ -1030,6 +1041,7 @@ $gl-icon-color-link: $gl-text-color-link; // Used for an icon within a link.
|
|
|
1030
1041
|
$gl-icon-color-warning: $gl-text-color-warning; // Used for an icon associated with a warning.
|
|
1031
1042
|
$gl-icon-color-danger: $gl-text-color-danger; // Used for an icon associated with an error or danger.
|
|
1032
1043
|
$gl-icon-color-success: $gl-text-color-success; // Used for an icon associated with success or validity.
|
|
1044
|
+
$gl-alert-border-radius: $gl-border-radius-default; // Used for alert border radius.
|
|
1033
1045
|
$gl-badge-muted-background-color-focus: $gl-badge-muted-background-color-hover; // Used for the background of a muted badge in the focus state.
|
|
1034
1046
|
$gl-badge-neutral-background-color-focus: $gl-badge-neutral-background-color-hover; // Used for the background of a neutral badge in the focus state.
|
|
1035
1047
|
$gl-badge-info-background-color-focus: $gl-badge-info-background-color-hover; // Used for the background of an informational badge in the focus state.
|
|
@@ -1037,6 +1049,7 @@ $gl-badge-success-background-color-focus: $gl-badge-success-background-color-hov
|
|
|
1037
1049
|
$gl-badge-warning-background-color-focus: $gl-badge-warning-background-color-hover; // Used for the background of a warning badge in the focus state.
|
|
1038
1050
|
$gl-badge-danger-background-color-focus: $gl-badge-danger-background-color-hover; // Used for the background of a danger badge in the focus state.
|
|
1039
1051
|
$gl-badge-tier-background-color-focus: $gl-badge-tier-background-color-hover; // Used for the background of a tier related badge in the focus state.
|
|
1052
|
+
$gl-broadcast-banner-border-radius: $gl-border-radius-default; // Used for broadcast banner border radius.
|
|
1040
1053
|
$gl-button-default-tertiary-foreground-color-hover: $gl-action-neutral-foreground-color-hover; // Used for the foreground of a default borderless, tertiary button in the hover state.
|
|
1041
1054
|
$gl-button-default-tertiary-foreground-color-focus: $gl-action-neutral-foreground-color-focus; // Used for the foreground of a default borderless, tertiary button in the focus state.
|
|
1042
1055
|
$gl-button-default-tertiary-foreground-color-active: $gl-action-neutral-foreground-color-active; // Used for the foreground of a default borderless, tertiary button in the active state.
|
|
@@ -1060,19 +1073,24 @@ $gl-button-selected-foreground-color-hover: $gl-button-default-primary-foregroun
|
|
|
1060
1073
|
$gl-button-selected-foreground-color-focus: $gl-button-default-primary-foreground-color-focus; // Used for the foreground of a selected button in the focus state.
|
|
1061
1074
|
$gl-button-selected-foreground-color-active: $gl-button-default-primary-foreground-color-active; // Used for the foreground of a selected button in the active state.
|
|
1062
1075
|
$gl-button-selected-background-color-focus: $gl-button-default-primary-background-color-focus; // Used for the background of a selected button in the focus state.
|
|
1076
|
+
$gl-card-border-radius: $gl-border-radius-default; // Used for card border radius.
|
|
1063
1077
|
$gl-chart-axis-pointer-color: $gl-icon-color-subtle; // Used in charts for the color of the reference line and axis value under mouse pointer.
|
|
1064
1078
|
$gl-chart-zoom-handle-color: $gl-icon-color-subtle; // Used in charts for the handle color when zooming in on a specific area of data.
|
|
1065
1079
|
$gl-dropdown-option-text-color-hover: $gl-action-neutral-foreground-color-hover; // Used for the text of a dropdown option in the hover state.
|
|
1066
1080
|
$gl-dropdown-option-text-color-focus: $gl-action-neutral-foreground-color-focus; // Used for the text of a dropdown option in the focus state.
|
|
1067
1081
|
$gl-dropdown-option-text-color-active: $gl-action-neutral-foreground-color-active; // Used for the text of a dropdown option in the active state.
|
|
1082
|
+
$gl-modal-border-radius: $gl-border-radius-default; // Used for modal border radius.
|
|
1068
1083
|
$gl-toggle-switch-icon-color-unchecked-focus: $gl-action-strong-neutral-background-color-focus; // Used for the icon color of an unchecked toggle switch in the focus state.
|
|
1069
1084
|
$gl-toggle-switch-icon-color-checked-focus: $gl-action-strong-confirm-background-color-focus; // Used for the icon color of a checked toggle switch in the focus state.
|
|
1085
|
+
$gl-action-border-radius: $gl-border-radius-default; // Used for the border radius of an action.
|
|
1070
1086
|
$gl-action-selected-foreground-color-focus: $gl-action-selected-foreground-color-hover; // Used for the foreground of a selected action in the focus state.
|
|
1071
1087
|
$gl-action-selected-border-color-focus: $gl-action-selected-background-color-focus; // Used for the border of a selected action in the focus state.
|
|
1072
1088
|
$gl-action-strong-confirm-foreground-color-focus: $gl-action-strong-confirm-foreground-color-hover; // Used for the foreground of a strong confirm action in the focus state.
|
|
1073
1089
|
$gl-action-strong-confirm-border-color-focus: $gl-action-strong-confirm-border-color-hover; // Used for the border of a strong confirm action in the focus state.
|
|
1074
1090
|
$gl-action-strong-neutral-foreground-color-focus: $gl-action-strong-neutral-foreground-color-hover; // Used for the foreground of a strong neutral action in the focus state.
|
|
1075
1091
|
$gl-action-strong-neutral-border-color-focus: $gl-action-strong-neutral-border-color-hover; // Used for the border of a strong neutral action in the focus state.
|
|
1092
|
+
$gl-control-border-radius: $gl-border-radius-default; // Used for form control (input, radio button, checkbox, textarea) default border radius.
|
|
1093
|
+
$gl-button-border-radius: $gl-action-border-radius; // Used for button border radius.
|
|
1076
1094
|
$gl-button-confirm-primary-foreground-color-focus: $gl-action-strong-confirm-foreground-color-focus; // Used for the foreground of a confirm (positive) primary button in the focus state.
|
|
1077
1095
|
$gl-action-selected-foreground-color-active: $gl-action-selected-foreground-color-focus; // Used for the foreground of a selected action in the active state.
|
|
1078
1096
|
$gl-action-strong-confirm-foreground-color-active: $gl-action-strong-confirm-foreground-color-focus; // Used for the foreground of a strong confirm action in the active state.
|
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
* Do not edit directly, this file was auto-generated.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
$gl-border-radius-none: var(--gl-border-radius-none);
|
|
6
|
+
$gl-border-radius-xs: var(--gl-border-radius-xs);
|
|
7
|
+
$gl-border-radius-sm: var(--gl-border-radius-sm);
|
|
8
|
+
$gl-border-radius-md: var(--gl-border-radius-md);
|
|
9
|
+
$gl-border-radius-lg: var(--gl-border-radius-lg);
|
|
10
|
+
$gl-border-radius-xl: var(--gl-border-radius-xl);
|
|
11
|
+
$gl-border-radius-2xl: var(--gl-border-radius-2xl);
|
|
12
|
+
$gl-border-radius-3xl: var(--gl-border-radius-3xl);
|
|
13
|
+
$gl-border-radius-full: var(--gl-border-radius-full);
|
|
14
|
+
$gl-border-radius-default: var(--gl-border-radius-default);
|
|
15
|
+
$gl-border-color-default: var(--gl-border-color-default);
|
|
16
|
+
$gl-border-color-subtle: var(--gl-border-color-subtle);
|
|
17
|
+
$gl-border-color-strong: var(--gl-border-color-strong);
|
|
18
|
+
$gl-border-color-section: var(--gl-border-color-section);
|
|
19
|
+
$gl-border-color-transparent: var(--gl-border-color-transparent);
|
|
5
20
|
$gl-color-alpha-0: var(--gl-color-alpha-0);
|
|
6
21
|
$gl-color-alpha-dark-2: var(--gl-color-alpha-dark-2);
|
|
7
22
|
$gl-color-alpha-dark-4: var(--gl-color-alpha-dark-4);
|
|
@@ -270,6 +285,7 @@ $gl-spacing-scale-88: var(--gl-spacing-scale-88);
|
|
|
270
285
|
$gl-spacing-scale-px: var(--gl-spacing-scale-px);
|
|
271
286
|
$gl-spacing-scale-2-5: var(--gl-spacing-scale-2-5);
|
|
272
287
|
$gl-spacing-scale-11-5: var(--gl-spacing-scale-11-5);
|
|
288
|
+
$gl-alert-border-radius: var(--gl-alert-border-radius);
|
|
273
289
|
$gl-alert-neutral-title-color: var(--gl-alert-neutral-title-color);
|
|
274
290
|
$gl-alert-neutral-background-color: var(--gl-alert-neutral-background-color);
|
|
275
291
|
$gl-alert-neutral-border-top-color: var(--gl-alert-neutral-border-top-color);
|
|
@@ -440,6 +456,7 @@ $gl-broadcast-banner-border-color-lightgreen: var(--gl-broadcast-banner-border-c
|
|
|
440
456
|
$gl-broadcast-banner-border-color-lightindigo: var(--gl-broadcast-banner-border-color-lightindigo);
|
|
441
457
|
$gl-broadcast-banner-border-color-lightred: var(--gl-broadcast-banner-border-color-lightred);
|
|
442
458
|
$gl-broadcast-banner-border-color-red: var(--gl-broadcast-banner-border-color-red);
|
|
459
|
+
$gl-broadcast-banner-border-radius: var(--gl-broadcast-banner-border-radius);
|
|
443
460
|
$gl-broadcast-banner-icon-color-blue: var(--gl-broadcast-banner-icon-color-blue);
|
|
444
461
|
$gl-broadcast-banner-icon-color-dark: var(--gl-broadcast-banner-icon-color-dark);
|
|
445
462
|
$gl-broadcast-banner-icon-color-green: var(--gl-broadcast-banner-icon-color-green);
|
|
@@ -460,6 +477,7 @@ $gl-broadcast-banner-text-color-lightgreen: var(--gl-broadcast-banner-text-color
|
|
|
460
477
|
$gl-broadcast-banner-text-color-lightindigo: var(--gl-broadcast-banner-text-color-lightindigo);
|
|
461
478
|
$gl-broadcast-banner-text-color-lightred: var(--gl-broadcast-banner-text-color-lightred);
|
|
462
479
|
$gl-broadcast-banner-text-color-red: var(--gl-broadcast-banner-text-color-red);
|
|
480
|
+
$gl-button-border-radius: var(--gl-button-border-radius);
|
|
463
481
|
$gl-button-default-primary-foreground-color-default: var(--gl-button-default-primary-foreground-color-default);
|
|
464
482
|
$gl-button-default-primary-foreground-color-hover: var(--gl-button-default-primary-foreground-color-hover);
|
|
465
483
|
$gl-button-default-primary-foreground-color-focus: var(--gl-button-default-primary-foreground-color-focus);
|
|
@@ -579,6 +597,7 @@ $gl-button-selected-border-color-active: var(--gl-button-selected-border-color-a
|
|
|
579
597
|
$gl-button-disabled-foreground-color: var(--gl-button-disabled-foreground-color);
|
|
580
598
|
$gl-button-disabled-background-color: var(--gl-button-disabled-background-color);
|
|
581
599
|
$gl-button-disabled-border-color: var(--gl-button-disabled-border-color);
|
|
600
|
+
$gl-card-border-radius: var(--gl-card-border-radius);
|
|
582
601
|
$gl-chart-axis-pointer-color: var(--gl-chart-axis-pointer-color);
|
|
583
602
|
$gl-chart-axis-line-color: var(--gl-chart-axis-line-color);
|
|
584
603
|
$gl-chart-axis-text-color: var(--gl-chart-axis-text-color);
|
|
@@ -590,6 +609,7 @@ $gl-datepicker-background-color: var(--gl-datepicker-background-color);
|
|
|
590
609
|
$gl-datepicker-date-text-color-selected: var(--gl-datepicker-date-text-color-selected);
|
|
591
610
|
$gl-dropdown-background-color: var(--gl-dropdown-background-color);
|
|
592
611
|
$gl-dropdown-border-color: var(--gl-dropdown-border-color);
|
|
612
|
+
$gl-dropdown-border-radius: var(--gl-dropdown-border-radius);
|
|
593
613
|
$gl-dropdown-divider-color: var(--gl-dropdown-divider-color);
|
|
594
614
|
$gl-dropdown-option-text-color-default: var(--gl-dropdown-option-text-color-default);
|
|
595
615
|
$gl-dropdown-option-text-color-hover: var(--gl-dropdown-option-text-color-hover);
|
|
@@ -663,6 +683,7 @@ $gl-link-mention-text-color-default: var(--gl-link-mention-text-color-default);
|
|
|
663
683
|
$gl-link-mention-text-color-current: var(--gl-link-mention-text-color-current);
|
|
664
684
|
$gl-link-mention-background-color-default: var(--gl-link-mention-background-color-default);
|
|
665
685
|
$gl-link-mention-background-color-current: var(--gl-link-mention-background-color-current);
|
|
686
|
+
$gl-modal-border-radius: var(--gl-modal-border-radius);
|
|
666
687
|
$gl-progress-bar-indicator-color-default: var(--gl-progress-bar-indicator-color-default);
|
|
667
688
|
$gl-progress-bar-indicator-color-success: var(--gl-progress-bar-indicator-color-success);
|
|
668
689
|
$gl-progress-bar-indicator-color-warning: var(--gl-progress-bar-indicator-color-warning);
|
|
@@ -909,6 +930,7 @@ $t-white-a-02: var(--t-white-a-02);
|
|
|
909
930
|
$t-white-a-04: var(--t-white-a-04);
|
|
910
931
|
$t-white-a-06: var(--t-white-a-06);
|
|
911
932
|
$t-white-a-08: var(--t-white-a-08);
|
|
933
|
+
$gl-action-border-radius: var(--gl-action-border-radius);
|
|
912
934
|
$gl-action-disabled-foreground-color: var(--gl-action-disabled-foreground-color);
|
|
913
935
|
$gl-action-disabled-background-color: var(--gl-action-disabled-background-color);
|
|
914
936
|
$gl-action-disabled-border-color: var(--gl-action-disabled-border-color);
|
|
@@ -991,11 +1013,6 @@ $gl-background-color-disabled: var(--gl-background-color-disabled);
|
|
|
991
1013
|
$gl-background-color-overlap: var(--gl-background-color-overlap);
|
|
992
1014
|
$gl-background-color-section: var(--gl-background-color-section);
|
|
993
1015
|
$gl-background-color-overlay: var(--gl-background-color-overlay);
|
|
994
|
-
$gl-border-color-default: var(--gl-border-color-default);
|
|
995
|
-
$gl-border-color-subtle: var(--gl-border-color-subtle);
|
|
996
|
-
$gl-border-color-strong: var(--gl-border-color-strong);
|
|
997
|
-
$gl-border-color-section: var(--gl-border-color-section);
|
|
998
|
-
$gl-border-color-transparent: var(--gl-border-color-transparent);
|
|
999
1016
|
$gl-control-background-color-default: var(--gl-control-background-color-default);
|
|
1000
1017
|
$gl-control-background-color-disabled: var(--gl-control-background-color-disabled);
|
|
1001
1018
|
$gl-control-background-color-concatenation: var(--gl-control-background-color-concatenation);
|
|
@@ -1011,6 +1028,7 @@ $gl-control-border-color-error: var(--gl-control-border-color-error);
|
|
|
1011
1028
|
$gl-control-border-color-selected-default: var(--gl-control-border-color-selected-default);
|
|
1012
1029
|
$gl-control-border-color-selected-hover: var(--gl-control-border-color-selected-hover);
|
|
1013
1030
|
$gl-control-border-color-selected-focus: var(--gl-control-border-color-selected-focus);
|
|
1031
|
+
$gl-control-border-radius: var(--gl-control-border-radius);
|
|
1014
1032
|
$gl-control-text-color-error: var(--gl-control-text-color-error);
|
|
1015
1033
|
$gl-control-text-color-valid: var(--gl-control-text-color-valid);
|
|
1016
1034
|
$gl-control-placeholder-color: var(--gl-control-placeholder-color);
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
const feedbackTextColors = {"feedback-strong":"var(--gl-feedback-strong-text-color, var(--gl-color-neutral-0, #fff))","feedback-neutral":"var(--gl-feedback-neutral-text-color, var(--gl-color-neutral-700, #4c4b51))","feedback-info":"var(--gl-feedback-info-text-color, var(--gl-color-blue-700, #2f5ca0))","feedback-success":"var(--gl-feedback-success-text-color, var(--gl-color-green-700, #306440))","feedback-warning":"var(--gl-feedback-warning-text-color, var(--gl-color-orange-700, #894b16))","feedback-danger":"var(--gl-feedback-danger-text-color, var(--gl-color-red-700, #a32c12))"};
|
|
22
22
|
const feedbackIconColors = {"feedback-strong":"var(--gl-feedback-strong-icon-color, var(--gl-color-neutral-0, #fff))","feedback-neutral":"var(--gl-feedback-neutral-icon-color, var(--gl-color-neutral-600, #626168))","feedback-info":"var(--gl-feedback-info-icon-color, var(--gl-color-blue-600, #2f68b4))","feedback-success":"var(--gl-feedback-success-icon-color, var(--gl-color-green-600, #2f7549))","feedback-warning":"var(--gl-feedback-warning-icon-color, var(--gl-color-orange-600, #995715))","feedback-danger":"var(--gl-feedback-danger-icon-color, var(--gl-color-red-600, #c02f12))"};
|
|
23
23
|
const spacingScale = {"0":"var(--gl-spacing-scale-0, 0)","1":"var(--gl-spacing-scale-1, 0.125rem)","2":"var(--gl-spacing-scale-2, 0.25rem)","3":"var(--gl-spacing-scale-3, 0.5rem)","4":"var(--gl-spacing-scale-4, 0.75rem)","5":"var(--gl-spacing-scale-5, 1rem)","6":"var(--gl-spacing-scale-6, 1.5rem)","7":"var(--gl-spacing-scale-7, 2rem)","8":"var(--gl-spacing-scale-8, 2.5rem)","9":"var(--gl-spacing-scale-9, 3rem)","10":"var(--gl-spacing-scale-10, 3.5rem)","11":"var(--gl-spacing-scale-11, 4rem)","12":"var(--gl-spacing-scale-12, 5rem)","13":"var(--gl-spacing-scale-13, 6rem)","15":"var(--gl-spacing-scale-15, 7.5rem)","18":"var(--gl-spacing-scale-18, 9rem)","20":"var(--gl-spacing-scale-20, 10rem)","26":"var(--gl-spacing-scale-26, 13rem)","28":"var(--gl-spacing-scale-28, 14rem)","30":"var(--gl-spacing-scale-30, 15rem)","31":"var(--gl-spacing-scale-31, 15.5rem)","33":"var(--gl-spacing-scale-33, 16.5rem)","34":"var(--gl-spacing-scale-34, 17rem)","37":"var(--gl-spacing-scale-37, 18.5rem)","48":"var(--gl-spacing-scale-48, 24rem)","62":"var(--gl-spacing-scale-62, 31rem)","75":"var(--gl-spacing-scale-75, 37.5rem)","80":"var(--gl-spacing-scale-80, 40rem)","88":"var(--gl-spacing-scale-88, 44rem)","px":"var(--gl-spacing-scale-px, 1px)","2-5":"var(--gl-spacing-scale-2-5, 0.375rem)","11-5":"var(--gl-spacing-scale-11-5, 4.5rem)"};
|
|
24
|
+
const borderRadius = {"none":"var(--gl-border-radius-none, var(--gl-spacing-scale-0, 0))","xs":"var(--gl-border-radius-xs, var(--gl-spacing-scale-px, 1px))","sm":"var(--gl-border-radius-sm, var(--gl-spacing-scale-1, 0.125rem))","md":"var(--gl-border-radius-md, var(--gl-spacing-scale-2, 0.25rem))","lg":"var(--gl-border-radius-lg, var(--gl-spacing-scale-3, 0.5rem))","xl":"var(--gl-border-radius-xl, var(--gl-spacing-scale-4, 0.75rem))","2xl":"var(--gl-border-radius-2xl, var(--gl-spacing-scale-5, 1rem))","3xl":"var(--gl-border-radius-3xl, var(--gl-spacing-scale-6, 1.5rem))","full":"var(--gl-border-radius-full, 9999px)","default":"var(--gl-border-radius-default, var(--gl-border-radius-md, 0.25rem))","control":"var(--gl-control-border-radius, var(--gl-border-radius-default, 0.25rem))"};
|
|
24
25
|
|
|
25
26
|
const colors = {
|
|
26
27
|
inherit: 'inherit',
|
|
@@ -101,5 +102,6 @@
|
|
|
101
102
|
textColor,
|
|
102
103
|
fill,
|
|
103
104
|
spacing: spacingScale,
|
|
105
|
+
borderRadius,
|
|
104
106
|
}
|
|
105
107
|
|
package/package.json
CHANGED
|
@@ -41,8 +41,8 @@ $gl-alert-top-border-size: 2px;
|
|
|
41
41
|
@apply gl-text-base;
|
|
42
42
|
position: relative;
|
|
43
43
|
padding-inline: calc(#{$gl-spacing-scale-9} + #{$gl-alert-padding-x});
|
|
44
|
+
border-radius: var(--gl-alert-border-radius);
|
|
44
45
|
@apply gl-py-5;
|
|
45
|
-
@apply gl-rounded-base;
|
|
46
46
|
|
|
47
47
|
@media (forced-colors: active) {
|
|
48
48
|
border: 1px solid transparent;
|
|
@@ -36,21 +36,21 @@ $gl-avatar-identicon-texts: var(--gl-avatar-fallback-text-color-red),
|
|
|
36
36
|
@apply gl-w-5;
|
|
37
37
|
@apply gl-h-5;
|
|
38
38
|
font-size: map.get($gl-font-sizes, 100);
|
|
39
|
-
@apply gl-rounded-
|
|
39
|
+
@apply gl-rounded-sm;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
@mixin gl-avatar-s24 {
|
|
43
43
|
@apply gl-w-6;
|
|
44
44
|
@apply gl-h-6;
|
|
45
45
|
font-size: map.get($gl-font-sizes, 400);
|
|
46
|
-
@apply gl-rounded-
|
|
46
|
+
@apply gl-rounded-md;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
@mixin gl-avatar-s32 {
|
|
50
50
|
@apply gl-w-7;
|
|
51
51
|
@apply gl-h-7;
|
|
52
52
|
font-size: map.get($gl-font-sizes, 500);
|
|
53
|
-
@apply gl-rounded-
|
|
53
|
+
@apply gl-rounded-md;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
@mixin gl-avatar-s48 {
|
|
@@ -235,7 +235,7 @@ export default {
|
|
|
235
235
|
:src="item.avatarPath"
|
|
236
236
|
:size="avatarSize"
|
|
237
237
|
aria-hidden="true"
|
|
238
|
-
class="gl-breadcrumb-avatar-tile gl-border gl-mr-2 !gl-rounded-
|
|
238
|
+
class="gl-breadcrumb-avatar-tile gl-border gl-mr-2 !gl-rounded-default"
|
|
239
239
|
shape="rect"
|
|
240
240
|
data-testid="avatar"
|
|
241
241
|
/><span class="gl-align-middle">{{ item.text }}</span>
|
|
@@ -99,11 +99,11 @@ $gl-broadcast-message-padding-x: var(--gl-broadcast-message-padding-x, 0px);
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
&.notification {
|
|
102
|
-
@apply gl-rounded-base;
|
|
103
102
|
@apply gl-border;
|
|
104
103
|
@apply gl-shadow-md;
|
|
105
104
|
@apply gl-bg-overlap;
|
|
106
105
|
@apply gl-text-default;
|
|
106
|
+
border-radius: var(--gl-broadcast-banner-border-radius);
|
|
107
107
|
max-width: $gl-broadcast-message-notification-max-width;
|
|
108
108
|
}
|
|
109
109
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
.gl-card {
|
|
2
2
|
@apply gl-bg-subtle;
|
|
3
3
|
@apply gl-border-solid;
|
|
4
|
-
@apply gl-rounded-base;
|
|
5
4
|
@apply gl-flex;
|
|
6
5
|
@apply gl-flex-col;
|
|
7
6
|
@apply gl-break-words;
|
|
8
7
|
@apply gl-relative;
|
|
9
8
|
@apply gl-text-base;
|
|
9
|
+
border-radius: var(--gl-card-border-radius);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.gl-card,
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
|
|
26
26
|
.gl-card-header {
|
|
27
27
|
@apply gl-border-b-solid;
|
|
28
|
-
border-top-left-radius: calc(
|
|
29
|
-
border-top-right-radius: calc(
|
|
28
|
+
border-top-left-radius: calc(var(--gl-card-border-radius) - $gl-border-size-1);
|
|
29
|
+
border-top-right-radius: calc(var(--gl-card-border-radius) - $gl-border-size-1);
|
|
30
30
|
@apply gl-text-heading;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.gl-card-footer {
|
|
34
34
|
@apply gl-border-t-solid;
|
|
35
|
-
border-bottom-left-radius: calc(
|
|
36
|
-
border-bottom-right-radius: calc(
|
|
35
|
+
border-bottom-left-radius: calc(var(--gl-card-border-radius) - $gl-border-size-1);
|
|
36
|
+
border-bottom-right-radius: calc(var(--gl-card-border-radius) - $gl-border-size-1);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.gl-card-header,
|
|
@@ -39,8 +39,8 @@ $pd-week-color: var(--gl-text-color-subtle);
|
|
|
39
39
|
.gl-datepicker-theme {
|
|
40
40
|
@apply gl-font-regular;
|
|
41
41
|
@apply gl-border-none;
|
|
42
|
-
@apply gl-rounded-base;
|
|
43
42
|
@apply gl-mt-3;
|
|
43
|
+
border-radius: var(--gl-dropdown-border-radius);
|
|
44
44
|
background-color: var(--gl-datepicker-background-color);
|
|
45
45
|
|
|
46
46
|
&.is-bound {
|
|
@@ -56,7 +56,7 @@ $pd-week-color: var(--gl-text-color-subtle);
|
|
|
56
56
|
@apply gl-pt-5;
|
|
57
57
|
@apply gl-px-3;
|
|
58
58
|
@apply gl-pb-3;
|
|
59
|
-
@apply gl-rounded-
|
|
59
|
+
@apply gl-rounded-default;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.pika-title {
|
|
@@ -187,7 +187,7 @@ $pd-week-color: var(--gl-text-color-subtle);
|
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
.pika-button {
|
|
190
|
-
|
|
190
|
+
border-radius: var(--gl-action-border-radius);
|
|
191
191
|
@apply gl-shadow-none;
|
|
192
192
|
@apply gl-py-3;
|
|
193
193
|
@apply gl-text-center;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
.gl-dropdown {
|
|
2
2
|
.dropdown-menu {
|
|
3
3
|
@apply gl-border-1 gl-border-dropdown;
|
|
4
|
-
@apply gl-rounded-base;
|
|
5
4
|
@apply gl-bg-dropdown;
|
|
6
5
|
@apply gl-mt-2;
|
|
7
6
|
@apply gl-mb-2;
|
|
8
7
|
@apply gl-p-0;
|
|
9
8
|
@apply gl-shadow-x0-y2-b4-s0;
|
|
9
|
+
border-radius: var(--gl-dropdown-border-radius);
|
|
10
10
|
width: $gl-dropdown-width;
|
|
11
11
|
|
|
12
12
|
.gl-search-box-by-type {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
@apply gl-pl-4;
|
|
9
9
|
@apply gl-pr-7;
|
|
10
10
|
@apply gl-border-none;
|
|
11
|
-
@apply gl-rounded-
|
|
11
|
+
@apply gl-rounded-default;
|
|
12
12
|
box-shadow: inset 0 0 0 $gl-border-size-1 var(--gl-control-border-color-default);
|
|
13
13
|
background-color: var(--gl-control-background-color-default);
|
|
14
14
|
|
|
@@ -19,6 +19,7 @@ See: https://gitlab.com/gitlab-org/gitlab/issues/30055
|
|
|
19
19
|
@apply gl-truncate;
|
|
20
20
|
@apply gl-bg-no-repeat;
|
|
21
21
|
@apply gl-border-none;
|
|
22
|
+
@apply gl-rounded-control;
|
|
22
23
|
appearance: none;
|
|
23
24
|
background-color: var(--gl-control-background-color-default);
|
|
24
25
|
background-image: none;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
.input-group-text {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
background-color: var(--gl-control-background-color-concatenation);
|
|
3
|
+
border-color: var(--gl-control-border-color-default);
|
|
4
|
+
@apply gl-text-default;
|
|
5
|
+
@apply gl-text-base;
|
|
6
|
+
@apply gl-leading-normal;
|
|
7
|
+
@apply gl-rounded-control;
|
|
7
8
|
}
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
.idiff {
|
|
84
|
-
@apply gl-rounded-
|
|
84
|
+
@apply gl-rounded-default;
|
|
85
85
|
@apply gl-inline-flex;
|
|
86
86
|
@apply gl-px-2;
|
|
87
87
|
}
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
code {
|
|
98
|
-
@apply gl-rounded-
|
|
98
|
+
@apply gl-rounded-default;
|
|
99
99
|
@apply gl-bg-strong;
|
|
100
100
|
@apply gl-text-strong;
|
|
101
101
|
@apply gl-px-2;
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
pre {
|
|
106
|
-
@apply gl-rounded-
|
|
106
|
+
@apply gl-rounded-default;
|
|
107
107
|
@apply gl-py-3;
|
|
108
108
|
@apply gl-px-4;
|
|
109
109
|
box-shadow: inset 0 0 0 $gl-border-size-1 var(--gl-border-color-default);
|