'use client' import * as React from 'react' import { Button } from '@/components/ui/button' import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from '@/components/ui/card' import { Separator } from '@/components/ui/separator' import { useTheme } from 'next-themes' export default function ThemePage() { const { theme, setTheme } = useTheme() const [mounted, setMounted] = React.useState(false) // Prevent hydration mismatch React.useEffect(() => { setMounted(true) }, []) if (!mounted) { return null } return (
Explore the color system and design tokens
text-4xl font-bold
text-3xl font-bold
text-2xl font-semibold
text-xl font-semibold
Body text (base)
text-base
Small text (sm)
text-sm
Extra small (xs)
text-xs
Edit app/globals.css:
{`:root {
--primary: 270 80% 45%; /* Change to your brand color */
--radius: 0.75rem; /* Adjust border radius */
}`}
Find HSL values using:{' '} HSL Color Picker
Ensure WCAG compliance using:{' '} WebAIM Contrast Checker
Always verify colors look good in both light and dark mode
{label}
{description}