irongit

variable works

huncholanehuncholaneauthored
parent 62e1f30commit 170a23cdb35c16915e74cea2d7c49b525a059030Browse files

3 files changed, +8 -9

+0-8twench_landing_page/app/globals.css
@@ -24,11 +24,3 @@ body {
2424 text-wrap: balance;
2525 }
2626 }
27-
28-.small-text-shadow {
29- text-shadow: var(--ts-small);
30-}
31-
32-.text-shadow {
33- text-shadow: var(--ts-medium);
34-}
+1-1twench_landing_page/components/Header/Header.css
@@ -6,5 +6,5 @@
66 @apply p-1 sm:p-3 border-black bg-background my-auto;
77 @apply rounded-full border-4 text-[12px] leading-[30.52px];
88 @apply cursor-pointer hover:brightness-150 sm:text-[28px];
9- @apply mr-3 sm:mr-0 text-shadow-[2px] sm:text-shadow-[3px] text-white;
9+ @apply mr-3 sm:mr-0 text-shadow-[1px] sm:text-shadow-sm text-white;
1010 }
+7-0twench_landing_page/tailwind.config.ts
@@ -13,6 +13,13 @@ const config: Config = {
1313 background: "var(--background)",
1414 foreground: "var(--foreground)",
1515 },
16+ textShadow: {
17+ default: "1px",
18+ sm: "2px",
19+ md: "3px",
20+ lg: "4px",
21+ xl: "5px",
22+ },
1623 },
1724 },
1825 plugins: [textShadowPlugin],