cssmod

package module
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2021 License: MIT Imports: 7 Imported by: 0

README

cssmod

This is a really basic implementation of CSS Modules.

Here are the supported features (currently):

  • Namespaced classes

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Transform

func Transform(r io.Reader, filename string) (output []byte, classes map[string]string)

Transform takes input from a Reader (r) with a filename. Returns the transfromed CSS with namespaced classes, and a map that indexes the new classes with the original class names.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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