summaryrefslogtreecommitdiffstats
path: root/apps/theming/lib
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2023-12-14 17:56:42 +0100
committerFerdinand Thiessen <opensource@fthiessen.de>2023-12-19 11:33:15 +0100
commit8ff08d5a0ab60b560b39c9a5b8f397a09d9751b3 (patch)
tree6d7c578da34137de8b45efedd232c9be29a4acfb /apps/theming/lib
parente28ebe86c0bcce885f86c1e9bb1f006a8b980b2c (diff)
downloadnextcloud-server-8ff08d5a0ab60b560b39c9a5b8f397a09d9751b3.tar.gz
nextcloud-server-8ff08d5a0ab60b560b39c9a5b8f397a09d9751b3.zip
fix(theming): Adjust hover color to be accessible
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/theming/lib')
-rw-r--r--apps/theming/lib/Themes/CommonThemeTrait.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/theming/lib/Themes/CommonThemeTrait.php b/apps/theming/lib/Themes/CommonThemeTrait.php
index 0b033b3fac9..38ca760db9f 100644
--- a/apps/theming/lib/Themes/CommonThemeTrait.php
+++ b/apps/theming/lib/Themes/CommonThemeTrait.php
@@ -66,7 +66,7 @@ trait CommonThemeTrait {
// used for buttons, inputs...
'--color-primary-element' => $colorPrimaryElement,
- '--color-primary-element-hover' => $this->util->mix($colorPrimaryElement, $colorMainBackground, 82),
+ '--color-primary-element-hover' => $this->util->mix($colorPrimaryElement, $colorMainBackground, 87),
'--color-primary-element-text' => $this->util->invertTextColor($colorPrimaryElement) ? '#000000' : '#ffffff',
// mostly used for disabled states
'--color-primary-element-text-dark' => $this->util->darken($this->util->invertTextColor($colorPrimaryElement) ? '#000000' : '#ffffff', 6),