@modulist/css
v1.0.0-alpha.39
Published
The Modulist is a CSS design system
Downloads
31
Readme
Modulist CSS
The Modulist is a CSS design system. See documentation.
Install
$ npm install --save @modulist/css
Usage
import in your js:
import "@modulist/css/dist/modulist.css";
In browser
<link rel="stylesheet" href="https://unpkg.com/@modulist/css">
Development
The included source files are written in CSS but needed to be compiled using postcss.
Create postcss.config.js in root folder:
module.exports = {
plugins: [
require('autoprefixer'),
require('postcss-import'),
require('postcss-nested'),
require('postcss-preset-env')({
features: {
'custom-media-queries': true,
'custom-properties': false,
},
}),
require('cssnano')({ preset: 'default' }),
]
};
import in your js:
import "@modulist/css/main.css";
License
MIT