Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use background color for mix of --color-primary-light-hover #32381

Closed
wants to merge 1 commit into from

Conversation

juliusknorr
Copy link
Member

Fix how the --color-primary-light-hover variable is calculated to give it a proper light tint based on the background rather than the foreground color.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliusknorr juliusknorr added bug 3. to review Waiting for reviews labels May 13, 2022
@juliusknorr juliusknorr added this to the Nextcloud 25 milestone May 13, 2022
@juliusknorr juliusknorr requested review from skjnldsv, marcoambrosini, a team, artonge and Pytal and removed request for a team May 13, 2022 12:21
Copy link
Member

@CarlSchwan CarlSchwan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did the same change in #31584

This kinda means that --color-primary-light and --color-primary-light-hover are equal, this might not be ideal. Maybe change the mix value for hover to be a bit darker or lighter?

@skjnldsv
Copy link
Member

Already part of #32261

Copy link
Member

@skjnldsv skjnldsv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is also not how the initial implementation is defined :)
This should be

'--color-primary-light-hover' => $this->util->mix($colorPrimaryLight, $colorMainText, 90),

@juliusknorr
Copy link
Member Author

All right, then lets close this in favour of #32261

@szaimen szaimen deleted the bugfix/noid/color-primary-light-hover branch May 13, 2022 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants