cleantheme

package
v0.0.0-...-c4a1d86 Latest Latest
Warning

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

Go to latest
Published: May 6, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fill

func Fill(gtx *layout.Context, col color.RGBA)

Types

type Theme

type Theme struct {
	Shaper text.Shaper
	Color  struct {
		Primary          color.RGBA
		Secondary        color.RGBA
		Background       color.RGBA
		ShadedBackground color.RGBA
	}
	Radius   unit.Value
	Spacing  unit.Value
	TextSize unit.Value
	Font     text.Font
}

A cleantheme represents styling for a very simple and clean, grayscale UI.

func New

func New() *Theme

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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