Module cursive::theme
[−]
[src]
Module to handle colors and themes in the UI.
Structs
| Color |
Represents a color used by the theme. |
| ColorStyle |
Represents the colors the application will use in various situations. |
| Theme |
Represents the style a Cursive application will use. |
Enums
| BorderStyle |
Specifies how View borders should be drawn. |
| ColorPair |
Represents the color of a character and its background. |
| Error |
Possible error returned when loading a theme. |
Functions
| load_default |
Loads the default theme, and returns its representation. |
| load_theme |
Loads a theme file, and returns its representation if everything worked well. |