Skip to content

Commit

Permalink
Change monaco background color to match inputs (#82451) (#82623)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryankeairns authored Nov 4, 2020
1 parent 91ba34f commit 08037e2
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/plugins/kibana_react/public/code_editor/editor_theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function createTheme(
{
token: '',
foreground: euiTheme.euiColorDarkestShade,
background: euiTheme.euiColorEmptyShade,
background: euiTheme.euiFormBackgroundColor,
},
{ token: 'invalid', foreground: euiTheme.euiColorAccent },
{ token: 'emphasis', fontStyle: 'italic' },
Expand Down Expand Up @@ -94,7 +94,7 @@ export function createTheme(
],
colors: {
'editor.foreground': euiTheme.euiColorDarkestShade,
'editor.background': euiTheme.euiColorEmptyShade,
'editor.background': euiTheme.euiFormBackgroundColor,
'editorLineNumber.foreground': euiTheme.euiColorDarkShade,
'editorLineNumber.activeForeground': euiTheme.euiColorDarkShade,
'editorIndentGuide.background': euiTheme.euiColorLightShade,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,5 @@
.canvasExpression__settings {
padding: $euiSizeM $euiSize;
border-top: $euiBorderThin;
background-color: $euiColorEmptyShade;
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
position: absolute;
top: $euiSize * -1.25;
left: 50%;
background-color: $euiColorLightestShade;
background-color: $euiFormBackgroundColor;
margin: 0;
border-radius: $euiBorderRadius $euiBorderRadius 0 0;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@
}

.canvasTray__panel {
background-color: $euiPageBackgroundColor;
background-color: $euiFormBackgroundColor;
border-radius: 0;

&.canvasTray__panel--holdingExpression {
background-color: $euiColorEmptyShade;
}
}

2 changes: 1 addition & 1 deletion x-pack/plugins/painless_lab/public/styles/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ $bottomBarHeight: $euiSize * 3;

.painlessLabLeftPane {
padding-top: $euiSizeM;
background-color: $euiColorEmptyShade;
background-color: $euiFormBackgroundColor;
}

.painlessLabRightPane {
Expand Down

0 comments on commit 08037e2

Please sign in to comment.