chore: legacy cleanup

Signed-off-by: Dmytro Stanchiev <git@dmytros.dev>
This commit is contained in:
2026-04-21 20:24:04 -04:00
parent 915e0b7cf8
commit 276fbad45e
10 changed files with 95 additions and 117 deletions

View File

@@ -70,7 +70,7 @@ export const DragDropContainer = ({
animate={{ opacity: 1 }}
exit={{ opacity: 0 }}
transition={{ duration: 0.15 }}
className="absolute inset-0 z-40 rounded-xl border-2 border-dashed border-primary/50 bg-primary/5 backdrop-blur-sm flex items-center justify-center"
className="absolute inset-0 z-40 flex items-center justify-center rounded-[10px] border-2 border-dashed border-primary/40 bg-background/92"
>
<div className="flex flex-col items-center gap-2 text-primary">
<FileUp className="h-8 w-8" />

View File

@@ -189,7 +189,7 @@ const ServerLocationInput = ({
value={value}
/>
{showSuggestions ? (
<div className="absolute left-0 right-0 top-[calc(100%+0.375rem)] z-20 rounded-md border border-border/60 bg-background/95 p-1 shadow-lg backdrop-blur-sm">
<div className="absolute left-0 right-0 top-[calc(100%+0.375rem)] z-20 rounded-[10px] bg-popover p-1.5 shadow-[0_0_0_1px_rgba(0,0,0,0.08),0_8px_24px_rgba(0,0,0,0.08)]">
<div className="space-y-1" role="listbox">
{suggestions.map((suggestion) => {
const suggestionKey =
@@ -198,7 +198,7 @@ const ServerLocationInput = ({
return (
<div key={suggestionKey}>
<button
className="w-full rounded-sm px-3 py-2 text-left text-sm text-foreground transition hover:bg-accent hover:text-accent-foreground"
className="w-full rounded-[6px] px-3 py-2 text-left text-sm text-foreground transition hover:bg-accent hover:text-accent-foreground"
onClick={() => handleSuggestionSelect(suggestion)}
type="button"
>

View File

@@ -69,12 +69,12 @@ export function SettingsPanel({
</Label>
<p className="text-sm leading-relaxed text-muted-foreground">
When enabled, a single AI-generated event will be created
directly instead of opening the review modal.
directly instead of waiting on extra review steps.
</p>
</div>
<Label
htmlFor="settings-skip-ai-review"
className="min-h-11 cursor-pointer justify-between rounded-xl border border-border/60 bg-muted/35 px-3 py-2"
className="min-h-11 cursor-pointer justify-between rounded-[8px] bg-muted px-3 py-2 shadow-[inset_0_0_0_1px_rgba(0,0,0,0.05)]"
>
<span className="text-sm font-medium text-foreground">
{settings.skipAiReview
@@ -115,7 +115,7 @@ export function SettingsPanel({
</div>
<Label
htmlFor="settings-ai-enabled"
className="min-h-11 cursor-pointer justify-between rounded-xl border border-border/60 bg-muted/35 px-3 py-2"
className="min-h-11 cursor-pointer justify-between rounded-[8px] bg-muted px-3 py-2 shadow-[inset_0_0_0_1px_rgba(0,0,0,0.05)]"
>
<span className="text-sm font-medium text-foreground">
{settings.aiEnabled
@@ -151,7 +151,7 @@ export function SettingsPanel({
</p>
</div>
<dl className="grid gap-3 sm:grid-cols-2 lg:grid-cols-1">
<div className="rounded-xl border border-border/60 bg-muted/35 p-3">
<div className="rounded-[8px] bg-muted p-3 shadow-[inset_0_0_0_1px_rgba(0,0,0,0.05)]">
<dt className="text-xs font-semibold uppercase tracking-[0.18em] text-muted-foreground">
Direct create preference
</dt>
@@ -161,7 +161,7 @@ export function SettingsPanel({
: `${valuePrefix}: off`}
</dd>
</div>
<div className="rounded-xl border border-border/60 bg-muted/35 p-3">
<div className="rounded-[8px] bg-muted p-3 shadow-[inset_0_0_0_1px_rgba(0,0,0,0.05)]">
<dt className="text-xs font-semibold uppercase tracking-[0.18em] text-muted-foreground">
AI integrations
</dt>