- This is a boilerplate setup for a bulma project with customizable Sass variables and an express server.
- bulma, sass, html5, css3, node/express and yarn
-
$ yarn (or npm) install
-
$ yarn (or npm) start
-
To start customizing, simply reset any bulma initial-variables in the
public/styles/main.scss
directory, above the line@import '../vendors/bulma/bulma.sass';
. Then run -
$
sass public/styles/main.scss public/styles/main.css
- to compile your changes into the
main.css
directory.
- to compile your changes into the
-
Run
-
$
sass public/styles/main.scss --watch
- to continue editing and watch for changes as you go.
- Bulma's colors are defined with HSL (Hue, Saturation, Light) as opposed to hex or rgb values. Hue is a degree on the color wheel from 0 to 360. 0 is red, 120 is green, 240 is blue. Values are specified with:
hsl(hue, saturation, lightness)
. Here is an HSL calculator.
- Jeremy Thomas for creating bulma.io.