Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

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.

Use the favicon treatment for the brand mark in light themes

8911ab5f5d2ecf922a6856821c202a17f86e20f7 · Keenan Nemetz · 1d ago · parent 97b3b022

Use the favicon treatment for the brand mark in light themes

The emblem was the theme's ink as a mask, which reads as a smudge on a pale bar. Light themes now put it on a rounded tile in the foreground colour with the page colour showing through the head, matching the favicon's figure-ground.

The mark is a token-driven mask either way: --mark-tile, --mark-ink, and --mark-pad default to the old transparent emblem, and the built-in light palettes opt into the tile. A custom light theme can do the same in its stylesheet.

server/ui_test.go +6−2

@@ -385,8 +385,12 @@ func TestTheEmblemShipsAndTheShellNamesIt(t *testing.T) {
385 385 if code != http.StatusOK {
386 386 t.Fatalf("stylesheet = %d", code)
387 387 }
388 if !strings.Contains(css, `url("/static/vole-head.png")`) || !strings.Contains(css, "background-color: currentColor") {
389 t.Error("the head mark is not a theme-coloured mask")
388 if !strings.Contains(css, `url("/static/vole-head.png")`) ||
389 !strings.Contains(css, "--mark-tile: transparent") ||
390 !strings.Contains(css, "--mark-ink: currentColor") ||
391 !strings.Contains(css, "--mark-tile: var(--fg)") ||
392 !strings.Contains(css, "--mark-pad: 2px") {
393 t.Error("the head mark does not carry the emblem and light-tile treatment")
390 394 }
391 395
392 396 code, svg := f.get("/static/favicon.svg")