@gitlab/ui 89.1.0 → 89.2.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 +7 -0
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/tokens/build/js/tokens.dark.js +14 -10
- package/dist/tokens/build/js/tokens.js +7 -3
- package/dist/tokens/css/tokens.css +7 -3
- package/dist/tokens/css/tokens.dark.css +12 -8
- package/dist/tokens/js/tokens.dark.js +13 -9
- package/dist/tokens/js/tokens.js +6 -2
- package/dist/tokens/json/tokens.dark.json +105 -26
- package/dist/tokens/json/tokens.json +98 -19
- package/dist/tokens/scss/_tokens.dark.scss +12 -8
- package/dist/tokens/scss/_tokens.scss +7 -3
- package/dist/tokens/scss/_tokens_custom_properties.scss +4 -0
- package/dist/tokens/tailwind/tokens.cjs +1 -0
- package/package.json +3 -3
- package/src/components/base/datepicker/datepicker.scss +2 -2
- package/src/tokens/build/css/tokens.css +7 -3
- package/src/tokens/build/css/tokens.dark.css +12 -8
- package/src/tokens/build/js/tokens.dark.js +13 -9
- package/src/tokens/build/js/tokens.js +6 -2
- package/src/tokens/build/json/tokens.dark.json +105 -26
- package/src/tokens/build/json/tokens.json +98 -19
- package/src/tokens/build/scss/_tokens.dark.scss +12 -8
- package/src/tokens/build/scss/_tokens.scss +7 -3
- package/src/tokens/build/scss/_tokens_custom_properties.scss +4 -0
- package/src/tokens/build/tailwind/tokens.cjs +1 -0
- package/src/tokens/color.alpha.tokens.json +4 -0
- package/src/tokens/contextual/datepicker.tokens.json +10 -0
- package/src/tokens/control.tokens.json +24 -17
|
@@ -406,6 +406,7 @@
|
|
|
406
406
|
--gl-color-alpha-light-6: rgba(255, 255, 255, 0.06);
|
|
407
407
|
--gl-color-alpha-light-4: rgba(255, 255, 255, 0.04);
|
|
408
408
|
--gl-color-alpha-light-2: rgba(255, 255, 255, 0.02);
|
|
409
|
+
--gl-color-alpha-dark-40: rgba(05, 05, 06, 0.4);
|
|
409
410
|
--gl-color-alpha-dark-24: rgba(05, 05, 06, 0.24);
|
|
410
411
|
--gl-color-alpha-dark-16: rgba(05, 05, 06, 0.16);
|
|
411
412
|
--gl-color-alpha-dark-8: rgba(05, 05, 06, 0.08);
|
|
@@ -480,9 +481,6 @@
|
|
|
480
481
|
--gl-feedback-strong-background-color: var(--gl-color-neutral-950); /* Used for a background associated with strong feedback like a tooltip or toast message. */
|
|
481
482
|
--gl-control-indicator-color-disabled: var(--gl-color-neutral-500); /* Used for disabled checkbox and radio button state indicators. */
|
|
482
483
|
--gl-control-indicator-color-selected: var(--gl-color-neutral-0); /* Used for checkbox and radio button state indicators. */
|
|
483
|
-
--gl-control-placeholder-color: var(--gl-color-neutral-400); /* Used for placeholder text within inputs. */
|
|
484
|
-
--gl-control-text-color-valid: var(--gl-color-green-500); /* Used for the helper text when the input is valid. */
|
|
485
|
-
--gl-control-text-color-error: var(--gl-color-red-500); /* Used for the helper text when the input is invalid. */
|
|
486
484
|
--gl-control-border-color-selected-focus: var(--gl-color-blue-700); /* Used for checked and indeterminate (selected) form control (checkbox, radio button) border on focus. */
|
|
487
485
|
--gl-control-border-color-selected-hover: var(--gl-color-blue-700); /* Used for checked and indeterminate (selected) form control (checkbox, radio button) border on hover. */
|
|
488
486
|
--gl-control-border-color-selected-default: var(--gl-color-blue-500); /* Used for checked and indeterminate (selected) form control (checkbox, radio button) border. */
|
|
@@ -494,6 +492,8 @@
|
|
|
494
492
|
--gl-control-background-color-selected-focus: var(--gl-color-blue-700); /* Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover. */
|
|
495
493
|
--gl-control-background-color-selected-hover: var(--gl-color-blue-700); /* Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover. */
|
|
496
494
|
--gl-control-background-color-selected-default: var(--gl-color-blue-500); /* Used for checked and indeterminate (selected) form control (checkbox, radio button) background. */
|
|
495
|
+
--gl-control-background-color-readonly: var(--gl-color-neutral-10); /* Used for the background of static content that prepends or appends a text input. */
|
|
496
|
+
--gl-control-background-color-concatenation: var(--gl-color-neutral-10); /* Used for the background of static content that prepends or appends a text input. */
|
|
497
497
|
--gl-control-background-color-disabled: var(--gl-color-neutral-10); /* Used for disabled form control (checkbox, input, radio button, textarea) background. */
|
|
498
498
|
--gl-control-background-color-default: var(--gl-color-neutral-0); /* Used for form control (input, radio button, checkbox, textarea) default background. */
|
|
499
499
|
--gl-spinner-segment-color-light: var(--gl-color-neutral-200); /* Used for the animated segment of a loading spinner on a dark background. */
|
|
@@ -515,6 +515,7 @@
|
|
|
515
515
|
--gl-label-light-button-background-color-hover: var(--gl-color-neutral-950); /* Used for the label remove button background on a light background color in the hover state. */
|
|
516
516
|
--gl-label-light-button-background-color-default: var(--gl-color-alpha-0); /* Used for the label remove button background on a light background color in the default state. */
|
|
517
517
|
--gl-label-light-text-color: var(--gl-color-neutral-950); /* Used for the label text color on a light background color. */
|
|
518
|
+
--gl-datepicker-background-color: var(--gl-color-neutral-0); /* Used for the background color of datepicker. */
|
|
518
519
|
--gl-button-disabled-border-color: var(--gl-color-neutral-100); /* Used for the border of a disabled button. */
|
|
519
520
|
--gl-button-disabled-background-color: var(--gl-color-neutral-10); /* Used for the background of a disabled button. */
|
|
520
521
|
--gl-button-disabled-foreground-color: var(--gl-color-neutral-500); /* Used for the foreground of a disabled button. */
|
|
@@ -691,6 +692,9 @@
|
|
|
691
692
|
--gl-action-disabled-background-color: var(--gl-color-neutral-50); /* Used for the background of a disabled action. */
|
|
692
693
|
--gl-action-disabled-foreground-color: var(--gl-color-neutral-400); /* Used for the foreground of a disabled action. */
|
|
693
694
|
--gl-focus-ring-inner-color: var(--gl-background-color-default); /* Used for the inner neutral portion of the focus ring. */
|
|
695
|
+
--gl-control-placeholder-color: var(--gl-text-color-disabled); /* Used for placeholder text within inputs. */
|
|
696
|
+
--gl-control-text-color-valid: var(--gl-text-color-success); /* Used for the helper text when the input is valid. */
|
|
697
|
+
--gl-control-text-color-error: var(--gl-text-color-danger); /* Used for the helper text when the input is invalid. */
|
|
694
698
|
--gl-table-sorting-icon-color: var(--gl-text-color-heading); /* Used for the color of the sorting icons in the column headers. */
|
|
695
699
|
--gl-table-row-background-color-hover: var(--gl-background-color-subtle); /* Used for the background of a table row in hover state. */
|
|
696
700
|
--gl-datepicker-date-text-color-selected: var(--gl-control-indicator-color-selected); /* Used for the datepicker date text color state indicators. */
|
|
@@ -406,6 +406,7 @@
|
|
|
406
406
|
--gl-color-alpha-light-6: rgba(255, 255, 255, 0.06);
|
|
407
407
|
--gl-color-alpha-light-4: rgba(255, 255, 255, 0.04);
|
|
408
408
|
--gl-color-alpha-light-2: rgba(255, 255, 255, 0.02);
|
|
409
|
+
--gl-color-alpha-dark-40: rgba(05, 05, 06, 0.4);
|
|
409
410
|
--gl-color-alpha-dark-24: rgba(05, 05, 06, 0.24);
|
|
410
411
|
--gl-color-alpha-dark-16: rgba(05, 05, 06, 0.16);
|
|
411
412
|
--gl-color-alpha-dark-8: rgba(05, 05, 06, 0.08);
|
|
@@ -479,23 +480,22 @@
|
|
|
479
480
|
--gl-feedback-strong-text-color: var(--gl-color-neutral-900); /* Used for text on a strong feedback background. */
|
|
480
481
|
--gl-feedback-strong-background-color: var(--gl-color-neutral-10); /* Used for a background associated with strong feedback like a tooltip or toast message. */
|
|
481
482
|
--gl-control-indicator-color-disabled: var(--gl-color-neutral-400); /* Used for disabled checkbox and radio button state indicators. */
|
|
482
|
-
--gl-control-indicator-color-selected: var(--gl-color-neutral-
|
|
483
|
-
--gl-control-placeholder-color: var(--gl-color-neutral-500); /* Used for placeholder text within inputs. */
|
|
484
|
-
--gl-control-text-color-valid: var(--gl-color-green-400); /* Used for the helper text when the input is valid. */
|
|
485
|
-
--gl-control-text-color-error: var(--gl-color-red-400); /* Used for the helper text when the input is invalid. */
|
|
483
|
+
--gl-control-indicator-color-selected: var(--gl-color-neutral-950); /* Used for checkbox and radio button state indicators. */
|
|
486
484
|
--gl-control-border-color-selected-focus: var(--gl-color-blue-200); /* Used for checked and indeterminate (selected) form control (checkbox, radio button) border on focus. */
|
|
487
485
|
--gl-control-border-color-selected-hover: var(--gl-color-blue-200); /* Used for checked and indeterminate (selected) form control (checkbox, radio button) border on hover. */
|
|
488
486
|
--gl-control-border-color-selected-default: var(--gl-color-blue-400); /* Used for checked and indeterminate (selected) form control (checkbox, radio button) border. */
|
|
489
|
-
--gl-control-border-color-error: var(--gl-color-red-
|
|
487
|
+
--gl-control-border-color-error: var(--gl-color-red-300); /* Used for invalid form control (input, textarea) border. */
|
|
490
488
|
--gl-control-border-color-disabled: var(--gl-color-neutral-800); /* Used for disabled form control (input, radio button, checkbox, textarea) border. */
|
|
491
489
|
--gl-control-border-color-focus: var(--gl-color-neutral-50); /* Used for form control (input, radio button, checkbox, textarea) border on focus. */
|
|
492
490
|
--gl-control-border-color-hover: var(--gl-color-neutral-300); /* Used for form control (input, radio button, checkbox, textarea) border on hover. */
|
|
493
491
|
--gl-control-border-color-default: var(--gl-color-neutral-500); /* Used for form control (input, radio button, checkbox, textarea) default border. */
|
|
494
492
|
--gl-control-background-color-selected-focus: var(--gl-color-blue-200); /* Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover. */
|
|
495
493
|
--gl-control-background-color-selected-hover: var(--gl-color-blue-200); /* Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover. */
|
|
496
|
-
--gl-control-background-color-selected-default: var(--gl-color-blue-
|
|
497
|
-
--gl-control-background-color-
|
|
498
|
-
--gl-control-background-color-
|
|
494
|
+
--gl-control-background-color-selected-default: var(--gl-color-blue-300); /* Used for checked and indeterminate (selected) form control (checkbox, radio button) background. */
|
|
495
|
+
--gl-control-background-color-readonly: var(--gl-color-neutral-900); /* Used for the background of static content that prepends or appends a text input. */
|
|
496
|
+
--gl-control-background-color-concatenation: var(--gl-color-alpha-light-4); /* Used for the background of static content that prepends or appends a text input. */
|
|
497
|
+
--gl-control-background-color-disabled: var(--gl-color-alpha-light-4); /* Used for disabled form control (checkbox, input, radio button, textarea) background. */
|
|
498
|
+
--gl-control-background-color-default: var(--gl-color-alpha-dark-40); /* Used for form control (input, radio button, checkbox, textarea) default background. */
|
|
499
499
|
--gl-spinner-segment-color-light: var(--gl-color-neutral-200); /* Used for the animated segment of a loading spinner on a dark background. */
|
|
500
500
|
--gl-spinner-segment-color-default: var(--gl-color-neutral-200); /* Used for the animated segment of a loading spinner. */
|
|
501
501
|
--gl-spinner-track-color-light: var(--gl-color-neutral-800); /* Used for the static track (background) of a loading spinner on a dark background. */
|
|
@@ -515,6 +515,7 @@
|
|
|
515
515
|
--gl-label-light-button-background-color-hover: var(--gl-color-neutral-950); /* Used for the label remove button background on a light background color in the hover state. */
|
|
516
516
|
--gl-label-light-button-background-color-default: var(--gl-color-alpha-0); /* Used for the label remove button background on a light background color in the default state. */
|
|
517
517
|
--gl-label-light-text-color: var(--gl-color-neutral-950); /* Used for the label text color on a light background color. */
|
|
518
|
+
--gl-datepicker-background-color: var(--gl-color-neutral-900); /* Used for the background color of datepicker. */
|
|
518
519
|
--gl-button-disabled-border-color: var(--gl-color-neutral-800); /* Used for the border of a disabled button. */
|
|
519
520
|
--gl-button-disabled-background-color: var(--gl-color-neutral-950); /* Used for the background of a disabled button. */
|
|
520
521
|
--gl-button-disabled-foreground-color: var(--gl-color-neutral-400); /* Used for the foreground of a disabled button. */
|
|
@@ -691,6 +692,9 @@
|
|
|
691
692
|
--gl-action-disabled-background-color: var(--gl-color-neutral-900); /* Used for the background of a disabled action. */
|
|
692
693
|
--gl-action-disabled-foreground-color: var(--gl-color-neutral-500); /* Used for the foreground of a disabled action. */
|
|
693
694
|
--gl-focus-ring-inner-color: var(--gl-background-color-default); /* Used for the inner neutral portion of the focus ring. */
|
|
695
|
+
--gl-control-placeholder-color: var(--gl-text-color-disabled); /* Used for placeholder text within inputs. */
|
|
696
|
+
--gl-control-text-color-valid: var(--gl-text-color-success); /* Used for the helper text when the input is valid. */
|
|
697
|
+
--gl-control-text-color-error: var(--gl-text-color-danger); /* Used for the helper text when the input is invalid. */
|
|
694
698
|
--gl-table-sorting-icon-color: var(--gl-text-color-heading); /* Used for the color of the sorting icons in the column headers. */
|
|
695
699
|
--gl-table-row-background-color-hover: var(--gl-background-color-subtle); /* Used for the background of a table row in hover state. */
|
|
696
700
|
--gl-datepicker-date-text-color-selected: var(--gl-control-indicator-color-selected); /* Used for the datepicker date text color state indicators. */
|
|
@@ -58,6 +58,7 @@ export const GL_COLOR_ALPHA_DARK_6 = 'rgba(05, 05, 06, 0.06)';
|
|
|
58
58
|
export const GL_COLOR_ALPHA_DARK_8 = 'rgba(05, 05, 06, 0.08)';
|
|
59
59
|
export const GL_COLOR_ALPHA_DARK_16 = 'rgba(05, 05, 06, 0.16)';
|
|
60
60
|
export const GL_COLOR_ALPHA_DARK_24 = 'rgba(05, 05, 06, 0.24)';
|
|
61
|
+
export const GL_COLOR_ALPHA_DARK_40 = 'rgba(05, 05, 06, 0.4)';
|
|
61
62
|
export const GL_COLOR_ALPHA_LIGHT_2 = 'rgba(255, 255, 255, 0.02)';
|
|
62
63
|
export const GL_COLOR_ALPHA_LIGHT_4 = 'rgba(255, 255, 255, 0.04)';
|
|
63
64
|
export const GL_COLOR_ALPHA_LIGHT_6 = 'rgba(255, 255, 255, 0.06)';
|
|
@@ -524,7 +525,8 @@ export const GL_BUTTON_SELECTED_BORDER_COLOR_ACTIVE = '#a4a3a8'; // Used for the
|
|
|
524
525
|
export const GL_BUTTON_DISABLED_FOREGROUND_COLOR = '#89888d'; // Used for the foreground of a disabled button.
|
|
525
526
|
export const GL_BUTTON_DISABLED_BACKGROUND_COLOR = '#18171d'; // Used for the background of a disabled button.
|
|
526
527
|
export const GL_BUTTON_DISABLED_BORDER_COLOR = '#3a383f'; // Used for the border of a disabled button.
|
|
527
|
-
export const
|
|
528
|
+
export const GL_DATEPICKER_BACKGROUND_COLOR = '#28272d'; // Used for the background color of datepicker.
|
|
529
|
+
export const GL_DATEPICKER_DATE_TEXT_COLOR_SELECTED = '#18171d'; // Used for the datepicker date text color state indicators.
|
|
528
530
|
export const GL_LABEL_LIGHT_TEXT_COLOR = '#18171d'; // Used for the label text color on a light background color.
|
|
529
531
|
export const GL_LABEL_LIGHT_BUTTON_BACKGROUND_COLOR_DEFAULT = 'transparent'; // Used for the label remove button background on a light background color in the default state.
|
|
530
532
|
export const GL_LABEL_LIGHT_BUTTON_BACKGROUND_COLOR_HOVER = '#18171d'; // Used for the label remove button background on a light background color in the hover state.
|
|
@@ -546,23 +548,25 @@ export const GL_SPINNER_SEGMENT_COLOR_DEFAULT = '#bfbfc3'; // Used for the anima
|
|
|
546
548
|
export const GL_SPINNER_SEGMENT_COLOR_LIGHT = '#bfbfc3'; // Used for the animated segment of a loading spinner on a dark background.
|
|
547
549
|
export const GL_TABLE_ROW_BACKGROUND_COLOR_HOVER = '#28272d'; // Used for the background of a table row in hover state.
|
|
548
550
|
export const GL_TABLE_SORTING_ICON_COLOR = '#fff'; // Used for the color of the sorting icons in the column headers.
|
|
549
|
-
export const GL_CONTROL_BACKGROUND_COLOR_DEFAULT = '
|
|
550
|
-
export const GL_CONTROL_BACKGROUND_COLOR_DISABLED = '
|
|
551
|
-
export const
|
|
551
|
+
export const GL_CONTROL_BACKGROUND_COLOR_DEFAULT = 'rgba(05, 05, 06, 0.4)'; // Used for form control (input, radio button, checkbox, textarea) default background.
|
|
552
|
+
export const GL_CONTROL_BACKGROUND_COLOR_DISABLED = 'rgba(255, 255, 255, 0.04)'; // Used for disabled form control (checkbox, input, radio button, textarea) background.
|
|
553
|
+
export const GL_CONTROL_BACKGROUND_COLOR_CONCATENATION = 'rgba(255, 255, 255, 0.04)'; // Used for the background of static content that prepends or appends a text input.
|
|
554
|
+
export const GL_CONTROL_BACKGROUND_COLOR_READONLY = '#28272d'; // Used for the background of static content that prepends or appends a text input.
|
|
555
|
+
export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_DEFAULT = '#63a6e9'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background.
|
|
552
556
|
export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_HOVER = '#9dc7f1'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
|
|
553
557
|
export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_FOCUS = '#9dc7f1'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
|
|
554
558
|
export const GL_CONTROL_BORDER_COLOR_DEFAULT = '#737278'; // Used for form control (input, radio button, checkbox, textarea) default border.
|
|
555
559
|
export const GL_CONTROL_BORDER_COLOR_HOVER = '#a4a3a8'; // Used for form control (input, radio button, checkbox, textarea) border on hover.
|
|
556
560
|
export const GL_CONTROL_BORDER_COLOR_FOCUS = '#ececef'; // Used for form control (input, radio button, checkbox, textarea) border on focus.
|
|
557
561
|
export const GL_CONTROL_BORDER_COLOR_DISABLED = '#3a383f'; // Used for disabled form control (input, radio button, checkbox, textarea) border.
|
|
558
|
-
export const GL_CONTROL_BORDER_COLOR_ERROR = '#
|
|
562
|
+
export const GL_CONTROL_BORDER_COLOR_ERROR = '#f57f6c'; // Used for invalid form control (input, textarea) border.
|
|
559
563
|
export const GL_CONTROL_BORDER_COLOR_SELECTED_DEFAULT = '#428fdc'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) border.
|
|
560
564
|
export const GL_CONTROL_BORDER_COLOR_SELECTED_HOVER = '#9dc7f1'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) border on hover.
|
|
561
565
|
export const GL_CONTROL_BORDER_COLOR_SELECTED_FOCUS = '#9dc7f1'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) border on focus.
|
|
562
|
-
export const GL_CONTROL_TEXT_COLOR_ERROR = '#
|
|
563
|
-
export const GL_CONTROL_TEXT_COLOR_VALID = '#
|
|
564
|
-
export const GL_CONTROL_PLACEHOLDER_COLOR = '#
|
|
565
|
-
export const GL_CONTROL_INDICATOR_COLOR_SELECTED = '#
|
|
566
|
+
export const GL_CONTROL_TEXT_COLOR_ERROR = '#f57f6c'; // Used for the helper text when the input is invalid.
|
|
567
|
+
export const GL_CONTROL_TEXT_COLOR_VALID = '#52b87a'; // Used for the helper text when the input is valid.
|
|
568
|
+
export const GL_CONTROL_PLACEHOLDER_COLOR = '#89888d'; // Used for placeholder text within inputs.
|
|
569
|
+
export const GL_CONTROL_INDICATOR_COLOR_SELECTED = '#18171d'; // Used for checkbox and radio button state indicators.
|
|
566
570
|
export const GL_CONTROL_INDICATOR_COLOR_DISABLED = '#89888d'; // Used for disabled checkbox and radio button state indicators.
|
|
567
571
|
export const THEME_INDIGO_10 = '#14143d';
|
|
568
572
|
export const THEME_INDIGO_50 = '#222261';
|
|
@@ -58,6 +58,7 @@ export const GL_COLOR_ALPHA_DARK_6 = 'rgba(05, 05, 06, 0.06)';
|
|
|
58
58
|
export const GL_COLOR_ALPHA_DARK_8 = 'rgba(05, 05, 06, 0.08)';
|
|
59
59
|
export const GL_COLOR_ALPHA_DARK_16 = 'rgba(05, 05, 06, 0.16)';
|
|
60
60
|
export const GL_COLOR_ALPHA_DARK_24 = 'rgba(05, 05, 06, 0.24)';
|
|
61
|
+
export const GL_COLOR_ALPHA_DARK_40 = 'rgba(05, 05, 06, 0.4)';
|
|
61
62
|
export const GL_COLOR_ALPHA_LIGHT_2 = 'rgba(255, 255, 255, 0.02)';
|
|
62
63
|
export const GL_COLOR_ALPHA_LIGHT_4 = 'rgba(255, 255, 255, 0.04)';
|
|
63
64
|
export const GL_COLOR_ALPHA_LIGHT_6 = 'rgba(255, 255, 255, 0.06)';
|
|
@@ -524,6 +525,7 @@ export const GL_BUTTON_SELECTED_BORDER_COLOR_ACTIVE = '#626168'; // Used for the
|
|
|
524
525
|
export const GL_BUTTON_DISABLED_FOREGROUND_COLOR = '#737278'; // Used for the foreground of a disabled button.
|
|
525
526
|
export const GL_BUTTON_DISABLED_BACKGROUND_COLOR = '#fbfafd'; // Used for the background of a disabled button.
|
|
526
527
|
export const GL_BUTTON_DISABLED_BORDER_COLOR = '#dcdcde'; // Used for the border of a disabled button.
|
|
528
|
+
export const GL_DATEPICKER_BACKGROUND_COLOR = '#fff'; // Used for the background color of datepicker.
|
|
527
529
|
export const GL_DATEPICKER_DATE_TEXT_COLOR_SELECTED = '#fff'; // Used for the datepicker date text color state indicators.
|
|
528
530
|
export const GL_LABEL_LIGHT_TEXT_COLOR = '#18171d'; // Used for the label text color on a light background color.
|
|
529
531
|
export const GL_LABEL_LIGHT_BUTTON_BACKGROUND_COLOR_DEFAULT = 'transparent'; // Used for the label remove button background on a light background color in the default state.
|
|
@@ -548,6 +550,8 @@ export const GL_TABLE_ROW_BACKGROUND_COLOR_HOVER = '#fbfafd'; // Used for the ba
|
|
|
548
550
|
export const GL_TABLE_SORTING_ICON_COLOR = '#18171d'; // Used for the color of the sorting icons in the column headers.
|
|
549
551
|
export const GL_CONTROL_BACKGROUND_COLOR_DEFAULT = '#fff'; // Used for form control (input, radio button, checkbox, textarea) default background.
|
|
550
552
|
export const GL_CONTROL_BACKGROUND_COLOR_DISABLED = '#fbfafd'; // Used for disabled form control (checkbox, input, radio button, textarea) background.
|
|
553
|
+
export const GL_CONTROL_BACKGROUND_COLOR_CONCATENATION = '#fbfafd'; // Used for the background of static content that prepends or appends a text input.
|
|
554
|
+
export const GL_CONTROL_BACKGROUND_COLOR_READONLY = '#fbfafd'; // Used for the background of static content that prepends or appends a text input.
|
|
551
555
|
export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_DEFAULT = '#1f75cb'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background.
|
|
552
556
|
export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_HOVER = '#0b5cad'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
|
|
553
557
|
export const GL_CONTROL_BACKGROUND_COLOR_SELECTED_FOCUS = '#0b5cad'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
|
|
@@ -559,8 +563,8 @@ export const GL_CONTROL_BORDER_COLOR_ERROR = '#dd2b0e'; // Used for invalid form
|
|
|
559
563
|
export const GL_CONTROL_BORDER_COLOR_SELECTED_DEFAULT = '#1f75cb'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) border.
|
|
560
564
|
export const GL_CONTROL_BORDER_COLOR_SELECTED_HOVER = '#0b5cad'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) border on hover.
|
|
561
565
|
export const GL_CONTROL_BORDER_COLOR_SELECTED_FOCUS = '#0b5cad'; // Used for checked and indeterminate (selected) form control (checkbox, radio button) border on focus.
|
|
562
|
-
export const GL_CONTROL_TEXT_COLOR_ERROR = '#
|
|
563
|
-
export const GL_CONTROL_TEXT_COLOR_VALID = '#
|
|
566
|
+
export const GL_CONTROL_TEXT_COLOR_ERROR = '#c91c00'; // Used for the helper text when the input is invalid.
|
|
567
|
+
export const GL_CONTROL_TEXT_COLOR_VALID = '#217645'; // Used for the helper text when the input is valid.
|
|
564
568
|
export const GL_CONTROL_PLACEHOLDER_COLOR = '#89888d'; // Used for placeholder text within inputs.
|
|
565
569
|
export const GL_CONTROL_INDICATOR_COLOR_SELECTED = '#fff'; // Used for checkbox and radio button state indicators.
|
|
566
570
|
export const GL_CONTROL_INDICATOR_COLOR_DISABLED = '#737278'; // Used for disabled checkbox and radio button state indicators.
|
|
@@ -1254,6 +1254,24 @@
|
|
|
1254
1254
|
"dark",
|
|
1255
1255
|
"24"
|
|
1256
1256
|
]
|
|
1257
|
+
},
|
|
1258
|
+
"40": {
|
|
1259
|
+
"value": "rgba(05, 05, 06, 0.4)",
|
|
1260
|
+
"$type": "color",
|
|
1261
|
+
"filePath": "src/tokens/color.alpha.tokens.json",
|
|
1262
|
+
"isSource": true,
|
|
1263
|
+
"original": {
|
|
1264
|
+
"value": "rgba(05, 05, 06, 0.4)",
|
|
1265
|
+
"$type": "color"
|
|
1266
|
+
},
|
|
1267
|
+
"name": "COLOR_ALPHA_DARK_40",
|
|
1268
|
+
"attributes": {},
|
|
1269
|
+
"path": [
|
|
1270
|
+
"color",
|
|
1271
|
+
"alpha",
|
|
1272
|
+
"dark",
|
|
1273
|
+
"40"
|
|
1274
|
+
]
|
|
1257
1275
|
}
|
|
1258
1276
|
},
|
|
1259
1277
|
"light": {
|
|
@@ -11359,11 +11377,35 @@
|
|
|
11359
11377
|
}
|
|
11360
11378
|
},
|
|
11361
11379
|
"datepicker": {
|
|
11380
|
+
"background": {
|
|
11381
|
+
"color": {
|
|
11382
|
+
"value": "#28272d",
|
|
11383
|
+
"$type": "color",
|
|
11384
|
+
"comment": "Used for the background color of datepicker.",
|
|
11385
|
+
"filePath": "src/tokens/contextual/datepicker.tokens.json",
|
|
11386
|
+
"isSource": true,
|
|
11387
|
+
"original": {
|
|
11388
|
+
"value": {
|
|
11389
|
+
"default": "{color.neutral.0}",
|
|
11390
|
+
"dark": "{color.neutral.900}"
|
|
11391
|
+
},
|
|
11392
|
+
"$type": "color",
|
|
11393
|
+
"comment": "Used for the background color of datepicker."
|
|
11394
|
+
},
|
|
11395
|
+
"name": "DATEPICKER_BACKGROUND_COLOR",
|
|
11396
|
+
"attributes": {},
|
|
11397
|
+
"path": [
|
|
11398
|
+
"datepicker",
|
|
11399
|
+
"background",
|
|
11400
|
+
"color"
|
|
11401
|
+
]
|
|
11402
|
+
}
|
|
11403
|
+
},
|
|
11362
11404
|
"date": {
|
|
11363
11405
|
"text": {
|
|
11364
11406
|
"color": {
|
|
11365
11407
|
"selected": {
|
|
11366
|
-
"value": "#
|
|
11408
|
+
"value": "#18171d",
|
|
11367
11409
|
"$type": "color",
|
|
11368
11410
|
"comment": "Used for the datepicker date text color state indicators.",
|
|
11369
11411
|
"filePath": "src/tokens/contextual/datepicker.tokens.json",
|
|
@@ -11930,7 +11972,7 @@
|
|
|
11930
11972
|
"background": {
|
|
11931
11973
|
"color": {
|
|
11932
11974
|
"default": {
|
|
11933
|
-
"value": "
|
|
11975
|
+
"value": "rgba(05, 05, 06, 0.4)",
|
|
11934
11976
|
"$type": "color",
|
|
11935
11977
|
"comment": "Used for form control (input, radio button, checkbox, textarea) default background.",
|
|
11936
11978
|
"filePath": "src/tokens/control.tokens.json",
|
|
@@ -11938,7 +11980,7 @@
|
|
|
11938
11980
|
"original": {
|
|
11939
11981
|
"value": {
|
|
11940
11982
|
"default": "{color.neutral.0}",
|
|
11941
|
-
"dark": "{color.
|
|
11983
|
+
"dark": "{color.alpha.dark.40}"
|
|
11942
11984
|
},
|
|
11943
11985
|
"$type": "color",
|
|
11944
11986
|
"comment": "Used for form control (input, radio button, checkbox, textarea) default background."
|
|
@@ -11953,7 +11995,7 @@
|
|
|
11953
11995
|
]
|
|
11954
11996
|
},
|
|
11955
11997
|
"disabled": {
|
|
11956
|
-
"value": "
|
|
11998
|
+
"value": "rgba(255, 255, 255, 0.04)",
|
|
11957
11999
|
"$type": "color",
|
|
11958
12000
|
"comment": "Used for disabled form control (checkbox, input, radio button, textarea) background.",
|
|
11959
12001
|
"filePath": "src/tokens/control.tokens.json",
|
|
@@ -11961,7 +12003,7 @@
|
|
|
11961
12003
|
"original": {
|
|
11962
12004
|
"value": {
|
|
11963
12005
|
"default": "{color.neutral.10}",
|
|
11964
|
-
"dark": "{color.
|
|
12006
|
+
"dark": "{color.alpha.light.4}"
|
|
11965
12007
|
},
|
|
11966
12008
|
"$type": "color",
|
|
11967
12009
|
"comment": "Used for disabled form control (checkbox, input, radio button, textarea) background."
|
|
@@ -11975,9 +12017,55 @@
|
|
|
11975
12017
|
"disabled"
|
|
11976
12018
|
]
|
|
11977
12019
|
},
|
|
12020
|
+
"concatenation": {
|
|
12021
|
+
"value": "rgba(255, 255, 255, 0.04)",
|
|
12022
|
+
"$type": "color",
|
|
12023
|
+
"comment": "Used for the background of static content that prepends or appends a text input.",
|
|
12024
|
+
"filePath": "src/tokens/control.tokens.json",
|
|
12025
|
+
"isSource": true,
|
|
12026
|
+
"original": {
|
|
12027
|
+
"value": {
|
|
12028
|
+
"default": "{color.neutral.10}",
|
|
12029
|
+
"dark": "{color.alpha.light.4}"
|
|
12030
|
+
},
|
|
12031
|
+
"$type": "color",
|
|
12032
|
+
"comment": "Used for the background of static content that prepends or appends a text input."
|
|
12033
|
+
},
|
|
12034
|
+
"name": "CONTROL_BACKGROUND_COLOR_CONCATENATION",
|
|
12035
|
+
"attributes": {},
|
|
12036
|
+
"path": [
|
|
12037
|
+
"control",
|
|
12038
|
+
"background",
|
|
12039
|
+
"color",
|
|
12040
|
+
"concatenation"
|
|
12041
|
+
]
|
|
12042
|
+
},
|
|
12043
|
+
"readonly": {
|
|
12044
|
+
"value": "#28272d",
|
|
12045
|
+
"$type": "color",
|
|
12046
|
+
"comment": "Used for the background of static content that prepends or appends a text input.",
|
|
12047
|
+
"filePath": "src/tokens/control.tokens.json",
|
|
12048
|
+
"isSource": true,
|
|
12049
|
+
"original": {
|
|
12050
|
+
"value": {
|
|
12051
|
+
"default": "{color.neutral.10}",
|
|
12052
|
+
"dark": "{color.neutral.900}"
|
|
12053
|
+
},
|
|
12054
|
+
"$type": "color",
|
|
12055
|
+
"comment": "Used for the background of static content that prepends or appends a text input."
|
|
12056
|
+
},
|
|
12057
|
+
"name": "CONTROL_BACKGROUND_COLOR_READONLY",
|
|
12058
|
+
"attributes": {},
|
|
12059
|
+
"path": [
|
|
12060
|
+
"control",
|
|
12061
|
+
"background",
|
|
12062
|
+
"color",
|
|
12063
|
+
"readonly"
|
|
12064
|
+
]
|
|
12065
|
+
},
|
|
11978
12066
|
"selected": {
|
|
11979
12067
|
"default": {
|
|
11980
|
-
"value": "#
|
|
12068
|
+
"value": "#63a6e9",
|
|
11981
12069
|
"$type": "color",
|
|
11982
12070
|
"comment": "Used for checked and indeterminate (selected) form control (checkbox, radio button) background.",
|
|
11983
12071
|
"filePath": "src/tokens/control.tokens.json",
|
|
@@ -11985,7 +12073,7 @@
|
|
|
11985
12073
|
"original": {
|
|
11986
12074
|
"value": {
|
|
11987
12075
|
"default": "{color.blue.500}",
|
|
11988
|
-
"dark": "{color.blue.
|
|
12076
|
+
"dark": "{color.blue.300}"
|
|
11989
12077
|
},
|
|
11990
12078
|
"$type": "color",
|
|
11991
12079
|
"comment": "Used for checked and indeterminate (selected) form control (checkbox, radio button) background."
|
|
@@ -12146,7 +12234,7 @@
|
|
|
12146
12234
|
]
|
|
12147
12235
|
},
|
|
12148
12236
|
"error": {
|
|
12149
|
-
"value": "#
|
|
12237
|
+
"value": "#f57f6c",
|
|
12150
12238
|
"$type": "color",
|
|
12151
12239
|
"comment": "Used for invalid form control (input, textarea) border.",
|
|
12152
12240
|
"filePath": "src/tokens/control.tokens.json",
|
|
@@ -12154,7 +12242,7 @@
|
|
|
12154
12242
|
"original": {
|
|
12155
12243
|
"value": {
|
|
12156
12244
|
"default": "{color.red.500}",
|
|
12157
|
-
"dark": "{color.red.
|
|
12245
|
+
"dark": "{color.red.300}"
|
|
12158
12246
|
},
|
|
12159
12247
|
"$type": "color",
|
|
12160
12248
|
"comment": "Used for invalid form control (input, textarea) border."
|
|
@@ -12247,16 +12335,13 @@
|
|
|
12247
12335
|
"text": {
|
|
12248
12336
|
"color": {
|
|
12249
12337
|
"error": {
|
|
12250
|
-
"value": "#
|
|
12338
|
+
"value": "#f57f6c",
|
|
12251
12339
|
"$type": "color",
|
|
12252
12340
|
"comment": "Used for the helper text when the input is invalid.",
|
|
12253
12341
|
"filePath": "src/tokens/control.tokens.json",
|
|
12254
12342
|
"isSource": true,
|
|
12255
12343
|
"original": {
|
|
12256
|
-
"value": {
|
|
12257
|
-
"default": "{color.red.500}",
|
|
12258
|
-
"dark": "{color.red.400}"
|
|
12259
|
-
},
|
|
12344
|
+
"value": "{text.color.danger}",
|
|
12260
12345
|
"$type": "color",
|
|
12261
12346
|
"comment": "Used for the helper text when the input is invalid."
|
|
12262
12347
|
},
|
|
@@ -12270,16 +12355,13 @@
|
|
|
12270
12355
|
]
|
|
12271
12356
|
},
|
|
12272
12357
|
"valid": {
|
|
12273
|
-
"value": "#
|
|
12358
|
+
"value": "#52b87a",
|
|
12274
12359
|
"$type": "color",
|
|
12275
12360
|
"comment": "Used for the helper text when the input is valid.",
|
|
12276
12361
|
"filePath": "src/tokens/control.tokens.json",
|
|
12277
12362
|
"isSource": true,
|
|
12278
12363
|
"original": {
|
|
12279
|
-
"value": {
|
|
12280
|
-
"default": "{color.green.500}",
|
|
12281
|
-
"dark": "{color.green.400}"
|
|
12282
|
-
},
|
|
12364
|
+
"value": "{text.color.success}",
|
|
12283
12365
|
"$type": "color",
|
|
12284
12366
|
"comment": "Used for the helper text when the input is valid."
|
|
12285
12367
|
},
|
|
@@ -12296,16 +12378,13 @@
|
|
|
12296
12378
|
},
|
|
12297
12379
|
"placeholder": {
|
|
12298
12380
|
"color": {
|
|
12299
|
-
"value": "#
|
|
12381
|
+
"value": "#89888d",
|
|
12300
12382
|
"$type": "color",
|
|
12301
12383
|
"comment": "Used for placeholder text within inputs.",
|
|
12302
12384
|
"filePath": "src/tokens/control.tokens.json",
|
|
12303
12385
|
"isSource": true,
|
|
12304
12386
|
"original": {
|
|
12305
|
-
"value": {
|
|
12306
|
-
"default": "{color.neutral.400}",
|
|
12307
|
-
"dark": "{color.neutral.500}"
|
|
12308
|
-
},
|
|
12387
|
+
"value": "{text.color.disabled}",
|
|
12309
12388
|
"$type": "color",
|
|
12310
12389
|
"comment": "Used for placeholder text within inputs."
|
|
12311
12390
|
},
|
|
@@ -12321,7 +12400,7 @@
|
|
|
12321
12400
|
"indicator": {
|
|
12322
12401
|
"color": {
|
|
12323
12402
|
"selected": {
|
|
12324
|
-
"value": "#
|
|
12403
|
+
"value": "#18171d",
|
|
12325
12404
|
"$type": "color",
|
|
12326
12405
|
"comment": "Used for checkbox and radio button state indicators.",
|
|
12327
12406
|
"filePath": "src/tokens/control.tokens.json",
|
|
@@ -12329,7 +12408,7 @@
|
|
|
12329
12408
|
"original": {
|
|
12330
12409
|
"value": {
|
|
12331
12410
|
"default": "{color.neutral.0}",
|
|
12332
|
-
"dark": "{color.neutral.
|
|
12411
|
+
"dark": "{color.neutral.950}"
|
|
12333
12412
|
},
|
|
12334
12413
|
"$type": "color",
|
|
12335
12414
|
"comment": "Used for checkbox and radio button state indicators."
|