@central-design-system/illustrations v3.0.0-beta.26
Central Design System - Illustrations
Иллюстрации
Getting started
NPM
npm install @central-design-system/illustrations
OR
yarn add @central-design-system/illustrations
Use
To use Illustrations in your Vue.js project, add this code:
import Vue from 'vue';
import Illustrations from '@central-design-system/illustrations';
Vue.use(Illustrations);
import "@central-design-system/illustrations/styles.scss";
In your template
<template>
<actives-rise-rub />
</template>
Properties
mono
Type: Boolean
Required: false
SVG without main colors
Customize styles
Use common css class .cds-illustrations
or other for customize colors and sizes
.cds-illustrations {
width: 128px;
height: 128px;
}
.cds-illustrations #color-primary {
fill: red;
}
.cds-illustrations #color-secondary {
fill: blue;
}
.cds-illustrations #shape {
fill: green;
}
.cds-illustrations #mono {
fill: yellow;
}
Build illustrations
Put svg file to the src/svg
and run command
npm run generate
New vue component appear in src/components
folder
Use for production build
npm run build
6 days ago
16 days ago
16 days ago
27 days ago
1 month ago
1 month ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
3 months ago
3 months ago
3 months ago
4 months ago
4 months ago
4 months ago
5 months ago
6 months ago
8 months ago
8 months ago
7 months ago
8 months ago
7 months ago
7 months ago
6 months ago
7 months ago
8 months ago
9 months ago
1 year ago
12 months ago
1 year ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago