You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was tinkering (no pun intended) with the idea of a new option for dark theme called "auto" (so it will accept true/false and "auto").
/* * If light hurts you eyes, set this to true. */'dark_theme' => 'auto',
All that it does is adding a new class to html element and then using media queries the interface of the package will changed based on user's OS preference. The media query is not yet supported by many browsers, but Safari already tested it in Safari Technology Preview and it will become standard.
Quick demo:
What do you say, it is worth doing it? When the media query becomes a standard on all browser, this package would already support it.
The text was updated successfully, but these errors were encountered:
I was tinkering (no pun intended) with the idea of a new option for dark theme called "auto" (so it will accept true/false and "auto").
All that it does is adding a new class to html element and then using media queries the interface of the package will changed based on user's OS preference. The media query is not yet supported by many browsers, but Safari already tested it in Safari Technology Preview and it will become standard.
Quick demo:
![image](https://camo.githubusercontent.com/a2aaaa5e5b6f2318c632c818e1612a625dab47d3563f1c5a8e6e48cadfeb7241/68747470733a2f2f6d656469612e67697068792e636f6d2f6d656469612f317169383761764d316163433958777343792f67697068792e676966)
What do you say, it is worth doing it? When the media query becomes a standard on all browser, this package would already support it.
The text was updated successfully, but these errors were encountered: