theme

package
v0.0.0-...-a5d0d41 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Engine engine

Functions

This section is empty.

Types

type Property

type Property struct {
	Name  string
	Value string
}

func (Property) AsColor

func (prop Property) AsColor() (c color.RGBA, err error)

func (Property) AsPX

func (prop Property) AsPX() (int, error)

type Sheet

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

func NewSheet

func NewSheet() Sheet

func (*Sheet) AddToElement

func (sheet *Sheet) AddToElement(element string, prop Property)

func (*Sheet) Select

func (sheet *Sheet) Select(element string) map[string]Property

Jump to

Keyboard shortcuts

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