Skip to content

Commit 9b7d4a1

Browse files
committed
Fix paste text color without syntax
The default foreground color on paste.rs is black. However since the undead-pasters theme adds a dark background color, this is hard to read. To solve this the foreground color of the `body` is now always set to the foreground color specified in the `:root` variables.
1 parent 41ddc60 commit 9b7d4a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

undead-pasters.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
html,
1616
body > pre {
1717
background-color: var(--bg-color) !important;
18+
color: var(--fg-color) !important;
1819
}
1920

2021
/* SYNTAX */

0 commit comments

Comments
 (0)