Change color for primary element on hover

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
This commit is contained in:
julia.kirschenheuter 2023-07-11 16:42:02 +02:00
parent 7548e62181
commit ddb808e136
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