primary-theme / obsidian

Comfy, playful but productive theme for Obsidian. "Primary instantly puts you in a relaxed state that opens the door to creativity and exploration. Wonderfully executed down to the smallest details,"
GNU General Public License v3.0
980 stars 41 forks source link

[BUG][Live Preview] Inherit in data-link-tags prevent to color internal link #128

Closed Mara-Li closed 2 years ago

Mara-Li commented 2 years ago

Describe the bug I spotted that internal link keep the default text color instead to use the color defined in style settings (--md-color-reslink) in LP.

CSS These lines seem to be the culprit :

.cm-s-obsidian span.cm-hmd-internal-link span[data-link-tags], .cm-s-obsidian span[data-link-tags] .cm-underline {
  color: inherit;
}

Removing color or overriding with !important clean the problem, but break my supercharged links snippets.

Screenshots image

Desktop:

Additional context /

ceciliamay commented 2 years ago

Yeah it's really tricky trying to get the internal links correct and to make it work with supercharged links 😭 But I haven't checked again - does the issue persist? Thank you so much for all your reports @Mara-Li 🙏

Mara-Li commented 2 years ago

I don't spotted it since long time !