feat: add light/dark theme with settings page
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
export const ResultTile = (props: { home?: number; away?: number }) => {
|
||||
return (
|
||||
<div class="flex flex-col items-center justify-center bg-gray-900/60 p-2 rounded-lg border border-gray-700">
|
||||
<div class="flex flex-col items-center justify-center bg-app/60 p-2 rounded-lg border border-line">
|
||||
<div class="flex items-center gap-1 font-mono text-xs font-bold">
|
||||
<span
|
||||
class={props.home > props.away ? "text-emerald-400" : "text-gray-300"}
|
||||
class={props.home > props.away ? "text-accent" : "text-ink"}
|
||||
>
|
||||
{props.home ?? "-"}
|
||||
</span>
|
||||
<span class="text-gray-600">:</span>
|
||||
<span class="text-ink-faint">:</span>
|
||||
<span
|
||||
class={props.away > props.home ? "text-emerald-400" : "text-gray-300"}
|
||||
class={props.away > props.home ? "text-accent" : "text-ink"}
|
||||
>
|
||||
{props.away ?? "-"}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user