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

External link hard to view in editor mode #86

Open
userrand opened this issue Apr 21, 2023 · 5 comments
Open

External link hard to view in editor mode #86

userrand opened this issue Apr 21, 2023 · 5 comments

Comments

@userrand
Copy link

userrand commented Apr 21, 2023

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
Copy link
Owner

Can you give me some screenshots?

@userrand
Copy link
Author

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
Copy link
Collaborator

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
Copy link
Author

userrand commented Jul 5, 2023

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
Copy link
Collaborator

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

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

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

3 participants