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.

Give every landscape a second and third hue

df894c4f529477af69f50f52662bb7517843c3c9 · Keenan Nemetz · 7d ago · parent 51381592

Give every landscape a second and third hue

A mark was one palette hue in shades of itself, so a field of avatars was
seven colours in seven degrees of darkness. That is not enough for an
avatar to tell people apart.

The sky is still the account's tone, but the hills now take other tones
from the same seven, chosen from a name-seeded shuffle and never the
sky's own hue. Each hill is shaded toward the palette's darkest ground
rather than toward black, which darkens it and ties different hues into
one landscape. Every mark therefore carries at least two hues, and most
carry three plus the disc.

The seven grounds moved to :root so the bundle reads the palette from
vole.css instead of carrying a second copy of it. A tone class now just
points at one.

Colour sets go from 21 per theme to 7 skies x (30 two-hill orders + 120
three-hill orders) x 3 discs = 3,150, before ridge, radius and disc
position vary them further. keenan, which was clay and four shades of
clay, is now clay with an olive hill, a slate hill and a moon.

server/web/static/vole.css +20−7

@@ -1182,13 +1182,26 @@ pre code { background: none; border: 0; padding: 0; font-size: inherit; }
1182 1182 line-height: 1;
1183 1183 text-transform: uppercase;
1184 1184 }
1185 .avatar.c1 { --av-bg: #6f8a5f; }
1186 .avatar.c2 { --av-bg: #a2734f; }
1187 .avatar.c3 { --av-bg: #a05f66; }
1188 .avatar.c4 { --av-bg: #5b7f92; }
1189 .avatar.c5 { --av-bg: #816a9b; }
1190 .avatar.c6 { --av-bg: #94843f; }
1191 .avatar.c7 { --av-bg: #7a6b5f; }
1185 /* The seven grounds are also the palette a landscape draws its hills from, so
1186 they live on the root where the avatar bundle can read all seven. A tone picks
1187 the sky; the hills take other tones, which is what makes every mark at least
1188 two colours rather than one hue in shades. */
1189 :root {
1190 --av-c1: #6f8a5f;
1191 --av-c2: #a2734f;
1192 --av-c3: #a05f66;
1193 --av-c4: #5b7f92;
1194 --av-c5: #816a9b;
1195 --av-c6: #94843f;
1196 --av-c7: #7a6b5f;
1197 }
1198 .avatar.c1 { --av-bg: var(--av-c1); }
1199 .avatar.c2 { --av-bg: var(--av-c2); }
1200 .avatar.c3 { --av-bg: var(--av-c3); }
1201 .avatar.c4 { --av-bg: var(--av-c4); }
1202 .avatar.c5 { --av-bg: var(--av-c5); }
1203 .avatar.c6 { --av-bg: var(--av-c6); }
1204 .avatar.c7 { --av-bg: var(--av-c7); }
1192 1205 .avatar svg { display: block; width: 100%; height: 100%; }
1193 1206
1194 1207 .lang { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; margin-bottom: 8px; font-size: calc(13.2px * var(--font-scale)); }