SourceCodeSyntaxHighlight icon indicating copy to clipboard operation
SourceCodeSyntaxHighlight copied to clipboard

Theme is Inverted if First File Preview is in Dark Mode

Open novyboy opened this issue 2 years ago • 10 comments
trafficstars

If your Mac is already in Dark Mode when you preview a file, the theme is inverted for every file you preview until you relaunch Finder, change your system to Light Mode, and then preview your first file.

novyboy avatar Dec 30 '22 08:12 novyboy

I too am having the same issue as OP

ocreturner avatar Jan 05 '23 02:01 ocreturner

I've been having this issue for quite a while too. The light theme at the first launch is permanently set, and changing to another light theme in the app doesn't change any of the files' themes.

Edit: Changing the render from RTF to HTML works as a temporary fix. Also, I can't solve the problem with the solution in OP's comment (relaunching Finder and changing the system theme).

RWCoding58 avatar Jan 10 '23 02:01 RWCoding58

Same problem here, but workaround with switching from RTF to HTLM disables preview at all

tony-sol avatar Jan 24 '23 16:01 tony-sol

Same here, change render engine to HTML works for me.

CalaW avatar Jan 26 '23 14:01 CalaW

Can be related to https://github.com/sbarex/SourceCodeSyntaxHighlight/issues/202 ?

sbarex avatar Jan 26 '23 16:01 sbarex

Can be related to #202 ?

It's likely the same issue. Also, the light mode fix works without needing to relaunch Finder.

RWCoding58 avatar Jan 27 '23 00:01 RWCoding58

changing render engine to HTML worked for me as well allowing me to keep finder in dark mode

tweaksalot avatar Apr 11 '24 21:04 tweaksalot