Skip to content

Commit

Permalink
[Unified search] Fixes the ui on the dark mode (#142703)
Browse files Browse the repository at this point in the history
* [Unified search] Fixes the ui on the dark mode

* Fixes badge color
  • Loading branch information
stratoula authored Oct 10, 2022
1 parent 91dbdc7 commit 6139304
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ export const TextBasedLanguagesEditor = memo(function TextBasedLanguagesEditor({
<div css={styles.editorContainer}>
{!isCompactFocused && (
<EuiBadge
color="default"
color={euiTheme.colors.lightShade}
css={styles.linesBadge}
data-test-subj="unifiedTextLangEditor-inline-lines-badge"
>
Expand Down Expand Up @@ -566,7 +566,7 @@ export const TextBasedLanguagesEditor = memo(function TextBasedLanguagesEditor({
data-test-subj="unifiedTextLangEditor-expand"
css={{
borderRadius: 0,
backgroundColor: '#e9edf3',
backgroundColor: isDark ? euiTheme.colors.lightestShade : '#e9edf3',
border: '1px solid rgb(17 43 134 / 10%) !important',
}}
/>
Expand Down Expand Up @@ -602,7 +602,7 @@ export const TextBasedLanguagesEditor = memo(function TextBasedLanguagesEditor({
css={{
borderTopLeftRadius: 0,
borderBottomLeftRadius: 0,
backgroundColor: '#e9edf3',
backgroundColor: isDark ? euiTheme.colors.lightestShade : '#e9edf3',
border: '1px solid rgb(17 43 134 / 10%) !important',
borderLeft: 'transparent !important',
}}
Expand Down

0 comments on commit 6139304

Please sign in to comment.