The Modulist is a CSS design system. See documentation.
$ npm install --save @modulist/css
import in your js:
import "@modulist/css/dist/modulist.css";
<link rel="stylesheet" href="https://unpkg.com/@modulist/css">
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";
MIT