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

Bold italic color doesn't work properly when the text is wrapped by <strong> and <em> instead of <b> and <i> #13

Open
juliusliu02 opened this issue Apr 18, 2023 · 0 comments

Comments

@juliusliu02
Copy link

The styling template in Nord doesn't color correctly with characters wrapped by <em> and <strong>, since the code only includes <b>, <i> as written below.

b > i,
i > b {
  color: var(--bold-italic-fg);
}

To make it compatible with text that utilizes <em> and <strong>, I've changed it to this, and it works fine now:

b > i,
i > b,
strong > i,
i > strong,
em > b,
b > em,
strong > em,
em > strong {
  color: var(--bold-italic-fg);
}

It'd be fantastic if it could be fixed in the release.

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

1 participant