color-scheme override by ngx-extended-pdf-viewer messing with theme
#3115
Unanswered
anantoghosh
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When rendering in my Angular 21 app, I observed that the library sets the
color-schemeproperty on the<body>element. This overrides the application's theme color and affects the overall appearance.Is this intended behavior? If so, could you clarify the rationale behind modifying the global color-scheme?
If not, would you consider scoping this style to the viewer component only, to avoid interfering with the host application's theme?
Or do I need to handle this differently?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions