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.

Outline the brand mark instead of backing it with a tile

e3b9c83cf9d5f4af106d4070b506fff15b16df3c · Keenan Nemetz · 1d ago · parent 8911ab5f

Outline the brand mark instead of backing it with a tile

Light themes keep the page-coloured head and add a dark outline, so the mark is a light line drawing on the bar rather than a filled badge. The outline comes from four offset drop-shadows on the masked mark; --mark-fill and --mark-outline still let a custom light theme opt in.

server/ui_test.go +6−5

@@ -386,11 +386,12 @@ func TestTheEmblemShipsAndTheShellNamesIt(t *testing.T) {
386 386 t.Fatalf("stylesheet = %d", code)
387 387 }
388 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")
389 !strings.Contains(css, "--mark-fill: currentColor") ||
390 !strings.Contains(css, "--mark-outline: transparent") ||
391 !strings.Contains(css, "--mark-fill: var(--bg)") ||
392 !strings.Contains(css, "--mark-outline: var(--fg)") ||
393 !strings.Contains(css, "drop-shadow(1px 0 0 var(--mark-outline))") {
394 t.Error("the head mark does not carry the emblem and light-outline treatment")
394 395 }
395 396
396 397 code, svg := f.get("/static/favicon.svg")