Pure Stylus implementation of Bulma.css
Note 1: bulma-stylus
is used to integrate Bulma with
Stylus, which does NOT contains any generated css files.
Note 2: The version of bulma-stylus
is synchronous with releases of
bulma
, every difference between these two will be recorded in
Changelog.
$ npm install @shirohana/bulma-stylus
- Support 4k container (Disable:
$4k-enabled = false
) - All possible floating numbers are round to 4 digits after the period
-
Dynamic
rem
for better user experience on high-resolution screensIf enabled, the page will be scale in ratio when device width exceeds
$body-auto-scale
(default:$fullhd
).You can try a higher value and find out the best in your situation like
$body-auto-scale = $fullhd + 20*16px
.Set
$body-auto-scale
to any falsy value to disable this feature.
- Use
em/rem
insteadpx
in every elements, components and helpers - Replace
lighten()
function withsass-lighten()
which implements sass-likelighten
- Replace
darken()
function withsass-darken()
which implements sass-likedarken
- Remove
powerNumber()
function (Useexponent-operator
instead) - Remove
colorLuminance()
function (Use built-in functionluminosity()
instead)
Bug fix or improvement only, or you can create issues for any problem (๑ơ ω ơ)
yarn; cd docs && yarn
Ensure there's no error reported
yarn dev
Start documentation server and ensure the page looks in expected
cd docs && docker-compose up
yarn clean
© 2018 Jeremy Thomas. Code released under the MIT license.