An open API service indexing awesome lists of open source software.

https://github.com/hermanya/color-system

🎨 Easiest way to get a universal color palette
https://github.com/hermanya/color-system

color-palette color-scheme colors dark-mode high-contrast-mode styled-system

Last synced: about 1 year ago
JSON representation

🎨 Easiest way to get a universal color palette

Awesome Lists containing this project

README

          



image




Color System

[Website](https://hermanya.github.io/color-system/) | [CodeSandbox](https://codesandbox.io/s/github/Hermanya/color-system/tree/master/example)

`yarn add use-color-system`

`import { useColorSystem } from 'use-color-system'`

```jsx
const colors = useColorSystem({
hueOffset: 28, // pretty random number 0-30
invertedLightness: false, // enable for automatic Dark Mode
highContrastMode: false // enable for accessibility
});
styledSystemTheme.colors = colors;
```

```jsx

Hello
World

```

*Depending on `colors` may defer*: usually it's `gray` `magenta` `red`
`orange`
`lime`
`green`
`teal`
`cyan`
`blue`
`purple`