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

does --color-fg-default apply on text color? #90

Closed
Hunkoys opened this issue Oct 30, 2021 · 2 comments
Closed

does --color-fg-default apply on text color? #90

Hunkoys opened this issue Oct 30, 2021 · 2 comments

Comments

@Hunkoys
Copy link

Hunkoys commented Oct 30, 2021

I used this css on another extension and I notice the text in dark mode didn't quite match github's. So I made another rule to fix that
.markdown-preview * { color: var(--color-fg-default); }

Not sure if it was just me.

@hyrious
Copy link
Collaborator

hyrious commented Oct 30, 2021

This rule does exist, I think there may be some other rule's specificity higher than it?

.markdown-body {
  color: var(--color-fg-default);
}

@Hunkoys
Copy link
Author

Hunkoys commented Nov 1, 2021

I did saw that. I just realized now it might actually be from the extension I was using. For some reason, my vscode does not want to load any css from markdown.styles that's why I was using it on that extension.

@Hunkoys Hunkoys closed this as completed Nov 1, 2021
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

2 participants