2.1.1 ⢠Published 4 years ago
@calvear/rsuite-styles v2.1.1
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 š ļø
- React Suite - marvelous UI framework for React.
License š
This project is licensed under the MIT License - see LICENSE.md file for details.