Skip to content

Commit

Permalink
Move where the synced block custom colors are set to prevent duplicat…
Browse files Browse the repository at this point in the history
…e output (#46297)
  • Loading branch information
glendaviesnz authored Dec 6, 2022
1 parent 8616020 commit 0ee2a9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/base-styles/_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,3 @@ $light-gray-placeholder: rgba($white, 0.65);
$alert-yellow: #f0b849;
$alert-red: #cc1818;
$alert-green: #4ab866;

:root {
--wp-block-synced-color: #7a00df;
--wp-block-synced-color--rgb: #{hex-to-rgb(#7a00df)};
}
2 changes: 2 additions & 0 deletions packages/base-styles/_default-custom-properties.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
// It also provides default CSS variables for npm package consumers.
:root {
@include admin-scheme(#007cba);
--wp-block-synced-color: #7a00df;
--wp-block-synced-color--rgb: #{hex-to-rgb(#7a00df)};
}

0 comments on commit 0ee2a9d

Please sign in to comment.