pdanpdan/quasar

Bug - Beta v24 - QChip not binding `q-dark` CSS class when `dark` prop is used

Closed this issue · 3 comments

Pretty self explanatory.

Regular Quasar version 1 binds a q-dark CSS class when the dark prop is used on a QChip.
This automatically makes the text color white instead of having to manually define text-color="white".

This CSS class is not being bound on this version of Quasar.

https://codepen.io/zuc0001/pen/JjrPzOy

Can you find where dark changed the color of the text in either Q1 or Q2? :)
It only make the icon color to be inherited from the chip, but you always have to set the text color.

This is from regular v1
adding the dark prop would add the CSS class q-dark which appended the specified CSS to the entire chip (including the text).

image