Skip to content

Commit

Permalink
refactor: replace --newspack-wizard-color-neutral-70 with `wp-color…
Browse files Browse the repository at this point in the history
…s.$gray-700`

PR feedback
  • Loading branch information
jaredrethman committed Dec 19, 2024
1 parent bf1011b commit 95eba4a
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/admin/style.scss
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -50,7 +46,7 @@ h1 {
* Utils
*/
.gray-700 {
color: var(--newspack-wizard-color-neutral-70);
color: wp-colors.$gray-700;
}
.is-fetching {
* {
Expand Down Expand Up @@ -228,7 +224,7 @@ h1 {
}

> p {
color: var(--newspack-wizard-color-neutral-70);
color: wp-colors.$gray-700;
margin: 0;
}

Expand Down

0 comments on commit 95eba4a

Please sign in to comment.