@sass-fairy/break
Provides Sass mixins, functions, and variables for working with breakpoints and aids in responsive development.
Install
Requires
- Dart Sass:
^1.52.0
Install the package:
npm install @sass-fairy/break@next
Use the package like any other Sass module:
@use '@sass-fairy/break';
Configure Sass options to use the functions provided by this package:
const sass = require('sass');
const BreakFunctions = require('@sass-fairy/break');
sass.render({
file: scss_filename,
includePaths: ['node_modules'],
functions: {
...BreakFunctions
}
});
Documentation
See sass-fairy.com/next/api/break for more information about this package.