mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-09-20 22:44:52 +00:00
add dark theme
This commit is contained in:
@@ -51,6 +51,7 @@ export default function Editor(props) {
|
||||
zoom: 1,
|
||||
pan: { x: 0, y: 0 },
|
||||
showGrid: true,
|
||||
mode: "light",
|
||||
});
|
||||
const [tasks, setTasks] = useState([]);
|
||||
const [messages, setMessages] = useState([]);
|
||||
@@ -477,7 +478,7 @@ export default function Editor(props) {
|
||||
<TaskContext.Provider
|
||||
value={{ tasks, setTasks, updateTask }}
|
||||
>
|
||||
<div className="h-[100vh] overflow-hidden">
|
||||
<div className="h-[100vh] overflow-hidden theme">
|
||||
<ControlPanel />
|
||||
<div
|
||||
className={
|
||||
|
Reference in New Issue
Block a user