diff --git a/apps/ui/src/components/Editor.tsx b/apps/ui/src/components/Editor.tsx index 9f1b9cc..40bf538 100644 --- a/apps/ui/src/components/Editor.tsx +++ b/apps/ui/src/components/Editor.tsx @@ -8,7 +8,7 @@ const Editor: React.FC = () => { useEffect(() => { monaco?.editor.defineTheme('manas-ai', { - base: 'vs-dark', + base: isDarkMode ? 'vs-dark' : 'vs', inherit: true, rules: [], colors: { @@ -23,6 +23,7 @@ const Editor: React.FC = () => {