insanum / obsidian_nord

A nord theme for Obsidian
MIT License
228 stars 62 forks source link

Link color #47

Closed NicoNicoNi-Host closed 1 year ago

NicoNicoNi-Host commented 1 year ago

Link color

The latest version of the theme has no distinction between the hyperlink color and the internal link color, and no distinction between the URL part and the text part of the hyperlink

Maybe it can restore old color scheme

/* Internal Link Color */
.theme-light
{
    --text-accent:                   var(--frost3)!important ;
}

.theme-dark
{
    --text-accent:                   var(--frost3)!important ;
}

/* Hyperlinks and hover colors */
.cm-s-obsidian span.cm-link {
    color: var(--orange) !important ;
    word-break: break-word;
}

.cm-s-obsidian span.cm-link:hover
{
    color: #90EE90 !important;
    text-decoration: none !important;
}

image

insanum commented 1 year ago

Please break this up into separate issues for easier tracking.

NicoNicoNi-Host commented 1 year ago

color: #90EE90 ,I set this color casually. I do not know design, so it is a little discordant, perhaps you can give me some advice

.cm-s-obsidian span.cm-link:hover
{
    color: #90EE90 !important;
    text-decoration: none !important;
}
NicoNicoNi-Host commented 1 year ago

hyperlink: I want to distinguish between the URL and the text part, and highlight the text, so the text part is orange

internal links: because I will put a large number of internal links in a page, the orange word is rather blinding, so I changed back to --frost3

insanum commented 1 year ago

I modified the css so the url portion is a different color.