Skip to content

Commit e85d191

Browse files
committed
Fix gradient using the wrong target value
Signed-off-by: Julius Härtl <jus@bitgrid.net>
1 parent 250bd91 commit e85d191

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/theming/lib/Themes/DefaultTheme.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public function getCSSVariables(): array {
131131
'--color-primary-element-light-hover' => $this->util->mix($colorPrimaryElementLight, $colorMainText, 90),
132132
'--color-primary-element-text-dark' => $this->util->darken($this->util->invertTextColor($colorPrimaryElement) ? '#000000' : '#ffffff', 7),
133133
// to use like this: background-image: var(--gradient-primary-background);
134-
'--gradient-primary-background' => 'linear-gradient(40deg, var(--color-primary) 0%, var(--color-primary-element-light) 100%)',
134+
'--gradient-primary-background' => 'linear-gradient(40deg, var(--color-primary) 0%, var(--color-primary-hover) 100%)',
135135

136136
// max contrast for WCAG compliance
137137
'--color-main-text' => $colorMainText,

0 commit comments

Comments
 (0)