ThatAIguyA world of ideas

THE CONSCIOUSNESS ATLAS
Read. Experiment. Follow the evidence.

ConsciousnessLearn · Explore · Joseph Anady

Janady13/llms-txt-hub / apps/web/components/mode-toggle.tsx

Source identity, revision, and recovered contents.

GitHub sourceSource text recovered

Source identity

FieldRecorded value
Source typeGitHub source
Original recordJanady13/llms-txt-hub / apps/web/components/mode-toggle.tsx
DateNot specified in source
RepositoryJanady13/llms-txt-hub
Revisione0f4bf978d4df168369c7601d9c5f5ea89e84377
Branchmain
Path or archive memberapps/web/components/mode-toggle.tsx
Original SHA-256da5ab1789db9bcc35a219c1d175b16d1ebce8c2cbae5b8dbc8600983ec453b39
Git blob SHA71ad2783d238537ad18b92eeeebae58f9de06527
Reading-copy SHA-256da5ab1789db9bcc35a219c1d175b16d1ebce8c2cbae5b8dbc8600983ec453b39

Original source ↗

Recovered source transcript

'use client' import { Button } from '@thedaviddias/design-system/button' import { Moon, Sun } from 'lucide-react' import { useTheme } from 'next-themes' export function ModeToggle() { const { theme, setTheme } = useTheme() return ( <Button variant="ghost" size="icon" onClick={() => setTheme(theme === 'light' ? 'dark' : 'light')} > <Sun className="h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0" /> <Moon className="absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100" /> <span className="sr-only">Toggle theme</span> </Button> ) }

Search equations, builds, manuscript text, and recovered sources.