vole
Clone
Read only, no credentials:
https://rodent.software/git/vole.git
Write over SSH with a registered key:
git clone ssh://git@0.0.0.0:2222/vole.git
A free and open-source forge that lives in your Git repo.
Add Catppuccin, Nord, and Solarized as built-in themes
0584bb700c0b144752ddc29764d697551234f862 · Keenan Nemetz · 1d ago · parent c980fe53
Add Catppuccin, Nord, and Solarized as built-in themes Ship four more Appearance choices: Catppuccin Mocha, Catppuccin Latte, Nord, and Solarized Light. Each is a token block in static/palettes.css, scoped to its data-theme value and loaded after Everforest, before instance theme packs and profile/custom.css. The ids join theme.js's allowlist and the account picker, and the instance repository's reserved-name check now covers nord and the catppuccin-/solarized- prefixes so a theme pack cannot shadow a built-in. NOTICE and three MIT license files record the palettes.
docs/configuration.md +10−5
| @@ -176,10 +176,14 @@ None of this changes the `vole` wordmark in the top bar. | |||
| 176 | 176 | ||
| 177 | 177 | ### Theming | |
| 178 | 178 | ||
| 179 | `profile/custom.css` is loaded after the built-in `vole.css` and `everforest.css` | ||
| 180 | and after any theme pack, so it can override every theme. Override the design | ||
| 181 | tokens rather than copying rules; the layout, contrast, and responsive behaviour | ||
| 182 | then stay intact. | ||
| 179 | `profile/custom.css` is loaded after the built-in `vole.css`, `everforest.css`, | ||
| 180 | and `palettes.css`, and after any theme pack, so it can override every theme. | ||
| 181 | Override the design tokens rather than copying rules; the layout, contrast, and | ||
| 182 | responsive behaviour then stay intact. | ||
| 183 | |||
| 184 | Vole ships the Everforest variants, Catppuccin Mocha and Latte, Nord, and | ||
| 185 | Solarized Light. The Appearance picker lists them before the instance's own | ||
| 186 | theme packs. | ||
| 183 | 187 | ||
| 184 | 188 | #### Theme packs | |
| 185 | 189 | ||
| @@ -221,7 +225,8 @@ the label, and the rules are scoped to that id. `acme-ocean.css` is the | |||
| 221 | 225 | ``` | |
| 222 | 226 | ||
| 223 | 227 | The file name must use lowercase letters, digits, and dashes (at most 41 | |
| 224 | characters), and cannot be `system` or start with `everforest-`. A file whose | ||
| 228 | characters), and cannot collide with a built-in value: `system`, `nord`, or a | ||
| 229 | name starting with `everforest-`, `catppuccin-`, or `solarized-`. A file whose | ||
| 225 | 230 | name breaks that rule fails the snapshot load with a message on the Admin page; | |
| 226 | 231 | the previous theme stays in use. A light theme must set `color-scheme: light` | |
| 227 | 232 | and light surface and text tokens, or form controls and inherited colours stay | |