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.
This commit is contained in:
@@ -3064,7 +3064,7 @@
|
|||||||
@media (prefers-color-scheme: dark){
|
@media (prefers-color-scheme: dark){
|
||||||
|
|
||||||
:is(.annotationLayer,.annotationEditorLayer) .annotationCommentButton{
|
:is(.annotationLayer,.annotationEditorLayer) .annotationCommentButton{
|
||||||
--csstools-color-scheme--light:;
|
--csstools-color-scheme--light: initial;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3596,8 +3596,7 @@
|
|||||||
@media (prefers-color-scheme: dark){
|
@media (prefers-color-scheme: dark){
|
||||||
|
|
||||||
.commentPopup{
|
.commentPopup{
|
||||||
--csstools-color-scheme--light:;
|
--csstools-color-scheme--light: initial;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (forced-colors: active){
|
@media screen and (forced-colors: active){
|
||||||
@@ -5415,7 +5414,7 @@
|
|||||||
@media (prefers-color-scheme: dark){
|
@media (prefers-color-scheme: dark){
|
||||||
|
|
||||||
:root{
|
:root{
|
||||||
--csstools-color-scheme--light:;
|
--csstools-color-scheme--light: initial;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -5607,3 +5606,4 @@
|
|||||||
margin:0 auto;
|
margin:0 auto;
|
||||||
border:2px solid transparent;
|
border:2px solid transparent;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user