Moved to text shadow instead of text stroke

This commit is contained in:
2025-09-27 21:58:30 +02:00
parent 4647e9df60
commit 0c2ad216f2
5 changed files with 2 additions and 7 deletions

View File

@@ -105,7 +105,7 @@ async function SuspendedPage({ params, searchParams }: Pick<PageProps<"/guild/[v
return (
<div className="flex flex-col items-center pb-5 pt-30">
<div className="flex gap-2 items-center">
<h1 className="text-4xl font-bold sm:text-5xl text-stroke text-stroke-foreground dark:text-stroke-transparent">
<h1 className="text-4xl font-bold sm:text-5xl text-shadow-lg">
<span className={cn(getColor(guild.tagColor, "text", "gray"))}>{guild.name}</span>
</h1>
</div>

View File

@@ -39,7 +39,7 @@ export default function DisplayName(
className="shadow-2xl"
/>
</Link>
<h1 className="font-bold sm:text-xl md:text-3xl text-md text-stroke text-stroke-foreground dark:text-stroke-transparent">
<h1 className="font-bold sm:text-xl md:text-3xl text-md text-shadow-lg">
<PlayerRank rank={rank} monthly={monthly} plusColor={plusColor} rankColor={rankColor} specialRank={specialRank} prefix={prefix} />
{" "}
<PlayerIGN ign={ign} rank={rank} monthly={monthly} rankColor={rankColor} specialRank={specialRank} prefix={prefix} />{" "}

View File

@@ -1,6 +1,5 @@
@import "tailwindcss";
@import "tw-animate-css";
@plugin "@designbycode/tailwindcss-text-stroke";
@custom-variant dark (&:is(.dark *));