Skip to content

Commit b6a9bd9

Browse files
committed
Change monaco background color to match inputs (#82451)
1 parent ce311c8 commit b6a9bd9

5 files changed

Lines changed: 6 additions & 9 deletions

File tree

src/plugins/kibana_react/public/code_editor/editor_theme.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export function createTheme(
3535
{
3636
token: '',
3737
foreground: euiTheme.euiColorDarkestShade,
38-
background: euiTheme.euiColorEmptyShade,
38+
background: euiTheme.euiFormBackgroundColor,
3939
},
4040
{ token: 'invalid', foreground: euiTheme.euiColorAccent },
4141
{ token: 'emphasis', fontStyle: 'italic' },
@@ -94,7 +94,7 @@ export function createTheme(
9494
],
9595
colors: {
9696
'editor.foreground': euiTheme.euiColorDarkestShade,
97-
'editor.background': euiTheme.euiColorEmptyShade,
97+
'editor.background': euiTheme.euiFormBackgroundColor,
9898
'editorLineNumber.foreground': euiTheme.euiColorDarkShade,
9999
'editorLineNumber.activeForeground': euiTheme.euiColorDarkShade,
100100
'editorIndentGuide.background': euiTheme.euiColorLightShade,

x-pack/plugins/canvas/public/components/expression/expression.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,5 @@
4545
.canvasExpression__settings {
4646
padding: $euiSizeM $euiSize;
4747
border-top: $euiBorderThin;
48+
background-color: $euiColorEmptyShade;
4849
}

x-pack/plugins/canvas/public/components/toolbar/toolbar.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
position: absolute;
77
top: $euiSize * -1.25;
88
left: 50%;
9-
background-color: $euiColorLightestShade;
9+
background-color: $euiFormBackgroundColor;
1010
margin: 0;
1111
border-radius: $euiBorderRadius $euiBorderRadius 0 0;
1212

x-pack/plugins/canvas/public/components/toolbar/tray/tray.scss

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@
44
}
55

66
.canvasTray__panel {
7-
background-color: $euiPageBackgroundColor;
7+
background-color: $euiFormBackgroundColor;
88
border-radius: 0;
9-
10-
&.canvasTray__panel--holdingExpression {
11-
background-color: $euiColorEmptyShade;
12-
}
139
}
1410

x-pack/plugins/painless_lab/public/styles/_index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ $bottomBarHeight: $euiSize * 3;
1212

1313
.painlessLabLeftPane {
1414
padding-top: $euiSizeM;
15-
background-color: $euiColorEmptyShade;
15+
background-color: $euiFormBackgroundColor;
1616
}
1717

1818
.painlessLabRightPane {

0 commit comments

Comments
 (0)