sass-lib
Personal collection of sass.
Install
# via npm
$ npm install @cycjimmy/sass-lib --save
# or via yarn
$ yarn add @cycjimmy/sass-lib
Requirements
- Dart Sass >= 1.80.0 (module system only,
@importis not supported)
Usage
// Native Dart Sass (enable the node package importer first:
// `sass --pkg-importer=node` or `importers: [new sass.NodePackageImporter()]`)
@use 'pkg:@cycjimmy/sass-lib' as *;
// Vite and other bundlers that resolve bare specifiers
@use '@cycjimmy/sass-lib' as *;
// webpack sass-loader
@use '~@cycjimmy/sass-lib' as *;
Entry points (prefix with pkg: for the native Dart Sass importer):
@use '@cycjimmy/sass-lib/functions/index' as fn;
@use '@cycjimmy/sass-lib/mixins/index' as mx;
@use '@cycjimmy/sass-lib/placeholders/index' as *;
@use '@cycjimmy/sass-lib/reset/h5';
@use '@cycjimmy/sass-lib/reset/special';
Development
See CONTRIBUTING.md for the local toolchain, repository settings and bot configuration.