foxcss

package
v0.0.0-...-4c5279f Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AnimalWords = []string{}/* 108 elements not displayed */

https://gist.github.com/borlaym/585e2e09dd6abd9b0d0a

instead compiled my own with https://emojipedia.org/nature#list

View Source
var RegularWords = eff.Large

Functions

func Class

func Class(ctx context.Context, snippet string) string

returns class name and injects snippet into page styles

func GetPageCSS

func GetPageCSS(ctx context.Context) string

func HexAlphaBackground

func HexAlphaBackground(hex, alpha string) string

func HexToRGB

func HexToRGB(input string) string

func InitContext

func InitContext(ctx context.Context, classPrefix string) context.Context

func Minify

func Minify(in string) (string, error)

func MustMinify

func MustMinify(in string) string

func RGBABackground

func RGBABackground(rgb, alpha string) string

func UseWords

func UseWords(
	ctx context.Context, words []string, seed string,
) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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