Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Themes = map[string]Theme{ "dark": DarkTheme(), "light": LightTheme(), }
Themes is the registry of built-in themes.
Functions ¶
This section is empty.
Types ¶
type Theme ¶
type Theme struct {
Bg string
Fg string
// Diff colors
AddedFg string
AddedBg string
RemovedFg string
RemovedBg string
HunkFg string
// Line numbers
LineNumFg string
LineNumAddedFg string
LineNumRemovedFg string
// Header bar
HeaderBg string
HeaderFg string
// Hunk
HunkBg string
// File list
SelectedBg string
SelectedFg string
StagedFg string
ModifiedFg string
AddedFileFg string
DeletedFg string
RenamedFg string
UntrackedFg string
// Chrome
BorderFg string
StatusBarBg string
StatusBarFg string
HelpKeyFg string
HelpDescFg string
// Accent
AccentFg string
// Chroma syntax theme name
ChromaStyle string
}
Theme defines color values for the UI. All values are hex color strings. This package has no lipgloss dependency — styles.go bridges theme to lipgloss.
Click to show internal directories.
Click to hide internal directories.