woocommerce/plugins/woocommerce-admin/client/customize-store/intro
Chris Runnells e14086eef1
Update recommended themes for Customize Your Store (#40650)
* Update theme properties

* Fix theme array properties

* Update filtered urls to use admin_url() instead of home_url()

home_url() is used for front-end requests; admin_url() should be used for wp-admin urls

* Remove "valid" theme check

* Slight tweak to the color palette values

The theme showcase actually uses some more complex logic to pick two out of the 5 colors to represent the theme. We could probably manually copy these as two values instead of what I'm doing here.

* Removed unused color palette values

Really this is probably the simpler approach. Might revisit this later. Also added a total_palettes value so we can track that and show "+X" in the theme preview

* Add extra palettes number

If there are more than 4 palettes, we'll show the number of extras as we do in the WP.com theme showcase.

* Tighten gap between theme name and type

There was too large of a bottom margin on the theme info div.

* Add changefile(s) from automation for the following project(s): woocommerce

* Fix lint

* Remove allowed_theme check from activate_theme api

* Fix tests

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2023-10-09 02:45:04 -05:00
..
tests add: CYS task-completed intro flow (#40616) 2023-10-09 13:19:08 +08:00
actions.ts add: CYS task-completed intro flow (#40616) 2023-10-09 13:19:08 +08:00
color-palettes.tsx Update recommended themes for Customize Your Store (#40650) 2023-10-09 02:45:04 -05:00
index.tsx Update recommended themes for Customize Your Store (#40650) 2023-10-09 02:45:04 -05:00
intro-banners.tsx add: CYS task-completed intro flow (#40616) 2023-10-09 13:19:08 +08:00
intro.scss Update recommended themes for Customize Your Store (#40650) 2023-10-09 02:45:04 -05:00
services.ts add: CYS task-completed intro flow (#40616) 2023-10-09 13:19:08 +08:00
theme-card.tsx Update recommended themes for Customize Your Store (#40650) 2023-10-09 02:45:04 -05:00
types.ts Update recommended themes for Customize Your Store (#40650) 2023-10-09 02:45:04 -05:00
warning-modals.tsx add: CYS task-completed intro flow (#40616) 2023-10-09 13:19:08 +08:00