Skip to content

Commit 3e8b339

Browse files
committed
re-add background color to line numbers
1 parent 3eea730 commit 3e8b339

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/code-view/styles.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ $color-background-code-view-dark: #282c34;
5252
border-inline-end-style: solid;
5353
padding-inline-start: cs.$space-static-xs;
5454
padding-inline-end: cs.$space-static-xs;
55+
56+
background-color: $color-background-code-view-light;
57+
:global(.awsui-dark-mode) &,
58+
:global(.awsui-polaris-dark-mode) & {
59+
background-color: $color-background-code-view-dark;
60+
}
5561
}
5662

5763
.unselectable {

0 commit comments

Comments
 (0)