Documentation ¶
Index ¶
- type Namespace
- func (ns *Namespace) PostCSS(args ...any) (resource.Resource, error)
- func (ns *Namespace) Quoted(v any) css.QuotedString
- func (ns *Namespace) Sass(args ...any) (resource.Resource, error)
- func (ns *Namespace) TailwindCSS(args ...any) (resource.Resource, error)
- func (ns *Namespace) Unquoted(v any) css.UnquotedString
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Namespace ¶
type Namespace struct {
// contains filtered or unexported fields
}
Namespace provides template functions for the "css" namespace.
func (*Namespace) Quoted ¶
func (ns *Namespace) Quoted(v any) css.QuotedString
Quoted returns a string that needs to be quoted in CSS.
func (*Namespace) TailwindCSS ¶ added in v0.128.0
TailwindCSS processes the given Resource with tailwindcss.
Click to show internal directories.
Click to hide internal directories.