More color possibility #1138
-
I see wireui Can you give us something similar? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
@ftinkere You can create buttons in any of the colours available for badges using the and, more versions with the This gives you easy access to all of these colours: https://fluxui.dev/components/badge#colors |
Beta Was this translation helpful? Give feedback.
-
@ftinkere this isn't documented yet, but try <flux:accent color="green">
<flux:button variant="primary">Success!</flux:button>
</flux:accent> |
Beta Was this translation helpful? Give feedback.
-
@joshhanley Cool! And, based on the code, I assume all the theme color options (https://fluxui.dev/themes) are valid settings for |
Beta Was this translation helpful? Give feedback.
@ftinkere You can create buttons in any of the colours available for badges using the
as="button"
attribute forflux:badge
.e.g.
<flux:badge color="cyan" as="button" size="lg" icon="plus">Cyan button</flux:badge>
and, more versions with the
variant="solid"
, e.g.<flux:badge color="cyan" variant="solid" as="button" size="lg" icon="plus">Cyan button</flux:badge>
This gives you easy access to all of these colours: https://fluxui.dev/components/badge#colors