Fix: Embed Theme switching when appearance is using System Theme (#8655)

Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
Hariom BalharaandPeer Richelsen authored and GitHub committed 2023-05-05 16:54:06 +05:30
1 parent 2f175eacf5
commit d3f77bf292
3 files changed
+35 -6

No files matched your search

+3 -3
View File
@@ -12,6 +12,9 @@
.cell-2 {
margin: 10px;
}
.dark {
background-color:rgb(16 16 16);
}
</style>
<script>
const searchParams = new URL(document.URL).searchParams;
@@ -22,8 +25,5 @@
<script type="module" src="./src/preview.ts"></script>
<body>
<div id="my-embed" style="width: 100%; height: 90%; overflow: scroll"></div>
<script type="module">
</script>
</body>
</html>