1.0.2 • Published 2 years ago
@atavik/html v1.0.2
@atavik/html
Atavik Design System - Atavik specific CSS styles for html
Install package
After installing npm or yarn, you can install @atavik/html
with this command:
# with npm
npm i -S @atavik/html
# with yarn
yarn add @atavik/html
Usage
Once you have installed this package, you just have to import CSS styles!
With a bundler that supports CSS imports in JS files:
import '@atavik/html/dist/html.css';
Otherwise include it in your HTML file:
<link rel="stylesheet" href="./node_modules/@atavik/html/dist/html.min.css"/>
Development
Using webpack (webpack.config.js):
Import in your Sass file :
@import '~@atavik/html/html.scss'
Don't forget to set SassOptions in your sass-loader
//
{
loader: 'sass-loader',
options: {
sourceMap: true,
sassOptions: {
includePaths: [path.resolve('./node_modules')]
}
}
},
//