diff options
author | Simon L <szaimen@e.mail.de> | 2023-05-16 15:13:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-16 15:13:22 +0200 |
commit | 75b7c13caed015dbdaacbde797b3d11638d5ad19 (patch) | |
tree | 0aa09f62670f6525a0c1fd02e48d9fea1c4f8767 | |
parent | 2bd08c8198599a8999bb57d9aafc91b32d48e0f6 (diff) | |
parent | 4f9472a3238058aa4a48240f47caf254d83be0e1 (diff) | |
download | nextcloud-server-75b7c13caed015dbdaacbde797b3d11638d5ad19.tar.gz nextcloud-server-75b7c13caed015dbdaacbde797b3d11638d5ad19.zip |
Merge pull request #38205 from nextcloud/feat/css-add-info-color
Add css variables for info colors (`--color-info`)
-rw-r--r-- | apps/theming/css/default.css | 3 | ||||
-rw-r--r-- | apps/theming/lib/Themes/DefaultTheme.php | 3 |
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', |