Skip to content

Button Scheme

Buttons styles, including typography and shape configurations for different button sizes.

component component

Button

ButtonTheme {
  typography {
    buttonM: TextStyle // (1)!
    buttonS: TextStyle // (2)!
  }

  shapes {
    buttonM: Shape // (3)!
    buttonS: Shape // (4)!
  }
}
  1. Defines the text style for a regular medium-sized buttons.
  2. Specifies the text style for small buttons.
  3. Sets the shape configuration for medium buttons.
  4. Configures the shape for small buttons.