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
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2022-08-31 13:05:13 +0300
committerJulius Härtl <jus@bitgrid.net>2022-09-01 15:15:42 +0300
commitb6a68028576e4c497e2e23e2b45121412522b030 (patch)
tree34bef373c1a414aa008f481e5e4b2a5bc7d27fae /apps/theming
parentd6bd98d3c5ff09abd48d9aff4960638c34f9d58b (diff)
Some more fixes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/theming')
-rw-r--r--apps/theming/lib/Themes/DefaultTheme.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/theming/lib/Themes/DefaultTheme.php b/apps/theming/lib/Themes/DefaultTheme.php
index 18a6e209f6f..986892a6b6c 100644
--- a/apps/theming/lib/Themes/DefaultTheme.php
+++ b/apps/theming/lib/Themes/DefaultTheme.php
@@ -87,6 +87,7 @@ class DefaultTheme implements ITheme {
public function getCSSVariables(): array {
$colorMainText = '#222222';
+ $colorMainTextRgb = join(',', $this->util->hexToRGB($colorMainText));
$colorMainBackground = '#ffffff';
$colorMainBackgroundRGB = join(',', $this->util->hexToRGB($colorMainBackground));
$colorBoxShadow = $this->util->darken($colorMainBackground, 70);
@@ -142,6 +143,8 @@ class DefaultTheme implements ITheme {
'--color-text-light' => $colorMainText,
'--color-text-lighter' => $this->util->lighten($colorMainText, 33),
+ '--color-scrollbar' => 'rgba(' . $colorMainTextRgb . ', .15)',
+
// info/warning/success feedback colours
'--color-error' => '#e9322d',
'--color-error-rgb' => join(',', $this->util->hexToRGB('#e9322d')),