mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Add more selectors to cover end of ruby embedded strings
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user