style: update code editor UI spacing and theme configuration

This commit is contained in:
ngc2207 2025-01-07 23:52:42 +08:00
parent 93d8e592cc
commit 4476348bcb
2 changed files with 4 additions and 4 deletions

View File

@ -18,9 +18,9 @@ function App() {
return (
<div className="h-screen bg-[#282c34] dark overflow-hidden">
<Tabs defaultValue="code-editor" className="h-full pt-2">
<ScrollArea>
<TabsList className="gap-1 bg-transparent px-4">
<Tabs defaultValue="code-editor" className="h-full mt-2">
<ScrollArea className="border-b border-[#3e4452]">
<TabsList className="gap-1 bg-transparent px-4 mb-2">
<TabsTrigger
value="code-editor"
className="rounded-full data-[state=active]:bg-primary data-[state=active]:text-primary-foreground data-[state=active]:shadow-none"

View File

@ -1,6 +1,6 @@
import { SupportedEditorLanguage } from "@/constants/languages";
export const DEFAULT_EDITOR_THEME = "vitesse-dark";
export const DEFAULT_EDITOR_THEME = "one-dark-pro";
export const DEFAULT_EDITOR_LANGUAGE: SupportedEditorLanguage = "c";