e14086eef1
* 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> |
||
---|---|---|
.. | ||
tests | ||
actions.ts | ||
color-palettes.tsx | ||
index.tsx | ||
intro-banners.tsx | ||
intro.scss | ||
services.ts | ||
theme-card.tsx | ||
types.ts | ||
warning-modals.tsx |