codogo-react-widgets

7.2.14 • Public • Published

Codogo React Widgets

Provides a unified way to access the styling of commonly used widgets across different apps

API

js

import { CodogoTick, CodogoRadio, CodogoButton } from "codogo-react-widgets";
require("codogo-react-widgets/sass/main.scss");

SCSS

@import "/path/to/node_modules/codogo-react-widgets/scss/main.scss
$codogo-pallet-main: //the main colour of the app (eg: orange for write)
$codogo-pallet-background: //the off-white background of the app
$codogo-pallet-slight: //the colour for drawing slight attention (think hover)
$codogo-pallet-highlight: //colour for drawing more attention (think select)
$codogo-pallet-warn: //colour for drawing attention  to a potentialy important choice (think "are you sure you want to continue")
$codogo-pallet-danger: //colour for drawing attention  to  a  potentioaly dangerous choice (think "are you sure you want to delete this document")

Readme

Keywords

none

Package Sidebar

Install

npm i codogo-react-widgets

Weekly Downloads

100

Version

7.2.14

License

none

Unpacked Size

3.68 MB

Total Files

91

Last publish

Collaborators

  • mcclowes
  • freddieridell
  • hootiebrown