1.3.4 • Published 2 years ago
bo_style v1.3.4
scss boilerplate
install package
yarn add bo_style -D
usage
- create config like this default-config
- import package and your config
@import 'bo_style';
@import './your-config.scss';
simple example, how to use:
$rem-baseline: 18px;
$breakpoints: ('mob': 0, 'xs': 600px, 'xl': 1200px);
.div {
@include width(('mob': 20px, 'xl': 300px));
@include display(('mob': block, 'xs': flex));
}
compiles to:
.div {
width: 1.111rem;
display: block;
}
@media (min-width: 600px) {
.div {
display: flex;
}
}
@media (min-width: 1200px) {
.div {
width: 16.667rem;
}
}
list of mixins, functions and placeholders
_
mixins
functions
helpers
TODO
- sassdoc
- mixins with breakpoints(wh, abs-center e.t.c)
1.3.4
2 years ago
1.3.3
2 years ago
1.3.2
2 years ago
1.3.1
3 years ago
1.3.0
3 years ago
1.2.8
3 years ago
1.2.7
3 years ago
1.2.6
3 years ago
1.2.9
3 years ago
1.2.5
4 years ago
1.2.4
4 years ago
1.2.0
4 years ago
1.2.3
4 years ago
1.2.2
4 years ago
1.2.1
4 years ago
1.1.9
4 years ago
1.1.8
4 years ago
1.1.7
4 years ago
1.1.6
4 years ago