aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2023-05-11 16:19:45 +0200
committerSimon L. (Rebase PR Action) <szaimen@e.mail.de>2023-05-16 09:31:33 +0000
commit4f9472a3238058aa4a48240f47caf254d83be0e1 (patch)
tree85217a5cbd7e1eaa6476e93d22970cf7e785dabc /apps/theming
parentab848244fe3d1df6d6ac76b6676949b604458f22 (diff)
downloadnextcloud-server-4f9472a3238058aa4a48240f47caf254d83be0e1.tar.gz
nextcloud-server-4f9472a3238058aa4a48240f47caf254d83be0e1.zip
feat(css): Add css variables for info colors (`--color-info`)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/theming')
-rw-r--r--apps/theming/css/default.css3
-rw-r--r--apps/theming/lib/Themes/DefaultTheme.php3
2 files changed, 6 insertions, 0 deletions
diff --git a/apps/theming/css/default.css b/apps/theming/css/default.css
index da9ad6e97de..ac7c67c8408 100644
--- a/apps/theming/css/default.css
+++ b/apps/theming/css/default.css
@@ -26,6 +26,9 @@
--color-success: #46ba61;
--color-success-rgb: 70,186,97;
--color-success-hover: #6ac780;
+ --color-info: #006aa3;
+ --color-info-rgb: 0,106,163;
+ --color-info-hover: #3287b5;
--color-loading-light: #cccccc;
--color-loading-dark: #444444;
--color-box-shadow-rgb: 77,77,77;
diff --git a/apps/theming/lib/Themes/DefaultTheme.php b/apps/theming/lib/Themes/DefaultTheme.php
index cb4ed510068..0a4ac44afb6 100644
--- a/apps/theming/lib/Themes/DefaultTheme.php
+++ b/apps/theming/lib/Themes/DefaultTheme.php
@@ -147,6 +147,9 @@ class DefaultTheme implements ITheme {
'--color-success' => '#46ba61',
'--color-success-rgb' => join(',', $this->util->hexToRGB('#46ba61')),
'--color-success-hover' => $this->util->mix('#46ba61', $colorMainBackground, 60),
+ '--color-info' => '#006aa3',
+ '--color-info-rgb' => join(',', $this->util->hexToRGB('#006aa3')),
+ '--color-info-hover' => $this->util->mix('#006aa3', $colorMainBackground, 60),
// used for the icon loading animation
'--color-loading-light' => '#cccccc',