Skip to content

ayu-theme/ayu-colors

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
September 2, 2021 22:12
src
September 5, 2021 16:57
November 6, 2016 16:47
November 6, 2016 16:47
September 5, 2021 16:57
November 6, 2016 22:18
September 5, 2021 16:57
June 28, 2020 22:20

ayu

The colors of @dempfi's beautiful ayu color scheme extracted as a NPM package.

Installation

npm install --save ayu
yarn add ayu

Usage

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