Add 2026-dark theme and set as default
This commit is contained in:
parent
88bc0d1a2b
commit
9eea6550ad
5 changed files with 652 additions and 12 deletions
11
README.md
11
README.md
|
|
@ -20,7 +20,8 @@ GitHub/GitLab-style logged-out homepage.
|
|||
|
||||
| Theme | Notes |
|
||||
| --- | --- |
|
||||
| `aurora-light` | **Default.** Soft slate base, blue primary, teal links |
|
||||
| `2026-dark` | **Default.** Obsidian-midnight dark with electric cyan, emerald-teal, violet & coral accents, crisp 1px specular borders, and ambient glow (inspired by Omarchy, JetBrains, GitHub, GitLab, CachyOS, Hack Club & Lovable) |
|
||||
| `aurora-light` | Soft slate base, blue primary, teal links |
|
||||
| `aurora-dark` | Neutral-charcoal dark variant |
|
||||
| `gruvbox-dark` / `gruvbox-light` | Gruvbox palette with the soft-UI layer |
|
||||
| `gruvbox-soft-dark` | Legacy alias for `gruvbox-dark` |
|
||||
|
|
@ -48,8 +49,8 @@ upgrade Forgejo and want the newer built-in palettes.
|
|||
|
||||
```ini
|
||||
[ui]
|
||||
THEMES = forgejo-auto,forgejo-light,forgejo-dark,aurora-dark,aurora-light,gruvbox-dark,gruvbox-light,gruvbox-soft-dark,terminal
|
||||
DEFAULT_THEME = aurora-light
|
||||
THEMES = forgejo-auto,forgejo-light,forgejo-dark,2026-dark,aurora-dark,aurora-light,gruvbox-dark,gruvbox-light,gruvbox-soft-dark,terminal
|
||||
DEFAULT_THEME = 2026-dark
|
||||
```
|
||||
|
||||
3. Hard-refresh the browser (`Ctrl+Shift+R`). Forgejo serves custom CSS with a
|
||||
|
|
@ -59,8 +60,8 @@ upgrade Forgejo and want the newer built-in palettes.
|
|||
## Navbar dark/light toggle
|
||||
|
||||
`templates/custom/header.tmpl` injects a neumorphic sun/moon switch into the
|
||||
navbar (left of *Register* when logged out). It flips between `aurora-light`
|
||||
and `aurora-dark`, stores the choice in `localStorage` under `dxd-theme`, and
|
||||
navbar (left of *Register* when logged out). It flips between `2026-dark`
|
||||
and `aurora-light`, stores the choice in `localStorage` under `dxd-theme-2026`, and
|
||||
applies it before the page paints.
|
||||
|
||||
## Security / no secrets
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue