@Obsidian-GT:
This part of my CSS File resets the color definitions of the default app.css:
/* Reset colors */
.cm-s-obsidian span.cm-tag,
.cm-s-obsidian span.cm-hmd-escape-char,
.cm-s-obsidian span.cm-hmd-escape-backslash,
.cm-s-obsidian span.cm-link,
.cm-s-obsidian span.cm-hmd-internal-link,
.cm-s-obsidian span.cm-inline-code,
.cm-s-obsidian span.cm-math,
.cm-s-obsidian span.hmd-fold-math-placeholder {
color: inherit;
}
While .cm-s-obsidian span.cm-link controls the color for external links, .cm-s-obsidian span.cm-hmd-internal-link controls the color of internal (āWiki-Styleā) Links.
Add :hover to control the color when hovering the link with the mouse.
If you also want to change the color of links in preview mode
/* Links and footnotes */
.markdown-preview-view a {
color: inherit;
}
Add .external-link or .internal-link to distinguish between internal and external links in preview mode, e.g.
.markdown-preview-view a.internal-link {
color: #f00;
}
You should always put your modifications to the very end of the css, because earlier rules will be overwritten by later rules (if we put the !important flag aside).
Iām thinking about making my theme more customizable by creating an additional plugin.