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.

Round the avatars and light them for the theme

5138159281e9940617a4ac399f8b50fa1f5f659b · Keenan Nemetz · 7d ago · parent 2a8c7fbf

Round the avatars and light them for the theme

The tiles are rounded squares now: the element's border-radius does the
clip, so DiceBear's circular mask and the document-wide id it carried are
gone. That also makes a mark about 130 bytes smaller.

The disc in the sky follows the theme. A dark theme gets the moon: pale
cream, near-white and a cool grey. A light theme keeps the sun: cream,
yellow and sunset orange. Switching theme in the account page redraws
the avatars in place, because theme.js writes data-theme on <html> and
the bundle watches that attribute; following the system is the same path
because theme.js resolves it to a concrete variant.

Rebuilt the bundle (10KB, 4KB gzipped) and rendered its real output at
20px and 52px on both themes with the rounded clip applied: the moon
reads against the darker skies and the sun still reads on the light one.

docs/accounts-and-access.md +1−1

@@ -31,7 +31,7 @@ still refers to the name.
31 31
32 32 Every name is drawn a small landscape from the account name: the account's tone
33 33 is the sky, the hills are steps darker than it, and the sun comes from the
34 Everforest palette. DiceBear's engine draws it in the browser, with a style that
34 Everforest palette — or the moon, on a dark theme. DiceBear's engine draws it in the browser, with a style that
35 35 lives in this repository, from a script embedded in the binary. So the same
36 36 person looks the same on every page and between visits; the instance stores no
37 37 image, accepts no upload, and makes no request to an avatar service. Until the