Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

UXW-2182 fix codemirror editor suggestions styles in light mode (#65367)

Denis Berezin7c7241d35007
diff --git a/frontend/src/metabase/common/components/CodeMirror/CodeMirror.module.css b/frontend/src/metabase/common/components/CodeMirror/CodeMirror.module.css
index 686a92e1fe1..ca8f7f85782 100644
--- a/frontend/src/metabase/common/components/CodeMirror/CodeMirror.module.css
+++ b/frontend/src/metabase/common/components/CodeMirror/CodeMirror.module.css
@@ -81,7 +81,7 @@
.cm-completionMatchedText {
text-decoration: none;
font-weight: bold;
- color: var(--mb-color-focus);
+ color: var(--mb-color-text-brand);
}
.cm-completionDetail {
@@ -129,6 +129,7 @@
&:hover,
&[aria-selected="true"] {
background-color: var(--mb-color-bg-hover);
+ color: var(--mb-color-text-dark);
}
}