moonpie.ui¶
moonpie.ui.styles¶
Styles are a way of setting common properties that are easy to change across the site. These work similar to CSS in HTML though without the full selector behavior. Styles are applied directly to an element. When calculating values some properties do inherit from the parent to make it easier to specify items like fonts to be defaulted through.
Default Styles¶
Buttons¶
- button-small
- Makes a smaller button for those tinier button needs
- button-primary
- A style that uses the primary color for the background of the button
- button-warning
- A style that uses a gold/yellow background color
- button-danger
- A style that uses a red/fuschia background color