https://github.com/ayu-theme/ayu-colors
The ayu color scheme as a color palette
https://github.com/ayu-theme/ayu-colors
Last synced: 6 months ago
JSON representation
The ayu color scheme as a color palette
- Host: GitHub
- URL: https://github.com/ayu-theme/ayu-colors
- Owner: ayu-theme
- License: mit
- Created: 2016-11-06T13:54:06.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-08-14T17:37:41.000Z (almost 4 years ago)
- Last Synced: 2025-03-28T11:32:35.034Z (over 1 year ago)
- Language: TypeScript
- Size: 134 KB
- Stars: 734
- Watchers: 11
- Forks: 33
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: license
Awesome Lists containing this project
README

> The colors of [@dempfi's](https://github.com/dempfi) beautiful [ayu color scheme](https://github.com/dempfi/ayu) extracted as a NPM package.
### Installation
```
npm install --save ayu
yarn add ayu
```
### Usage
```JS
import { dark, light, mirage } from 'ayu'
dark.common.bg.hex() === '#0f1419'
light.common.fg.hex() === '#828c99'
mirage.syntax.error.hex() === '#ff3333'
dark.common.bg.rgb() === '15, 20, 25'
light.common.fg.rgb() === '97, 103, 108'
mirage.syntax.error.rgb() === '255, 51, 51'
```
_This package includes TypeScript definitions._
### Colors