diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2023-07-25 12:04:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-25 12:04:53 +0200 |
commit | 468fb5c8db2318702c9a1895271b7d9c4f579dc0 (patch) | |
tree | dd5da717b84b4131c7049d0854320969e7366ae5 | |
parent | 43ab741f9cc252ac48612f586b0d545c0c253e5c (diff) | |
parent | ddb808e13629e9fb7216787ed9d76544236377b0 (diff) | |
download | nextcloud-server-468fb5c8db2318702c9a1895271b7d9c4f579dc0.tar.gz nextcloud-server-468fb5c8db2318702c9a1895271b7d9c4f579dc0.zip |
Merge pull request #39317 from nextcloud/fix/4193-change-color-primary-hover
Change color for primary element on hover
-rw-r--r-- | apps/theming/css/default.css | 2 | ||||
-rw-r--r-- | apps/theming/lib/Themes/CommonThemeTrait.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/theming/css/default.css b/apps/theming/css/default.css index 71b4cca6ff3..66c355f1492 100644 --- a/apps/theming/css/default.css +++ b/apps/theming/css/default.css @@ -72,7 +72,7 @@ --color-primary-light-text: #002a41; --color-primary-light-hover: #dbe5ea; --color-primary-element: #006aa3; - --color-primary-element-hover: #3287b5; + --color-primary-element-hover: #1f7cae; --color-primary-element-text: #ffffff; --color-primary-element-light: #e5f0f5; --color-primary-element-light-hover: #dbe5ea; diff --git a/apps/theming/lib/Themes/CommonThemeTrait.php b/apps/theming/lib/Themes/CommonThemeTrait.php index 3a14382d3c0..1aa1174fabc 100644 --- a/apps/theming/lib/Themes/CommonThemeTrait.php +++ b/apps/theming/lib/Themes/CommonThemeTrait.php @@ -64,7 +64,7 @@ trait CommonThemeTrait { // used for buttons, inputs... '--color-primary-element' => $colorPrimaryElement, - '--color-primary-element-hover' => $this->util->mix($colorPrimaryElement, $colorMainBackground, 60), + '--color-primary-element-hover' => $this->util->mix($colorPrimaryElement, $colorMainBackground, 75), '--color-primary-element-text' => $this->util->invertTextColor($colorPrimaryElement) ? '#000000' : '#ffffff', // used for hover/focus states |