From 95eba4a67b81c8235b126b765080022a755ab48b Mon Sep 17 00:00:00 2001 From: Jared Rethman Date: Thu, 19 Dec 2024 10:41:15 -0600 Subject: [PATCH] refactor: replace `--newspack-wizard-color-neutral-70` with `wp-colors.$gray-700` PR feedback --- src/admin/style.scss | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/admin/style.scss b/src/admin/style.scss index 8aebd1e1f3..923a97fed8 100644 --- a/src/admin/style.scss +++ b/src/admin/style.scss @@ -1,16 +1,12 @@ @use "../newspack-ui/scss/variables/_colors.scss"; @use "../../node_modules/tachyons/css/tachyons.min.css"; +@use "~@wordpress/base-styles/colors" as wp-colors; :root { /* Sections */ --newspack-wizard-section-width: 1040px; --newspack-wizard-section-space: 24px; --newspack-wizard-section-child-space: 16px; - /** - * Colors - */ - // Grays - --newspack-wizard-color-neutral-70: #757575; /** * Dimensions @@ -50,7 +46,7 @@ h1 { * Utils */ .gray-700 { - color: var(--newspack-wizard-color-neutral-70); + color: wp-colors.$gray-700; } .is-fetching { * { @@ -228,7 +224,7 @@ h1 { } > p { - color: var(--newspack-wizard-color-neutral-70); + color: wp-colors.$gray-700; margin: 0; }