Templates and inherited styles¶
Styling a template is similar to styling a component with the exception of button groups. To style a button, click on the button toolbar.
The following button properties are independent of the selected theme. These are:
- Base style: primary, warning, success, secondary
- Size
- Solid or Outline
- Background tint
- Hover color tint
- Border tint
The button color however, is determined by the selected theme. Consider this example of an app that embeds three templates:

Example – the Inherit from App template¶
The first template in the above example inherits its styles from the app. The app theme determines the color of the header and the buttons in the button group.
Example – the Component Header with Default Button Styles¶
In the second template in the above example:
- The header is set to the Blue theme
- The buttons in the button group inherit their theme from the app. This means that their color doesn't change when you change the header theme.
Example – the Component Header with Custom Button Styles¶
In the third template in the above example:
- The header is set to the Blue theme
- Each button in the button group is individually set to use the Blue theme. This determines the color of the button.