diff --git a/README.md b/README.md index 87ad5fae..da0b4db9 100644 --- a/README.md +++ b/README.md @@ -41,10 +41,12 @@ Is often asked how to change the primary color of this theme without edit the bo You can do it by creating a less file in your project: +```css @import "../bower_components/bootstrap-material-design/less/material.less"; // Override @primary color with one took from _colors.less @primary: @deep-purple; +``` Then, compiling this file, the entire theme will be compiled using the color chosen by you. @@ -89,7 +91,9 @@ They can be used by adding the class suffix `-material-color` to the desired ele Example: +```html +``` These colors are taken from the Material Design color palette and are reported below: @@ -156,6 +160,7 @@ Upon focus, a hint can be displayed. Use any `p | span` with `.help-block`. Be sure to inspect the source of the demos to find proper markup examples. Remember to use the proper HTML markup. Radio example: + ```html