Skip to content

Commit 61ae76b

Browse files
paulhibbittssy-records
authored andcommitted
Keep iframe background transparent in dark mode
1 parent 552afee commit 61ae76b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/themes/addons/core-dark.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,11 @@
3434
border-color: rgba(255, 255, 255, 0.5);
3535
}
3636
}
37+
38+
/* Force light mode for iframes in dark theme */
39+
iframe,
40+
iframe *,
41+
iframe[src],
42+
iframe[src] * {
43+
color-scheme: light;
44+
}

0 commit comments

Comments
 (0)