woocommerce/docs/user-experience/colors.md

1.0 KiB
Raw Blame History

User Experience Guidelines: Colors

Colors

When creating extensions for the WordPress wp-admin, use the core colors, respect the users WordPress admin color scheme selection, and ensure your designs pass AA level guidelines.

When using components with text, such as buttons, cards, or navigation, the background-to-text contrast ratio should be at least 4.5:1 to be WCAG AA compliant. Be sure to test your color contrast ratios to abide by WCAG standards.

For WooCommerce-specific color use, review our Style Guide.