summaryrefslogtreecommitdiffstats
path: root/apps/theming/lib
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-05-20 00:13:06 +0200
committerCarl Schwan <carl@carlschwan.eu>2022-07-13 14:58:55 +0200
commit4e0574e184bb3fa915da88d45f909982f2be8c13 (patch)
tree0021d55bf4dcd5ccf0570726e90a90d9a45451c1 /apps/theming/lib
parent22de24324728025c5299850317fc697b33375caf (diff)
downloadnextcloud-server-4e0574e184bb3fa915da88d45f909982f2be8c13.tar.gz
nextcloud-server-4e0574e184bb3fa915da88d45f909982f2be8c13.zip
Port encryption admin settings to vue
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/theming/lib')
-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 58983d29df1..c822b3052ce 100644
--- a/apps/theming/lib/Themes/DefaultTheme.php
+++ b/apps/theming/lib/Themes/DefaultTheme.php
@@ -132,10 +132,13 @@ class DefaultTheme implements ITheme {
// info/warning/success feedback colours
'--color-error' => '#e9322d',
+ '--color-error-rgb' => join(',', $this->util->hexToRGB('#e9322d')),
'--color-error-hover' => $this->util->mix('#e9322d', $colorMainBackground, 60),
'--color-warning' => '#eca700',
+ '--color-warning-rgb' => join(',', $this->util->hexToRGB('#eca700')),
'--color-warning-hover' => $this->util->mix('#eca700', $colorMainBackground, 60),
'--color-success' => '#46ba61',
+ '--color-success-rgb' => join(',', $this->util->hexToRGB('#46ba61')),
'--color-success-hover' => $this->util->mix('#46ba61', $colorMainBackground, 60),
// used for the icon loading animation