radix select

This commit is contained in:
Sanster
2022-04-28 13:57:22 +08:00
parent bf1e990f00
commit a297a6d3d0
14 changed files with 499 additions and 303 deletions

View File

@@ -29,8 +29,12 @@ function App() {
setTheme(newTheme)
})
useEffect(() => {
document.body.setAttribute('data-theme', theme)
}, [theme])
return (
<div className="lama-cleaner" data-theme={theme}>
<div className="lama-cleaner">
<Header />
{file ? <Workspace file={file} /> : <LandingPage />}
</div>