Hi, I recently started using obsidian and installed the style setting plugin. How can I change the color of markdown reference? Thanks
What theme do you use? …and just to be sure, are those internal links or external links?
Thanks for your reply. Its the material theme and these are internal links.
I hadn’t looked at the material theme before. It doesn’t seem to have any settings for link colors in Style Settings, so CSS it is. I wasn’t sure which one, so checked using this one: GitHub - threethan/obsidian-material-flat-theme: A flat and colorful theme for Obsidian, based on Obsidian You, for Desktop and Mobile If you are using a different version, the below may not work.
/*- internal link color -*/
.theme-light, .theme-dark {
--link-color: var(--color-orange);
}
/*- internal link hover color -*/
.cm-s-obsidian .cm-hmd-internal-link.cm-hmd-internal-link:hover, .markdown-preview-view .internal-link {
color: var(--color-orange);
}
1 Like
This worked. Thank you so much!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.