From d19e8ad10b50df27431a3f7d196d1e8b8503801a Mon Sep 17 00:00:00 2001 From: abdullahalam123 Date: Sat, 15 Nov 2025 16:27:49 +0530 Subject: [PATCH] style(pdfjs-viewer): update light color scheme variable to initial value Modified the CSS for the PDF viewer to set the --csstools-color-scheme--light variable to 'initial' in multiple places, ensuring consistent styling across dark mode and improving compatibility with color scheme preferences. --- public/pdfjs-viewer/pdf_viewer.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/pdfjs-viewer/pdf_viewer.css b/public/pdfjs-viewer/pdf_viewer.css index deb836f..cbdbd2f 100644 --- a/public/pdfjs-viewer/pdf_viewer.css +++ b/public/pdfjs-viewer/pdf_viewer.css @@ -3064,7 +3064,7 @@ @media (prefers-color-scheme: dark){ :is(.annotationLayer,.annotationEditorLayer) .annotationCommentButton{ - --csstools-color-scheme--light:; + --csstools-color-scheme--light: initial; } } @@ -3596,8 +3596,7 @@ @media (prefers-color-scheme: dark){ .commentPopup{ - --csstools-color-scheme--light:; -} + --csstools-color-scheme--light: initial; } @media screen and (forced-colors: active){ @@ -5415,7 +5414,7 @@ @media (prefers-color-scheme: dark){ :root{ - --csstools-color-scheme--light:; + --csstools-color-scheme--light: initial; } } @@ -5607,3 +5606,4 @@ margin:0 auto; border:2px solid transparent; } +} \ No newline at end of file