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 (WordPress#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 <alex+github.com@lende.xyz>

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

Co-authored-by: Alex Lende <alex+github.com@lende.xyz>

* 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 <alex+github.com@lende.xyz>
Co-authored-by: scruffian <scruffian@git.wordpress.org>
Co-authored-by: jasmussen <joen@git.wordpress.org>
Co-authored-by: ajlende <ajlende@git.wordpress.org>
Co-authored-by: juanmaguitar <juanmaguitar@git.wordpress.org>
Co-authored-by: ndiego <ndiego@git.wordpress.org>
Co-authored-by: richtabor <richtabor@git.wordpress.org>
Co-authored-by: colorful-tones <colorful-tones@git.wordpress.org>
  • Loading branch information
9 people authored and patil-vipul committed Jun 17, 2024
1 parent 48ad7da commit b20faa2
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 992 deletions.
Loading

0 comments on commit b20faa2

Please sign in to comment.