Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link colors cannot be separated in internal and external link-color #150

Open
Superfeuchter opened this issue Mar 7, 2024 · 11 comments
Open

Comments

@Superfeuchter
Copy link

A few days ago, all my external links became blue (instead of orange) - the same color as my internal links.
I deactivated all plugins, I changed the accent-color in Obsidian, which is also blue, but nothing helped.
Today, I changed the external link-color to orange, so that I could get at least different link-colors for more clarity.
But what happened?
Now all links, external and internal, became orange.
Obviously, the link color of the internal link defines the color of the external link, too.
When I change the external color, the internal changes also to the same color.
I would really appreciate to use different colors for links.

My Obsidian-Version is v.1.15.10
My plugin-Version is 1.0.7

@Superfeuchter
Copy link
Author

I created a fresh vault with nothing in it except the theme "minimal" and the plugin "style settings".
I got the same problem: Either external links and internal links got the same color.
When I change the color of internal links, the external also changes.
Changing the internal link-color, nothing happens.
I tried and tried, but I cannot find a solution ...
Besides, some interface colors aren't adaptable either in light mode.

All versions are up-to-date.
This happens on Windows 10, not on Window 11.

@MikeKholomeev
Copy link

Where do you change link color?

@Superfeuchter
Copy link
Author

Where do you change link color?

I changed them in the style-settings-plugin in "links" - external and internal.

@MikeKholomeev
Copy link

hmm, I'm using ITS Theme and cant find there link color setting :(

@Superfeuchter
Copy link
Author

hmm, I'm using ITS Theme and cant find there link color setting :(

I'm using minimal theme, and here I could adjust the link-color.
image

@MikeKholomeev
Copy link

Thank you for your time and sorry for towing a discussion from your topic to my question.

@TheEmanuelSampaio
Copy link

The same problem here... After the last obsidian update.
No matter how i try change the external link, it are sticked with the internal link color.
If i change the internal link color, so does the external.

The Hover external link color stay correct.

Obsidian, minimal, minimalTS, Style Settings, all in the latest version. Also tested in a clean vault.

The external isn't set green, but blue.
image
Hover color, though, normal.
image

Settings
image
image

@braydonw
Copy link

braydonw commented Apr 19, 2024

I'm experiencing the same issue but only when the editing view is active. The external link colors appear as expected when using both the reading and source views.

@Superfeuchter
Copy link
Author

It is as you said - the problem occurs only in preview mode!

@Superfeuchter
Copy link
Author

After the last Obsidian update, the links are now shown the color as they should. This makes me happy!

@slapula
Copy link

slapula commented Oct 7, 2024

oh man, yeah I'm noticing this behavior too. I'm only using internal links though. The behavior seems to manifest when I make a link that is governed by style-settings (via tag, property, etc). The style renders the targeted link just fine. However, subsequent links then share that styling (links that are not tagged or hold properties that style-settings are looking for). But, this only shows up in editing mode. When I switch to reading mode, the styling then all renders correctly.

Not a deal breaker for sure but I'd definitely label this as mildly infuriating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants