How to set a custom active-color for q-tabs #8787
Answered
by
metalsadman
saifobeidat
asked this question in
General - Components / Directives / etc
-
I am not able to find a way to set a custom color for the active tab or for the indicator (bottom border) without changing the Quasar variables defaults and without overriding quasar's CSS.. So what I wished I could do, is to pass my color hex to the props directly like this:
But this doesn't work, so how do you handle such a case? |
Beta Was this translation helpful? Give feedback.
Answered by
metalsadman
Apr 6, 2021
Replies: 1 comment 1 reply
-
use a class https://quasar.dev/style/color-palette#adding-your-own-colors. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
saifobeidat
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
use a class https://quasar.dev/style/color-palette#adding-your-own-colors.
https://codepen.io/metalsadman/pen/RwKZpWQ