Tab indicator color #4202
-
I'll like to be able to change the color of the selected tab indicator as it's showed in quasar : <q-tabs
v-model="tab"
indicator-color="purple"
class="text-teal"
> (https://codepen.io/pen?&editors=101) I don't find what key world use to do it in : ui.tab(...).style(???) Thanks by advance |
Beta Was this translation helpful? Give feedback.
Answered by
falkoschindler
Jan 11, 2025
Replies: 1 comment 3 replies
-
Hi @chupins, You can use the "indicator-color" prop like this: with ui.tabs().props('indicator-color=purple') as tabs:
one = ui.tab('One')
two = ui.tab('Two') |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can set different tab colors which, however, changes the text color as well:
We can enforce a common text color with some custom CSS: