[Unified search] Fixes the ui on the dark mode (#142703)

* [Unified search] Fixes the ui on the dark mode

* Fixes badge color
This commit is contained in:
Stratoula Kalafateli 2022-10-10 11:42:10 +03:00 committed by GitHub
parent 91dbdc7888
commit 613930461e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"
>
@ -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',
}}
/>
@ -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',
}}