feat: adapt to dark theme for moments page

* refactor: separate styles for comments section
This commit is contained in:
Hakadao
2023-09-03 13:46:44 +08:00
parent 9c7a1560d9
commit 8338f1a9d1
9 changed files with 116 additions and 62 deletions

View File

@@ -140,6 +140,7 @@ onMounted(() => {
document.body.style.setProperty('background-color', 'unset', 'important')
document.documentElement.style.setProperty('background-color', 'unset', 'important')
}
document.documentElement.style.setProperty('font-size', '14px')
if (mainAppRef.value) {
mainAppRef.value.addEventListener('scroll', () => {