]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix gradient using the wrong target value 33641/head
authorJulius Härtl <jus@bitgrid.net>
Mon, 22 Aug 2022 15:44:57 +0000 (17:44 +0200)
committerJulius Härtl <jus@bitgrid.net>
Fri, 26 Aug 2022 12:48:38 +0000 (14:48 +0200)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
apps/theming/css/default.css
apps/theming/lib/Themes/DefaultTheme.php

index 41a1167a4a5daef90fcd940f105506c37a07ae2f..134e6e0aad006ccc281447084351e22a2a667e0c 100644 (file)
   --color-primary-light-hover: #dbe7ee;
   --color-primary-text-dark: #ededed;
   --color-primary-element: #0082c9;
-  --color-primary-element-hover: #198ece;
-  --color-primary-element-light: #17adff;
-  --color-primary-element-lighter: #d8ecf6;
-  --gradient-primary-background: linear-gradient(40deg, var(--color-primary) 0%, var(--color-primary-element-light) 100%);
+  --color-primary-element-text: #ffffff;
+  --color-primary-element-hover: #329bd3;
+  --color-primary-element-light: #e5f2f9;
+  --color-primary-element-light-text: #0082c9;
+  --color-primary-element-light-hover: #dbe7ee;
+  --color-primary-element-text-dark: #ededed;
+  --gradient-primary-background: linear-gradient(40deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
   --color-main-text: #222222;
   --color-text-maxcontrast: #767676;
   --color-text-light: #222222;
index 5c6d237e5e339295c68cf6d04fa4307b0988d5e3..42b335dbe088608a07ebfa874dfc05fe0de66943 100644 (file)
@@ -131,7 +131,7 @@ class DefaultTheme implements ITheme {
                        '--color-primary-element-light-hover' => $this->util->mix($colorPrimaryElementLight, $colorMainText, 90),
                        '--color-primary-element-text-dark' => $this->util->darken($this->util->invertTextColor($colorPrimaryElement) ? '#000000' : '#ffffff', 7),
                        // to use like this: background-image: var(--gradient-primary-background);
-                       '--gradient-primary-background' => 'linear-gradient(40deg, var(--color-primary) 0%, var(--color-primary-element-light) 100%)',
+                       '--gradient-primary-background' => 'linear-gradient(40deg, var(--color-primary) 0%, var(--color-primary-hover) 100%)',
 
                        // max contrast for WCAG compliance
                        '--color-main-text' => $colorMainText,