slimkit
v1.4.9
Published
Lightweight Vue3 UI components
Downloads
21
Readme
SlimKit
Lightweight Vue3 UI components
Demo
Installation
yarn install slimkit
Development
Dev server will launch a page with all the components
yarn install
yarn dev
Building
Build sript will copy compiled files to dist folder.
yarn build
Usage
Add all components to your vue app
import Slimkit from 'slimkit';
import 'slimkit/style.css';
app.use(Slimkit);
Add selected components
import Slimkit from 'slimkit';
import 'slimkit/style.css';
app.use(Slimkit, ['SkButton', 'SkCard']);
SCSS Variables
Instead of using the compiled css file, you can import the source build.scss
file then you can override the variables e.g
// Colors
$primary: blue;
// Utilities
$ut-margins: (
sm: 5px,
md: 10px,
lg: 20px
);
@import 'node_modules/slimkit/scss/build.scss';
For list of variables explore these files
node_modules/slimkit/scss/_colors.scss
node_modules/slimkit/scss/_vars.scss
node_modules/slimkit/scss/_vars.utils.scss