Skip to content

Commit 1f84b71

Browse files
committed
default hero text color to white + cleanup
1 parent 9dad765 commit 1f84b71

File tree

3 files changed

+2
-12
lines changed

3 files changed

+2
-12
lines changed

src/components/PageHero.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,24 +59,22 @@ const PageHero = ({
5959
)}
6060
>
6161
<div
62-
// TODO: container.sm width unavailable
6362
className={cn(
6463
"max-w-full lg:max-w-[640px]",
65-
6664
isReverse ? "pb-8 pt-0" : "pb-0 pt-8",
6765
"lg:pb-32 lg:pt-16",
6866
"ps-0 lg:ps-8",
6967
"me-0 lg:me-4"
7068
)}
7169
>
72-
<h1 className="mb-4 mt-0 text-md font-normal uppercase !leading-[1.4] text-text-300 lg:mt-8">
70+
<h1 className="mb-4 mt-0 text-md font-normal uppercase !leading-[1.4] lg:mt-8">
7371
{title}
7472
</h1>
7573

7674
<h2 className="mb-0 mt-8 max-w-full text-[2.5rem] font-bold !leading-[1.4] lg:mt-12 lg:text-5xl">
7775
{header}
7876
</h2>
79-
<p className="mb-8 mt-4 text-xl !leading-[1.4] text-text-200 lg:text-2xl">
77+
<p className="mb-8 mt-4 text-xl !leading-[1.4] lg:text-2xl">
8078
{subtitle}
8179
</p>
8280

src/styles/global.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,6 @@
127127
rgba(145, 234, 228, 0.2) 100%
128128
);
129129
--search-background: var(--background);
130-
--text-200: #666666;
131-
--text-300: #4c4c4c;
132130
}
133131

134132
[data-theme="dark"] {
@@ -197,8 +195,6 @@
197195
rgba(134, 253, 232, 0.08) 100%
198196
);
199197
--search-background: #4c4c4c;
200-
--text-200: #b2b2b2;
201-
--text-300: #cccccc;
202198
}
203199
}
204200

tailwind.config.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,6 @@ const config = {
102102
800: "var(--orange-800)",
103103
900: "var(--orange-900)",
104104
},
105-
text: {
106-
200: "var(--text-200)",
107-
300: "var(--text-300)",
108-
},
109105
primary: {
110106
DEFAULT: "var(--primary)",
111107
"high-contrast": "var(--primary-high-contrast)",

0 commit comments

Comments
 (0)