package sass

import "github.com/gohugoio/hugo/resources/resource_transformers/tocss/sass"

Index

Constants

const (
	HugoVarsNamespace = "hugo:vars"
	// Transpiler implementation can be controlled from the client by
	// setting the 'transpiler' option.
	// Default is currently 'libsass', but that may change.
	TranspilerDart    = "dartsass"
	TranspilerLibSass = "libsass"
)

Functions

func CreateVarsStyleSheet

func CreateVarsStyleSheet(transpiler string, vars map[string]any) string

Source Files

helpers.go

Version
v0.144.2 (latest)
Published
Feb 19, 2025
Platform
linux/amd64
Imports
5 packages
Last checked
13 hours ago

Tools for package owners.