]> source.dussan.org Git - nextcloud-server.git/commitdiff
feat(css): Add css variables for info colors (`--color-info`) 38205/head
authorFerdinand Thiessen <opensource@fthiessen.de>
Thu, 11 May 2023 14:19:45 +0000 (16:19 +0200)
committerSimon L. (Rebase PR Action) <szaimen@e.mail.de>
Tue, 16 May 2023 09:31:33 +0000 (09:31 +0000)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
apps/theming/css/default.css
apps/theming/lib/Themes/DefaultTheme.php

index da9ad6e97deea44679421ab4031c879d39b9cbda..ac7c67c8408cf071bfddab6c46dccd1ad7391144 100644 (file)
@@ -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;
index cb4ed510068428faad19b0260c0d0c739524395e..0a4ac44afb6822839e9205db1bacfedb4fee9752 100644 (file)
@@ -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',