1.3.4 • Published 2 years ago

bo_style v1.3.4

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

scss boilerplate

install package

yarn add bo_style -D

usage

  1. create config like this default-config
  2. 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