theme

package
v1.111.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ThemeCycleNicks

func ThemeCycleNicks(priority Theme) []string

func ThemeCycleURLs

func ThemeCycleURLs(siteRoot string, priority Theme) []string

func ThemeIndexHTMLFile

func ThemeIndexHTMLFile(t Theme) string

func ThemeStorageIndexFiles

func ThemeStorageIndexFiles() []string

func ThemeStorageNicks

func ThemeStorageNicks() []string

Types

type Theme

type Theme int64
const (
	ThemeNotSet Theme = iota
	ThemeLight
	ThemeDark
	ThemeVanilla
)

func ParseDefaultThemeName

func ParseDefaultThemeName(s string) Theme

func (Theme) ToNick

func (t Theme) ToNick() string

Jump to

Keyboard shortcuts

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