F
Filament3mo ago
mpiet

Different colors for light and dark mode?

Is it possible to register colors like "primary" differently for light and dark mode?
2 Replies
Tieme
Tieme3mo ago
By default not. Maybe with middleware, but the as far as i know the 'theme' is set with localstorage. If you change that to a database field you can change primary colors with middleware.
awcodes
awcodes3mo ago
Not your exact use case but this should give you some insight. https://discord.com/channels/883083792112300104/1231826194668851200 You will need a custom theme setup though.