Moved to text shadow instead of text stroke
This commit is contained in:
3
bun.lock
3
bun.lock
@@ -30,7 +30,6 @@
|
||||
"zod": "^4.0.10",
|
||||
},
|
||||
"devDependencies": {
|
||||
"@designbycode/tailwindcss-text-stroke": "^1.3.0",
|
||||
"@eslint/eslintrc": "^3",
|
||||
"@next/eslint-plugin-next": "15.5.2",
|
||||
"@tailwindcss/postcss": "^4",
|
||||
@@ -65,8 +64,6 @@
|
||||
|
||||
"@babel/types": ["@babel/types@7.28.2", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.27.1" } }, "sha512-ruv7Ae4J5dUYULmeXw1gmb7rYRz57OWCPM57pHojnLq/3Z1CK2lNSLTCVjxVk1F/TZHwOZZrOWi0ur95BbLxNQ=="],
|
||||
|
||||
"@designbycode/tailwindcss-text-stroke": ["@designbycode/tailwindcss-text-stroke@1.3.0", "", { "peerDependencies": { "tailwindcss": ">=3.0.0 || >=3.0.0-alpha.1" } }, "sha512-EyZi2EDv+/v55JF7OFrPUUJHr0r/C9bZtvhWNpamMj5MjAEMqBMhcO1ZW9aXAD2viszgtlnYLIta80NJtsuy6w=="],
|
||||
|
||||
"@dnd-kit/accessibility": ["@dnd-kit/accessibility@3.1.1", "", { "dependencies": { "tslib": "^2.0.0" }, "peerDependencies": { "react": ">=16.8.0" } }, "sha512-2P+YgaXF+gRsIihwwY1gCsQSYnu9Zyj2py8kY5fFvUM1qm2WA2u639R6YNVfU4GWr+ZM5mqEsfHZZLoRONbemw=="],
|
||||
|
||||
"@dnd-kit/core": ["@dnd-kit/core@6.3.1", "", { "dependencies": { "@dnd-kit/accessibility": "^3.1.1", "@dnd-kit/utilities": "^3.2.2", "tslib": "^2.0.0" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" } }, "sha512-xkGBRQQab4RLwgXxoqETICr6S5JlogafbhNsidmrkVv2YRs5MLwpjoF2qpiGjQt8S9AoxtIV603s0GIUpY5eYQ=="],
|
||||
|
||||
@@ -39,7 +39,6 @@
|
||||
"zod": "^4.0.10"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@designbycode/tailwindcss-text-stroke": "^1.3.0",
|
||||
"@eslint/eslintrc": "^3",
|
||||
"@next/eslint-plugin-next": "15.5.2",
|
||||
"@tailwindcss/postcss": "^4",
|
||||
|
||||
@@ -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