Spaces:
Runtime error
Runtime error
LE Quoc Dat
commited on
Commit
·
38acb6a
1
Parent(s):
a8a3527
dark2
Browse files- static/css/styles.css +5 -0
static/css/styles.css
CHANGED
|
@@ -728,3 +728,8 @@ body {
|
|
| 728 |
.dark-mode .dropdown-content a:hover {
|
| 729 |
background-color: var(--bg-primary);
|
| 730 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 728 |
.dark-mode .dropdown-content a:hover {
|
| 729 |
background-color: var(--bg-primary);
|
| 730 |
}
|
| 731 |
+
|
| 732 |
+
/* Add this rule to invert PDF canvas colors when dark mode is on */
|
| 733 |
+
.dark-mode #pdf-viewer canvas {
|
| 734 |
+
filter: invert(1) hue-rotate(180deg);
|
| 735 |
+
}
|