Working on dynamic theme

This commit is contained in:
2023-05-02 23:19:18 +02:00
parent c05d1a9e6e
commit 6640b319f0
10 changed files with 122 additions and 24 deletions

View File

@@ -48,9 +48,9 @@ export const useTheme = () => {
case ColorsTheme.YELLOW:
return 'bg-yellow-500'
case ColorsTheme.BLACK:
return 'bg-black dark:(bg-white text-black) text-white'
return 'bg-black dark:bg-white dark:text-black text-white'
case ColorsTheme.WHITE:
return 'bg-black dark:(bg-white text-black) text-white'
return 'bg-black dark:bg-white dark:text-black text-white'
}
})