Skip to content

Open-source personal finance manager. Self-hosted, privacy-first.

fix: white form field backgrounds in light mode (#517)

Leonardo Zanivan10a3aca8ce00
diff --git a/frontend/src/components/agents/agent-form-dialog.tsx b/frontend/src/components/agents/agent-form-dialog.tsx
index 1e8ea3d5..88848efc 100644
--- a/frontend/src/components/agents/agent-form-dialog.tsx
+++ b/frontend/src/components/agents/agent-form-dialog.tsx
@@ -150,7 +150,7 @@ export function AgentFormDialog({ open, onOpenChange, agent }: Props) {
value={systemPrompt}
onChange={(e) => setSystemPrompt(e.target.value)}
rows={6}
- className="rounded-md border bg-background px-3 py-2 text-sm font-mono"
+ className="rounded-md border bg-card px-3 py-2 text-sm font-mono"
placeholder={t('agents.form.systemPromptPlaceholder')}
/>
</div>
diff --git a/frontend/src/components/agents/chat-panel.tsx b/frontend/src/components/agents/chat-panel.tsx
index f34caa17..d9a3e7f3 100644
--- a/frontend/src/components/agents/chat-panel.tsx
+++ b/frontend/src/components/agents/chat-panel.tsx
@@ -312,7 +312,7 @@ export function ChatPanel({ agent, conversationId, onConversationCreated, focusS
// h-10 matches the default Button height so the input + send
// button line up when empty. Auto-grow above lifts it as the
// user types more lines.
- className="flex-1 h-10 max-h-[200px] rounded-md border bg-background px-3 py-2 text-sm resize-none leading-5 overflow-y-auto"
+ className="flex-1 h-10 max-h-[200px] rounded-md border bg-card px-3 py-2 text-sm resize-none leading-5 overflow-y-auto"
onKeyDown={(e) => {
// Enter sends; Shift+Enter inserts a newline. IME composition
// (e.g. accented chars on Mac, CJK input) must not be hijacked.
diff --git a/frontend/src/components/agents/conversation-row.tsx b/frontend/src/components/agents/conversation-row.tsx
index 58042322..c36cec9d 100644
--- a/frontend/src/components/agents/conversation-row.tsx
+++ b/frontend/src/components/agents/conversation-row.tsx
@@ -81,7 +81,7 @@ export function ConversationRow({ conv, agentId, active, onPick, onDeleted }: Pr
setEditing(false)
}
}}
- className="flex-1 min-w-0 rounded-sm border bg-background px-1.5 py-0.5 text-sm"
+ className="flex-1 min-w-0 rounded-sm border bg-card px-1.5 py-0.5 text-sm"
/>
<button
type="button"
diff --git a/frontend/src/components/bulk-add-to-group-dialog.tsx b/frontend/src/components/bulk-add-to-group-dialog.tsx
index 1b2aff57..e98dcbd0 100644
--- a/frontend/src/components/bulk-add-to-group-dialog.tsx
+++ b/frontend/src/components/bulk-add-to-group-dialog.tsx
@@ -297,7 +297,7 @@ function BulkAddToGroupForm({
</button>
</div>
<select
- className="w-full border border-border rounded-md px-2 py-1.5 text-sm bg-background"
+ className="w-full border border-border rounded-md px-2 py-1.5 text-sm bg-card"
value={groupId}
onChange={(e) => setExplicitGroupId(e.target.value)}
>
@@ -309,7 +309,7 @@ function BulkAddToGroupForm({
<div className="space-y-1">
<Label className="text-xs">{t('splitGroups.shareType')}</Label>
<select
- className="w-full border border-border rounded-md px-2 py-1.5 text-sm bg-background"
+ className="w-full border border-border rounded-md px-2 py-1.5 text-sm bg-card"
value={shareType}
onChange={(e) => setShareType(e.target.value as BulkShareType)}
>
diff --git a/frontend/src/components/category-filter-dropdown.tsx b/frontend/src/components/category-filter-dropdown.tsx
index e32442f5..e9c83c6b 100644
--- a/frontend/src/components/category-filter-dropdown.tsx
+++ b/frontend/src/components/category-filter-dropdown.tsx
@@ -56,7 +56,7 @@ export function CategoryFilterDropdown({
type="button"
className={
triggerClassName ??
- `inline-flex min-w-[10rem] h-8 items-center gap-1.5 justify-between rounded-md border border-border px-3 text-sm bg-background hover:bg-muted transition-colors focus:outline-none focus-visible:ring-ring/30 focus-visible:ring-[2px]`
+ `inline-flex min-w-[10rem] h-8 items-center gap-1.5 justify-between rounded-md border border-border px-3 text-sm bg-card hover:bg-muted transition-colors focus:outline-none focus-visible:ring-ring/30 focus-visible:ring-[2px]`
}
>
<Tag size={13} className="text-muted-foreground" />
diff --git a/frontend/src/components/category-select.tsx b/frontend/src/components/category-select.tsx
index 470c15f3..10278be5 100644
--- a/frontend/src/components/category-select.tsx
+++ b/frontend/src/components/category-select.tsx
@@ -60,7 +60,7 @@ export function CategorySelect({
type="button"
disabled={disabled}
className={cn(
- "flex w-full items-center justify-between gap-2 rounded-md border border-input bg-transparent px-3 py-2 text-sm text-left shadow-xs transition-[color,box-shadow] outline-hidden focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 dark:bg-input/30 dark:hover:bg-input/50 h-9 cursor-pointer",
+ "flex w-full items-center justify-between gap-2 rounded-md border border-input bg-card px-3 py-2 text-sm text-left shadow-xs transition-[color,box-shadow] outline-hidden focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 dark:bg-input/30 dark:hover:bg-input/50 h-9 cursor-pointer",
className
)}
>
diff --git a/frontend/src/components/group-form.tsx b/frontend/src/components/group-form.tsx
index b84e0011..24d97952 100644
--- a/frontend/src/components/group-form.tsx
+++ b/frontend/src/components/group-form.tsx
@@ -55,7 +55,7 @@ export function GroupForm({
<div className="space-y-2">
<Label>{t('splitGroups.kindLabel')}</Label>
<select
- className="w-full border border-border rounded-md px-3 py-2 text-sm bg-background h-9 focus:outline-none focus-visible:ring-ring/30 focus-visible:ring-[2px]"
+ className="w-full border border-border rounded-md px-3 py-2 text-sm bg-card h-9 focus:outline-none focus-visible:ring-ring/30 focus-visible:ring-[2px]"
value={kind}
onChange={(e) => onChangeKind(e.target.value as GroupKind)}
>
@@ -70,7 +70,7 @@ export function GroupForm({
<div className="space-y-2">
<Label>{t('splitGroups.defaultCurrency')}</Label>
<select
- className="w-full border border-border rounded-md px-3 py-2 text-sm bg-background h-9 focus:outline-none focus-visible:ring-ring/30 focus-visible:ring-[2px]"
+ className="w-full border border-border rounded-md px-3 py-2 text-sm bg-card h-9 focus:outline-none focus-visible:ring-ring/30 focus-visible:ring-[2px]"
value={defaultCurrency}
onChange={(e) => onChangeDefaultCurrency(e.target.value)}
>
@@ -86,7 +86,7 @@ export function GroupForm({
<div className="space-y-2">
<Label>{t('splitGroups.notes')}</Label>
<textarea
- className="w-full border border-input rounded-md px-3 py-2 text-sm bg-background resize-none h-20"
+ className="w-full border border-input rounded-md px-3 py-2 text-sm bg-card resize-none h-20"
value={notes}
onChange={(e) => onChangeNotes(e.target.value)}
/>
diff --git a/frontend/src/components/import-review-table.tsx b/frontend/src/components/import-review-table.tsx
index 75babd13..bca4baf6 100644
--- a/frontend/src/components/import-review-table.tsx
+++ b/frontend/src/components/import-review-table.tsx
@@ -116,7 +116,7 @@ export function ImportReviewTable({
placeholder={t('import.searchTransactions')}
value={searchQuery}
onChange={(e) => { onSearchChange(e.target.value); onPageChange(1) }}
- className="max-w-xs h-8 text-sm border border-border rounded-md px-3 bg-background focus:outline-none focus-visible:ring-ring/30 focus-visible:ring-[2px]"
+ className="max-w-xs h-8 text-sm border border-border rounded-md px-3 bg-card focus:outline-none focus-visible:ring-ring/30 focus-visible:ring-[2px]"
/>
<CategoryFilterDropdown
categoryIds={filterCategoryIds}
@@ -128,7 +128,7 @@ export function ImportReviewTable({
label={t('import.filterCategory')}
/>
<select
- className="border border-border rounded-md px-3 py-1.5 text-sm bg-background focus:outline-none focus-visible:ring-ring/30 focus-visible:ring-[2px]"
+ className="border border-border rounded-md px-3 py-1.5 text-sm bg-card focus:outline-none focus-visible:ring-ring/30 focus-visible:ring-[2px]"
value={statusFilter}
onChange={(e) => { onStatusFilterChange(e.target.value as 'all' | 'included' | 'excluded'); onPageChange(1) }}
>
@@ -197,7 +197,7 @@ export function ImportReviewTable({
groups={groups}
placeholder={t('import.noCategory')}
allowNone
- className="w-full border border-border rounded-md px-2 py-1 text-xs bg-background focus:outline-none focus-visible:ring-ring/30 focus-visible:ring-[2px]"
+ className="w-full border border-border rounded-md px-2 py-1 text-xs bg-card focus:outline-none focus-visible:ring-ring/30 focus-visible:ring-[2px]"
/>
</TableCell>
<TableCell className="py-2.5 pr-4">
diff --git a/frontend/src/components/member-form.tsx b/frontend/src/components/member-form.tsx
index 20ae2d21..30c04b9e 100644
--- a/frontend/src/components/member-form.tsx
+++ b/frontend/src/components/member-form.tsx
@@ -48,7 +48,7 @@ export function MemberForm({
<div className="space-y-2">
<Label>{t('splitGroups.linkedUser')}</Label>
<select
- className="w-full border border-border rounded-md px-3 py-2 text-sm bg-background h-9 focus:outline-none focus-visible:ring-ring/30 focus-visible:ring-[2px]"
+ className="w-full border border-border rounded-md px-3 py-2 text-sm bg-card h-9 focus:outline-none focus-visible:ring-ring/30 focus-visible:ring-[2px]"
value={linkedUserId ?? ''}
onChange={(e) => {
const id = e.target.value || null
diff --git a/frontend/src/components/mobile-transactions-filter-menu.tsx b/frontend/src/components/mobile-transactions-filter-menu.tsx
index 1bccc1c4..8b50dedc 100644
--- a/frontend/src/components/mobile-transactions-filter-menu.tsx
+++ b/frontend/src/components/mobile-transactions-filter-menu.tsx
@@ -367,7 +367,7 @@ function MobileAmountField({
placeholder="0.00"
value={value}
onChange={(event) => onChange(event.target.value)}
- className="mt-1 h-9 w-full rounded-md border border-border bg-background px-2 text-[13px] font-normal tracking-normal text-foreground outline-none focus:border-primary/60"
+ className="mt-1 h-9 w-full rounded-md border border-border bg-card px-2 text-[13px] font-normal tracking-normal text-foreground outline-none focus:border-primary/60"
/>
</label>
)
diff --git a/frontend/src/components/token-connect-dialog.tsx b/frontend/src/components/token-connect-dialog.tsx
index e3e23be3..321205b1 100644
--- a/frontend/src/components/token-connect-dialog.tsx
+++ b/frontend/src/components/token-connect-dialog.tsx
@@ -130,7 +130,7 @@ export function TokenConnectDialog({
</label>
<textarea
id="securo-token-input"
- className="w-full min-h-[110px] rounded-md border border-input bg-background px-3 py-2 text-sm font-mono resize-y focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-0"
+ className="w-full min-h-[110px] rounded-md border border-input bg-card px-3 py-2 text-sm font-mono resize-y focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-0"
placeholder={t('accounts.tokenConnect.tokenPlaceholder')}
value={token}
onChange={(e) => setToken(e.target.value)}
diff --git a/frontend/src/components/transaction-dialog.tsx b/frontend/src/components/transaction-dialog.tsx
index 41c16795..05d582d8 100644
--- a/frontend/src/components/transaction-dialog.tsx
+++ b/frontend/src/components/transaction-dialog.tsx
@@ -1318,7 +1318,7 @@ function AddTransactionToRuleDialog({
<button
type="button"
disabled={loadingRules || loading || rules.length === 0}
- className="flex w-full items-center justify-between gap-2 rounded-md border border-input bg-transparent px-3 py-2 text-sm text-left shadow-xs transition-[color,box-shadow] outline-hidden focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 dark:bg-input/30 dark:hover:bg-input/50 h-9 cursor-pointer"
+ className="flex w-full items-center justify-between gap-2 rounded-md border border-input bg-card px-3 py-2 text-sm text-left shadow-xs transition-[color,box-shadow] outline-hidden focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 dark:bg-input/30 dark:hover:bg-input/50 h-9 cursor-pointer"
>
<span className="flex-1 truncate text-left">
{loadingRules ? (
diff --git a/frontend/src/components/transaction-splits-section.tsx b/frontend/src/components/transaction-splits-section.tsx
index 9aacc6a6..504e844c 100644
--- a/frontend/src/components/transaction-splits-section.tsx
+++ b/frontend/src/components/transaction-splits-section.tsx
@@ -338,7 +338,7 @@ export function TransactionSplitsSection({
</button>
</div>
<select
- className="w-full border border-border rounded-md px-2 py-1.5 text-sm bg-background"
+ className="w-full border border-border rounded-md px-2 py-1.5 text-sm bg-card"
value={groupId}
onChange={(e) => setGroupId(e.target.value)}
>
@@ -352,7 +352,7 @@ export function TransactionSplitsSection({
<div className="space-y-1">
<Label className="text-xs">{t('splitGroups.shareType')}</Label>
<select
- className="w-full border border-border rounded-md px-2 py-1.5 text-sm bg-background"
+ className="w-full border border-border rounded-md px-2 py-1.5 text-sm bg-card"
value={shareType}
onChange={(e) => setShareType(e.target.value as ShareType)}
>
diff --git a/frontend/src/components/transactions-filter-bar.tsx b/frontend/src/components/transactions-filter-bar.tsx
index df7d0b4e..b138c447 100644
--- a/frontend/src/components/transactions-filter-bar.tsx
+++ b/frontend/src/components/transactions-filter-bar.tsx
@@ -378,7 +378,7 @@ export function TransactionsFilterBar({
type="button"
aria-label={t('transactions.filtersBar.filters')}
className={cn(
- 'inline-flex h-8 items-center gap-1.5 rounded-md border border-border/80 bg-background px-2.5 text-[12px] font-medium text-muted-foreground transition-colors',
+ 'inline-flex h-8 items-center gap-1.5 rounded-md border border-border/80 bg-card px-2.5 text-[12px] font-medium text-muted-foreground transition-colors',
'hover:bg-muted hover:text-foreground',
menuOpen && 'bg-muted text-foreground',
hasAnyFilter && 'border-primary/30 text-primary hover:text-primary',
@@ -906,7 +906,7 @@ export function TransactionsFilterBar({
applyAmountRange()
}
}}
- className="h-8 w-full rounded-md border border-border bg-background px-2 text-[13px] outline-none focus:border-primary/60 focus:ring-[2px] focus:ring-primary/15"
+ className="h-8 w-full rounded-md border border-border bg-card px-2 text-[13px] outline-none focus:border-primary/60 focus:ring-[2px] focus:ring-primary/15"
/>
</div>
<div className="flex-1">
@@ -927,7 +927,7 @@ export function TransactionsFilterBar({
applyAmountRange()
}
}}
- className="h-8 w-full rounded-md border border-border bg-background px-2 text-[13px] outline-none focus:border-primary/60 focus:ring-[2px] focus:ring-primary/15"
+ className="h-8 w-full rounded-md border border-border bg-card px-2 text-[13px] outline-none focus:border-primary/60 focus:ring-[2px] focus:ring-primary/15"
/>
</div>
</div>
diff --git a/frontend/src/components/transfer-dialog.tsx b/frontend/src/components/transfer-dialog.tsx
index 17c878fc..f5066a4a 100644
--- a/frontend/src/components/transfer-dialog.tsx
+++ b/frontend/src/components/transfer-dialog.tsx
@@ -125,7 +125,7 @@ export function TransferDialog({
<div className="space-y-2">
<Label>{t('transactions.transferFromAccount')}</Label>
<select
- className="w-full border border-border rounded-md px-3 py-2 text-sm bg-background focus:outline-none focus-visible:ring-ring/30 focus-visible:ring-[2px]"
+ className="w-full border border-border rounded-md px-3 py-2 text-sm bg-card focus:outline-none focus-visible:ring-ring/30 focus-visible:ring-[2px]"
value={fromAccountId}
onChange={(e) => {
setFromAccountId(e.target.value)
@@ -149,7 +149,7 @@ export function TransferDialog({
<div className="space-y-2">
<Label>{t('transactions.transferToAccount')}</Label>
<select
- className="w-full border border-border rounded-md px-3 py-2 text-sm bg-background focus:outline-none focus-visible:ring-ring/30 focus-visible:ring-[2px]"
+ className="w-full border border-border rounded-md px-3 py-2 text-sm bg-card focus:outline-none focus-visible:ring-ring/30 focus-visible:ring-[2px]"
value={toAccountId}
onChange={(e) => {
setToAccountId(e.target.value)
@@ -256,7 +256,7 @@ export function TransferDialog({
<span className="text-muted-foreground font-normal text-xs">({t('transactions.notesHint')})</span>
</Label>
<textarea
- className="w-full border border-input rounded-md px-3 py-2 text-sm bg-background resize-none focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-0"
+ className="w-full border border-input rounded-md px-3 py-2 text-sm bg-card resize-none focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-0"
rows={2}
value={notes}
onChange={(e) => setNotes(e.target.value)}
diff --git a/frontend/src/components/ui/input.tsx b/frontend/src/components/ui/input.tsx
index 20906288..42944fdc 100644
--- a/frontend/src/components/ui/input.tsx
+++ b/frontend/src/components/ui/input.tsx
@@ -8,7 +8,7 @@ function Input({ className, type, ...props }: React.ComponentProps<"input">) {
type={type}
data-slot="input"
className={cn(
- "file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
+ "file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-card px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
"focus-visible:border-ring focus-visible:ring-ring/30 focus-visible:ring-[2px]",
"aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
className
diff --git a/frontend/src/components/ui/select.tsx b/frontend/src/components/ui/select.tsx
index 182ba554..105fe231 100644
--- a/frontend/src/components/ui/select.tsx
+++ b/frontend/src/components/ui/select.tsx
@@ -35,7 +35,7 @@ function SelectTrigger({
data-slot="select-trigger"
data-size={size}
className={cn(
- "flex w-fit items-center justify-between gap-2 rounded-md border border-input bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[placeholder]:text-muted-foreground data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",
+ "flex w-fit items-center justify-between gap-2 rounded-md border border-input bg-card px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[placeholder]:text-muted-foreground data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",
className
)}
{...props}
diff --git a/frontend/src/pages/admin/settings.tsx b/frontend/src/pages/admin/settings.tsx
index ba6b1474..3bf9187a 100644
--- a/frontend/src/pages/admin/settings.tsx
+++ b/frontend/src/pages/admin/settings.tsx
@@ -651,7 +651,7 @@ export default function AdminSettingsPage() {
<select
value={formLanguage}
onChange={(e) => setFormLanguage(e.target.value)}
- className="w-full h-10 rounded-lg border border-input bg-background px-3 text-sm"
+ className="w-full h-10 rounded-lg border border-input bg-card px-3 text-sm"
>
<option value="en">English</option>
<option value="de">Deutsch</option>
diff --git a/frontend/src/pages/group-detail.tsx b/frontend/src/pages/group-detail.tsx
index c42ed116..e7e8f774 100644
--- a/frontend/src/pages/group-detail.tsx
+++ b/frontend/src/pages/group-detail.tsx
@@ -1008,7 +1008,7 @@ export default function GroupDetailPage() {
<div className="space-y-2">
<Label>{t('splitGroups.from')}</Label>
<select
- className="w-full border border-border rounded-md px-3 py-2 text-sm bg-background"
+ className="w-full border border-border rounded-md px-3 py-2 text-sm bg-card"
value={settleFrom}
onChange={(e) => {
setSettleFrom(e.target.value)
@@ -1031,7 +1031,7 @@ export default function GroupDetailPage() {
<div className="space-y-2">
<Label>{t('splitGroups.to')}</Label>
<select
- className="w-full border border-border rounded-md px-3 py-2 text-sm bg-background"
+ className="w-full border border-border rounded-md px-3 py-2 text-sm bg-card"
value={settleTo}
onChange={(e) => setSettleTo(e.target.value)}
>
@@ -1052,7 +1052,7 @@ export default function GroupDetailPage() {
<div className="space-y-2">
<Label>{t('splitGroups.txAction')}</Label>
<select
- className="w-full border border-border rounded-md px-3 py-2 text-sm bg-background"
+ className="w-full border border-border rounded-md px-3 py-2 text-sm bg-card"
value={settleTxMode}
onChange={(e) => {
setSettleTxMode(e.target.value as 'none' | 'create' | 'existing')
@@ -1068,7 +1068,7 @@ export default function GroupDetailPage() {
{settleTxMode === 'create' && (
<div className="space-y-1">
<select
- className="w-full border border-border rounded-md px-3 py-2 text-sm bg-background"
+ className="w-full border border-border rounded-md px-3 py-2 text-sm bg-card"
value={settleAccountId}
onChange={(e) => setSettleAccountId(e.target.value)}
>
@@ -1172,7 +1172,7 @@ export default function GroupDetailPage() {
<div className="space-y-2">
<Label>{t('splitGroups.notes')}</Label>
<textarea
- className="w-full border border-input rounded-md px-3 py-2 text-sm bg-background resize-none"
+ className="w-full border border-input rounded-md px-3 py-2 text-sm bg-card resize-none"
rows={2}
value={settleNotes}
onChange={(e) => setSettleNotes(e.target.value)}
diff --git a/frontend/src/pages/import.tsx b/frontend/src/pages/import.tsx
index 40affa8c..7f510aec 100644
--- a/frontend/src/pages/import.tsx
+++ b/frontend/src/pages/import.tsx
@@ -385,7 +385,7 @@ export default function ImportPage() {
{t('import.importTo')}
</Label>
<select
- className="flex-1 border border-border rounded-md px-3 py-2 text-sm bg-background focus:outline-none focus-visible:ring-ring/30 focus-visible:ring-[2px]"
+ className="flex-1 border border-border rounded-md px-3 py-2 text-sm bg-card focus:outline-none focus-visible:ring-ring/30 focus-visible:ring-[2px]"
value={selectedAccount}
onChange={(e) => setSelectedAccount(e.target.value)}
>
@@ -474,7 +474,7 @@ export default function ImportPage() {
<div>
<Label className="text-xs text-muted-foreground mb-1 block">{t('import.inflowColumn')}</Label>
<select
- className="w-full border border-border rounded-md px-3 py-1.5 text-sm bg-background focus:outline-none focus-visible:ring-ring/30 focus-visible:ring-[2px]"
+ className="w-full border border-border rounded-md px-3 py-1.5 text-sm bg-card focus:outline-none focus-visible:ring-ring/30 focus-visible:ring-[2px]"
value={csvInflowColumn}
onChange={(e) => { setCsvInflowColumn(e.target.value); rePreview({ inflow: e.target.value }) }}
>
@@ -485,7 +485,7 @@ export default function ImportPage() {
<div>
<Label className="text-xs text-muted-foreground mb-1 block">{t('import.outflowColumn')}</Label>
<select
- className="w-full border border-border rounded-md px-3 py-1.5 text-sm bg-background focus:outline-none focus-visible:ring-ring/30 focus-visible:ring-[2px]"
+ className="w-full border border-border rounded-md px-3 py-1.5 text-sm bg-card focus:outline-none focus-visible:ring-ring/30 focus-visible:ring-[2px]"
value={csvOutflowColumn}
onChange={(e) => { setCsvOutflowColumn(e.target.value); rePreview({ outflow: e.target.value }) }}
>
@@ -508,7 +508,7 @@ export default function ImportPage() {
<div key={f.key}>
<Label className="text-xs text-muted-foreground mb-1 block">{t(f.label)}</Label>
<select
- className="w-full border border-border rounded-md px-3 py-1.5 text-sm bg-background focus:outline-none focus-visible:ring-ring/30 focus-visible:ring-[2px]"
+ className="w-full border border-border rounded-md px-3 py-1.5 text-sm bg-card focus:outline-none focus-visible:ring-ring/30 focus-visible:ring-[2px]"
value={csvColumnMapping[f.key] ?? ''}
onChange={(e) => handleMappingChange(f.key, e.target.value)}
>
diff --git a/frontend/src/pages/payees.tsx b/frontend/src/pages/payees.tsx
index 87c50405..2436232a 100644
--- a/frontend/src/pages/payees.tsx
+++ b/frontend/src/pages/payees.tsx
@@ -359,7 +359,7 @@ export default function PayeesPage() {
<button
type="button"
className={cn(
- 'inline-flex h-8 items-center gap-1.5 rounded-md border border-border/80 bg-background px-2.5 text-[12px] font-medium text-muted-foreground transition-colors',
+ 'inline-flex h-8 items-center gap-1.5 rounded-md border border-border/80 bg-card px-2.5 text-[12px] font-medium text-muted-foreground transition-colors',
'hover:bg-muted hover:text-foreground',
(filterType || filterFavorites) && 'border-primary/30 text-primary hover:text-primary',
)}
@@ -706,7 +706,7 @@ export default function PayeesPage() {
<div className="space-y-2">
<Label>{t('payees.type')}</Label>
<select
- className="w-full border border-border rounded-md px-3 py-2 text-sm bg-background focus:outline-none focus-visible:ring-ring/30 focus-visible:ring-[2px]"
+ className="w-full border border-border rounded-md px-3 py-2 text-sm bg-card focus:outline-none focus-visible:ring-ring/30 focus-visible:ring-[2px]"
value={formType}
onChange={(e) => setFormType(e.target.value)}
>
@@ -718,7 +718,7 @@ export default function PayeesPage() {
<div className="space-y-2">
<Label>{t('payees.notes')}</Label>
<textarea
- className="w-full border border-input rounded-md px-3 py-2 text-sm bg-background resize-none focus:outline-none focus:ring-2 focus:ring-ring"
+ className="w-full border border-input rounded-md px-3 py-2 text-sm bg-card resize-none focus:outline-none focus:ring-2 focus:ring-ring"
rows={2}
value={formNotes}
onChange={(e) => setFormNotes(e.target.value)}
@@ -770,7 +770,7 @@ export default function PayeesPage() {
<div className="space-y-2">
<Label>{t('payees.mergeTarget')}</Label>
<select
- className="w-full border border-border rounded-md px-3 py-2 text-sm bg-background focus:outline-none focus-visible:ring-ring/30 focus-visible:ring-[2px]"
+ className="w-full border border-border rounded-md px-3 py-2 text-sm bg-card focus:outline-none focus-visible:ring-ring/30 focus-visible:ring-[2px]"
value={mergeTargetId}
onChange={(e) => setMergeTargetId(e.target.value)}
>
diff --git a/frontend/src/pages/workspace-settings.tsx b/frontend/src/pages/workspace-settings.tsx
index 3ef79ff7..819f1dcc 100644
--- a/frontend/src/pages/workspace-settings.tsx
+++ b/frontend/src/pages/workspace-settings.tsx
@@ -338,7 +338,7 @@ export default function WorkspaceSettingsPage() {
type="color"
value={editColor}
onChange={(e) => setEditColor(e.target.value)}
- className="h-10 w-10 p-1 rounded-lg cursor-pointer border border-input bg-background shrink-0"
+ className="h-10 w-10 p-1 rounded-lg cursor-pointer border border-input bg-card shrink-0"
title={t('groups.color', 'Cor')}
/>
</div>
@@ -478,7 +478,7 @@ export default function WorkspaceSettingsPage() {
role: e.target.value as WorkspaceRole,
})
}
- className="h-9 w-32 rounded-lg border border-input bg-background px-2 text-sm"
+ className="h-9 w-32 rounded-lg border border-input bg-card px-2 text-sm"
>
{(['owner', 'editor', 'viewer'] as WorkspaceRole[]).map((r) => (
<option key={r} value={r}>
@@ -575,7 +575,7 @@ export default function WorkspaceSettingsPage() {
id="invite-role"
value={inviteRole}
onChange={(e) => setInviteRole(e.target.value as WorkspaceRole)}
- className="w-full h-10 rounded-lg border border-input bg-background px-3 text-sm"
+ className="w-full h-10 rounded-lg border border-input bg-card px-3 text-sm"
>
{(['owner', 'editor', 'viewer'] as WorkspaceRole[]).map((r) => (
<option key={r} value={r}>