aboutsummaryrefslogtreecommitdiffstats
path: root/core/css/functions.scss
diff options
context:
space:
mode:
Diffstat (limited to 'core/css/functions.scss')
-rw-r--r--core/css/functions.scss5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/css/functions.scss b/core/css/functions.scss
index 3311ef06955..35db19c3142 100644
--- a/core/css/functions.scss
+++ b/core/css/functions.scss
@@ -26,7 +26,7 @@
* @param string $color The color
* @return string The color without #
*/
- @function remove-hash-from-color($color) {
+@function remove-hash-from-color($color) {
$color: unquote($color);
$index: str-index(inspect($color), '#');
@if $index {
@@ -42,9 +42,6 @@
@if $color == #000 {
@return "dark";
}
- @if $color == #000 {
- @return 'dark';
- }
@if $color == #fff {
@return 'white';
}