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

fileserver: better dark mode visited link contrast #5105

Merged
merged 1 commit into from Oct 2, 2022

Conversation

iliana
Copy link
Contributor

@iliana iliana commented Oct 1, 2022

PR #4066 added a dark color scheme to the file_server browse template. PR #4356 later set the links for the :visited pseudo-class, but did not set anything for the dark mode, resulting in poor contrast. I selected some new colors by feel.

This commit also adds an a:visited:hover for both, to go along with the normal blue hover colors.

image
image

PR caddyserver#4066 added a dark color scheme to the file_server browse template.
PR caddyserver#4356 later set the links for the `:visited` pseudo-class, but did
not set anything for the dark mode, resulting in poor contrast. I
selected some new colors by feel.

This commit also adds an `a:visited:hover` for both, to go along with
the normal blue hover colors.
@francislavoie francislavoie added the bug 🐞 Something isn't working label Oct 1, 2022
@francislavoie francislavoie added this to the v2.6.2 milestone Oct 1, 2022
Copy link
Member

@mholt mholt left a comment

Choose a reason for hiding this comment

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

Thank you for making this better!

@mholt mholt merged commit b1d04f5 into caddyserver:master Oct 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants