There are a few places that are using some hard-coded pink colors across the extension. And some selectors are not following the admin theme color. Changed the colors here to make it consistent with WooCommerce and the admin theme.
Changes made in this PR are-
Changed the color of the info icon on Payments page to follow the admin theme color.
Removed unnecessary button styles. With them removed, the WooCommerce button colors would be picked up following the admin theme color.
Replaced the pink colors (#9c5d90, #ddc8d9, #cc99c2) with WooCommerce purple color (#7F54B3)
Added wc-enhanced-select class to the selectors which makes them follow the admin theme color.
Testing instructions
Ensure the codebase does not have any wrong pink colors left.
Go to <your_site/wp-admin/profile.php and choose an Admin Color Scheme except for default. (I have used Modern in the screenshots)
Go to WooCommerce > Settings > Payments page. The info icon should follow the admin theme color.
Before
After
Go to WooCommerce > Emails and go inside the pages Cancelled Subscription, Expired Subscription, Suspended Subscription. The Email Type selector should follow the admin theme color.
Go to WooCommerce > Product > Add New. Select Simple Subscription and check the general tab. The selectors related to subscription should follow the admin theme color.
Go to WooCommerce > Product > Add New. Select Variable Subscription and check the variation tab. The selectors related to subscription should follow the admin theme color.
Fixes #490
Description
There are a few places that are using some hard-coded pink colors across the extension. And some selectors are not following the admin theme color. Changed the colors here to make it consistent with WooCommerce and the admin theme.
Changes made in this PR are-
Payments
page to follow the admin theme color.#9c5d90
,#ddc8d9
,#cc99c2
) with WooCommerce purple color (#7F54B3
)wc-enhanced-select
class to the selectors which makes them follow the admin theme color.Testing instructions
<your_site/wp-admin/profile.php
and choose an Admin Color Scheme except fordefault
. (I have usedModern
in the screenshots)Before
After
Cancelled Subscription
,Expired Subscription
,Suspended Subscription
. TheEmail Type
selector should follow the admin theme color.Simple Subscription
and check thegeneral
tab. The selectors related to subscription should follow the admin theme color.Variable Subscription
and check thevariation
tab. The selectors related to subscription should follow the admin theme color.