Merge pull request #39317 from nextcloud/fix/4193-change-color-primary-hover

Change color for primary element on hover
This commit is contained in:
John Molakvoæ 2023-07-25 12:04:53 +02:00 committed by GitHub
commit 468fb5c8db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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