css

package
v3.1.4 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Format

func Format(typ CSSType, body string, opts ...FormatOption) string

Types

type CSSType

type CSSType string
const (
	ComponentType CSSType = "c"
	LayoutType    CSSType = "l"
	UtilityType   CSSType = "u"
)

type FormatOption

type FormatOption func(o *formationOption)

func WithElement

func WithElement(s string) FormatOption

func WithModifier

func WithModifier(s string) FormatOption

func WithNamspace

func WithNamspace(s string) FormatOption

func WithType

func WithType(t CSSType) FormatOption

Jump to

Keyboard shortcuts

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