https://github.com/zombiezen/woosh
https://github.com/zombiezen/woosh
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zombiezen/woosh
- Owner: zombiezen
- License: mit
- Created: 2026-04-18T17:21:16.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2026-06-10T05:24:36.000Z (2 months ago)
- Last Synced: 2026-06-10T07:17:22.936Z (2 months ago)
- Language: Go
- Size: 142 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)