From 0e36eb131aacb4ce909d0b9993021af368663b94 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Sat, 28 Oct 2023 14:34:13 +0200 Subject: [PATCH] rebase --- README.md | 1 + src/index.ts | 1 + test/index.test.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/README.md b/README.md index c355290..4da559d 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,7 @@ This will generate the following shades: 700: '#676767', 800: '#4D4D4D', 900: '#333333', + 950: '#222222', } ``` diff --git a/src/index.ts b/src/index.ts index cac1860..6e6d599 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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) { diff --git a/test/index.test.ts b/test/index.test.ts index 90e521d..e5a6f43 100644 --- a/test/index.test.ts +++ b/test/index.test.ts @@ -17,6 +17,7 @@ describe("theme-colors", () => { 700: "#676767", 800: "#4D4D4D", 900: "#333333", + 950: "#222222", }, };