Button¶

Buttons styles, including typography and shape configurations for different button sizes.
ButtonTheme {
typography {
buttonM: TextStyle // (1)!
buttonS: TextStyle // (2)!
}
shapes {
buttonM: Shape // (3)!
buttonS: Shape // (4)!
}
}
- Defines the text style for a regular medium-sized buttons.
- Specifies the text style for small buttons.
- Sets the shape configuration for medium buttons.
- Configures the shape for small buttons.
{"Shape": "/sdk/developer/definitions/#shape", "TextStyle": "/sdk/developer/definitions/#textstyle"}