feat: add dark theme support

This commit is contained in:
Maël Gangloff
2024-12-20 20:21:05 +01:00
parent 425071bc23
commit ad8a99c291
3 changed files with 74 additions and 57 deletions

View File

@@ -36,7 +36,7 @@ export function DomainDiagram({domain}: { domain: Domain }) {
return <Flex style={{width: '100%', height: '100vh'}}>
<ReactFlow
fitView
colorMode='dark'
colorMode='system'
nodesConnectable={false}
edgesReconnectable={false}
nodes={nodes}