@sensoro-design/styles
v1.29.0
Published
Sensoro Design Styles
Downloads
7
Readme
@sensoro-design/styles
📦 Install
npm install @sensoro-design/styles
or
yarn add @sensoro-design/styles
or
pnpm add @sensoro-design/styles
🔨 Usage
App.tsx
import React from 'react';
import { Button, DatePicker } from 'antd';
const App = () => (
<>
<Button type="primary">PRESS ME</Button>
<DatePicker placeholder="select date" />
</>
);
App.less
@import '~@sensoro-design/styles/dist/styles.min.css';
// when you use style variables
@import '~@sensoro-design/styles/style/themes/default.less';
color: @primary-color;
padding: @padding-sm;
box-shadow: @sen-shadow-01;