twentyfifteen

package
v0.0.0-...-1f40810 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const ThemeName = "twentyfifteen"

Variables

This section is empty.

Functions

func CalCustomBackGround

func CalCustomBackGround(h *wp.Handle) (r string)

func Hex2RgbUint8

func Hex2RgbUint8(color string) []uint8

func Hook

func Hook(h *wp.Handle)

Types

type ColorScheme

type ColorScheme struct {
	Label  string   `json:"label,omitempty"`
	Colors []string `json:"colors,omitempty"`
}

type EditorColorPalette

type EditorColorPalette struct {
	Name  string `json:"name"`
	Slug  string `json:"slug"`
	Color string `json:"color"`
}

type EditorGradientPresets

type EditorGradientPresets struct {
	Name     string `json:"name"`
	Slug     string `json:"slug"`
	Gradient string `json:"gradient"`
}

Jump to

Keyboard shortcuts

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