Skip to content

Commit

Permalink
feat: add 950 shade (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
kisaragi-hiu committed Oct 28, 2023
1 parent a3157fc commit b917fd0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ This will generate the following shades:
700: '#676767',
800: '#4D4D4D',
900: '#333333',
950: '#222222',
}
```

Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export const _variants = {
700: withShade(0.6),
800: withShade(0.45),
900: withShade(0.3),
950: withShade(0.2),
};

export function getColors(color: string, variants = _variants) {
Expand Down
1 change: 1 addition & 0 deletions test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ describe("theme-colors", () => {
700: "#676767",
800: "#4D4D4D",
900: "#333333",
950: "#222222",
},
};

Expand Down

0 comments on commit b917fd0

Please sign in to comment.