mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 15:31:52 +00:00
32f452b25d
This allows users to customize Chroma CSS without building the TailwindCSS manually.
For example, add this to `custom.css`:
```
.chroma,
.chroma,
.chroma:is(.dark *),
.chroma:is(.dark *) * {
color: unset;
background-color: unset;
font-weight: unset;
}
```
Then use:
```
hugo gen chromastyles --style=github | sed 's/\./html.dark ./' >> assets/css/custom.css
hugo gen chromastyles --style=github | sed 's/\./html:not(.dark) ./' >> exampleSite/assets/css/custom.css
```