How create a gradient button theme?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By anllucah

The Godot default button seems to have a gradient theme. How can I create an equal but with another colors?

:bust_in_silhouette: Reply From: exuin

It uses a StyleBoxTexture with a GradientTexture.