wpengine / frost

The ultimate WordPress block theme for website designers and developers.
https://wordpress.org/themes/frost/
GNU General Public License v3.0
573 stars 149 forks source link

Replace `main` & `base` with `foreground` & `background` #99

Closed colorful-tones closed 2 years ago

colorful-tones commented 2 years ago

While testing WooCommerce integration with Frost theme I discovered that there is a slow standardization around color palette slugs, which would affect the compatibility of Frost with WooCommerce.

Currently Frost leverages the main and base color variable naming convention. However, Twenty Twenty-Two has introduced the usage of foreground and background, which in turn is being used by WooCommerce to integrate global styling of elements like buttons. These are key to making Frost appear to seamlessly integrate with WooCommerce should it be activated.

Similarly, the Automattic themes are leveraging the same color slug naming convention of foreground and background.

Since there is momentum around this standardization. I propose we make it easier for Frost users to leverage WooCommerce and potentially other plugins that will leverage this standardization in the future.