02ce62109e
* Add font-weight option to Mini Cart button text. Need to repeat steps for icon SVG and cart item count. * Add font-weight controls to mini-cart item count. * Add better error handling to PHP style output. Ensure style value is set for style item in the get_font_weight_class_and_style attributes array before rendering it to the output. * Revert font-weight option for quantity badge. Per conversation with @vivialice, it looks better for now to keep the font weight adjustment capabilities to just the price and leave the cart icon and count as-is. * Move $typography_styles variable into markup fn. To resolve merge conflicts and get everything in it's proper place, this commit will move the $typography_styles variable into the get_cart_price_markup() function from woocommerce/woocommerce-blocks#6796. |
||
---|---|---|
.. | ||
mini-cart-contents | ||
quantity-badge | ||
test | ||
block.tsx | ||
component-frontend.tsx | ||
edit.tsx | ||
frontend.ts | ||
index.tsx | ||
style.scss |