@sensoro-design/styles

1.29.0 • Public • Published

@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;

Dependencies (0)

    Dev Dependencies (20)

    Package Sidebar

    Install

    npm i @sensoro-design/styles

    Weekly Downloads

    2

    Version

    1.29.0

    License

    MIT

    Unpacked Size

    1.76 MB

    Total Files

    408

    Last publish

    Collaborators

    • fuhao94
    • wangxingkang