theme

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultFile

func DefaultFile() string

Types

type Catalog

type Catalog struct {
	// contains filtered or unexported fields
}

func Load

func Load(filePath string) (Catalog, error)

func (Catalog) All

func (c Catalog) All() []Theme

func (Catalog) Names

func (c Catalog) Names() []string

func (Catalog) Resolve

func (c Catalog) Resolve(requested string) (Theme, error)

type Color

type Color string

func ParseColor

func ParseColor(value string) (Color, error)

type Theme

type Theme struct {
	Name             string
	Primary          Color
	Background       Color
	Selected         Color
	SelectedText     Color
	Border           Color
	HeaderBackground Color
	Separator        Color
	ListNumber       Color
	ListText         Color
	PostUsername     Color
	ListMeta         Color
	Accent           Color
}

Jump to

Keyboard shortcuts

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