bennyxguo / Obsidian-Obsidianite

🎨 Obsidian.md custom theme, it's dark and simple but yet still stays sparkles!
MIT License
271 stars 47 forks source link

External link hard to view in editor mode #86

Open userrand opened 1 year ago

userrand commented 1 year ago

Thank you for this beautiful theme.

In editor mode, external links to websites are hard to see with a dark theme. They are dark purple.

Trying to override the color with a CSS snippet with a white color on a dark background shows the link in gray instead of white. It seems to me something is mixing the color with black, making all colors for the link look grayish.

bennyxguo commented 1 year ago

Can you give me some screenshots?

userrand commented 1 year ago

Hi,

Here is an example of reading mode (this one is alright for me)

image

Here is an example of editor mode (this one is hard to see for me):

image

If I try to change the color to white I get gray instead. Maybe some part of the theme is making all colors dark but I did not check.

Do you see something different in editor mode?

krokofant commented 1 year ago

To adjust this with a snippet you might do something like this:

.cm-url {
color: white; # white as you wanted
opacity: unset;
}

The opacity of 0.4 made the white more gray-ish.

userrand commented 1 year ago

To adjust this with a snippet you might do something like this:

.cm-url {
color: white; # white as you wanted
opacity: unset;
}

The opacity of 0.4 made the white more gray-ish.

Hi thank you. Is that for edit mode or reading mode ? The command does not seem to change the color in edit mode

krokofant commented 1 year ago

Ah, it was a little wrong, this should work:

.cm-url {
  color: white !important;
  opacity: unset;
}