diff --git a/app/components/match-page/MatchBanner.module.css b/app/components/match-page/MatchBanner.module.css index 9a3879047..acdc8a1bb 100644 --- a/app/components/match-page/MatchBanner.module.css +++ b/app/components/match-page/MatchBanner.module.css @@ -30,11 +30,7 @@ rgba(0, 0, 0, 0.6) ), var(--stage-img); - color: var(--color-text); - - :global(html.light) & { - color: var(--color-text-inverse); - } + color: var(--color-text-on-dark); } .info { diff --git a/app/features/calendar/components/Tags.module.css b/app/features/calendar/components/Tags.module.css index 7f441a77f..00e727365 100644 --- a/app/features/calendar/components/Tags.module.css +++ b/app/features/calendar/components/Tags.module.css @@ -29,7 +29,7 @@ } .tag { - color: var(--color-text-inverse); + color: var(--color-text-on-light); } .overflowTag { @@ -37,20 +37,12 @@ color: var(--color-text-high); } -:global(html.light) .tag { - color: var(--color-text); -} - .tagDeleteButton { margin-left: auto; & > svg { width: 0.85rem !important; - color: var(--color-text-inverse); + color: var(--color-text-on-light); margin-inline: var(--s-1) 0 !important; } } - -:global(html.light) .tagDeleteButton > svg { - color: var(--color-text); -} diff --git a/app/features/plus-voting/routes/plus.voting.module.css b/app/features/plus-voting/routes/plus.voting.module.css index c0793d208..762e4d0dc 100644 --- a/app/features/plus-voting/routes/plus.voting.module.css +++ b/app/features/plus-voting/routes/plus.voting.module.css @@ -38,7 +38,7 @@ justify-content: center; border-radius: var(--radius-box); background-color: var(--color-success-high); - color: var(--color-text); + color: var(--color-text-inverse); font-size: var(--font-sm); font-weight: var(--weight-semi); gap: var(--s-2); diff --git a/app/features/tier-list-maker/components/TierRow.module.css b/app/features/tier-list-maker/components/TierRow.module.css index b65ebfb67..e232ead58 100644 --- a/app/features/tier-list-maker/components/TierRow.module.css +++ b/app/features/tier-list-maker/components/TierRow.module.css @@ -26,17 +26,13 @@ } .tierName { - color: var(--color-text-inverse); + color: var(--color-text-on-light); line-height: 1.2; max-width: 90px; overflow-wrap: break-word; word-wrap: break-word; } -:global(html.light) .tierName { - color: var(--color-text); -} - .popupContent { display: flex; flex-direction: column; diff --git a/app/features/tournament-bracket/components/Bracket/Match.module.css b/app/features/tournament-bracket/components/Bracket/Match.module.css index 5be65c34f..eadef155a 100644 --- a/app/features/tournament-bracket/components/Bracket/Match.module.css +++ b/app/features/tournament-bracket/components/Bracket/Match.module.css @@ -65,10 +65,12 @@ .matchTimerWarning { background-color: var(--color-warning); + color: var(--color-text-on-light); } .matchTimerError { background-color: var(--color-error); + color: var(--color-text-on-status); } .match { diff --git a/app/features/tournament-bracket/components/Bracket/RoundHeader.module.css b/app/features/tournament-bracket/components/Bracket/RoundHeader.module.css index 43ef22974..d9b249f92 100644 --- a/app/features/tournament-bracket/components/Bracket/RoundHeader.module.css +++ b/app/features/tournament-bracket/components/Bracket/RoundHeader.module.css @@ -16,3 +16,15 @@ color: var(--color-text-high); font-weight: var(--weight-semi); } + +.roundTimer { + color: var(--color-text); +} + +.roundTimerWarning { + color: var(--color-warning-high); +} + +.roundTimerError { + color: var(--color-error-high); +} diff --git a/app/features/tournament-bracket/components/Bracket/RoundHeader.tsx b/app/features/tournament-bracket/components/Bracket/RoundHeader.tsx index a14a071f5..7d970afa4 100644 --- a/app/features/tournament-bracket/components/Bracket/RoundHeader.tsx +++ b/app/features/tournament-bracket/components/Bracket/RoundHeader.tsx @@ -131,14 +131,16 @@ function RoundTimer({ const displayText = elapsedMinutes >= 60 ? "1h+" : `${elapsedMinutes}m`; - const statusColor = - worstStatus === "error" - ? "var(--color-error)" - : worstStatus === "warning" - ? "var(--color-warning)" - : "var(--color-text)"; - - return