Getting started
- Get started with Bulma
- Download the
bulmaswatch.min.cssfor the respective theme - Replace
bulma.csswithbulmaswatch.min.css
Use NPM
- Install package
npm install bulmaswatch - Each theme consist of two files -
_variables.scss&_overrides.scss - Import the respective theme files from
node_modules/bulmaswatch/<themename>/<filename> - Make sure you import
bulmabefore the_overrides.scssfor the theme to work properly - An example of your custom theme file is the bulmaswatch.scss for each theme
API
You can use the API to integrate the themes with your platform.
GET https://jenil.github.io/bulmaswatch/api/themes.json
This returns all the themes with important URLs. Here is how a sample theme looks:
{
"name": "Cosmo",
"description": "An ode to Metro",
"preview": "https://jenil.github.io/bulmaswatch/cosmo/",
"thumb": "https://jenil.github.io/bulmaswatch/thumb/?cosmo",
"css": "https://cdn.rawgit.com/jenil/bulmaswatch/gh-pages/cosmo/bulmaswatch.min.css",
"scss": "https://cdn.rawgit.com/jenil/bulmaswatch/gh-pages/cosmo/bulmaswatch.scss",
"scssVariables": "https://cdn.rawgit.com/jenil/bulmaswatch/gh-pages/cosmo/_variables.scss"
}