theming

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2026 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSS

type CSS interface {
	ToCSS() string
}

type Code

type Code struct {
	Variable, Function, Keyword, String, Comment, Number, Operator, Type, Class, Interface, Constant, Property TextStyle
}

func (Code) ToCSS

func (c Code) ToCSS() string

type InterfaceColors

type InterfaceColors struct {
}

func (InterfaceColors) ToCSS

func (i InterfaceColors) ToCSS() string

type TextStyle

type TextStyle struct {
	Caret, Background, Color, FontStyle, TextDecoration, SelectionBackground, SelectionColor, SelectionBorder string
}

func (TextStyle) ToCSS

func (t TextStyle) ToCSS() string

type Theme

type Theme struct {
	Colors InterfaceColors
	Code   Code
}

func (Theme) ToCSS

func (t Theme) ToCSS() string

Jump to

Keyboard shortcuts

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