theme

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Context = r.CreateContext(r.State{orange})

Functions

func Theme

func Theme(p r.Properties) r.Element

Types

type Color

type Color int
const (
	Orange Color = iota
	White
)

type Colors

type Colors struct {
	Border     tcell.Color
	Accent     tcell.Color
	Foreground tcell.Color
	Subtle     tcell.Color
}

type Properties

type Properties struct {
	Color Color
}

Jump to

Keyboard shortcuts

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