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

fix parentheses colors in js template strings #163

Merged
merged 3 commits into from
Jun 23, 2020

Conversation

kufii
Copy link
Contributor

@kufii kufii commented Oct 9, 2019

Fixes #162

@kufii kufii requested a review from svengreb as a code owner October 9, 2019 15:40
Copy link
Contributor

@arcticicestudio arcticicestudio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @kufii 👋, thanks for your contribution 👍
Sorry for this delay, the amount of issues & PRs for Nord is large.

I've tested the changes and it works fine, but I've added a suggestion to ensure it's also compatible with the most popular JavaScript syntax highlighting extension which unfortunately requires additional scope selectors.

themes/nord-color-theme.json Outdated Show resolved Hide resolved
Even though this is a extension specific addition, this is necessary since `mgmcdermott.vscode-language-babel` [1] is the most popular extension for _JavaScript_ syntax highlighting.

[1]: https://marketplace.visualstudio.com/items?itemName=mgmcdermott.vscode-language-babel

Co-authored-by: Arctic Ice Studio <[email protected]>
Copy link
Contributor

@arcticicestudio arcticicestudio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM now 🚀
Thanks again for your contribution.

@arcticicestudio arcticicestudio merged commit 41e2391 into nordtheme:develop Jun 23, 2020
arcticicestudio pushed a commit that referenced this pull request Feb 1, 2021
Improved the highlighting of braces within JavaScript template literals [1] to use `nord4` as foreground color instead of `nord14` like strings.

[1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals

Co-authored-by: Arctic Ice Studio <[email protected]>
Co-authored-by: Sven Greb <[email protected]>

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

Successfully merging this pull request may close these issues.

JS parentheses in string templates use string color
3 participants