CustomisableTheme

The base class for the default theme Tantalum. This doesn't declare any styles, or colors.

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val font: Font
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Scaled versions of Tantalum's icons sized using iconSize. Use these icons in toolbars etc.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The theme generated by buildTheme. GlokSettings.defaultTheme is typically bound to this property, so that whenever any of this ThemeBuilder's properties change, the entire application will be re-themed.

Functions

Link copied to clipboard
abstract fun buildTheme(): Theme

This is where the magic happens. Your theme builder must implement this abstract method.

Link copied to clipboard

Combines two ThemeBuilders. The result is an ObservableTheme whose value is a Theme with rules from both of the ThemeBuilders.

Link copied to clipboard
fun dependsOn(vararg properties: ObservableValue<*>)
Link copied to clipboard
fun icon(name: String): ImageView?