diff --git a/themes/atom-dark-syntax.less b/themes/atom-dark-syntax.less index ba77de9ae..b1c1293c5 100644 --- a/themes/atom-dark-syntax.less +++ b/themes/atom-dark-syntax.less @@ -126,6 +126,22 @@ background-color: rgba(86, 45, 86, 0.75); } +// String interpolation in Ruby, CoffeeScript, and others +.source .string { + .source, + .meta.embedded.line { + color: #EDEDED; + } + + .punctuation.section.embedded { + color: #00A0A0; + + .source { + color: #00A0A0; // Required for the end of embedded strings in Ruby #716 + } + } +} + .string { color: #A8FF60; diff --git a/themes/atom-light-syntax.less b/themes/atom-light-syntax.less index 61e1cfcbe..594c5de7a 100644 --- a/themes/atom-light-syntax.less +++ b/themes/atom-light-syntax.less @@ -48,6 +48,23 @@ color: #D14; } + // String interpolation in Ruby, CoffeeScript, and others + .source .string { + .source, + .meta.embedded.line { + color: #5A5A5A; + } + + .punctuation.section.embedded { + color: #920B2D; + + .source { + color: #920B2D; // Required for the end of embedded strings in Ruby #716 + } + } + } + + .constant { &.numeric { color: #D14;