mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-30 07:12:36 -05:00
Calendar: Fix tag text not readable
This commit is contained in:
@@ -27,7 +27,9 @@ export function Tags({
|
||||
<React.Fragment key={tag}>
|
||||
<li
|
||||
style={{ backgroundColor: allTags[tag].color }}
|
||||
className={clsx({ "calendar__event__badge-tag": tag === "BADGE" })}
|
||||
className={clsx("calendar__event__tag", {
|
||||
"calendar__event__badge-tag": tag === "BADGE",
|
||||
})}
|
||||
>
|
||||
{t(`tag.name.${tag}`)}
|
||||
{onDelete && (
|
||||
|
||||
@@ -579,7 +579,6 @@ dialog::backdrop {
|
||||
max-width: var(--tags-max-width, 18rem);
|
||||
flex-wrap: wrap;
|
||||
padding: 0;
|
||||
color: var(--black-text);
|
||||
font-size: var(--fonts-xxs);
|
||||
font-weight: var(--semi-bold);
|
||||
gap: var(--s-1);
|
||||
@@ -592,6 +591,10 @@ dialog::backdrop {
|
||||
padding-inline: var(--s-1-5);
|
||||
}
|
||||
|
||||
.calendar__event__tag {
|
||||
color: var(--black-text);
|
||||
}
|
||||
|
||||
.calendar__event__badge-tag {
|
||||
color: var(--badge-text);
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
--theme-very-transparent: #ffc6de36;
|
||||
--theme-vibrant: hsl(255deg 78% 65%);
|
||||
--theme-transparent: #ffc6de52;
|
||||
--theme-secondary: rgb(239, 229, 83);
|
||||
--theme-secondary: rgb(239 229 83);
|
||||
--inactive-image-filter: grayscale(100%) brightness(130%);
|
||||
--rounded: 16px;
|
||||
--rounded-full: 200px;
|
||||
|
||||
Reference in New Issue
Block a user