adcimon / react-components

Collection of React components.

Home Page:https://adcimon.github.io/react-template/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Components

Collection of React components.

Install

Install.

npm install @adcimon/react-components

Build

Build.

npm run build
  • Creates a dist folder.

Publish

Publish.

npm login --registry=https://npm.pkg.github.com --scope=@adcimon
npm publish ./dist

Components

Import a component.

import { Button } from '@adcimon/react-components';

Themes

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 and palette_dark.json.

About

Collection of React components.

https://adcimon.github.io/react-template/

License:MIT License


Languages

Language:CSS 51.6%Language:TypeScript 47.3%Language:Python 1.0%