Skip to content

Commit 46981be

Browse files
committed
fix(ui): apply dark mode styles to components
1 parent ea97e00 commit 46981be

2 files changed

Lines changed: 33 additions & 1 deletion

File tree

src/layouts/main/MainLayout.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export default {
8585
}
8686
8787
.layout-wrapper.dark-style {
88-
background-color: #2f3349;
88+
background-color: #25293c;
8989
}
9090
9191
.layout-content {

src/views/home/SubTable.vue

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,3 +317,35 @@ export default {
317317
margin: 1%;
318318
}
319319
</style>
320+
321+
<style>
322+
/* Dark Mode Component Overrides */
323+
.dark-style .card {
324+
background-color: #2f3349;
325+
color: #cfd3ec;
326+
border: none;
327+
}
328+
329+
.dark-style .form-label,
330+
.dark-style .form-check-label {
331+
color: #cfd3ec;
332+
}
333+
334+
.dark-style .form-control,
335+
.dark-style .form-select {
336+
background-color: #25293c;
337+
border-color: #434968;
338+
color: #cfd3ec;
339+
}
340+
341+
.dark-style .form-control:focus,
342+
.dark-style .form-select:focus {
343+
background-color: #25293c;
344+
border-color: #7367f0;
345+
color: #cfd3ec;
346+
}
347+
348+
.dark-style .form-control::placeholder {
349+
color: #5c617a;
350+
}
351+
</style>

0 commit comments

Comments
 (0)