From 6722c8646a49fe73d63b7cf66b0a413af9bb6830 Mon Sep 17 00:00:00 2001 From: nico Date: Fri, 13 Feb 2026 15:45:48 +0800 Subject: [PATCH] fix: improve dark mode styling in demografi-pekerjaan component Co-authored-by: Qwen-Coder --- src/components/bumdes-page.tsx | 33 +++++------ src/components/demografi-pekerjaan.tsx | 74 ++++++++++++------------ src/components/help-page.tsx | 26 +++++---- src/components/keamanan-page.tsx | 10 ++-- src/components/keuangan-anggaran.tsx | 40 +++++-------- src/components/sidebar.tsx | 3 +- src/components/sosial-page.tsx | 31 ++++------ src/routes/dashboard/pengaturan/umum.tsx | 6 +- 8 files changed, 101 insertions(+), 122 deletions(-) diff --git a/src/components/bumdes-page.tsx b/src/components/bumdes-page.tsx index 2ba84db..647bfc0 100644 --- a/src/components/bumdes-page.tsx +++ b/src/components/bumdes-page.tsx @@ -109,18 +109,11 @@ const BumdesPage = () => { return ( - {/* Page Header */} - - - BUMDes & UMKM Desa - - - {/* KPI Cards */} {kpiData.map((kpi, index) => ( - + @@ -145,7 +138,7 @@ const BumdesPage = () => { {/* Update Penjualan Produk Header */} - + Update Penjualan Produk @@ -174,7 +167,7 @@ const BumdesPage = () => { <GridCol span={{ base: 12, lg: 4 }}> <Stack gap="md"> {/* Total Penjualan, Produk Aktif, Total Transaksi */} - <Card withBorder radius="md" p="lg"> + <Card p="md" radius="md" withBorder bg={dark ? "#141D34" : "white"} style={{ borderColor: dark ? "#141D34" : "white" }}> <Stack gap="md"> <Group justify="space-between"> <Text size="sm" c={dark ? "dark.3" : "dimmed"}>Total Penjualan</Text> @@ -192,7 +185,7 @@ const BumdesPage = () => { </Card> {/* Top 3 Produk Terlaris */} - <Card withBorder radius="md" p="lg"> + <Card p="md" radius="md" withBorder bg={dark ? "#141D34" : "white"} style={{ borderColor: dark ? "#141D34" : "white" }}> <Title order={4} mb="md" c={dark ? "dark.0" : "black"}>Top 3 Produk Terlaris {topProducts.map((product) => ( @@ -226,7 +219,7 @@ const BumdesPage = () => { {/* Detail Penjualan Produk (Right Column) */} - + Detail Penjualan Produk