aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/css
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-03-06 14:37:59 +0100
committerFerdinand Thiessen <opensource@fthiessen.de>2024-03-06 22:28:16 +0100
commit4b8868a7f1162c3aa724e34d73024e5879b85476 (patch)
tree940561bfea0aff59f20df1cd08444b0ad1d6fc4b /apps/theming/css
parent834f70fd7acefe76e2bf5475347d65a7c705d061 (diff)
downloadnextcloud-server-4b8868a7f1162c3aa724e34d73024e5879b85476.tar.gz
nextcloud-server-4b8868a7f1162c3aa724e34d73024e5879b85476.zip
feat(theming): Provide CSS variable for favorite color and adjust for dark mode
Co-authored-by: Simon L <szaimen@e.mail.de> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/theming/css')
-rw-r--r--apps/theming/css/default.css1
-rw-r--r--apps/theming/css/theming.css17
2 files changed, 1 insertions, 17 deletions
diff --git a/apps/theming/css/default.css b/apps/theming/css/default.css
index dafa5370192..201ec242912 100644
--- a/apps/theming/css/default.css
+++ b/apps/theming/css/default.css
@@ -37,6 +37,7 @@
--color-info-rgb: 0,113,173;
--color-info-hover: #197fb5;
--color-info-text: #006499;
+ --color-favorite: #A37200;
--color-loading-light: #cccccc;
--color-loading-dark: #444444;
--color-box-shadow-rgb: 77,77,77;
diff --git a/apps/theming/css/theming.css b/apps/theming/css/theming.css
deleted file mode 100644
index 2d43b528a95..00000000000
--- a/apps/theming/css/theming.css
+++ /dev/null
@@ -1,17 +0,0 @@
-/* Error: Undefined variable.
- * ,
- * 38 | $invert: luma($color-primary) > 0.6;
- * | ^^^^^^^^^^^^^^
- * '
- * apps/theming/css/theming.scss 38:15 root stylesheet */
-
-body::before {
- font-family: "Source Code Pro", "SF Mono", Monaco, Inconsolata, "Fira Mono",
- "Droid Sans Mono", monospace, monospace;
- white-space: pre;
- display: block;
- padding: 1em;
- margin-bottom: 1em;
- border-bottom: 2px solid black;
- content: "Error: Undefined variable.\a \2577 \a 38 \2502 $invert: luma($color-primary) > 0.6;\a \2502 ^^^^^^^^^^^^^^\a \2575 \a apps/theming/css/theming.scss 38:15 root stylesheet";
-}