Skip to content

Commit fb25a0d

Browse files
committed
Derive the stackframe color from the syntax theme.
1 parent 7d2c7ed commit fb25a0d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

stylesheets/stacktrace.less

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
// See https://github.com/atom/atom-dark-ui/blob/master/stylesheets/ui-variables.less
44
// for a full listing of what's available.
55
@import "ui-variables";
6+
@import "syntax-variables";
7+
8+
@stackframe-background: mix(@background-color-info, @syntax-background-color, 40%);
9+
@stackframe-gutter-background: mix(@background-color-info, @syntax-gutter-background-color, 40%);
610

711
.stacktrace {
812
&.enter-dialog .editor {
@@ -48,6 +52,10 @@
4852

4953
.editor {
5054
.line.line-stackframe {
51-
background: @background-color-info;
55+
background: @stackframe-background;
56+
}
57+
58+
.gutter .gutter-stackframe {
59+
background: @stackframe-gutter-background;
5260
}
5361
}

0 commit comments

Comments
 (0)