Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BaseComponent ¶ added in v0.0.5
type BaseComponent = dom.BaseComponent
BaseComponent provides common utilities for component authors (Currently just an alias, but can be extended later)
type CssVars ¶ added in v0.0.4
type CssVars struct {
Primary string `css:"--color-primary"`
Secondary string `css:"--color-secondary"`
Tertiary string `css:"--color-tertiary"`
Quaternary string `css:"--color-quaternary"`
Gray string `css:"--color-gray"`
Selection string `css:"--color-selection"`
Hover string `css:"--color-hover"`
Success string `css:"--color-success"`
Error string `css:"--color-error"`
MenuWidthCollapsed string `css:"--menu-width-collapsed"`
MenuWidthExpanded string `css:"--menu-width-expanded"`
}
CssVars defines the structure for the site's CSS variables.
func GetDefaultCssVars ¶ added in v0.0.4
func GetDefaultCssVars() CssVars
GetDefaultCssVars returns the default CSS variables.
Click to show internal directories.
Click to hide internal directories.