An open API service indexing awesome lists of open source software.

https://github.com/sheraff/css-inline-modules


https://github.com/sheraff/css-inline-modules

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

          

# CSS inline modules

Write CSS Modules inside your TSX files
```tsx
import { css, inline } from "./css"

const a = css(`
.foobar {
color: limegreen;
}
`)
const A = () =>

Hello

const b = css(`
.yolo {
color: pink;
}
.foobar {
text-decoration: underline;
}
`)
const B = () =>

Bonjour

const C = () => (


Hola

)

export default function Foo() {
return (
<>



>
)
}
```