builder

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildTemplate

func BuildTemplate(scheme Scheme, template []byte) (string, error)

func ParseHexColor

func ParseHexColor(hexColor string) (color.RGBA, error)

Types

type Scheme

type Scheme struct {
	System      string            `yaml:"system"`
	Name        string            `yaml:"name"`
	Slug        string            `yaml:"slug"`
	Author      string            `yaml:"author"`
	Description string            `yaml:"description"`
	Variant     string            `yaml:"variant"`
	Palette     map[string]string `yaml:"palette"`
}

Jump to

Keyboard shortcuts

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