sass-tools
Four useful tools for creating config and utility first frameworks.
Take a look at sass-starter to see how it comes together in a starter.
Installation
Download and @import
sass-tools;
yarn add @soberwp/sass-tools
@import "~@soberwp/sass-tools";
Documentation
-
@include util() and @include util-classes()
- Define utilities and reuse in classes or create media query prefixed classes.
-
@include fl()
- Fluid rem/px values using a ratio between a min and max screen width.
-
@include fs()
- Fluid font sizes using a ratio between a min and max screen width.
-
@include mq()
- Tiny and smart @media wrapper for faster media query implementation.