This PR fixes LYS badge style overridden by default admin color scheme.
I used nav-unification.css because I didn't want to add a new globally-loaded CSS for a mere couple lines fix.
Before
After
How to test the changes in this Pull Request:
Use a WPCOM atomic e-commerce site
Enable LYS feature flag (you can set these lines to true).
Go to /wp-admin/profile.php
Select Default admin color scheme and click Update Profile
Hover the LYS badge
Observe that it does not have a black background color
Go to Settings > WooCommerce > Site visibility
If it was Live, set to Coming soon, and vice versa. Click Save changes
Hover the LYS badge
Observe that it does not have a dark background color
Other information:
[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes, as applicable?
FOR PR REVIEWER ONLY:
[ ] I have reviewed that everything is sanitized/escaped appropriately for any SQL or XSS injection possibilities. I made sure Linting is not ignored or disabled.
Changes proposed in this Pull Request:
Closes https://github.com/Automattic/wc-calypso-bridge/issues/1516
This PR fixes LYS badge style overridden by default admin color scheme.
I used
nav-unification.css
because I didn't want to add a new globally-loaded CSS for a mere couple lines fix.Before
After
How to test the changes in this Pull Request:
true
)./wp-admin/profile.php
Default
admin color scheme and clickUpdate Profile
Settings > WooCommerce > Site visibility
Live
, set toComing soon
, and vice versa. ClickSave changes
Other information:
FOR PR REVIEWER ONLY: