theme

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandSegmentStyle

type CommandSegmentStyle struct {
	Background lipgloss.Color
	Border     lipgloss.Color
	Key        lipgloss.Color
	Text       lipgloss.Color
}

type EditorMetadataPalette added in v0.1.7

type EditorMetadataPalette struct {
	CommentMarker    lipgloss.Color
	DirectiveDefault lipgloss.Color
	Value            lipgloss.Color
	SettingKey       lipgloss.Color
	SettingValue     lipgloss.Color
	RequestLine      lipgloss.Color
	RequestSeparator lipgloss.Color
	DirectiveColors  map[string]lipgloss.Color
}

type HeaderSegmentStyle

type HeaderSegmentStyle struct {
	Background lipgloss.Color
	Border     lipgloss.Color
	Foreground lipgloss.Color
	Accent     lipgloss.Color
}

type Theme

type Theme struct {
	BrowserBorder                 lipgloss.Style
	EditorBorder                  lipgloss.Style
	ResponseBorder                lipgloss.Style
	AppFrame                      lipgloss.Style
	Header                        lipgloss.Style
	HeaderTitle                   lipgloss.Style
	HeaderValue                   lipgloss.Style
	HeaderSeparator               lipgloss.Style
	StatusBar                     lipgloss.Style
	StatusBarKey                  lipgloss.Style
	StatusBarValue                lipgloss.Style
	CommandBar                    lipgloss.Style
	CommandBarHint                lipgloss.Style
	ResponseSearchHighlight       lipgloss.Style
	ResponseSearchHighlightActive lipgloss.Style
	Tabs                          lipgloss.Style
	TabActive                     lipgloss.Style
	TabInactive                   lipgloss.Style
	Notification                  lipgloss.Style
	Error                         lipgloss.Style
	Success                       lipgloss.Style
	HeaderBrand                   lipgloss.Style
	HeaderSegments                []HeaderSegmentStyle
	CommandSegments               []CommandSegmentStyle
	CommandDivider                lipgloss.Style
	PaneTitle                     lipgloss.Style
	PaneTitleFile                 lipgloss.Style
	PaneTitleRequests             lipgloss.Style
	PaneDivider                   lipgloss.Style
	PaneBorderFocusFile           lipgloss.Color
	PaneBorderFocusRequests       lipgloss.Color
	PaneActiveForeground          lipgloss.Color
	EditorMetadata                EditorMetadataPalette
	EditorHintBox                 lipgloss.Style
	EditorHintItem                lipgloss.Style
	EditorHintSelected            lipgloss.Style
	EditorHintAnnotation          lipgloss.Style
}

func DefaultTheme

func DefaultTheme() Theme

func (Theme) CommandSegment

func (t Theme) CommandSegment(idx int) CommandSegmentStyle

func (Theme) HeaderSegment

func (t Theme) HeaderSegment(idx int) HeaderSegmentStyle

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL