updated doc

FezVrasta 2015-01-29 09:52:28 +01:00
parent ea368e94ef
commit 8152f8d1be
2 changed files with 18 additions and 2 deletions

16
Customize.md Normal file

@ -0,0 +1,16 @@
# Customize Theme
Material Design for Bootstrap ("MD4B") comes with __teal__ as default color.
You may want to change it to something else, to do so, the easiest and effective way is using LESS.
Create a new `.less` file inside your project (in your `styles/` or `thirdparty/` folder.
````less
// Import the main LESS file from the installation folder of MD4B
@import "../bower_components/bootstrap-material-design/less/material-wfont.less";
// Override @primary color with one took from _colors.less
@primary: @deep-purple;
````

@ -1,10 +1,10 @@
# Development
Material Design for Bootstrap ("MDB") is developed with mainly two languages: LESS and JavaScript.
Material Design for Bootstrap ("MD4B") is developed with mainly two languages: LESS and JavaScript.
Source files are in the `less/` and `scripts/` directories, the first contains the source of the LESS files and the second one contains the JavaScript source files.
MDB uses `material.css` as stylesheet, `material-wfont.css` is the same file, but with the Google Web fonts included for Roboto.
MD4B uses `material.css` as stylesheet, `material-wfont.css` is the same file, but with the Google Web fonts included for Roboto.
`material.js`, instead, is used to add some extra markup and some jQuery events used to add animations to the elements.
## LESS