diff --git a/_includes/comments/remark42.html b/_includes/comments/remark42.html index 2ac5701..1ce2c74 100644 --- a/_includes/comments/remark42.html +++ b/_includes/comments/remark42.html @@ -1,26 +1,32 @@ - + + + window.onload = function () { + if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) { + window.REMARK42.changeTheme('dark'); + } + } +
\ No newline at end of file