1
0
mirror of https://github.com/flarum/core.git synced 2025-08-04 23:47:32 +02:00

fix: unreadable badge icon on certain colors (#3810)

This commit is contained in:
Sami Mazouz
2023-04-29 18:35:18 +01:00
committed by GitHub
parent af3f91ca5b
commit 7ebeb9c0a5
2 changed files with 3 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
height: var(--size);
border-radius: calc(~"var(--size) / 2");
background: var(--badge-bg);
color: var(--badge-color);
color: var(--contrast-color, var(--badge-color));
display: inline-flex;
align-items: center;
justify-content: center;