Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EntryInfoStyle = lipgloss.NewStyle().Border(lipgloss.RoundedBorder()) ListStyle = lipgloss.NewStyle().Padding(1) AppStyle = lipgloss.NewStyle().Align(lipgloss.Center) EvenItemStyle = lipgloss.NewStyle(). Height(1) PathStyle = lipgloss.NewStyle().Padding(0, 1). Border(lipgloss.NormalBorder(), false, true) SelectedItemStyle = lipgloss.NewStyle().Height(1) ButtonStyle = lipgloss.NewStyle().Padding(0, 1). Border(lipgloss.NormalBorder(), false, true) LogoStyle = lipgloss.NewStyle().Padding(0, 1) ProgressStyle = lipgloss.NewStyle().Border(lipgloss.NormalBorder(), false, true) InfobarStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("#000")) ArrowStyle = lipgloss.NewStyle().Align(lipgloss.Center) EmptyFolderStyle = lipgloss.NewStyle().Border(lipgloss.RoundedBorder()).Padding(2) )
View Source
var BrogrammerTheme = Theme{ EvenItemBgColor: lipgloss.Color("#2a2a2a"), SelectedItemBgColor: lipgloss.Color("#e67e22"), SelectedItemFgColor: lipgloss.Color("#1a1a1a"), ButtonBgColor: lipgloss.Color("#555555"), ButtonBorderFgColor: lipgloss.Color("#ddd"), PathElementBgColor: lipgloss.Color("#555555"), PathElementFgColor: lipgloss.Color("#ddd"), PathElementBorderFgColor: lipgloss.Color("#ddd"), LogoBgColor: lipgloss.Color("#3498db"), LogoFgColor: lipgloss.Color("#ecf0f1"), ProgressBarBgColor: lipgloss.Color("#2a2a2a"), ProgressBarFgColor: lipgloss.Color("#3498db"), HiddenFileColor: lipgloss.Color("#3498db"), HiddenFolderColor: lipgloss.Color("#2ecc71"), FolderColor: lipgloss.Color("#f1c40f"), TextColor: lipgloss.Color("#ddd"), InfobarBgColor: lipgloss.Color("#555555"), InfobarFgColor: lipgloss.Color("#f5e0dc"), BackgroundColor: lipgloss.Color("#1a1a1a"), SeparatorColor: lipgloss.Color("#555555"), ArrowColor: lipgloss.Color("#e67e22"), }
View Source
var CatppuccinThemeFrappe = Theme{ EvenItemBgColor: lipgloss.Color("#303446"), SelectedItemBgColor: lipgloss.Color("#8caaee"), SelectedItemFgColor: lipgloss.Color("#232634"), ButtonBgColor: lipgloss.Color("#626880"), ButtonBorderFgColor: lipgloss.Color("#626880"), PathElementBgColor: lipgloss.Color("#51576d"), PathElementFgColor: lipgloss.Color("#f4b8e4"), PathElementBorderFgColor: lipgloss.Color("#ef9f76"), LogoBgColor: lipgloss.Color("#8caaee"), LogoFgColor: lipgloss.Color("#282a36"), ProgressBarBgColor: lipgloss.Color("#303446"), ProgressBarFgColor: lipgloss.Color("#eebebe"), HiddenFileColor: lipgloss.Color("#ca9ee6"), HiddenFolderColor: lipgloss.Color("#99d1db"), FolderColor: lipgloss.Color("#e5c890"), TextColor: lipgloss.Color("#99d1db"), InfobarBgColor: lipgloss.Color("#c6d0f5"), InfobarFgColor: lipgloss.Color("#f2d5cf"), BackgroundColor: lipgloss.Color("#232634"), SeparatorColor: lipgloss.Color("#c6d0f5"), ArrowColor: lipgloss.Color("#8caaee"), }
View Source
var CatppuccinThemeLatte = Theme{ EvenItemBgColor: lipgloss.Color("#eff1f5"), SelectedItemBgColor: lipgloss.Color("#1e66f5"), SelectedItemFgColor: lipgloss.Color("#dce0e8"), ButtonBgColor: lipgloss.Color("#acb0be"), ButtonBorderFgColor: lipgloss.Color("#acb0be"), PathElementBgColor: lipgloss.Color("#bcc0cc"), PathElementFgColor: lipgloss.Color("#ea76cb"), PathElementBorderFgColor: lipgloss.Color("#fe640b"), LogoBgColor: lipgloss.Color("#1e66f5"), LogoFgColor: lipgloss.Color("#282a36"), ProgressBarBgColor: lipgloss.Color("#eff1f5"), ProgressBarFgColor: lipgloss.Color("#dd7878"), HiddenFileColor: lipgloss.Color("#8839ef"), HiddenFolderColor: lipgloss.Color("#04a5e5"), FolderColor: lipgloss.Color("#df8e1d"), TextColor: lipgloss.Color("#04a5e5"), InfobarBgColor: lipgloss.Color("#4c4f69"), InfobarFgColor: lipgloss.Color("#dc8a78"), BackgroundColor: lipgloss.Color("#dce0e8"), SeparatorColor: lipgloss.Color("#4c4f69"), ArrowColor: lipgloss.Color("#1e66f5"), }
View Source
var CatppuccinThemeMacchiato = Theme{ EvenItemBgColor: lipgloss.Color("#24273a"), SelectedItemBgColor: lipgloss.Color("#8aadf4"), SelectedItemFgColor: lipgloss.Color("#181926"), ButtonBgColor: lipgloss.Color("#5b6078"), ButtonBorderFgColor: lipgloss.Color("#5b6078"), PathElementBgColor: lipgloss.Color("#494d64"), PathElementFgColor: lipgloss.Color("#f5bde6"), PathElementBorderFgColor: lipgloss.Color("#f5a97f"), LogoBgColor: lipgloss.Color("#8aadf4"), LogoFgColor: lipgloss.Color("#282a36"), ProgressBarBgColor: lipgloss.Color("#24273a"), ProgressBarFgColor: lipgloss.Color("#f0c6c6"), HiddenFileColor: lipgloss.Color("#c6a0f6"), HiddenFolderColor: lipgloss.Color("#91d7e3"), FolderColor: lipgloss.Color("#eed49f"), TextColor: lipgloss.Color("#91d7e3"), InfobarBgColor: lipgloss.Color("#cad3f5"), InfobarFgColor: lipgloss.Color("#f4dbd6"), BackgroundColor: lipgloss.Color("#181926"), SeparatorColor: lipgloss.Color("#cad3f5"), ArrowColor: lipgloss.Color("#8aadf4"), }
View Source
var CatppuccinThemeMocha = Theme{ EvenItemBgColor: lipgloss.Color("#1e1e2e"), SelectedItemBgColor: lipgloss.Color("#89b4fa"), SelectedItemFgColor: lipgloss.Color("#11111b"), ButtonBgColor: lipgloss.Color("#585b70"), ButtonBorderFgColor: lipgloss.Color("#585b70"), PathElementBgColor: lipgloss.Color("#45475a"), PathElementFgColor: lipgloss.Color("#f5c2e7"), PathElementBorderFgColor: lipgloss.Color("#fab387"), LogoBgColor: lipgloss.Color("#89b4fa"), LogoFgColor: lipgloss.Color("#282a36"), ProgressBarBgColor: lipgloss.Color("#1e1e2e"), ProgressBarFgColor: lipgloss.Color("#f2cdcd"), HiddenFileColor: lipgloss.Color("#cba6f7"), HiddenFolderColor: lipgloss.Color("#89dceb"), FolderColor: lipgloss.Color("#f9e2af"), TextColor: lipgloss.Color("#89dceb"), InfobarBgColor: lipgloss.Color("#cdd6f4"), InfobarFgColor: lipgloss.Color("#f5e0dc"), BackgroundColor: lipgloss.Color("#11111b"), SeparatorColor: lipgloss.Color("#cdd6f4"), ArrowColor: lipgloss.Color("#89b4fa"), }
View Source
var DefaultTheme = Theme{ EvenItemBgColor: lipgloss.Color("#44475a"), SelectedItemBgColor: lipgloss.Color("#ff79c6"), SelectedItemFgColor: lipgloss.Color("#282a36"), ButtonBgColor: lipgloss.Color("#44475a"), ButtonBorderFgColor: lipgloss.Color("#6272a4"), PathElementBgColor: lipgloss.Color("#44475a"), PathElementFgColor: lipgloss.Color("#f8f8f2"), PathElementBorderFgColor: lipgloss.Color("#aaa"), LogoBgColor: lipgloss.Color("#f1fa8c"), LogoFgColor: lipgloss.Color("#282a36"), ProgressBarBgColor: lipgloss.Color("#44475a"), ProgressBarFgColor: lipgloss.Color("#ffb86c"), HiddenFileColor: lipgloss.Color("#8be9fd"), HiddenFolderColor: lipgloss.Color("#bd93f9"), FolderColor: lipgloss.Color("#ffb86c"), TextColor: lipgloss.Color("#ddd"), InfobarBgColor: lipgloss.Color("#646a7a"), InfobarFgColor: lipgloss.Color("#f5e0dc"), BackgroundColor: lipgloss.Color("#282a36"), SeparatorColor: lipgloss.Color("#44475a"), }
View Source
var EverblushTheme = Theme{ EvenItemBgColor: lipgloss.Color("#232a2d"), SelectedItemBgColor: lipgloss.Color("#67b0e8"), SelectedItemFgColor: lipgloss.Color("#232a2d"), ButtonBgColor: lipgloss.Color("#67b0e8"), ButtonBorderFgColor: lipgloss.Color("#9bdead"), PathElementBgColor: lipgloss.Color("#8ccf7e"), PathElementFgColor: lipgloss.Color("#232a2d"), PathElementBorderFgColor: lipgloss.Color("#8ccf7e"), LogoBgColor: lipgloss.Color("#9bdead"), LogoFgColor: lipgloss.Color("#232a2d"), ProgressBarBgColor: lipgloss.Color("#232a2d"), ProgressBarFgColor: lipgloss.Color("#9bdead"), HiddenFileColor: lipgloss.Color("#6cbfbf"), HiddenFolderColor: lipgloss.Color("#67b0e8"), FolderColor: lipgloss.Color("#e5c76b"), TextColor: lipgloss.Color("#9bdead"), InfobarBgColor: lipgloss.Color("#67b0e8"), InfobarFgColor: lipgloss.Color("#232a2d"), BackgroundColor: lipgloss.Color("#141b1e"), SeparatorColor: lipgloss.Color("#232a2d"), ArrowColor: lipgloss.Color("#8ccf7e"), }
View Source
var GruvboxTheme = Theme{ EvenItemBgColor: lipgloss.Color("#32302F"), SelectedItemBgColor: lipgloss.Color("#504945"), SelectedItemFgColor: lipgloss.Color("#EBDBB2"), ButtonBgColor: lipgloss.Color("#504945"), ButtonBorderFgColor: lipgloss.Color("#FABD2F"), PathElementBgColor: lipgloss.Color("#504945"), PathElementFgColor: lipgloss.Color("#EBDBB2"), PathElementBorderFgColor: lipgloss.Color("#FE8019"), LogoBgColor: lipgloss.Color("#A89984"), LogoFgColor: lipgloss.Color("#282a36"), ProgressBarBgColor: lipgloss.Color("#32302F"), ProgressBarFgColor: lipgloss.Color("#B8BB26"), HiddenFileColor: lipgloss.Color("#83A598"), HiddenFolderColor: lipgloss.Color("#458588"), FolderColor: lipgloss.Color("#FABD2F"), TextColor: lipgloss.Color("#EBDBB2"), InfobarBgColor: lipgloss.Color("#7C6F64"), InfobarFgColor: lipgloss.Color("#FBF1C7"), BackgroundColor: lipgloss.Color("#1D2021"), SeparatorColor: lipgloss.Color("#7C6F64"), ArrowColor: lipgloss.Color("#EBDBB2"), }
View Source
var NordTheme = Theme{ EvenItemBgColor: lipgloss.Color("#3b4252"), SelectedItemBgColor: lipgloss.Color("#88c0d0"), SelectedItemFgColor: lipgloss.Color("#2e3440"), ButtonBgColor: lipgloss.Color("#4c566a"), ButtonBorderFgColor: lipgloss.Color("#5e81ac"), PathElementBgColor: lipgloss.Color("#4c566a"), PathElementFgColor: lipgloss.Color("#f8f8f2"), PathElementBorderFgColor: lipgloss.Color("#bf616a"), LogoBgColor: lipgloss.Color("#bf616a"), LogoFgColor: lipgloss.Color("#eceff4"), ProgressBarBgColor: lipgloss.Color("#434c5e"), ProgressBarFgColor: lipgloss.Color("#88c0d0"), HiddenFileColor: lipgloss.Color("#88c0d0"), HiddenFolderColor: lipgloss.Color("#81a1c1"), FolderColor: lipgloss.Color("#ebcb8b"), TextColor: lipgloss.Color("#d8dee9"), InfobarBgColor: lipgloss.Color("#4c566a"), InfobarFgColor: lipgloss.Color("#eceff4"), BackgroundColor: lipgloss.Color("#2e3440"), SeparatorColor: lipgloss.Color("#4c566a"), ArrowColor: lipgloss.Color("#bf616a"), }
Functions ¶
func GetActiveIconTheme ¶ added in v1.20.0
func GetActiveIconTheme() iconSet
Types ¶
type Theme ¶
type Theme struct { EvenItemBgColor lipgloss.Color SelectedItemBgColor lipgloss.Color SelectedItemFgColor lipgloss.Color ButtonBgColor lipgloss.Color ButtonBorderFgColor lipgloss.Color PathElementBgColor lipgloss.Color PathElementFgColor lipgloss.Color PathElementBorderFgColor lipgloss.Color ListBgColor lipgloss.Color ListFgColor lipgloss.Color LogoBgColor lipgloss.Color LogoFgColor lipgloss.Color ProgressBarBgColor lipgloss.Color ProgressBarFgColor lipgloss.Color HiddenFileColor lipgloss.Color HiddenFolderColor lipgloss.Color FolderColor lipgloss.Color TextColor lipgloss.Color InfobarBgColor lipgloss.Color InfobarFgColor lipgloss.Color BackgroundColor lipgloss.Color SeparatorColor lipgloss.Color ArrowColor lipgloss.Color }
func GetActiveTheme ¶ added in v1.17.1
Tries to match provided flag value for --theme against an existing ThemeMap and returns default theme if theme name does not match any records in the ThemeMap (due to a typo for example)
Click to show internal directories.
Click to hide internal directories.