0.4.0 • Published 9 months ago

@iwbc/sass-utils v0.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

sass-utils

Installation

yarn add @iwbc/sass-utils

Usage

Create a wrapper SCSS file and initialize variables.

@forward @iwbc/sass-utils/scss/breakpoint with (
  $breakpoints: ('sp': 0, 'tab': 768px, 'pc': 1200px) !default
);

Import and use in any SCSS file.

@use breakpoint.scss;

.element {
  @include breakpoint.max('tab') {
    width: 50%;
  }
}

.mediatype {
  @include breakpoint.max('tab', 'screen, print') {
    color: #f00;
  }
}

Please refer to the documentation for other usage methods.

0.3.0

9 months ago

0.4.0

9 months ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.7

1 year ago

0.1.4

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.3

2 years ago

0.1.2

2 years ago