diff --git a/cmd/modal.go b/cmd/modal.go index f70285b..316b244 100644 --- a/cmd/modal.go +++ b/cmd/modal.go @@ -43,6 +43,14 @@ func NewModel() Model { Bold(true). Foreground(lipgloss.Color("229")) + h := help.New() + h.Styles.FullKey = lib.HelpStyle + h.Styles.FullDesc = lib.HelpStyle + h.Styles.FullSeparator = lib.HelpStyle + h.Styles.ShortKey = lib.HelpStyle + h.Styles.ShortDesc = lib.HelpStyle + h.Styles.ShortSeparator = lib.HelpStyle + return Model{ context: "", feeds: lib.Feeds{}, @@ -51,7 +59,7 @@ func NewModel() Model { table: t, ready: false, keys: keys, - help: help.New(), + help: h, post: lib.Post{}, filter: f, } diff --git a/lib/style.go b/lib/style.go index 600f4f6..478ebe6 100644 --- a/lib/style.go +++ b/lib/style.go @@ -8,13 +8,17 @@ import ( var ( // MainStyle is the main style for the application MainStyle = lipgloss.NewStyle(). + Foreground(lipgloss.Color("#cdd6f4")). Border(lipgloss.RoundedBorder(), true). - BorderForeground(lipgloss.Color("240")). + BorderForeground(lipgloss.Color("#313244")). Padding(0, 1). Margin(0) // ReaderStyle is the style for the reader ReaderStyle = lipgloss.NewStyle() + + // HelpStyle is the style for the help keybinds menu + HelpStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("#a6adc8")) ) // TableStyle returns the style for the table @@ -24,8 +28,8 @@ func TableStyle() table.Styles { Bold(true). Padding(0) s.Selected = s.Selected. - Foreground(lipgloss.Color("229")). - Background(lipgloss.Color("57")). + Foreground(lipgloss.Color("#1e1e2e")). + Background(lipgloss.Color("#74c7ec")). Bold(false) s.Cell.Padding(0)