Skip to content

Commit 295bd3d

Browse files
docs: Fixed pricing page colors (#1901)
* Fixed colors on pricing page * Fixed home page link
1 parent dee5acb commit 295bd3d

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

docs/app/(home)/faq/FAQ.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export function FAQ() {
5959
<dt className="text-base font-semibold leading-7 text-gray-900 dark:text-white">
6060
{faq.question}
6161
</dt>
62-
<dd className="mt-2 text-base leading-7 text-gray-600 dark:text-gray-300">
62+
<dd className="prose mt-2 text-base leading-7 text-gray-600 dark:text-gray-300">
6363
{faq.answer}
6464
</dd>
6565
</div>

docs/app/pricing/layout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import { Footer } from "@/components/Footer";
55

66
export default function Layout({ children }: { children: ReactNode }) {
77
return (
8-
<HomeLayout {...baseOptions}>
9-
{children}
8+
<>
9+
<HomeLayout {...baseOptions}>{children}</HomeLayout>
1010
<Footer />
11-
</HomeLayout>
11+
</>
1212
);
1313
}

docs/app/pricing/tiers.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function TierTitle({ tier }: { tier: Tier }) {
3333

3434
function TierPrice({ tier, frequency }: { tier: Tier; frequency: Frequency }) {
3535
return (
36-
<p className="text-md font-semibold text-[#00000080] dark:text-[#FFFFFFB2]">
36+
<p className="text-md text-fd-muted-foreground font-semibold">
3737
{typeof tier.price === "string"
3838
? tier.price
3939
: `$${tier.price[frequency]} / ${frequency}`}
@@ -92,7 +92,7 @@ function TierCTAButton({ tier }: { tier: Tier }) {
9292
aria-describedby={tier.id}
9393
className={classNames(
9494
tier.mostPopular
95-
? "text-fd-foreground bg-indigo-600 shadow-sm hover:bg-indigo-500"
95+
? "text-fd-background dark:text-fd-foreground bg-indigo-600 shadow-sm hover:bg-indigo-500"
9696
: "text-indigo-600 ring-1 ring-inset ring-indigo-600 hover:text-indigo-500 hover:ring-indigo-500",
9797
"mt-8 block cursor-pointer rounded-md px-3 py-2 text-center text-sm font-semibold leading-6 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",
9898
)}
@@ -104,7 +104,7 @@ function TierCTAButton({ tier }: { tier: Tier }) {
104104

105105
function TierFeature({ feature }: { feature: React.ReactNode }) {
106106
return (
107-
<li className="flex gap-x-3">
107+
<li className="prose flex gap-x-3 text-sm">
108108
<CheckIcon
109109
aria-hidden="true"
110110
className="h-6 w-5 flex-none text-indigo-600"

0 commit comments

Comments
 (0)