From ce3702b6de603064bd0da5af87e24fbcd6401e7c Mon Sep 17 00:00:00 2001 From: wizardchen Date: Tue, 9 Jun 2026 21:13:15 +0800 Subject: [PATCH] feat(frontend): enhance dark mode syntax highlighting for code previews - Added global styles to remap syntax highlighting colors for dark mode in the document preview component. - Ensured that all highlighted code blocks are visually accessible against the dark background, improving readability for users in dark mode. --- frontend/src/components/document-preview.vue | 87 ++++++++++++++++++++ 1 file changed, 87 insertions(+) diff --git a/frontend/src/components/document-preview.vue b/frontend/src/components/document-preview.vue index a3c86309..6892f009 100644 --- a/frontend/src/components/document-preview.vue +++ b/frontend/src/components/document-preview.vue @@ -834,3 +834,90 @@ onUnmounted(() => { } } + + +