mirror of
https://github.com/imfing/hextra.git
synced 2025-06-19 10:44:16 -04:00
feat: add customizable primary lightness support (#470)
* Add support for setting lightness for primary color * Add comment * change multiplier to just adding percentages * amend comment * add to docs * Fix lightness overflow
This commit is contained in:
@ -34,12 +34,13 @@ 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` and `--primary-saturation` variables:
|
||||
The primary color of the theme can be customized by setting the `--primary-hue`, `--primary-saturation` and `--primary-lightness` variables:
|
||||
|
||||
```css {filename="assets/css/custom.css"}
|
||||
:root {
|
||||
--primary-hue: 100deg;
|
||||
--primary-saturation: 90%;
|
||||
--primary-lightness: 50%;
|
||||
}
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user