diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2022-05-10 17:23:05 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2022-05-11 08:35:23 +0200 |
commit | cb73fe26b818cfdb8fbf07116cd8e970a9cdc708 (patch) | |
tree | c33cb94a662616ee29e5bd1b32b22a8caf07531a /core | |
parent | 3c6253f9659d6fb5c059cfb6916654a5c2a7c52e (diff) | |
download | nextcloud-server-cb73fe26b818cfdb8fbf07116cd8e970a9cdc708.tar.gz nextcloud-server-cb73fe26b818cfdb8fbf07116cd8e970a9cdc708.zip |
Compile theming
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/css/functions.scss | 5 | ||||
-rw-r--r-- | core/src/icons.js | 1 |
2 files changed, 1 insertions, 5 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'; } diff --git a/core/src/icons.js b/core/src/icons.js index cb0b374131b..ca706dcfdb8 100644 --- a/core/src/icons.js +++ b/core/src/icons.js @@ -293,7 +293,6 @@ Object.keys(iconsColor).forEach(icon => { variables[`--icon-${icon}-${color}`] = Buffer.from(coloredSvg, 'utf-8').toString('base64') }) - // ICONS VARIABLES LIST css += ':root {' Object.keys(variables).forEach(variable => { |