edx/edx-bootstrap

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

npm version

EdX Bootstrap

This library provides Bootstrap 4 themes for use within Open edX. It includes an Open edX theme as well as an edX-branded theme.

Getting Started

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
Using The EdX Bootstrap Theme

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.

Using The EdX Bootstrap Theme With Webpack

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.

License

The code in this repository uses the Apache 2.0 license unless otherwise noted. Please see the LICENSE file for details.

Contributions

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.

Reporting Security Issues

Please do not report security issues in public. Please email security@edx.org.

Getting Help

Have a question about this repository, or about Open edX in general? Please refer to this list of resources if you need any assistance.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.