Skip to content

Commit

Permalink
Add link to dark theme demo from readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ZMYaro committed May 4, 2021
1 parent 7bdc65b commit 1fc5e62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ You can add shadows to elements by including “**material-depth.css**” and th
## Add dark theme
You can enable an instant dark theme by including “**material-dark.css**”. Import it with the `prefers-color-scheme: dark` media query to automatically respect the user's system dark theme setting (on OSes/browsers that support it).

[See demo and example code at materialz.dev/#darktheme →](https://materialz.dev/#darktheme)

## Make it work a little better in older mobile browsers
One great use of MaterialZ is to make mobile web apps look like native Android 5+ apps. MaterialZ includes a script to make sure all widgets respond to touch properly in mobile WebKit (Mobile Safari, AOSP Browser, earlier Chrome for Android) by overriding the default tap delay.
* Make sure you include the “**material-touch.js**” file.
Expand Down

0 comments on commit 1fc5e62

Please sign in to comment.