sass

package
v0.0.0-...-7687a33 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GeneralTheme = "general"
	LightTheme   = "light"
	DarkTheme    = "dark"
	SectionRoot  = "root"
	SectionMain  = "main"
	SectionTheme = "theme"
)

Variables

View Source
var (
	StylesheetCache = newStylesheetCache()
)

Functions

func DartSassTranspiler

func DartSassTranspiler(log *zap.Logger) *godartsass.Transpiler

func DefaultCSS

func DefaultCSS(log *zap.Logger, customCSS string) string

DefaultCSS contains css contents from minified-custom.css and custom-css editor content

func Transpile

func Transpile(transpiler *godartsass.Transpiler, log *zap.Logger, themeID, themeSASS, customCSS, sassDirPath string) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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