How to change the carousel arrows colors? #2571
Answered
by
falkoschindler
merlinarer
asked this question in
Q&A
-
Questionwith ui.carousel(animated=True, arrows=True, navigation=True).props('height="100%"'): In the chrome styles, q-carousel__control{color:#fff} determines the arrows color, but how to know the exact pros/style parameters to set in nicegui? |
Beta Was this translation helpful? Give feedback.
Answered by
falkoschindler
Feb 19, 2024
Replies: 1 comment
-
Hi @merlinarer, you can use the "control-color" prop: with ui.carousel(animated=True, arrows=True, navigation=True).props(r'height=100% control-color=blue'):
with ui.carousel_slide(), ui.card().classes('bg-blue-100 w-64 h-32'):
ui.label('Slide 1')
with ui.carousel_slide(), ui.card().classes('bg-blue-100 w-64 h-32'):
ui.label('Slide 2') |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
merlinarer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @merlinarer, you can use the "control-color" prop: