components

package
v0.0.0-...-dc7d671 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SolarizedDark = types.Pallette{
	Base03:  "#002b36",
	Base02:  "#073642",
	Base01:  "#586e75",
	Base00:  "#657b83",
	Base0:   "#839496",
	Base1:   "#93a1a1",
	Base2:   "#eee8d5",
	Base3:   "#fdf6e3",
	Yellow:  "#b58900",
	Orange:  "#cb4b16",
	Red:     "#dc322f",
	Magenta: "#d33682",
	Violet:  "#6c71c4",
	Blue:    "#268bd2",
	Cyan:    "#2aa198",
	Green:   "#859900",
}

Functions

func Body

func Body() *g.HTMLElement

func CodeComparison

func CodeComparison(titleRef *g.Reference) *g.HTMLElement

func Codeblock

func Codeblock(props CodeblockProps) *g.HTMLElement

func Favicon

func Favicon() []*g.HTMLElement
func Head() *g.HTMLElement

func Meta

func Meta() []*g.HTMLElement

func OpenGraph

func OpenGraph() g.CE

func PageTitle

func PageTitle(props PageTitleProps) *g.HTMLElement

func PrismJS

func PrismJS() []*g.HTMLElement

Types

type ClassPallette

type ClassPallette struct {
	BlueText g.CSSClass
	BoldText g.CSSClass
}

func GetClassPallette

func GetClassPallette() *ClassPallette

type CodeblockProps

type CodeblockProps struct {
	FilePath string
	FileName string
	Language string
}

type PageTitleProps

type PageTitleProps struct {
	Title string
	Id    string
}

Jump to

Keyboard shortcuts

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