diff options
author | Julius Härtl <jus@bitgrid.net> | 2022-08-22 18:44:57 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2022-08-26 15:48:38 +0300 |
commit | cc21ea6419a7bdf15895c034d9f58e03ad23e278 (patch) | |
tree | e1b21b74120a8d5423391add0e84dc10d63a5ca6 /apps/theming/lib | |
parent | 250bd91214804a1720cfcac3f17aa93387f0c8e9 (diff) |
Fix gradient using the wrong target value
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/theming/lib')
-rw-r--r-- | apps/theming/lib/Themes/DefaultTheme.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/theming/lib/Themes/DefaultTheme.php b/apps/theming/lib/Themes/DefaultTheme.php index 5c6d237e5e3..42b335dbe08 100644 --- a/apps/theming/lib/Themes/DefaultTheme.php +++ b/apps/theming/lib/Themes/DefaultTheme.php @@ -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, |