Open blowsie opened 5 months ago
This in fact, is kind of documented here.
https://www.tailwind-variants.org/docs/api-reference#extend
extend
description: This property allows you to extend the base styles, slots, variants, defaultVariants and compoundVariants from another component.
It is strange that compoundSlots
don't get extended. However, the documentation you referenced doesn't exactly mention that it also extends compoundSlots
, which has me thinking that it was not initially supported.
I hope it can be added soon
Describe the bug When using
extend
on an object with compound slots, the classes are not appliesTo Reproduce Steps to reproduce the behavior:
Expected behavior Expected result in green, actual result in red