feat(manga): make the badge an element so the star can be yellow #10

Merged
rms merged 1 commit from fix/badge-star-colour into master 2026-11-28 03:01:07 -06:00
Owner

A ::after cannot hold two colours, so ✓★ was entirely green. Badge is now an inline-flex pill with one span per glyph: tick green, star #ffd60a with a glow. Pill is reused and skipped when unchanged, so the MutationObserver cannot feed itself. v2.1.6.

A ::after cannot hold two colours, so ✓★ was entirely green. Badge is now an inline-flex pill with one span per glyph: tick green, star #ffd60a with a glow. Pill is reused and skipped when unchanged, so the MutationObserver cannot feed itself. v2.1.6.
Asked for a yellow star; a single ::after cannot do it, because one pseudo-element
carries one content in one colour and "✓★" was therefore all green. The badge is
now an inline-flex pill with one span per glyph: green tick, blue dots, red cross,
and the star in #ffd60a with a faint glow so it reads at 14px over a thumbnail.

Rebuilding a pill on every re-apply would itself be a DOM mutation and feed the
observer, so the pill is reused and skipped when its verdict is unchanged.

v2.1.6.
rms merged commit 2922a2d27d into master 2026-11-28 03:01:07 -06:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rms/userscripts!10
No description provided.