There are two things happening here, and because they both involve third-party packages I don’t use (and because I’m on my Chromebook) I can’t give an exact and complete answer, but here goes.
The Babel package is marking the quotes and the string contents differently. Ideally, it should be marking the entire string as meta.string
, and the quotes in particular as meta.string punctuation.definition.string
; that’s what the core JavaScript syntax does. This means that a color scheme can (but doesn’t have to) differentiate them. Then, the Material Theme’s color scheme is choosing to differentiate them, resulting in a different color for the quotes and the contents.
I would bet that this is probably a deliberate design decision on the part of the Material Theme color scheme’s authors. If you want to change it, then you can copy the entire color scheme into your User directory and edit the part(s) you don’t like.