Skip to content

Commit 3bd0334

Browse files
DerGeraetKclaude
andcommitted
fix(vibe-check): make logo readable in dark mode
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 15d1b5d commit 3bd0334

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

src/pages/vibe-check/index.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import OSButton from 'components/OSButton'
1010
import { DebugContainerQuery } from 'components/DebugContainerQuery'
1111

1212
import SuggestedLinksBlock from 'components/SuggestedLinksBlock'
13+
import { useApp } from '../../context/App'
1314

1415
const FinalSlide = () => (
1516
<div className="flex-1 px-4">
@@ -58,6 +59,7 @@ function Slide({ card, slideIndex }: { card: any; slideIndex: number }) {
5859

5960
export default function Ick() {
6061
const [slideIndex, setSlideIndex] = useState(0)
62+
const { siteSettings } = useApp()
6163

6264
const cards = HomepageCards
6365
const totalSlides = cards.length + 1 // +1 for the final custom slide
@@ -102,7 +104,12 @@ export default function Ick() {
102104
{!isFinalSlide && (
103105
<header className="pb-4">
104106
<h1 className="text-2xl flex items-center justify-center gap-2">
105-
You'll hate <Logo className="relative -top-px" /> if...
107+
You'll hate{' '}
108+
<Logo
109+
className="relative -top-px"
110+
fill={siteSettings.theme === 'dark' ? 'white' : undefined}
111+
/>{' '}
112+
if...
106113
</h1>
107114
</header>
108115
)}

0 commit comments

Comments
 (0)