UltraFastBrother's picture
dark mode, members: Anubhav(me), Anidhya, Mumma, Papa Ji
afa50fd verified
Raw History Blame Contribute Delete
1.71 kB
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
:root {
--bg-color: #f8fafc;
--text-color: #1e293b;
--card-bg: #ffffff;
--card-shadow: rgba(0, 0, 0, 0.1);
--primary: #4CAF50;
--primary-dark: #388E3C;
--secondary: #8BC34A;
--secondary-dark: #7CB342;
}
[data-theme="dark"] {
--bg-color: #0f172a;
--text-color: #f8fafc;
--card-bg: #1e293b;
--card-shadow: rgba(0, 0, 0, 0.3);
--primary: #22c55e;
--primary-dark: #16a34a;
--secondary: #4ade80;
--secondary-dark: #22c55e;
}
body {
font-family: 'Inter', sans-serif;
min-height: 100vh;
display: flex;
flex-direction: column;
background-color: var(--bg-color);
color: var(--text-color);
transition: all 0.3s ease;
}
.bg-white {
background-color: var(--card-bg) !important;
}
.text-gray-800, .text-gray-700 {
color: var(--text-color) !important;
}
.border-gray-300 {
border-color: rgba(255, 255, 255, 0.1) !important;
}
.bg-gray-50 {
background-color: rgba(255, 255, 255, 0.05) !important;
}
.bg-gray-100 {
background-color: rgba(255, 255, 255, 0.1) !important;
}
.divide-gray-200 {
border-color: rgba(255, 255, 255, 0.1) !important;
}
.shadow-md {
box-shadow: 0 4px 6px var(--card-shadow) !important;
}
.bg-primary-dark {
background-color: #388E3C;
}
.bg-secondary-dark {
background-color: #7CB342;
}
.transaction-card {
transition: all 0.2s ease;
}
.transaction-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.family-member-card {
transition: all 0.2s ease;
}
.family-member-card:hover {
transform: scale(1.03);
}