chainlit
chainlit copied to clipboard
Remove the "dark-mode" from the Settings UI
I want to hide the option dark-mode of the settings UI.
There is a way to hide the theme switch from the user ?
I know that I could hide using CSS, but I'd like to know if there is an official and correct way to do it.
I like dark mode.
It's not supported. CS injection would be the way to go unless you want to fork the FE and remove it entirely.
@dahifi Any tips on CSS injection? It seems react creates random class names so I haven't been able to target specific elements.
Hello, you can add custom css to hide the button, or overload the dark theme's palette with the light theme ones.