Skip to content

Commit

Permalink
Fix highlighting of "injected language fragments"
Browse files Browse the repository at this point in the history
Before the `INJECTED_LANGUAGE_FRAGMENT` editor color scheme key was
set to use `nord10` as foreground which overrides any language specific
highlighting of "injected language fragments", e.g. when using CSS-in-JS
libraries like styled-components [1] through the
"Styled Components & Styled JSX“ [2] plugin.

This has been fixed by removing the defined foreground color entirely so
the highlighting for the specific languages is uses instead.

[1]: https://styled-components.com
[2]: https://plugins.jetbrains.com/plugin/9997-styled-components--styled-jsx

GH-140
  • Loading branch information
arcticicestudio committed Feb 17, 2020
1 parent 411ce6d commit ff057ff
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions resources/themes/nord.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2186,9 +2186,7 @@
</value>
</option>
<option name="INJECTED_LANGUAGE_FRAGMENT">
<value>
<option name="FOREGROUND" value="5e81ac" />
</value>
<value />
</option>
<option name="INLINE_PARAMETER_HINT">
<value>
Expand Down

0 comments on commit ff057ff

Please sign in to comment.