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
// -------------------------¨
$online: ${theme.v1.palette.online};
$warn: ${theme.v1.palette.warn};
$critical: ${theme.v1.palette.critical};
$online: ${theme.colors.success.text};
$warn: ${theme.colors.warning.text};
$critical: ${theme.colors.error.text};
// Scaffolding
// -------------------------

View File

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

View File

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

View File

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

View File

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