themes

package
v0.0.0-...-a02a1e0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CatpuccinMocha = Theme{
		Panel:       CatpuccinMochaPalette.Surface0,
		BorderFaint: CatpuccinMochaPalette.Surface1,

		Text:       CatpuccinMochaPalette.Text,
		TextCursor: CatpuccinMochaPalette.Crust,
		TextFaint:  CatpuccinMochaPalette.Subtext0,

		Red:     CatpuccinMochaPalette.Red,
		Green:   CatpuccinMochaPalette.Green,
		Yellow:  CatpuccinMochaPalette.Yellow,
		Blue:    CatpuccinMochaPalette.Blue,
		Magenta: CatpuccinMochaPalette.Mauve,
		Cyan:    CatpuccinMochaPalette.Teal,

		Orange:   CatpuccinMochaPalette.Peach,
		Pink:     CatpuccinMochaPalette.Pink,
		RedSoft:  CatpuccinMochaPalette.Maroon,
		BlueSoft: CatpuccinMochaPalette.Sapphire,
	}

	// https://catppuccin.com/palette
	CatpuccinMochaPalette = CatpuccinPalette{
		Rosewater: lipgloss.Color("#F5E0DC"),
		Flamingo:  lipgloss.Color("#F2CDCD"),
		Pink:      lipgloss.Color("#F5C2E7"),
		Mauve:     lipgloss.Color("#CBA6F7"),
		Red:       lipgloss.Color("#F38BA8"),
		Maroon:    lipgloss.Color("#EBA0AC"),
		Peach:     lipgloss.Color("#FAB387"),
		Yellow:    lipgloss.Color("#F9E2AF"),
		Green:     lipgloss.Color("#A6E3A1"),
		Teal:      lipgloss.Color("#94E2D5"),
		Sky:       lipgloss.Color("#89DCEB"),
		Sapphire:  lipgloss.Color("#74C7EC"),
		Blue:      lipgloss.Color("#89B4FA"),
		Lavender:  lipgloss.Color("#B4BEFE"),

		Text:     lipgloss.Color("#CDD6F4"),
		Subtext1: lipgloss.Color("#BAC2DE"),
		Subtext0: lipgloss.Color("#A6ADC8"),

		Overlay2: lipgloss.Color("#9399B2"),
		Overlay1: lipgloss.Color("#7F849C"),
		Overlay0: lipgloss.Color("#6C7086"),

		Surface2: lipgloss.Color("#585B70"),
		Surface1: lipgloss.Color("#45475A"),
		Surface0: lipgloss.Color("#313244"),

		Base:   lipgloss.Color("#1E1E2E"),
		Mantle: lipgloss.Color("#181825"),
		Crust:  lipgloss.Color("#11111B"),
	}
)

Functions

This section is empty.

Types

type CatpuccinPalette

type CatpuccinPalette struct {
	Rosewater lipgloss.Color
	Flamingo  lipgloss.Color
	Pink      lipgloss.Color
	Mauve     lipgloss.Color
	Red       lipgloss.Color
	Maroon    lipgloss.Color
	Peach     lipgloss.Color
	Yellow    lipgloss.Color
	Green     lipgloss.Color
	Teal      lipgloss.Color
	Sky       lipgloss.Color
	Sapphire  lipgloss.Color
	Blue      lipgloss.Color
	Lavender  lipgloss.Color

	Text     lipgloss.Color
	Subtext1 lipgloss.Color
	Subtext0 lipgloss.Color

	Overlay2 lipgloss.Color
	Overlay1 lipgloss.Color
	Overlay0 lipgloss.Color

	Surface2 lipgloss.Color
	Surface1 lipgloss.Color
	Surface0 lipgloss.Color

	Base   lipgloss.Color
	Mantle lipgloss.Color
	Crust  lipgloss.Color
}

type Theme

type Theme struct {
	Panel       lipgloss.Color
	BorderFaint lipgloss.Color

	Text       lipgloss.Color
	TextCursor lipgloss.Color
	TextFaint  lipgloss.Color

	// Basic Terminal Colors
	Red     lipgloss.Color
	Green   lipgloss.Color
	Yellow  lipgloss.Color
	Blue    lipgloss.Color
	Magenta lipgloss.Color
	Cyan    lipgloss.Color

	// Additional Colors
	Orange   lipgloss.Color
	Pink     lipgloss.Color
	RedSoft  lipgloss.Color
	BlueSoft lipgloss.Color
}

TODO: The colors should probably have more generic/correct(?) names

Jump to

Keyboard shortcuts

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