Skip to content

Commit d99a408

Browse files
committed
style/pdf viewer: add support for background effects
1 parent 8f8493f commit d99a408

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

apps/client/src/stylesheets/theme-next/base.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
*/
1818

1919
:root {
20+
color-scheme: light dark;
21+
2022
--main-font-family: "Inter", sans-serif;
2123

2224
--main-font-size: normal;

packages/pdfjs-viewer/src/custom.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
:root {
2+
color-scheme: light dark;
3+
4+
--body-bg-color: transparent;
5+
--toolbar-bg-color: transparent;
26
--main-color: var(--tn-main-text-color);
3-
--body-bg-color: var(--tn-main-background-color);
4-
--toolbar-bg-color: var(--tn-main-background-color);
57
--toolbar-border-color: var(--tn-main-border-color);
68
--toolbar-icon-opacity: 1;
79
}

0 commit comments

Comments
 (0)