2.1.3 • Published 12 months ago
@cfx-dev/ui-components v2.1.3
UI Component Library
Include design system, utils and reusable components.
Instalation
yarn add @cfx-dev/ui-components
or
npm install @cfx-dev/ui-components
Usage
In your bundler config add this sass option to use ui utils in styles:
additionalData: `@use "~@cfx-dev/ui-components/dist/styles-scss/ui" as ui;`,
import '@cfx-dev/ui-components/dist/styles-scss/global.scss';
Import default themes or take a look inside how to make your own:
import '@cfx-dev/ui-components/dist/styles-scss/themes.scss';
Add theme class name to body or root element
<body className="cfxui-theme-cfx">
For some components you will need to define this variables in your root stiles:
html {
--width: 100vw;
--height: 100vh;
--quant: calc(1rem * 0.25);
}
License
This project is licensed under the MIT License.
2.1.3
12 months ago
2.1.2
1 year ago
2.1.1
1 year ago
2.0.7
1 year ago
2.0.9
1 year ago
2.0.10
1 year ago
2.0.8
1 year ago
2.1.0
1 year ago
2.0.5
1 year ago
2.0.4
1 year ago
2.0.6
1 year ago
2.0.3
1 year ago
2.0.2
1 year ago
2.0.1
1 year ago
2.0.0
1 year ago
1.0.0
1 year ago
0.0.26
1 year ago
0.0.25
1 year ago
0.0.24
1 year ago
0.0.23
1 year ago
0.0.22
1 year ago
0.0.21
1 year ago
0.0.20
1 year ago
0.0.19
1 year ago
0.0.18
1 year ago
0.0.17
1 year ago
0.0.16
1 year ago
0.0.15
1 year ago
0.0.14
1 year ago
0.0.13
1 year ago
0.0.12
1 year ago
0.0.11
1 year ago
0.0.10
1 year ago
0.0.9
1 year ago
0.0.8
1 year ago
0.0.7
1 year ago
0.0.6
1 year ago
0.0.5
1 year ago