Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultAlphaPalette = AlphaPalette{
Hover: 48,
Selected: 96,
}
Functions ¶
func LoadBuiltin ¶
LoadBuiltin loads builtin fonts from a provided dir and the Gio builtin Go font collection.
Types ¶
type AlphaPalette ¶
type AlphaPalette struct {
Hover, Selected uint8
}
AlphaPalette is the set of alpha values to be applied for certain material design states like hover, selected, etc...
type EditorStyle ¶
type Theme ¶
type Theme struct {
*material.Theme
AlphaPalette
Editor EditorStyle
}
func (*Theme) SetEditorStyle ¶
func (th *Theme) SetEditorStyle(style EditorStyle)
Click to show internal directories.
Click to hide internal directories.