feat: inject dynamic ThemeListener for fonts and colors
This commit is contained in:
parent
b7fc94dea2
commit
d85396f049
1 changed files with 2 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import { ThemeListener } from './components/layout/ThemeListener';
|
||||
import { motion, useScroll, useSpring } from 'framer-motion';
|
||||
import Navbar from './components/Navbar';
|
||||
import Hero from './components/Hero';
|
||||
|
|
@ -25,6 +26,7 @@ export default function App() {
|
|||
|
||||
return (
|
||||
<div className="min-h-screen bg-background text-foreground selection:bg-white/20">
|
||||
<ThemeListener />
|
||||
<motion.div
|
||||
className="fixed top-0 left-0 right-0 h-1 bg-white origin-left z-50"
|
||||
style={{ scaleX }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue