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

Images only work in lightmode or in darkmode #780

Open
val8elster opened this issue Jun 18, 2024 · 1 comment
Open

Images only work in lightmode or in darkmode #780

val8elster opened this issue Jun 18, 2024 · 1 comment

Comments

@val8elster
Copy link
Contributor

image
image

as can be seen here, some images don't work in both light and dark mode.

there could maybe be a switch function that switches between a "light mode image" and "dark mode image" or a function that inverts the colors of the images upon changing the mode.

@lgriffin
Copy link
Contributor

This looks to be an easy enough fix as it's a conditional statement, this blog gives a good overview:
https://larsmagnus.co/blog/how-to-make-images-react-to-light-and-dark-mode

The challenge is sourcing the appropriate images for each model.

I will take a look and see what fix I can come up with

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

No branches or pull requests

2 participants