mirror of
https://github.com/emuplace/folium.emuplace.app.git
synced 2024-11-25 11:52:55 +01:00
Added automatic light and dark mode
This commit is contained in:
parent
44c7ba3ce7
commit
483952c1b4
@ -9,8 +9,10 @@ import { IconInfoCircle } from '@tabler/icons-react';
|
||||
export default function Checklist() {
|
||||
const icon = <IconInfoCircle />;
|
||||
|
||||
const date = new Date();
|
||||
|
||||
return (
|
||||
<MantineProvider theme={theme}>
|
||||
<MantineProvider theme={theme} forceColorScheme={date.getHours() >= 7 && date.getHours() <= 19 ? "light" : "dark"}>
|
||||
<Container my={'xl'}>
|
||||
<Badge>
|
||||
Checklist
|
||||
|
Loading…
Reference in New Issue
Block a user