themes

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Current

func Current() types.Beautifier

Current returns the theme to use for rendering HTML.

func Get

func Get(name string) types.Beautifier

Get a theme by name. Returns nil if none found.

func List

func List() []types.Beautifier

List returns all available themes.

func Use

func Use(name string) error

Use takes the name of the theme that will be used for rendering. Returns an error for an unknown theme.

Types

This section is empty.

Jump to

Keyboard shortcuts

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