dosubot[bot] commented on issue #35313: URL: https://github.com/apache/superset/issues/35313#issuecomment-3339541488
<!-- Answer --> This is a known issue caused by the autocomplete dropdown in SQL Lab using Ace Editor's static light theme, which doesn't adapt to Superset's dark mode. As a result, the matched text appears black on a black background in dark theme. The relevant styling is handled in the AceEditorWrapper and AsyncAceEditor components, but currently, there is no CSS override for the autocomplete text color in dark mode, nor does the Ace theme change dynamically with Superset's theme. This leads to the unreadable autocomplete text you’re seeing. Using theme tokens for text color, as done in other recent dark mode fixes, would resolve this issue, but it hasn't been implemented for the autocomplete dropdown yet. For reference, see the related discussion and code details [here](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/src/SqlLab/components/AceEditorWrapper/index.tsx) and [here](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b 063ffe45377799c/superset-frontend/packages/superset-ui-core/src/components/AsyncAceEditor/index.tsx). <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/35bb4de9-f95e-4e78-aa59-ca88d61c9a23?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/35bb4de9-f95e-4e78-aa59-ca88d61c9a23?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/35bb4de9-f95e-4e78-aa59-ca88d61c9a23?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/35bb4de9-f95e-4e78-aa59-ca88d61c9a23?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/35bb4de9-f95e-4e78-aa59-ca88d61c9a23?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/35bb4de9-f95e-4e78-aa59-ca88d61c9a23?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/35bb4de9-f95e-4e78-aa59-ca88d61c9a23?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu b) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/35313) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
