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.

Remove the avatars and read people by name again

28b19c7433fa6f6fe1ce826c443870385d856eb8 · Keenan Nemetz · 7d ago · parent 0fbeca85

Remove the avatars and read people by name again

The marks were harder to read than the names they replaced, so they are
gone: the account menu is back to the user icon, and the issue and
change tables, the profile, the directory and the contributor list all
say the account name.

This takes out everything that existed to draw a mark: the DiceBear
bundle and its licence file, the entry source that built it, the
Landscape style, avatar.go and its tests, the avatar template and its
three helper functions, the avatar palette in everforest.css and the
illustration rules in vole.css, and the app.js block that rendered and
re-rendered them on a theme change.

The tables keep the layout from the previous change — an author column
and an assignee column — because that part reads better with names too.
The assignee cells are the @name chips that already linked to the
filtered list.

`vole workflow run verify` passes, and the licence inventory is back to
one entry fewer.

server/web/static/everforest.css −38

@@ -167,17 +167,6 @@
167 167 --syn-variable: var(--ef-fg);
168 168 --syn-added: var(--ef-green);
169 169 --syn-deleted: var(--ef-red);
170
171 /* A name's landscape. The disc is the moon on a dark theme, the ink is what the
172 hills are shaded toward, and the seven grounds are mixed below. */
173 --av-fg: var(--ef-fg);
174 --av-ink: var(--ef-bg0);
175 /* How much of the accent survives the mix into the panel colour. A dark
176 theme's panel is close to black, so it needs a high share to stay a colour. */
177 --av-tint: 80%;
178 --av-disc-1: var(--ef-fg);
179 --av-disc-2: var(--ef-grey2);
180 --av-disc-3: var(--ef-blue);
181 170 }
182 171
183 172 /* ---------- light tokens ---------- */
@@ -225,33 +214,6 @@
225 214 --syn-variable: var(--ef-fg);
226 215 --syn-added: var(--ef-green);
227 216 --syn-deleted: var(--ef-red);
228
229 /* The same landscape on a light theme: the disc is the sun, and the ink the
230 hills are shaded toward is the dark foreground. */
231 --av-fg: var(--ef-fg);
232 --av-ink: var(--ef-fg);
233 /* A light theme's panel is already near white, so the accent needs less of the
234 mix to stay a colour and more of it would be a highlighter. */
235 --av-tint: 48%;
236 --av-disc-1: var(--ef-yellow);
237 --av-disc-2: var(--ef-orange);
238 --av-disc-3: var(--ef-red);
239 }
240
241 /* ---------- avatar palette ---------- */
242
243 /* The seven grounds a name hashes to, mixed from the palette's own accents toward
244 the panel so a mark reads as land and sky rather than as a link. They follow the
245 active variant, which is why a mark changes with the theme like the rest of the
246 page. */
247 :root[data-theme^="everforest-"] {
248 --av-c1: color-mix(in srgb, var(--ef-green) var(--av-tint), var(--ef-bg2));
249 --av-c2: color-mix(in srgb, var(--ef-orange) var(--av-tint), var(--ef-bg2));
250 --av-c3: color-mix(in srgb, var(--ef-red) var(--av-tint), var(--ef-bg2));
251 --av-c4: color-mix(in srgb, var(--ef-blue) var(--av-tint), var(--ef-bg2));
252 --av-c5: color-mix(in srgb, var(--ef-purple) var(--av-tint), var(--ef-bg2));
253 --av-c6: color-mix(in srgb, var(--ef-yellow) var(--av-tint), var(--ef-bg2));
254 --av-c7: color-mix(in srgb, var(--ef-aqua) var(--av-tint), var(--ef-bg2));
255 217 }
256 218
257 219 /* ---------- syntax highlighting ---------- */