feat: inject dynamic ThemeListener for fonts and colors

This commit is contained in:
AI Studio 2026-05-19 21:59:23 +00:00
parent b7fc94dea2
commit d85396f049

View file

@ -1,3 +1,4 @@
import { ThemeListener } from './components/layout/ThemeListener';
import { motion, useScroll, useSpring } from 'framer-motion'; import { motion, useScroll, useSpring } from 'framer-motion';
import Navbar from './components/Navbar'; import Navbar from './components/Navbar';
import Hero from './components/Hero'; import Hero from './components/Hero';
@ -25,6 +26,7 @@ export default function App() {
return ( return (
<div className="min-h-screen bg-background text-foreground selection:bg-white/20"> <div className="min-h-screen bg-background text-foreground selection:bg-white/20">
<ThemeListener />
<motion.div <motion.div
className="fixed top-0 left-0 right-0 h-1 bg-white origin-left z-50" className="fixed top-0 left-0 right-0 h-1 bg-white origin-left z-50"
style={{ scaleX }} style={{ scaleX }}