DEV: Refactor `scale-color()` usage in SCSS
This commit is contained in:
parent
8ae66047fc
commit
29276a37ed
|
@ -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"],
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
.uploaded-image-preview {
|
||||
background: $primary center;
|
||||
background: $primary-medium center;
|
||||
background-size: cover;
|
||||
position: relative;
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue