Skip to content

Hardcoded CSS Colors #570

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

Open
hgoel0 opened this issue Apr 12, 2025 · 1 comment
Open

Hardcoded CSS Colors #570

hgoel0 opened this issue Apr 12, 2025 · 1 comment

Comments

@hgoel0
Copy link

hgoel0 commented Apr 12, 2025

There are a number of hardcoded colors in search.css. There is a desire to make them variables to enable new types of styling and dark mode.

Am going to attempt to fork, and provide a suggested set of tweaks.

PR: #571

@flying-sheep
Copy link

flying-sheep commented Apr 22, 2025

Specifically:

  • :host > div code { color: rgb(51, 51, 51) }
  • :host div.content > div.footer { color: rgb(64, 64, 64) }
  • :host > div .results .hit .content { rgba(0, 0, 0, 0.54) }

and judging by the severity of these issues, probably more.

All this makes code tags and footer text invisible in dark mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants