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
852 stars 38 forks source link

Enhancement: Put underline on cm-underline for compatibility reasons #86

Closed HEmile closed 2 years ago

HEmile commented 2 years ago

Hi! The text-decoration: underline in Primary is set to .cm-hmd-internal-link. In vanilla Obsidian's theme, this is in .cm-underline, which is a child of .cm-hmd-internal-link. Having it on .cm-hmd-internal-link makes it harder to style the text-decoration with Supercharged Links, since the spans it insert will be a child of .cm-hmd-internal-link. See eg https://github.com/mdelobelle/obsidian_supercharged_links/issues/97