Skip to content

In dark mode, datetime selector icon in st.data_editor is also dark #12852

@rhelouREV

Description

@rhelouREV

Checklist

  • I have searched the existing issues for similar issues.
  • I added a very descriptive title to this issue.
  • I have provided sufficient information below to help reproduce this issue.

Summary

As shown in the screenshot below, when in dark mode, the icon to select dates/times in st.data_editor is also dark (barely visible). Can you update to light please?

Not sure if was better in previous version(s) or not.

Image

Reproducible Code Example

import streamlit as st
import pandas as pd

df = pd.DataFrame({"date": [pd.Timestamp.now().date(),]})

st.data_editor(df)

Steps To Reproduce

  1. Ensure you're in dark mode
  2. Run the code attached.
  3. Observe how the datetime selector icon is also dark, i.e. barely visible.

Expected Behavior

Expecting light icon in dark mode.

Current Behavior

Dark icon in dark mode (barely visible).

Is this a regression?

  • Yes, this used to work in a previous version.

Debug info

  • Streamlit version: 1.50.0
  • Python version: 3.12
  • Operating System: Windows/Linux
  • Browser: Chrome/Edge

Additional Information

No response

Metadata

Metadata

Assignees

Labels

feature:st.data_editorRelated to the `st.data_editor` widgetgood first issueGood for newcomers to the codebasepriority:P3Medium prioritystatus:confirmedBug has been confirmed by the Streamlit teamtype:bugSomething isn't working as expected

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions