Remove usage of color tokens which are duplicates

pull/10525/head
Thibaud Colas 2023-05-25 13:43:45 +01:00
rodzic 55a5f16a8e
commit e0f3f05ffd
4 zmienionych plików z 13 dodań i 13 usunięć

Wyświetl plik

@ -57,19 +57,19 @@
}
&.warning {
background-color: theme('colors.surface-alert-warning');
border-color: theme('colors.surface-alert-warning');
background-color: theme('colors.warning.100');
border-color: theme('colors.warning.100');
&.button-secondary {
border-color: theme('colors.surface-alert-warning');
color: theme('colors.surface-alert-warning');
border-color: theme('colors.warning.100');
color: theme('colors.warning.100');
background-color: transparent;
}
&:hover {
color: theme('colors.text-button');
border-color: transparent;
background-color: theme('colors.surface-alert-warning');
background-color: theme('colors.warning.100');
}
}
@ -77,12 +77,12 @@
&.no,
&.serious {
background-color: theme('colors.surface-page');
border: 1px solid theme('colors.surface-alert-danger');
color: theme('colors.surface-alert-danger');
border: 1px solid theme('colors.critical.200');
color: theme('colors.critical.200');
&:hover {
color: theme('colors.surface-alert-danger');
border-color: theme('colors.surface-alert-danger');
color: theme('colors.critical.200');
border-color: theme('colors.critical.200');
background-color: theme('colors.critical.50');
}
}

Wyświetl plik

@ -278,11 +278,11 @@
.dropdown.warning {
ul {
background-color: theme('colors.surface-alert-warning');
background-color: theme('colors.warning.100');
}
.dropdown-toggle {
background-color: theme('colors.surface-alert-warning');
background-color: theme('colors.warning.100');
}
}

Wyświetl plik

@ -3,7 +3,7 @@
* StreamField and InlinePanel.
*/
$guide-line-default-color: theme('colors.border-dashed-block');
$guide-line-default-color: theme('colors.border-furniture');
$stroke-width: 1px;
@mixin guide-line-vertical() {

Wyświetl plik

@ -89,7 +89,7 @@ $tooltip-color-no: theme('colors.critical.100');
border-color: currentColor;
&:hover {
color: theme('colors.surface-alert-danger');
color: theme('colors.critical.200');
}
}
}