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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

why is the grid black #65

Closed
shikingram opened this issue Feb 24, 2023 · 4 comments
Closed

why is the grid black #65

shikingram opened this issue Feb 24, 2023 · 4 comments

Comments

@shikingram
Copy link

image

馃馃馃馃

@noobie7
Copy link

noobie7 commented Feb 25, 2023

Hey, I'd like to assign this to myself, who do I ask?

@Platane
Copy link
Owner

Platane commented Feb 26, 2023

The is a media-query which test for prefers-color-scheme which is set by the browser.

I am guessing that your browser set this flag, but your github account is configured to ignore it and use light mode (?)

github supports a safer way to detect the theme via the picture element. I am going to use it in this readme too.

Could you tell me what you see on this page https://github.com/Platane/Platane ? I might need to disable the unreliable prefers-color-scheme media query

@Platane
Copy link
Owner

Platane commented Feb 26, 2023

I fixed it in v2.2.1 let me know if that does it for you

@ziadOUA
Copy link

ziadOUA commented Feb 27, 2023

Yup, I also had this issue. I fixed it by using the <picture> </picture> tags.

@Platane Platane closed this as completed Mar 20, 2023
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

4 participants