DEV: Refactor `scale-color()` usage in SCSS

This commit is contained in:
Penar Musaraj 2020-07-28 19:56:35 -04:00
parent 8ae66047fc
commit 29276a37ed
No known key found for this signature in database
GPG Key ID: E390435D881FF0F7
4 changed files with 5 additions and 17 deletions

View File

@ -152,10 +152,7 @@ input {
}
&.invalid {
background-color: dark-light-choose(
$danger-low,
scale-color($danger, $lightness: -60%)
);
background-color: $danger-low;
}
.radio &[type="radio"],

View File

@ -125,16 +125,10 @@ $quote-share-maxwidth: 150px;
}
ins {
background-color: dark-light-choose(
$success-low,
scale-color($success, $lightness: -60%)
);
background-color: $success-low;
}
del {
background-color: dark-light-choose(
$danger-low,
scale-color($danger, $lightness: -60%)
);
background-color: $danger-low;
}
// Prevents users from breaking posts with tag nesting
big {

View File

@ -1,5 +1,5 @@
.uploaded-image-preview {
background: $primary center;
background: $primary-medium center;
background-size: cover;
position: relative;

View File

@ -76,10 +76,7 @@
}
.edit-reason {
background-color: dark-light-choose(
$highlight-medium,
scale-color($highlight, $lightness: -50%)
);
background-color: $highlight-medium;
padding: 3px 5px 5px 5px;
}