Skip to content

Commit

Permalink
refactor: pr feedback - use wp-colors.$gray-100 instead of `--newsp…
Browse files Browse the repository at this point in the history
…ack-ui-color-neutral-10`
  • Loading branch information
jaredrethman committed Dec 20, 2024
1 parent 95eba4a commit e4f67b7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/admin/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ h1 {
input[type="checkbox"],
.components-checkbox-control__input[type="checkbox"],
.components-checkbox-control__input[type="checkbox"]:checked {
background-color: var(--newspack-ui-color-neutral-10);
border: 1px solid var(--newspack-ui-color-neutral-10);
background-color: wp-colors.$gray-100;
border: 1px solid wp-colors.$gray-100;
}
// Universal animations
textarea,
Expand Down Expand Up @@ -96,7 +96,7 @@ h1 {
}

.newspack-style-card__image-html:empty {
background-color: var(--newspack-ui-color-neutral-10);
background-color: wp-colors.$gray-100;
}

.newspack-style-card__actions {
Expand All @@ -107,7 +107,7 @@ h1 {
// Color
.newspack-color-picker {
.newspack-color-picker__expander {
background-color: var(--newspack-ui-color-neutral-10);
background-color: wp-colors.$gray-100;
animation: opacity-pulse 1.4s infinite;
}
}
Expand All @@ -117,8 +117,8 @@ h1 {

// Specificity necessary to override @emotion/* styles
select.components-select-control__input {
background-color: var(--newspack-ui-color-neutral-10);
border: 1px solid var(--newspack-ui-color-neutral-10);
background-color: wp-colors.$gray-100;
border: 1px solid wp-colors.$gray-100;
cursor: progress;
}

Expand Down

0 comments on commit e4f67b7

Please sign in to comment.