mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2025-07-04 11:53:04 +03:00
updated doc
parent
ea368e94ef
commit
8152f8d1be
16
Customize.md
Normal file
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
|
# 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.
|
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.
|
`material.js`, instead, is used to add some extra markup and some jQuery events used to add animations to the elements.
|
||||||
|
|
||||||
## LESS
|
## LESS
|
||||||
|
|
Loading…
Reference in New Issue
Block a user