0.1.6 • Published 2 years ago

silent-sass v0.1.6

Weekly downloads
5
License
MIT
Repository
github
Last release
2 years ago

Installation

npm install silent-sass

It is also recommended to install laravel-mix or webpack and sass-loader. If you have installed laravel-mix and sass-loader webpack config file should be modified to work with sass-loader:

// your's webpack.mix.js file
mix.webpackConfig({
    module: {
        loaders: [{
            test: /\.scss$/,
            loader: 'style!css!sass'
        }]
    }
})

Config variables

It is recommended to set some default variables eg.

$base-font-size: 16px !default;    // Absolute height of body text, in pixels
$base-line-height: 24px !default;  // Absolute height of one line of type, in pixels
$rhythm-font-unit: px !default;    // The font unit to use when returning values in rhythm functions
$min-line-padding: 2px !default;   // Ensure there is at least this many pixels of vertical padding above and below the text.

// Allows to round the line height to the nearest half line height instead of the nearest integral line.
$round-to-nearest-half-line: false !default;

License

This package is licensed under the MIT license.

0.1.4

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.3

3 years ago

0.1.2

4 years ago

0.1.0

6 years ago

0.0.9

6 years ago

0.0.6

7 years ago

0.0.5

7 years ago