Add more selectors to cover end of ruby embedded strings

This commit is contained in:
Kevin Sawicki & Matt Colyer 2013-08-30 10:07:57 -07:00
parent 78b28b6ee6
commit 538b648042
2 changed files with 33 additions and 0 deletions

View File

@ -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;

View File

@ -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;