enable dark mode

This commit is contained in:
usmannasir
2025-08-05 00:52:50 +05:00
parent 69429999b2
commit e983f40d41
3 changed files with 113 additions and 180 deletions

View File

@@ -177,7 +177,7 @@
border-radius: 8px;
font-size: 0.875rem;
transition: all 0.3s ease;
background: var(--bg-secondary, #fff);
background: var(--bg-primary, #fff);
color: var(--text-primary, #1e293b);
width: 100%;
max-width: 400px;
@@ -193,7 +193,7 @@
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background-color: var(--bg-secondary, white);
background-color: var(--bg-primary, white) !important;
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%235b5fcf' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
background-position: right 0.5rem center;
background-repeat: no-repeat;
@@ -207,7 +207,7 @@
/* Ensure option text is visible */
.select-control option {
color: var(--text-primary, #1e293b);
background-color: var(--bg-secondary, white);
background-color: var(--bg-primary, white);
padding: 8px;
font-size: 0.875rem;
}
@@ -218,14 +218,14 @@
border: 2px solid;
}
.select-control option {
background: var(--bg-secondary, white);
background: var(--bg-primary, white);
color: var(--text-primary, black);
}
}
/* Specific focus styles for select */
.select-control:focus {
background-color: var(--bg-secondary, white);
background-color: var(--bg-primary, white);
color: var(--text-primary, #1e293b);
}