tutors-sdk / tutors

The core Tutors Reader application.
https://tutors.dev
MIT License
106 stars 38 forks source link

Images only work in lightmode or in darkmode #780

Open val8elster opened 2 weeks ago

val8elster commented 2 weeks ago

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 commented 1 week ago

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