Skip to content

Build your personal knowledge base with Trilium Notes

style/pdf viewer: fix color scheme

Adorian Doranf4d91e48ba2c
diff --git a/apps/client/src/widgets/type_widgets/file/PdfViewer.tsx b/apps/client/src/widgets/type_widgets/file/PdfViewer.tsx
index 7e6870dd42..a406f84a02 100644
--- a/apps/client/src/widgets/type_widgets/file/PdfViewer.tsx
+++ b/apps/client/src/widgets/type_widgets/file/PdfViewer.tsx
@@ -7,7 +7,8 @@ const VARIABLE_WHITELIST = new Set([
"root-background",
"main-background-color",
"main-border-color",
- "main-text-color"
+ "main-text-color",
+ "theme-style"
]);
interface PdfViewerProps extends Pick<HTMLAttributes<HTMLIFrameElement>, "tabIndex"> {