🛠 Development Log
Today I realized I had accidentally made my own life much harder 😄
FramerKit supports both Light and Dark themes, and every component has its own Light and Dark version
The tricky part is that the preview page should always follow the website theme, while the component itself should display in the selected variant
So if the website is in Light mode, the page stays light-even when you're previewing a Dark component
And of course, the exact opposite has to work in Dark mode
It sounded simple when I designed it
Now I'm busy untangling all the logic behind it 🚀
🛠 Development Log
Today I realized I had accidentally made my own life much harder 😄
FramerKit supports both Light and Dark themes, and every component has its own Light and Dark version
The tricky part is that the preview page should always follow the website theme, while the component itself should display in the selected variant
So if the website is in Light mode, the page stays light-even when you're previewing a Dark component
And of course, the exact opposite has to work in Dark mode
It sounded simple when I designed it
Now I'm busy untangling all the logic behind it 🚀