Discover Packages
github.com/maaslalani/typer
pkg
theme
package
Version:
v0.0.0-...-4f2898f
Opens a new window with list of versions in this module.
Published: Nov 6, 2023
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Bar struct {
Color string `json:"color" toml:"color" yaml:"color"`
Gradient string `json:"gradient" toml:"gradient" yaml:"gradient"`
}
type Graph struct {
Color string `json:"color" toml:"color" yaml:"color"`
Height int `json:"height" toml:"height" yaml:"height"`
}
type RGBColor struct {
Foreground string `json:"foreground" toml:"foreground" yaml:"foreground"`
Background string `json:"background" toml:"background" yaml:"background"`
}
type Text struct {
Untyped RGBColor `json:"untyped" toml:"untyped" yaml:"untyped"`
Typed RGBColor `json:"typed" toml:"typed" yaml:"typed"`
Error RGBColor `json:"error" toml:"error" yaml:"error"`
ErrorForeground RGBColor `json:"error_foreground" toml:"error_foreground" yaml:"error_foreground"`
}
type Theme struct {
File string `json:"file" toml:"file" yaml:"file"`
Text Text `json:"text" toml:"text" yaml:"text"`
Bar Bar `json:"bar" toml:"bar" yaml:"bar"`
Graph Graph `json:"graph" toml:"graph" yaml:"graph"`
}
func DefaultTheme() *Theme
Source Files
¶
Click to show internal directories.
Click to hide internal directories.