theme

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Theme

type Theme struct {
	Header struct {
		Selector lipgloss.Style
		Spinner  lipgloss.Style
	}

	DialogBox struct {
		Window struct {
			Focused lipgloss.Style
			Blurred lipgloss.Style
		}
		Titlebar struct {
			Focused lipgloss.Style
			Blurred lipgloss.Style
		}
		Bottombar lipgloss.Style
	}

	ErrorDialogBox struct {
		Window struct {
			Focused lipgloss.Style
			Blurred lipgloss.Style
		}
		Titlebar struct {
			Focused lipgloss.Style
			Blurred lipgloss.Style
		}
		Bottombar lipgloss.Style
	}

	PopupList struct {
		List struct {
			Focused lipgloss.Style
			Blurred lipgloss.Style
		}
		Item struct {
			Focused  lipgloss.Style
			Blurred  lipgloss.Style
			Selected lipgloss.Style
		}
		ItemDetail struct {
			Focused  lipgloss.Style
			Blurred  lipgloss.Style
			Selected lipgloss.Style
		}
	}

	PostsList struct {
		List struct {
			Focused lipgloss.Style
			Blurred lipgloss.Style
		}
		Item struct {
			Focused  lipgloss.Style
			Blurred  lipgloss.Style
			Selected lipgloss.Style
		}
		ItemDetail struct {
			Focused  lipgloss.Style
			Blurred  lipgloss.Style
			Selected lipgloss.Style
		}
	}

	Post struct {
		Author  lipgloss.Style
		Subject lipgloss.Style
	}

	Reply struct {
		Author lipgloss.Style
	}
}

func New

func New(cfg *config.Config) *Theme

Jump to

Keyboard shortcuts

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