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

https://github.com/zombiezen/woosh


https://github.com/zombiezen/woosh

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# Woosh

Woosh is a CSS preprocessor that supports utility classes with optional suffixes
generated based on usage.

```css
@theme {
--spacing: 0.25rem;
}

@utility p-* {
padding: calc(var(--spacing) * --value(number));
padding: --value([length]);
}
```

Then with an HTML file like:

```html


...

...


```

Woosh will produce:

```css
:root {
--spacing: 0.25rem;
}
.p-2 {
padding: calc(var(--spacing) * 2);
}
.p-\[5px\] {
padding: 5px;
}
```

## License

[MIT](LICENSE)