What version of FlyonUI are you using?
2.4.1
Which browsers are you seeing the problem on?
All browsers
Reproduction URL
https://play.tailwindcss.com/a4Rs3y7iVO
Describe your issue
The image overlay example, in e.g. theme Spotify, has a not-so-easy-to-read white text (forced with text-white class).
One may think we can just remove text-white and it works, but not for the title as .card-title has the rule: color: var(--color-base-content);.
According to doc, the card-title h2 is a descendent of the card-body div, which has the (correct) text color set on it. As a result, it would be more convenient (more correct?) for card-title to simply inherit the text color from its card-body ancestor.
What version of FlyonUI are you using?
2.4.1
Which browsers are you seeing the problem on?
All browsers
Reproduction URL
https://play.tailwindcss.com/a4Rs3y7iVO
Describe your issue
The image overlay example, in e.g. theme Spotify, has a not-so-easy-to-read white text (forced with
text-whiteclass).One may think we can just remove
text-whiteand it works, but not for the title as.card-titlehas the rule:color: var(--color-base-content);.According to doc, the
card-titleh2is a descendent of thecard-bodydiv, which has the (correct) text color set on it. As a result, it would be more convenient (more correct?) forcard-titleto simply inherit the text color from itscard-bodyancestor.