LESS - funilrys/grav-plugin-bootstrapper-src GitHub Wiki
.css
Edit bootstrap LESS files and Generate Warning
- Do not delete the
Gruntfile.js
file. - Do not edit the
Gruntfile.js
if you don't know what you do.- Be sure to execute
grunt test
after edition.
- Be sure to execute
Installing dependencied
Be sure that you execute the following before trying to do anything.
Assuming we're on the user/plugins/bootstrapper/ directory.
cd src/less
npm install
Edition
bootstrap.css
and bootstrap-theme.css
File File used to build By defaut the Bootstraper Plugin is delivered with bootstrap.css and bootstrap-theme.css which are located in the css directory.
So with the LESS verison you only have to edit the less file.
Bootstrap original files
You can find bootstrap original LESS files under
/srs/less/less/
Generate Bootstrap
To generate simply execute the following under the src/sass/
directory
grunt dist
grunt dist
File generated after execution of bootstrapper/
├── css/
│ ├── bootstrap.css
│ ├── bootstrap.css.map
│ ├── bootstrap.min.css
│ ├── bootstrap.min.css.map
│ ├── bootstrap-theme.css
│ ├── bootstrap-theme.css.map
│ └── bootstrap-theme.min.css
│ └── bootstrap-theme.min.css.map
└── fonts/
│ ├── glyphicons-halflings-regular.eot
│ ├── glyphicons-halflings-regular.svg
│ ├── glyphicons-halflings-regular.ttf
│ └── glyphicons-halflings-regular.woff
│ └── glyphicons-halflings-regular.woff2
└── js/
├── bootstrap.js
└── bootstrap.min.js
└── npm.js