Bootstrap-xlwings is a Bootstrap theme made for Office.js add-ins in Excel. It's in an early stage.
In your HTML file, add the following in the <head>
section (check the Release page for older versions):
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/xlwings/bootstrap-xlwings@5.3.3-1/dist/bootstrap-xlwings.min.css">
If you don't want to use a CDN, you can also download the files from the dist
directory and reference bootstrap-xlwings.min.css
locally.
The number before the dash corresponds to the bootstrap version, and the version after the dash corresponds to the build number of the theme.
Install Node.js (comes with npm). From the root of this directory, run:
npm install
npm start
Then open http://localhost:1234 to see the example page. Changes to bootstrap-xlwings.scss
will be hot-reloaded.
To build the production CSS file, update the version numbers in build.py
and run (this requires Python):
python build.py