diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2022-05-31 08:49:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-31 08:49:03 +0200 |
commit | eca5e2dce10738317a0ff46a8d3fa1530b623b95 (patch) | |
tree | 0ba3170f44a69232f1018768550260150d6bcd16 /apps/theming | |
parent | 016895d539649fb32ec2b1c652303dc8a0a06bbf (diff) | |
parent | d64a63abc68ec50530b7b0cbf21cec9c31e1e178 (diff) | |
download | nextcloud-server-eca5e2dce10738317a0ff46a8d3fa1530b623b95.tar.gz nextcloud-server-eca5e2dce10738317a0ff46a8d3fa1530b623b95.zip |
Merge pull request #32509 from nextcloud/fix/theming-colours-primary
Diffstat (limited to 'apps/theming')
-rw-r--r-- | apps/theming/lib/Themes/DarkTheme.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/theming/lib/Themes/DarkTheme.php b/apps/theming/lib/Themes/DarkTheme.php index f5463d94fc4..1241d1d42c3 100644 --- a/apps/theming/lib/Themes/DarkTheme.php +++ b/apps/theming/lib/Themes/DarkTheme.php @@ -71,8 +71,10 @@ class DarkTheme extends DefaultTheme implements ITheme { '--color-primary-hover' => $this->util->mix($this->primaryColor, $colorMainBackground, 60), '--color-primary-light' => $this->util->mix($this->primaryColor, $colorMainBackground, -80), - '--color-primary-element-hover' => $this->util->mix($this->util->elementColor($this->primaryColor), $colorMainBackground, 80), - '--color-primary-element-lighter' => $this->util->mix($this->util->elementColor($this->primaryColor), $colorMainBackground, -70), + '--color-primary-element' => $this->util->elementColor($this->primaryColor, false), + '--color-primary-element-hover' => $this->util->mix($this->util->elementColor($this->primaryColor, false), $colorMainBackground, 80), + '--color-primary-element-light' => $this->util->lighten($this->util->elementColor($this->primaryColor, false), 15), + '--color-primary-element-lighter' => $this->util->mix($this->util->elementColor($this->primaryColor, false), $colorMainBackground, -70), '--color-text-maxcontrast' => $this->util->darken($colorMainText, 30), '--color-text-light' => $this->util->darken($colorMainText, 10), |