This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
TT3 theme: some buttons are not legible with some style variations #7466
Labels
block: featured category
Issues related to the Featured Category block,
block: featured product
Issues related to the Featured Product block.
block-type: product-grid
Issues related to/affecting all product-grid type blocks.
type: bug
The issue/PR concerns a confirmed bug.
Describe the bug
WC Blocks buttons are not legible with specific Twenty Twenty Three style variations. Originally reported by @peterfabian.
To reproduce
We should test all other blocks to verify which ones are affected.
Expected behavior
Buttons should be legible.
Screenshots
Proposed solution
I think that if we add the Elements API class (
wp-element-button
) to all buttons, they will display correctly. That class can be retrieved (in WP 6.1) withWP_Theme_JSON_Gutenberg::get_element_class_name( 'button' )
.The text was updated successfully, but these errors were encountered: