mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
bettering support for dark ez-themes
This commit is contained in:
@@ -31,15 +31,15 @@
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
&.alert-success {
|
||||
background-color: scale-color($success, $lightness: 90%);
|
||||
color: $success;
|
||||
background-color: dark-light-diff($success, $secondary, 50%, -60%);
|
||||
color: $primary;
|
||||
}
|
||||
&.alert-error {
|
||||
background-color: scale-color($danger, $lightness: 75%);
|
||||
color: $danger;
|
||||
background-color: rgba(dark-light-diff($danger, $secondary, 50%, -60%), .5);
|
||||
color: $primary;
|
||||
}
|
||||
&.alert-info {
|
||||
background-color: scale-color($tertiary, $lightness: 90%);
|
||||
background-color: dark-light-diff($tertiary, $secondary, 90%, -40%);
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user