Skip to content

Commit

Permalink
fix(color): grey rgb/hsl
Browse files Browse the repository at this point in the history
  • Loading branch information
bennypowers committed Jan 22, 2023
1 parent f93303a commit 3bf26ab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/nervous-panthers-kick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rhds/tokens": patch
---

Fixed missing rgb and hsl values for grey colours
2 changes: 2 additions & 0 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import * as Filters from './lib/filters.js';
import { readFile, readdir } from 'node:fs/promises';

const CRAYONS = new Set((await readdir(new URL('./tokens/color/crayon', import.meta.url))).map(x => x.replace(/\.ya?ml/, '')));
CRAYONS.add('white');
CRAYONS.add('black');
const PLATFORMS_URL = new URL('./platforms.yaml', import.meta.url);
const platforms = YAML.parse(await readFile(PLATFORMS_URL, 'utf8'));

Expand Down

0 comments on commit 3bf26ab

Please sign in to comment.