refactor: complete border unification across all components

- Add border styles to JsonEditor (CodeMirror) with theme-responsive colors
- Update all dialog header/footer dividers to use border-border-default
- Replace remaining border-border instances in settings components
- Ensure all borders (including separators and container borders) use unified design system
- All borders now consistently use CSS variables and respond to light/dark themes
This commit is contained in:
Jason
2025-10-21 10:07:03 +08:00
parent 3626880663
commit cbd1903b90
7 changed files with 16 additions and 8 deletions

View File

@@ -51,7 +51,7 @@ export function ImportExportSection({
</p>
</header>
<div className="space-y-3 rounded-lg border border-border p-4">
<div className="space-y-3 rounded-lg border border-border-default p-4">
<Button
type="button"
className="w-full"
@@ -138,7 +138,7 @@ function ImportStatusMessage({
if (status === "importing") {
return (
<div className={`${baseClass} border-border bg-muted/40`}>
<div className={`${baseClass} border-border-default bg-muted/40`}>
<Loader2 className="mt-0.5 h-4 w-4 animate-spin text-muted-foreground" />
<div>
<p className="font-medium">{t("settings.importing")}</p>