We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 367c765 commit e30608cCopy full SHA for e30608c
src/App.tsx
@@ -28,6 +28,12 @@ function App() {
28
? parseFloat(queryParams.get('animationSpeed')!)
29
: undefined;
30
31
+ const body = document.querySelector('body');
32
+ if (body) {
33
+ body.classList.add(isDarkMode ? 'dark' : 'light');
34
+ body.style.backgroundColor = customColors.background || '';
35
+ }
36
+
37
return (
38
<div className='min-h-screen flex items-center justify-center p-4'>
39
<EnumerationDemo
0 commit comments