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

Fix topic link color in dark mode #4

Merged

Conversation

AlexP11223
Copy link
Contributor

As shown here, dark blue link color is not very readable on dark background.

So this PR adds a custom property in color_definitions switching to the color scheme primary color when in dark mode.

We should keep the original color in light mode because it was one of the features of this theme.

@SamSaffron
Copy link
Member

@hnb-ku is this good to merge?

@hnb-ku
Copy link

hnb-ku commented Jun 10, 2021

We should keep the original color in light mode because it was one of the features of this theme.

I think we should also do the same for dark schemes. I understand the contrast issue, but let's brighten the color instead of using $primary. I suggest using #7e97cd

Here's a before/after of the contrast

image

@AlexP11223
Copy link
Contributor Author

Yeah, seems ok.

@hnb-ku
Copy link

hnb-ku commented Jun 14, 2021

Great, thanks @AlexP11223 👍

@hnb-ku hnb-ku merged commit b9c1b61 into discourse:main Jun 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants