What happened?
A q-item-label with caption attribute use a fixed text color, which may not match the text color of other parts of the q-item.
What did you expect to happen?
The caption element uses the same (or similar) text color as other elements of the item.
Reproduction URL
https://codepen.io/adam-earthscope/pen/pvgWpLe
How to reproduce?
- Go to the provided reproduction link
- There are two list items, one of which is active and styled using
active-class
- The caption on the active item is dark on a dark background, despite the item using
text-white to use light text elsewhere
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Components (quasar)
Platforms/Browsers
Chrome
Quasar info output
Relevant log output
Additional context
I believe there's a similar issue with the side label in dark mode, visible in the docs at:
https://quasar.dev/vue-components/list-and-list-items#active-state
(the bottom item)
What happened?
A q-item-label with
captionattribute use a fixed text color, which may not match the text color of other parts of the q-item.What did you expect to happen?
The caption element uses the same (or similar) text color as other elements of the item.
Reproduction URL
https://codepen.io/adam-earthscope/pen/pvgWpLe
How to reproduce?
active-classtext-whiteto use light text elsewhereFlavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Components (quasar)
Platforms/Browsers
Chrome
Quasar info output
Relevant log output
Additional context
I believe there's a similar issue with the
sidelabel in dark mode, visible in the docs at:https://quasar.dev/vue-components/list-and-list-items#active-state
(the bottom item)