Integrate theme system across all screens
This commit is contained in:
@@ -18,7 +18,7 @@ var (
|
||||
Foreground(lipgloss.Color("241")).
|
||||
MarginBottom(1)
|
||||
breadcrumbSeparatorStyle = lipgloss.NewStyle().
|
||||
Foreground(lipgloss.Color("240"))
|
||||
Foreground(lipgloss.Color("240"))
|
||||
breadcrumbItemStyle = lipgloss.NewStyle().
|
||||
Foreground(lipgloss.Color("241"))
|
||||
breadcrumbCurrentStyle = lipgloss.NewStyle().
|
||||
|
||||
@@ -135,7 +135,17 @@ func (s *ListScreen) Update(msg tea.Msg) (Screen, tea.Cmd) {
|
||||
return s, cmd
|
||||
}
|
||||
|
||||
|
||||
func (s *ListScreen) renderBreadcrumb() string {
|
||||
return components.RenderBreadcrumb([]components.BreadcrumbItem{
|
||||
{Label: "Clients", ID: "list"},
|
||||
})
|
||||
}
|
||||
|
||||
// View renders the list screen
|
||||
func (s *ListScreen) View() string {
|
||||
breadcrumb := s.renderBreadcrumb()
|
||||
|
||||
func (s *ListScreen) View() string {
|
||||
// Breadcrumb: Home
|
||||
breadcrumb := components.RenderBreadcrumb([]components.BreadcrumbItem{
|
||||
|
||||
Reference in New Issue
Block a user