This is my development package for clean CSS Code. Here in this package you have a collection
of SASS Placeholders and Mixins and much more.
Install Node.js and run this short command
npm i @bz-projects/scss-helper
If you want to save to your development dependencies
npm i @bz-projects/scss-helper --save-dev
Import all SCSS Files into your custom scss file.
@import '../node_modules/@bz-projects/scss-helper/style';
or
@import '@bz-projects/scss-helper/style';
- Create your SCSS File
- Import the style of the NPM Package. See Config
- Override your variables before the @import line
Example:
// Colors
$color-trans: transparent;
$color-primary: #005b96;
$color-secondary: #e6e6ea;
$color-white: #ffffff;
$color-light: #f4f4f8;
$color-black: #000000;
$color-dark: #2a363b;
$color-light-grey: #949a98;
$color-grey: #4a4e4d;
// Fonts
$fonts-primary: 'Open Sans';
$fonts-secondary: 'Lato';
// Spacing
$spacing-main: 40px;
$spacing-half: 20px;
$spacing-small: 10px;
// Import all SCSS functions
@import '@bz-projects/scss-helper/style';
// Write your SCSS Code
body {
@extend %bg-primary;
}