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