theme

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Tg = ThemeSet{
	LoginViewBg:        color.NRGBA{R: 0xff, G: 0xff, B: 0xff, A: 0xff},
	LoginViewHiBg:      color.NRGBA{R: 0x40, G: 0xa7, B: 0xe3, A: 0xff},
	LoginViewFg:        color.NRGBA{R: 0x00, G: 0x00, B: 0x00, A: 0xff},
	LoginViewHiFg:      color.NRGBA{R: 0x40, G: 0xa7, B: 0xe3, A: 0xff},
	LoginViewSubFg:     color.NRGBA{R: 0x98, G: 0x97, B: 0x98, A: 0xff},
	LoginViewHiBgBtnFg: color.NRGBA{R: 0xff, G: 0xff, B: 0xff, A: 0xff},

	HomeViewBg:        color.NRGBA{R: 0xff, G: 0xff, B: 0xff, A: 0xff},
	HomeViewSubBg:     color.NRGBA{R: 0x98, G: 0x98, B: 0x98, A: 0xff},
	HomeViewHiBg:      color.NRGBA{R: 0x40, G: 0xa7, B: 0xe3, A: 0xff},
	HomeViewSubHiBg:   color.NRGBA{R: 0x40, G: 0xa7, B: 0xe3, A: 0x55},
	HomeViewFg:        color.NRGBA{R: 0x00, G: 0x00, B: 0x00, A: 0xff},
	HomeViewHiFg:      color.NRGBA{R: 0x40, G: 0xa7, B: 0xe3, A: 0xff},
	HomeViewSubFg:     color.NRGBA{R: 0x98, G: 0x97, B: 0x98, A: 0xff},
	HomeViewHiBgBtnFg: color.NRGBA{R: 0xff, G: 0xff, B: 0xff, A: 0xff},
}

Functions

func UseTheme

func UseTheme(themeSet ThemeSet)

Types

type ThemeSet

type ThemeSet struct {
	LoginViewBg        color.NRGBA
	LoginViewHiBg      color.NRGBA
	LoginViewFg        color.NRGBA
	LoginViewHiFg      color.NRGBA
	LoginViewSubFg     color.NRGBA
	LoginViewHiBgBtnFg color.NRGBA

	HomeViewBg        color.NRGBA
	HomeViewSubBg     color.NRGBA
	HomeViewHiBg      color.NRGBA
	HomeViewSubHiBg   color.NRGBA
	HomeViewFg        color.NRGBA
	HomeViewHiFg      color.NRGBA
	HomeViewSubFg     color.NRGBA
	HomeViewHiBgBtnFg color.NRGBA
}
var ThSet ThemeSet

Jump to

Keyboard shortcuts

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