Moved to text shadow instead of text stroke
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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} />{" "}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
@import "tailwindcss";
|
||||
@import "tw-animate-css";
|
||||
@plugin "@designbycode/tailwindcss-text-stroke";
|
||||
|
||||
@custom-variant dark (&:is(.dark *));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user