irongit

none text shadow works

huncholanehuncholaneauthored
parent 670ff69commit 06718d417ea55213d6aa55c2a5e3ea638606c306Browse files

2 files changed, +3 -3

+1-1twench_landing_page/components/LandingSection/LandingSection.css
@@ -32,6 +32,6 @@
3232 @apply py-3 px-8;
3333 @apply border-black border-4;
3434 @apply bg-white hover:bg-background cursor-pointer;
35- @apply right-[100px] lg:right-[200px];
35+ /* @apply right-[100px] lg:right-[200px]; */
3636 @apply text-[20px] lg:text-[50px];
3737 }
+2-2twench_landing_page/plugins/text-shadow.ts
@@ -2,7 +2,7 @@ import { text } from "stream/consumers";
22 import plugin from "tailwindcss/plugin";
33
44 function textShadow(value: string) {
5- if (!value) {
5+ if (!value || value === "none") {
66 return "none";
77 }
88 return `${value} ${value} 0 #000, -${value} -${value} 0 #000, ${value} -${value} 0 #000, -${value} ${value} 0 #000, ${value} 0 0 #000, -${value} 0 0 #000, 0 ${value} 0 #000, 0 -${value} 0 #000`;
@@ -25,7 +25,7 @@ const textShadowPlugin = plugin(
2525 theme: {
2626 textShadow: {
2727 DEFAULT: "1px",
28- none: "0",
28+ none: "none",
2929 sm: "2px",
3030 md: "3px",
3131 lg: "4px",