Skip to content

Commit fdc0c29

Browse files
committed
Improve modals in dark mode via a dark backdrop and shadow.
1 parent 960d4bf commit fdc0c29

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

frontend/src/App.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@
1313
--tblr-backdrop-opacity: 0.8 !important;
1414
}
1515

16+
[data-bs-theme="dark"] .modal-content {
17+
--tblr-modal-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
18+
}
19+
20+
[data-bs-theme="dark"] .modal-backdrop {
21+
--tblr-backdrop-bg: #000 !important;
22+
--tblr-backdrop-opacity: 0.65 !important;
23+
}
24+
1625
.domain-name {
1726
font-family: monospace;
1827
}

0 commit comments

Comments
 (0)