ObsidianMD_Dracula_x_LYT icon indicating copy to clipboard operation
ObsidianMD_Dracula_x_LYT copied to clipboard

Theme doesn't apply to new windows

Open thomasrice opened this issue 2 years ago • 3 comments

When a tab is opened in a new window, that new window seems to apply the default Obsidian theme rather than the Dracula + LYT theme.

thomasrice avatar Sep 04 '22 02:09 thomasrice

On further inspection, it seems that the theme isn't being loaded at all in new windows as the style is missing from the

area when you view it in the Inspector.

Not sure why that is, perhaps it has CSS errors that the main window tolerates but new windows don't?

thomasrice avatar Jan 04 '23 02:01 thomasrice

If I start copying the style.css into a blank style.css file, the window mode view breaks when you paste in lines 556-558:

/Bullet list line height in Live Mode/ .ͼ1 .cm-scroller { line-height: 1.5 !important; }

thomasrice avatar Jan 04 '23 03:01 thomasrice

Have confirmed that deleting these lines from theme.css will fix it up so the theme applies to new windows.

thomasrice avatar Jan 04 '23 03:01 thomasrice