@calvear/rsuite-styles

2.1.1 • Public • Published

React Suite Styles

React Suite styles compiler for eases style base customization.

Structure 📋

├── README.md
├── LICENCE.md
├── CHANGELOG.md
├── src/
│   ├── components/ # custom variables and components
│   ├── fonts/ # Catamaran font
│   ├── themes/
│   │   ├── dark.less
│   │   └── lights.less
│   ├── dark.less
│   └── light.less # default stylesheet
├── package.json
└── .stylelintrc.json

How To Use 💡

Import stylesheet as usual from package.

import '@calvear/rsuite-styles';
import { Button } from 'rsuite';

export default function App()
{
    return (
        <page>
            <h1>Welcome to my App</h1>
            <Button appearance="primary">Press Me</Button>
        </page>
    );
}

For dark theme.

import '@calvear/rsuite-styles/dark.css';
import { Button } from 'rsuite';

export default function App()
{
    return (
        <page>
            <h1>Welcome to my App</h1>
            <Button appearance="primary">Press Me Dark</Button>
        </page>
    );
}

Linting 🧿

Project uses ESLint, for code formatting and code styling normalizing.

  • stylelint: CSS, SASS and LESS styles linter.

Changelog 📄

For last changes see CHANGELOG.md file for details.

Built with 🛠️

License 📄

This project is licensed under the MIT License - see LICENSE.md file for details.


by Alvear Candia, Cristopher Alejandro

Package Sidebar

Install

npm i @calvear/rsuite-styles

Weekly Downloads

28

Version

2.1.1

License

MIT

Unpacked Size

754 kB

Total Files

5

Last publish

Collaborators

  • calvear