Function
styleActive
(active bool, text string)
Source from the content-addressed store, hash-verified
| 788 | ) |
| 789 | |
| 790 | func styleActive(active bool, text string) string { |
| 791 | if active { |
| 792 | return lipgloss.NewStyle().Foreground(colorCyan).Bold(true).Render(text) |
| 793 | } |
| 794 | return lipgloss.NewStyle().Foreground(colorDarkGray).Render(text) |
| 795 | } |
| 796 | |
| 797 | func styleFocused(text string) string { |
| 798 | return lipgloss.NewStyle().Foreground(colorBlack).Background(colorGreen).Bold(true).Render(text) |
Callers
nothing calls this directly
Tested by
no test coverage detected