Name: edx-bootstrap
Owner: edX
Description: Bootstrap theme for Open edX
Created: 2017-06-23 20:12:07.0
Updated: 2018-05-21 20:45:36.0
Pushed: 2018-04-04 18:21:58.0
Homepage: null
Size: 1572
Language: CSS
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This library provides Bootstrap 4 themes for use within Open edX. It includes an Open edX theme as well as an edX-branded theme.
The edx-bootstrap library should be installed via npm:
npm install --save @edx/edx-bootstrap
Once installed, you can generate the sample pages:
make samples
For a full list of the available make targets, run:
make help
To use an edX Bootstrap theme, import the _theme.scss
partial file from
your chosen theme into your own Sass. Note that this file must be loaded before
any Bootstrap partial files so that the theming will be applied.
See the sample Open edX SASS file for a simple example.
The edX Bootstrap Sass expects the Bootstrap source to exist at the project root. Add an includePaths option to your sass-loader config so that Webpack knows to look for Bootstrap in your node_modules folder.
See a sample Webpack config in Paragon, which uses edX Bootstrap and Webpack.
The code in this repository uses the Apache 2.0 license unless otherwise noted. Please see the LICENSE file for details.
Contributions are very welcome. Please read How To Contribute for details. Even though they were written with edx-platform in mind, the guidelines should be followed for Open edX code in general.
Please do not report security issues in public. Please email security@edx.org.
Have a question about this repository, or about Open edX in general? Please refer to this list of resources if you need any assistance.