feat: support custom primary saturation (#131)

* feat: support custom primary saturation

* chore: run npm run build:css

* docs: update instruction for customizing primary color
This commit is contained in:
Xin
2023-10-04 20:41:59 +01:00
committed by GitHub
parent b7558aca44
commit 8aa6439132
4 changed files with 48 additions and 43 deletions

View File

@ -34,11 +34,12 @@ The color of text mixed with `other text` can customized with:
### Primary Color
The primary color of the theme can be customized by setting the `--primary-hue` variable:
The primary color of the theme can be customized by setting the `--primary-hue` and `--primary-saturation` variables:
```css {filename="assets/css/custom.css"}
:root {
--primary-hue: 100deg;
--primary-saturation: 90%;
}
```