obsidian-shiki-plugin icon indicating copy to clipboard operation
obsidian-shiki-plugin copied to clipboard

Could you consider changing the highlighted colors to a more pronounced color scheme or changing with the theme?

Open Tback1 opened this issue 1 year ago • 1 comments

Could you consider changing the highlighted colors to a more pronounced color scheme or changing with the theme?

The current color is very dull and barely noticeable under the black theme, and if it weren't for the line number being highlighted, I would hardly know that these 4-5 lines were highlighted

image

Tback1 avatar Nov 06 '24 04:11 Tback1

The problem here is that the plugin expects you to have code blocks and Obsidian in the same color scheme, so both dark or both light. The line highlighting colors orient themselves after the Obsidian color scheme and not the code block color scheme.

mProjectsCode avatar Jan 11 '25 15:01 mProjectsCode

The plugin now allows you to select two themes—one for when Obsidian is in dark mode, and one for when Obsidian is in light mode. As long as you don't use a dark code block theme with a light Obsidian theme (or the other way around), this should no longer be an issue.

mProjectsCode avatar Sep 02 '25 14:09 mProjectsCode