Documentation
¶
Index ¶
Constants ¶
View Source
const ( GeneralTheme = "general" LightTheme = "light" DarkTheme = "dark" )
Variables ¶
View Source
var (
StylesheetCache = newStylesheetCache()
)
Functions ¶
func DartSassTranspiler ¶
func DartSassTranspiler(log *zap.Logger) *godartsass.Transpiler
func Transpile ¶
func Transpile(transpiler *godartsass.Transpiler, log *zap.Logger, themeID, themeSASS, customCSS string) (err error)
Transpile compiles theme SASS variables + custom CSS into final CSS for a given theme
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.