Skip to content

Commit

Permalink
Global Styles: Only use single property variations as color/type pres…
Browse files Browse the repository at this point in the history
…ets (#62469)

* Global Styles: Only use single property variations as color/type presets

* remove unused code

* remove unused code

* remove unused code

* update comment

* fix typo

* Add the user settings to the base variation

* Update packages/edit-site/src/hooks/use-theme-style-variations/use-theme-style-variations-by-property.js

Co-authored-by: Alex Lende <[email protected]>

* Update packages/edit-site/src/hooks/use-theme-style-variations/use-theme-style-variations-by-property.js

Co-authored-by: Alex Lende <[email protected]>

* Remove the property from the user variation before merginng it with the new variation

* apply the name to the correct object

---------

Co-authored-by: Alex Lende <[email protected]>
Co-authored-by: scruffian <[email protected]>
Co-authored-by: jasmussen <[email protected]>
Co-authored-by: ajlende <[email protected]>
Co-authored-by: juanmaguitar <[email protected]>
Co-authored-by: ndiego <[email protected]>
Co-authored-by: richtabor <[email protected]>
Co-authored-by: colorful-tones <[email protected]>
  • Loading branch information
9 people authored Jun 14, 2024
1 parent 229eca9 commit 854163b
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 992 deletions.
Loading

0 comments on commit 854163b

Please sign in to comment.