kasnerz / letax

MIT License
1 stars 0 forks source link

Make colors compatible with dark mode #62

Closed kasnerz closed 8 months ago

kasnerz commented 11 months ago

Currently, the app uses the "X-Challenge blue" (#002676) for labels. This color is not really distinguishable in dark mode.

Unfortunately, there is no standard way how to detect user mode in Streamlit.

Here is a fresh suggestion on how to do it with JS: https://discuss.streamlit.io/t/check-if-the-app-is-in-dark-mode-or-light-mode-at-runtime/20222/8

If that wouldn't work, we may consider using a primary color which is visible in both modes.