Add palettes

This commit is contained in:
Joe Roe 2023-05-03 16:57:55 +02:00
parent f36c240299
commit 92d988e438
No known key found for this signature in database
GPG key ID: AA48BBFC47F84086
14 changed files with 253 additions and 4 deletions

View file

@ -2,11 +2,11 @@
* **Breaking change** new framework for colour palettes:
* Palettes are defined using CSS variables following the [base16](https://github.com/chriskempson/base16) system
* Added 2 new palettes: `base16-dark` and `base16-light`
* Added 14 new palettes: `apprentice`, `base16-dark`, `base16-light`, `dracula`, `material`, `papercolor-dark`, `papercolor-light`, `solarized-dark`, `solarized-light`, `tender`, `tokyo-night-dark`, `tokyo-night-light`, `windows-95` and `windows-95-light`.
* The default palette is `base16-dark`
* The `mode` parameter is no longer needed
* If you were using one of the old named palettes (`gruvbox-dark` or `gruvbox-light`), the change will be seamless
* If you were using a custom palette, you will need to redefine it using the new framework
* If you were using one of the old named palettes (`gruvbox-dark` or `gruvbox-light`), the change will be seamless.
* If you were using a custom palette, you will need to redefine it using the new framework. See README for further details.
* Added a table of contents (thanks @dashv, #47)
* Added multilanguage support with a language switcher (thanks @bedefaced)
* Made the site header and nav wrap more efficiently on narrow screens (thanks @m-dev672, #32)