fix: invert toggle logic and add styling

This commit is contained in:
Stevan Freeborn
2023-04-21 09:40:29 -05:00
parent 96e456069b
commit b2ac193c91
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -113,6 +113,7 @@ export default function SideBar({
setTheme(theme === 'light' ? 'dark' : 'light')
}
type="checkbox"
checked={theme === 'dark'}
/>
<span
className={`${styles.slider} ${styles.round}`}