Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Cyber = themeFromPalette(theme.PaletteCyber) Matrix = themeFromPalette(theme.PaletteMatrix) Dracula = themeFromPalette(theme.PaletteDracula) Nord = themeFromPalette(theme.PaletteNord) )
Functions ¶
Types ¶
type Options ¶
type Options struct {
Theme Theme
ShowStats bool
ShowMerkle bool
ShowLineNums bool
Compact bool
Quiet bool
NoColor bool
Filename string
}
func DefaultOptions ¶
func DefaultOptions() Options
type Theme ¶
type Theme struct {
ObjectKey lipgloss.Style
ArrayIndex lipgloss.Style
StringVal lipgloss.Style
NumberVal lipgloss.Style
BoolVal lipgloss.Style
NullVal lipgloss.Style
Punctuation lipgloss.Style
LineNumber lipgloss.Style
HashTag lipgloss.Style
StatTag lipgloss.Style
ErrorStyle lipgloss.Style
Banner lipgloss.Style
BannerOK lipgloss.Style
}
func ResolveTheme ¶ added in v1.0.0
Click to show internal directories.
Click to hide internal directories.