theme

package
Version: v0.1.5 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
t or T : Toggle theme light dark auto