diff options
author | szaimen <szaimen@e.mail.de> | 2022-09-29 19:18:08 +0200 |
---|---|---|
committer | szaimen <szaimen@e.mail.de> | 2022-09-30 17:50:48 +0200 |
commit | 9d4d95a94c5f6f5c51d0e422f05a0cbc349358c3 (patch) | |
tree | 49c7040f0831da45707f93c2f82de6743c0d2438 /apps | |
parent | 396949705912d1d88c615fb95f3e822ce009b660 (diff) | |
download | nextcloud-server-9d4d95a94c5f6f5c51d0e422f05a0cbc349358c3.tar.gz nextcloud-server-9d4d95a94c5f6f5c51d0e422f05a0cbc349358c3.zip |
fix the tertiary button text
Signed-off-by: szaimen <szaimen@e.mail.de>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/theming/lib/Themes/CommonThemeTrait.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/theming/lib/Themes/CommonThemeTrait.php b/apps/theming/lib/Themes/CommonThemeTrait.php index a7f7b407d2f..631879ea832 100644 --- a/apps/theming/lib/Themes/CommonThemeTrait.php +++ b/apps/theming/lib/Themes/CommonThemeTrait.php @@ -45,7 +45,7 @@ trait CommonThemeTrait { '--color-primary-text' => $this->util->invertTextColor($this->primaryColor) ? '#000000' : '#ffffff', '--color-primary-hover' => $this->util->mix($this->primaryColor, $colorMainBackground, 60), '--color-primary-light' => $colorPrimaryLight, - '--color-primary-light-text' => $this->primaryColor, + '--color-primary-light-text' => $this->util->mix($this->primaryColor, $this->util->invertTextColor($colorPrimaryLight) ? '#000000' : '#ffffff', -20), '--color-primary-light-hover' => $this->util->mix($colorPrimaryLight, $colorMainText, 90), '--color-primary-text-dark' => $this->util->darken($this->util->invertTextColor($this->primaryColor) ? '#000000' : '#ffffff', 7), @@ -54,7 +54,7 @@ trait CommonThemeTrait { '--color-primary-element-text' => $this->util->invertTextColor($colorPrimaryElement) ? '#000000' : '#ffffff', '--color-primary-element-hover' => $this->util->mix($colorPrimaryElement, $colorMainBackground, 60), '--color-primary-element-light' => $colorPrimaryElementLight, - '--color-primary-element-light-text' => $colorPrimaryElement, + '--color-primary-element-light-text' => $this->util->mix($colorPrimaryElement, $this->util->invertTextColor($colorPrimaryElementLight) ? '#000000' : '#ffffff', -20), '--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), |