theme

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: GPL-3.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 Theme

type Theme struct {
	Colors struct {
		Primary   string
		Secondary string
		Success   string
		Danger    string
		Warning   string
		Info      string
		Light     string
		Dark      string
		Muted     string
		White     string
		Black     string
	}
	Defaults struct {
		Base   ThemeBasics
		H1     ThemeBasics
		H2     ThemeBasics
		H3     ThemeBasics
		H4     ThemeBasics
		H5     ThemeBasics
		P      ThemeBasics
		Label  ThemeBasics
		Button struct {
			TextColor       string
			BackgroundColor string
			BorderColor     string
			Hover           ThemeBasics
		}
		Module struct {
			TextColor       string
			BackgroundColor string
			BorderColor     string
			Hover           ThemeBasics
			Active          ThemeBasics
		}
	}
}

func (*Theme) DefaultBaseStyle added in v0.0.7

func (t *Theme) DefaultBaseStyle() lipgloss.Style

func (*Theme) DefaultButtonHoverStyle added in v0.0.7

func (t *Theme) DefaultButtonHoverStyle() lipgloss.Style

func (*Theme) DefaultButtonStyle added in v0.0.7

func (t *Theme) DefaultButtonStyle() lipgloss.Style

func (*Theme) DefaultH1Style added in v0.0.7

func (t *Theme) DefaultH1Style() lipgloss.Style

func (*Theme) DefaultH2Style added in v0.0.7

func (t *Theme) DefaultH2Style() lipgloss.Style

func (*Theme) DefaultH3Style added in v0.0.7

func (t *Theme) DefaultH3Style() lipgloss.Style

func (*Theme) DefaultH4Style added in v0.0.7

func (t *Theme) DefaultH4Style() lipgloss.Style

func (*Theme) DefaultH5Style added in v0.0.7

func (t *Theme) DefaultH5Style() lipgloss.Style

func (*Theme) DefaultLabelStyle

func (t *Theme) DefaultLabelStyle() lipgloss.Style

func (*Theme) DefaultModuleActiveViewStyle added in v0.0.7

func (t *Theme) DefaultModuleActiveViewStyle() lipgloss.Style

func (*Theme) DefaultModuleHoverViewStyle added in v0.0.7

func (t *Theme) DefaultModuleHoverViewStyle() lipgloss.Style

func (*Theme) DefaultModuleViewStyle

func (t *Theme) DefaultModuleViewStyle() lipgloss.Style

func (*Theme) DefaultPStyle added in v0.0.7

func (t *Theme) DefaultPStyle() lipgloss.Style

func (*Theme) DefaultStyle added in v0.0.8

func (t *Theme) DefaultStyle(
	fg string,
	bg string,
	bd string,
	padding [4]int,
	margin [4]int,
) lipgloss.Style

func (*Theme) DefaultTextBlackStyle

func (t *Theme) DefaultTextBlackStyle() lipgloss.Style

func (*Theme) DefaultTextDangerStyle

func (t *Theme) DefaultTextDangerStyle() lipgloss.Style

func (*Theme) DefaultTextDarkStyle

func (t *Theme) DefaultTextDarkStyle() lipgloss.Style

func (*Theme) DefaultTextInfoStyle

func (t *Theme) DefaultTextInfoStyle() lipgloss.Style

func (*Theme) DefaultTextLightStyle

func (t *Theme) DefaultTextLightStyle() lipgloss.Style

func (*Theme) DefaultTextMutedStyle

func (t *Theme) DefaultTextMutedStyle() lipgloss.Style

func (*Theme) DefaultTextPrimaryStyle

func (t *Theme) DefaultTextPrimaryStyle() lipgloss.Style

func (*Theme) DefaultTextSecondaryStyle

func (t *Theme) DefaultTextSecondaryStyle() lipgloss.Style

func (*Theme) DefaultTextSuccessStyle

func (t *Theme) DefaultTextSuccessStyle() lipgloss.Style

func (*Theme) DefaultTextWarningStyle

func (t *Theme) DefaultTextWarningStyle() lipgloss.Style

func (*Theme) DefaultTextWhiteStyle

func (t *Theme) DefaultTextWhiteStyle() lipgloss.Style

type ThemeBasics

type ThemeBasics struct {
	TextColor       string
	BackgroundColor string
	BorderColor     string
}

Jump to

Keyboard shortcuts

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