validation

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsHexColor

func IsHexColor(value string) bool

func ValidateFontFamily

func ValidateFontFamily(field, value string) []string

func ValidatePaletteHex

func ValidatePaletteHex(
	prefix string,
	background string,
	surface string,
	surfaceVariant string,
	text string,
	muted string,
	accent string,
	border string,
) []string

func ValidateShortcutDescription

func ValidateShortcutDescription(value string) []string

func ValidateShortcutKey

func ValidateShortcutKey(value string) []string

func ValidateShortcutURL

func ValidateShortcutURL(value string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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