Skip to content

Commit f7be539

Browse files
committed
Add theme installation
1 parent 87e5279 commit f7be539

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,17 @@ Vue.material.theme.registerAll({
5757
accent: 'pink'
5858
}
5959
});
60+
```
61+
62+
Apply your theme using <code>v-md-theme</code> directive:
63+
64+
``` html
65+
<div v-md-theme="'default'"></div>
66+
<div v-md-theme="'phone'"></div>
67+
```
6068

6169
## Changelog
6270
<a href="https://marcosmoura.github.io/vue-material/#/changelog" target="_blank">Link</a>
63-
```
6471

6572
## Build Setup
6673

0 commit comments

Comments
 (0)