Theme: Updating old theme variables to use the new theme higher contrast colors (#34305)

This commit is contained in:
Torkel Ödegaard 2021-05-18 18:00:30 +02:00 committed by GitHub
parent 8b9ff62cbb
commit 7375115a98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 17 additions and 11 deletions

View File

@ -84,9 +84,9 @@ $query-orange: ${theme.v1.palette.orange};
// Status colors // Status colors
// -------------------------¨ // -------------------------¨
$online: ${theme.v1.palette.online}; $online: ${theme.colors.success.text};
$warn: ${theme.v1.palette.warn}; $warn: ${theme.colors.warning.text};
$critical: ${theme.v1.palette.critical}; $critical: ${theme.colors.error.text};
// Scaffolding // Scaffolding
// ------------------------- // -------------------------

View File

@ -80,9 +80,10 @@ $query-orange: ${theme.v1.palette.orange};
// Status colors // Status colors
// ------------------------- // -------------------------
$online: ${theme.v1.palette.online}; $online: ${theme.colors.success.text};
$warn: ${theme.v1.palette.warn}; $warn: ${theme.colors.warning.text};
$critical: ${theme.v1.palette.critical}; $critical: ${theme.colors.error.text};
// Scaffolding // Scaffolding
// ------------------------- // -------------------------

View File

@ -87,9 +87,9 @@ $query-orange: #eb7b18;
// Status colors // Status colors
// -------------------------¨ // -------------------------¨
$online: #1A7F4B; $online: #6CCF8E;
$warn: #1A7F4B; $warn: #F8D06B;
$critical: #1A7F4B; $critical: #FF5286;
// Scaffolding // Scaffolding
// ------------------------- // -------------------------

View File

@ -83,8 +83,9 @@ $query-orange: #eb7b18;
// Status colors // Status colors
// ------------------------- // -------------------------
$online: #1A7F4B; $online: #1A7F4B;
$warn: #1A7F4B; $warn: #BD4B00;
$critical: #1A7F4B; $critical: #CF0E5B;
// Scaffolding // Scaffolding
// ------------------------- // -------------------------

View File

@ -1,18 +1,22 @@
.alert-state-paused, .alert-state-paused,
.alert-state-pending { .alert-state-pending {
color: $text-muted; color: $text-muted;
font-weight: $font-weight-semi-bold;
} }
.alert-state-ok { .alert-state-ok {
color: $online; color: $online;
font-weight: $font-weight-semi-bold;
} }
.alert-state-warning { .alert-state-warning {
color: $warn; color: $warn;
font-weight: $font-weight-semi-bold;
} }
.alert-state-critical { .alert-state-critical {
color: $critical; color: $critical;
font-weight: $font-weight-semi-bold;
} }
.alert-notify-emails { .alert-notify-emails {