0.7.1 ⢠Published 8 years ago
@shirohana/bulma-stylus v0.7.1
Bulma Stylus
Pure Stylus implementation of Bulma.css
Notice! This package is used to integrate Bulma with Stylus, it does NOT includes builded css files.

Install
This package version is synchronous with Bulma, every difference between the same version of Bulma will be logged in Changelog.
NPM
npm install @shirohana/bulma-stylusor
Yarn
yarn add @shirohana/bulma-stylusLinks
Difference between Bulma
- Support 4k container (Disable:
$4k-enabled = false) - All possible floating numbers are round to 4 digits after the period
New Feature
Dynamic
remfor 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-scaleto any falsy value to disable this feature.
Internal
- Use
em/reminsteadpxin 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 (Use Stylusexponent-operatorinstead) - Remove
colorLuminance()function (Use Stylus built-in functionluminosity()instead)
Contributing
Bug fix or improvement only, or you can create an Issue for any problem :)
Install dependencies
yarn; cd docs && yarnTest your code
Ensure there's no error reported
yarn devStart documentation server and ensure the page looks in expected
cd docs && docker-compose upBefore committing
yarn cleanInherited copyright and license
Ā© 2018 Jeremy Thomas. Code released under the MIT license.
