Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultTheme = EditorTheme{ Foreground: Color(tcell.Color231.TrueColor()), Background: Color(tcell.Color235.TrueColor()), SelectionBackground: Color(tcell.Color240.TrueColor()), CursorColor: Color(tcell.Color245.TrueColor()), LineNumberBackground: Color(tcell.Color235.TrueColor()), LineNumberForeground: Color(tcell.Color245.TrueColor()), ActiveLineNumberBackground: Color(tcell.Color235.TrueColor()), ActiveLineNumberForeground: Color(tcell.Color250.TrueColor()), Highlights: map[string]Color{ "constant": Color(tcell.Color147.TrueColor()), "comment": Color(tcell.Color245.TrueColor()), "keyword": Color(tcell.Color153.TrueColor()), "string": Color(tcell.Color216.TrueColor()), "function": Color(tcell.Color115.TrueColor()), "type": Color(tcell.Color115.TrueColor()), "variable.parameter": Color(tcell.Color115.TrueColor()), }, DiagnosticLineNumberBackground: [4]Color{ Color(tcell.Color52), Color(tcell.ColorDarkGoldenrod), Color(tcell.Color17), Color(tcell.Color53), }, }
Functions ¶
This section is empty.
Types ¶
type EditorTheme ¶
type EditorTheme struct { Foreground Color `toml:"foreground"` Background Color `toml:"background"` SelectionBackground Color `toml:"selection_background"` CursorColor Color `toml:"cursor_color"` LineNumberBackground Color `toml:"line_number_background"` LineNumberForeground Color `toml:"line_number_foreground"` ActiveLineNumberBackground Color `toml:"active_line_number_background"` ActiveLineNumberForeground Color `toml:"active_line_number_foreground"` Highlights map[string]Color `toml:"highlights"` DiagnosticLineNumberBackground [4]Color `toml:"diagnostic_line_number_background"` }
Click to show internal directories.
Click to hide internal directories.