From 070be5f6a02538489b9056819853fa204ff24424 Mon Sep 17 00:00:00 2001 From: Rafael Bardini Date: Fri, 12 Nov 2021 19:57:16 +0100 Subject: [PATCH] feat(color): use WordPress color palette --- style.css | 20 ++++++++++---------- tap-snapshots/test/render.js.test.cjs | 20 ++++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/style.css b/style.css index 8e6217f..db37dfc 100644 --- a/style.css +++ b/style.css @@ -1,12 +1,12 @@ :root { color-scheme: light dark; - --color-background: #ffffff; - --color-primary: #212529; - --color-secondary: #95a5a6; - --color-muted: #f4f6f6; - --color-accent: #f1c40f; - --color-link: #2ecc71; + --color-background: #ffffff; /* White */ + --color-muted: #f3f4f5; /* Light Gray 200 */ + --color-primary: #191e23; /* Dark Gray 900 */ + --color-secondary: #6c7781; /* Dark Gray 300 */ + --color-accent: #ffb900; /* Accent Yellow */ + --color-link: #46b450; /* Accent Green */ --scale-ratio: 1.25; --scale0: 1rem; @@ -19,10 +19,10 @@ @media (prefers-color-scheme: dark) { :root { - --color-background: #181a1b; - --color-primary: #d1cdc7; - --color-secondary: #aaa398; - --color-muted: #1e2021; + --color-background: #191e23; /* Dark Gray 900 */ + --color-muted: #23282d; /* Dark Gray 800 */ + --color-primary: #fbfbfc; /* Light Gray 100 */ + --color-secondary: #ccd0d4; /* Light Gray 700 */ } } diff --git a/tap-snapshots/test/render.js.test.cjs b/tap-snapshots/test/render.js.test.cjs index ba605ee..1fe7670 100644 --- a/tap-snapshots/test/render.js.test.cjs +++ b/tap-snapshots/test/render.js.test.cjs @@ -17,12 +17,12 @@ exports[`test/render.js TAP renders a resume > must match snapshot 1`] = `