Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,10 @@
--income: oklch(0.6907 0.1554 160.3454);
--expense: oklch(0.6188 0.2376 25.7658);
--border: oklch(0.9317 0.0118 231.6594);
--input: oklch(0.9809 0.0025 228.7836);
/* input 是表單欄位的邊框色(shadcn Input 用 border-input + bg-transparent)。
原本 0.9809 比 --card(0.9784) 還亮,邊框比卡片還淺=隱形,欄位整個融進卡片。
壓到明顯比 card 深、比一般分隔線(--border 0.9317)再深一點,讓欄位讀得出邊界。 */
--input: oklch(0.8900 0.0125 231.6594);
--ring: oklch(0.6818 0.1584 243.3540);
--chart-1: oklch(0.6723 0.1606 244.9955);
--chart-2: oklch(0.6907 0.1554 160.3454);
Expand Down Expand Up @@ -163,7 +166,9 @@
--income: oklch(0.7227 0.1700 158.0000);
--expense: oklch(0.7040 0.1910 22.0000);
--border: oklch(0.2674 0.0047 248.0045);
--input: oklch(0.3020 0.0288 244.8244);
/* 深色同理:把邊框色從 0.302 提到 0.34,跟 card(0.2097) 拉開對比;shadcn 的
dark:bg-input/30 也以此上色,欄位填色一併變得比卡片明顯。 */
--input: oklch(0.3400 0.0288 244.8244);
--ring: oklch(0.6818 0.1584 243.3540);
--chart-1: oklch(0.6723 0.1606 244.9955);
--chart-2: oklch(0.6907 0.1554 160.3454);
Expand Down