diff --git a/src/theme/book.js b/src/theme/book.js index 67a8a5b0..351e28c7 100644 --- a/src/theme/book.js +++ b/src/theme/book.js @@ -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) {