Skip to content

Commit

Permalink
Disable subpixel smoothing when inverted
Browse files Browse the repository at this point in the history
Fixes #269
  • Loading branch information
johnfactotum committed Nov 19, 2023
1 parent e15daf3 commit cfcfa6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/reader/reader.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ const getCSS = ({
@media (prefers-color-scheme: dark) {
html {
color: ${invert ? theme.inverted.fg : theme.dark.fg};
${invert ? '-webkit-font-smoothing: antialiased;' : ''}
}
a:any-link {
color: ${invert ? theme.inverted.link : theme.dark.link};
Expand Down

0 comments on commit cfcfa6d

Please sign in to comment.