The simplest markup to create a theme in Vue Material is:
Vue Material comes with the nice Material Design color palette. You can fully use it to build your themes, using the available colors along with the color shade.
The shades are based on color weight, that can be, 100, 200, 300, 400, 500, 600, 700, 800, 900, A100, A200, A400 or A700.
All of those colors can be passed as an argument of md-get-palette-color
:
Vue Material has default theme colors:
This means that if you do not pass all arguments of md-register-theme
, the default ones will be applied:
Sometimes the colors of your brand might not match with the material ones. It is possible to pass your own colors, without using the Material Design Palette:
By default light colors will be used on backgrounds, but you can easily change this, by passing a theme
attribute:
You can theme individual components effortlessly, by calling the components one by one. This will make your final build smaller in size and higher in performance: