[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[   ]style-mod.js1985-10-26 08:15 6.3K 
[TXT]README.md1985-10-26 08:15 772 d7c1522 post receive test [كارل مبارك]
[TXT]style-mod.d.ts1985-10-26 08:15 395  
<!-- To edit this file, edit /src/README.md, not /README.md -->

# style-mod

Minimal CSS module shim for generating CSS rules and anonymous class
names for sets of style declarations and attaching such a set to a
document or shadow root.

Using it would look something like this:

```javascript
const {StyleModule} = require("style-mod")
const myModule = new StyleModule({
  main: {
    fontFamily: "Georgia, 'Nimbus Roman No9 L'",
    margin: "0"
  },
  callout: {
    color: "red",
    fontWeight: "bold",
    "&:hover": {color: "orange"}
  }
})
StyleModule.mount(document, myModule)
document.body.className = myModule.main
```

This code is open source, released under an MIT license.
    
## Documentation

@StyleModule

Where the `Style` type is defined as:

@Style