Skip to content

Commit

Permalink
Update examples in the README
Browse files Browse the repository at this point in the history
Ike Ku committed Aug 6, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 9f026ff commit c618fcd
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions readme.md → README.md
Original file line number Diff line number Diff line change
@@ -14,11 +14,17 @@ yarn add ayu
```JS
import { dark, light, mirage } from 'ayu'

dark.common.bg === '#0f1419'
light.ui.fg === '#828c99'
mirage.syntax.error === '#ff3333'
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

<img width="100%" src="https://cdn.rawgit.com/ayu-theme/ayu-colors/master/colors.svg">

0 comments on commit c618fcd

Please sign in to comment.