Skip to content

Commit 99a71c5

Browse files
committed
docs: force black footer
1 parent f7d1964 commit 99a71c5

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

website/src/components/layout/footer.tsx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,15 @@ const FEATURES = [
3333
button: {
3434
text: 'View on GitHub',
3535
href: EXTERNAL_LINKS.GITHUB,
36-
className: 'bg-border hover:bg-border/80 text-foreground',
36+
className:
37+
'not-dark:bg-background not-dark:hover:bg-background/80 not-dark:text-foreground',
3738
},
3839
},
3940
];
4041

4142
const Footer = () => {
42-
const themeClass = 'bg-foreground text-background [&_*]:border-border/30';
43+
const themeClass =
44+
'not-dark:bg-foreground not-dark:text-background [&_*]:not-dark:border-border/30';
4345

4446
return (
4547
<footer className={cn('overflow-hidden', themeClass)}>
@@ -74,7 +76,7 @@ const Footer = () => {
7476
{plan.features.map((feature) => (
7577
<li key={feature.name} className="flex items-start gap-2">
7678
<span className="flex-shrink-0">{feature.icon}</span>
77-
<span className="text-muted-foreground font-medium">
79+
<span className="not-dark:text-muted-foreground font-medium">
7880
{feature.name}
7981
</span>
8082
</li>
@@ -134,10 +136,10 @@ const Footer = () => {
134136
<FaXTwitter className="size-5" />
135137
</a>
136138
</div>
137-
<div className="bordered-div-padding flex items-center border-t text-[#00A656] md:border-t-0">
139+
<div className="bordered-div-padding flex items-center border-t not-dark:text-[#00A656] md:border-t-0">
138140
<span
139141
className={cn(
140-
'me-3 h-2 w-2 animate-pulse rounded-full bg-[#00A656]',
142+
'me-3 h-2 w-2 animate-pulse rounded-full not-dark:bg-[#00A656]',
141143
)}
142144
></span>
143145
<span className="font-medium">Waiting for jobs 🤙</span>

0 commit comments

Comments
 (0)