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

Dark Mode/ Theme in materialize? #6363

Open
creyD opened this issue May 13, 2019 · 12 comments
Open

Dark Mode/ Theme in materialize? #6363

creyD opened this issue May 13, 2019 · 12 comments

Comments

@creyD
Copy link

creyD commented May 13, 2019

Expected Behavior

As Google added it to their Material Design Guidelines, are there any plans to implement it in materialize? What would it take? Icons would need to change from Black to White, background colors, text colors, what else? Are there plans for integrating this yet? Or is it just out of scope for this project, as in everyone needs to implement this for themselves?

Context

As many major websites and apps are offering dark themes for multiple reasons, I think it would be great to help people who already use materialize to implement this really quick. Maybe by offering a second CSS file or a single variable?

@tyler-wp
Copy link

tyler-wp commented Aug 6, 2019

Any news on this?

@creyD
Copy link
Author

creyD commented Aug 7, 2019

@Tyler-HS Nope...

@creyD creyD changed the title Dark Theme in materialize? Dark Mode/ Theme in materialize? Aug 16, 2019
@creyD
Copy link
Author

creyD commented Aug 16, 2019

@Dogfalo could someone at least mark this as feature request or acknowledge this? I don't have a problem if this won't be developed or doesn't fit the size of the project, but please close this then or decline it.

@creyD
Copy link
Author

creyD commented Aug 17, 2019

Thank you!

@trandzient
Copy link

Any updates on this?

@developerfromjokela
Copy link

So what's going on with this feature? Any updates? @Dogfalo Please do something, people will be very excited to see dark theme in materialize, and more people will use it in their new projects.

Thank you

@sijanec
Copy link

sijanec commented Feb 19, 2020

You can always compile SASS files with your own custom colors.
edit: see file css/_variables.scss

@shryder
Copy link

shryder commented Mar 10, 2020

Are there any updates on this yet?

@Dorson
Copy link

Dorson commented Apr 9, 2020

Made a flexible and well working solution for the Dark Mode:

https://dorson.github.io/CSS-Dark-Mode-and-color-switch/

Works with basic CSS variables + short JavaScript.

Can be used to define multiple color themes in one CSS file or other dynamic style settings like text size settings, etc...

Have fun using my code !

@creyD
Copy link
Author

creyD commented Apr 9, 2020

Made a flexible and well working solution for the Dark Mode:

https://dorson.github.io/CSS-Dark-Mode-and-color-switch/

Works with basic CSS variables + short JavaScript.

Can be used to define multiple color themes in one CSS file or other dynamic style settings like text size settings, etc...

Have fun using my code !

This is the github link: https://github.com/Dorson/CSS-Dark-Mode-and-color-switch

Looking good so far, but I need materialize anyway.

@tonimelisma
Copy link

What about just using the prefers-color-scheme CSS media query to detect user preference for dark mode without any buttons? Would this be welcome in materialize?

Or is the project still being maintained?

@sijanec
Copy link

sijanec commented Oct 29, 2020 via email

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

No branches or pull requests

9 participants