@enabel/enabel-bootstrap-theme
v3.0.3
Published
Custom Bootstrap theme for Enabel applications with CSS and JavaScript components
Maintainers
Readme
Enabel Bootstrap Theme
A Bootstrap version 5 Enabel look-and-feel featuring:
- Compatibility with pure Bootstrap markup
- A few custom element:
btn-enabelbutton with Enabel logo (extends .btn & .btn-primary)btn-outline-enabelbutton with Enabel logo (extends .btn & .btn-outline-primary)
- Source SCSS files are included in the distribution, allowing local customizations
- Supports NPM, Yarn and Bower package manager integration
- Includes sample HTML pages and common components like navbar and cards for quick setup
Documentation
Theme Developers
If you find yourself wanting to enhance or fix the theme you'll be interested reading this section on how to setup this source on your local device.
First, we do accept pull requests and will promptly merge fixes or enhancements if they make sense for the rest of the relying applications. Note, you should probably check out our issues and/or raise an issue before doing the pull request.
Tools Setup
You'll need the following tools installed on your device to begin working on the theme:
- NodeJS 16.x or greater with NPM or greater to build
First Install
After your tools are in place, you should clone and install some packages:
git clone [email protected]:enabl/enabel-bootstrap-theme.git
cd enabel-bootstrap-theme
yarn installBuilding Dist
This project has been created using webpack-cli. To build the styles, Javascript and other assets, use:
yarn buildThis will create a directory named dist. Webpack will generate minified js and css code as well as bring over all assets and sass code.
Preview
This project also contains a astro project to preview the theme:
yarn devDeploying Dist
To package up dist for deployment you can use the following command at the root level of the project:
yarn packAbout
Originally designed by Damien Lagae. If you have any questions, please contact Damien Lagae.
