aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/lib/Themes/DarkTheme.php
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/lib/Themes/DarkTheme.php
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/lib/Themes/DarkTheme.php')
-rw-r--r--apps/theming/lib/Themes/DarkTheme.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/theming/lib/Themes/DarkTheme.php b/apps/theming/lib/Themes/DarkTheme.php
index a40f8009e17..8d88de75834 100644
--- a/apps/theming/lib/Themes/DarkTheme.php
+++ b/apps/theming/lib/Themes/DarkTheme.php
@@ -113,6 +113,7 @@ class DarkTheme extends DefaultTheme implements ITheme {
'--color-info-rgb' => join(',', $this->util->hexToRGB($colorInfo)),
'--color-info-hover' => $this->util->lighten($colorInfo, 10),
'--color-info-text' => $colorInfo,
+ '--color-favorite' => '#ffde00',
// used for the icon loading animation
'--color-loading-light' => '#777',