Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-05-10 18:23:05 +0300
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-05-11 09:35:23 +0300
commitcb73fe26b818cfdb8fbf07116cd8e970a9cdc708 (patch)
treec33cb94a662616ee29e5bd1b32b22a8caf07531a /core
parent3c6253f9659d6fb5c059cfb6916654a5c2a7c52e (diff)
Compile theming
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'core')
-rw-r--r--core/css/functions.scss5
-rw-r--r--core/src/icons.js1
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 => {