Skip to content

Commit b1dcd3e

Browse files
namantam1jleclanche
authored andcommitted
Add css dark mode to polymorphic_inlines.css
1 parent f2138b3 commit b1dcd3e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

polymorphic/static/polymorphic/css/polymorphic_inlines.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,10 @@
3232
/* needed for grapelli, which uses grp-empty-form */
3333
display: none;
3434
}
35+
36+
@media (prefers-color-scheme: dark) {
37+
.polymorphic-type-menu {
38+
border: 1px solid #121212;
39+
background-color: #212121;
40+
}
41+
}

0 commit comments

Comments
 (0)