Collection of React components.
Install.
npm install @adcimon/react-components
Build.
npm run build
- Creates a
dist
folder.
Publish.
npm login --registry=https://npm.pkg.github.com --scope=@adcimon
npm publish ./dist
Import a component.
import { Button } from '@adcimon/react-components';
Import a default theme.
import '@adcimon/react-components/styles/ThemeLight.css';
import '@adcimon/react-components/styles/ThemeDark.css';
Generate a theme.
python theme.py --palette <my_palette.json> --theme <MyTheme.css>
- Requires Python 3.9.0+
- Check default palettes
palette_light.json
andpalette_dark.json
.