Make accent the default variant, and fill the default style.
Buttons should have a default variant and style specified., since variant is actually a required prop. Style being set to fill makes using static_color easier.
Remove deprecated cta and overBackground variants.
element_type wasn't plumbed through but needs to be set to a for href link buttons to work. I've made this internal and just auto set it for users if href is set.
BREAKING CHANGE:
ui.button defaults changed to variant="accent" and style="fill". To restore previous styling, use variant="primary" and style="outline".
Make
accent
the default variant, andfill
the default style.cta
andoverBackground
variants.a
for href link buttons to work. I've made this internal and just auto set it for users if href is set.BREAKING CHANGE:
ui.button defaults changed to
variant="accent"
andstyle="fill"
. To restore previous styling, usevariant="primary"
andstyle="outline"
.