opensearch-project/ml-commons-dashboards

[BUG] Support Dark Mode

Closed this issue · 1 comments

What is the bug?

Components don't respect dark mode styles making it difficult to see

Example:
Screenshot 2023-06-01 at 8 34 19 AM

How can one reproduce the bug?

From dev start OSD with plugin in dark mode

yarn start --uiSettings.overrides["theme:darkMode"]=true --ml_commons_dashboards.enabled=true

or
From distribution

./bin/opensearch-dashboards --uiSettings.overrides["theme:darkMode"]=true --ml_commons_dashboards.enabled=true

Navigate to ML plugin in OpenSearch Dashboards.

Notice input field is white.

What is the expected behavior?

Readable in Dark Mode

What is your host/environment?

2.8

Do you have any screenshots?

above

Do you have any additional context?

n/a

Hi Kavilla, thank you for reporting this bug. It seems caused by the incorrect background-color for the duration picker. Will do some investigate to fix this.