Skip to content

Commit 5b5ca5b

Browse files
committed
fix: buttons change colors unintendedly on light theme
1 parent 8060c72 commit 5b5ca5b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/app/[lang]/(home)/grants/apply-today.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export function ApplyToday() {
3636
>
3737
Apply Now
3838
</BisectButton>
39-
<BisectButton variant="secondary" href="https://docs.google.com/document/d/e/2PACX-1vSBk6nq86dzmAHZSc9lFpIBkwAzgOaQop9b5OrSwVkMBdrBZjCtXlNb7Rd9PQFImrVHrExWgK73R8KX/pub" className="text-white">
39+
<BisectButton variant="secondary" href="https://docs.google.com/document/d/e/2PACX-1vSBk6nq86dzmAHZSc9lFpIBkwAzgOaQop9b5OrSwVkMBdrBZjCtXlNb7Rd9PQFImrVHrExWgK73R8KX/pub" className="text-white hover:text-white">
4040
<BookOpenTextIcon /> View Guidelines
4141
</BisectButton>
4242
</div>

src/app/[lang]/(home)/grants/bisect-button.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ import { cn } from "@/lib/utils";
77

88
const BisectButtonVariants = {
99
primary:
10-
"border-[#1B57C4] bg-[#0C46B0]! hover:border-[#89E6C4CC]! hover:bg-[#2278E9]! text-white",
10+
"border-[#1B57C4] bg-[#0C46B0]! hover:border-[#89E6C4CC]! hover:bg-[#2278E9]! text-white hover:text-white",
1111
alternative:
1212
"border-[#E0EBFF] bg-white! hover:bg-[#CEDFFF]! hover:border-[#ACC9FF]! text-[#0C46B0] hover:text-[#0C46B0]",
1313
secondary:
14-
"dark:border-white/20 dark:bg-white/5! dark:hover:bg-white/15! dark:hover:border-white/50!",
14+
"dark:border-white/20 bg-white/5! hover:bg-white/15! dark:hover:border-white/50! dark:text-white! border-[#E0EBFF] hover:border-[#ACC9FF]!",
1515
};
1616

1717
export function BisectButton({

0 commit comments

Comments
 (0)