Merge pull request #2118 from zica87/zica87-patch-1

Fix theme-color meta tag not syncing with the theme
This commit is contained in:
Eric Huss 2023-07-16 10:55:53 -07:00 committed by GitHub
commit 9911e86039
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -346,7 +346,7 @@ function playground_text(playground, hidden = true) {
}
setTimeout(function () {
themeColorMetaTag.content = getComputedStyle(document.body).backgroundColor;
themeColorMetaTag.content = getComputedStyle(document.documentElement).backgroundColor;
}, 1);
if (window.ace && window.editors) {