0xEvan
0xEvan4mo ago

dark mode is only enabled in the marimo edit mode, but defaults to light mode when I run as app

How to enable dark mode in the marimo app?
Solution:
if you run marimo config show, it prints out where it is. you should include, with your dockerfile a .marimo.toml file with the contents
[display]
theme = "dark"
[display]
theme = "dark"
...
Jump to solution
6 Replies
Myles Scolnick
Myles Scolnick4mo ago
Are you deploying it or this is locally? It’s a user setting, not an app setting
0xEvan
0xEvanOP4mo ago
I deployed it - http://45.250.253.241:5008/ raw address
preconf_analytics
a marimo app
0xEvan
0xEvanOP4mo ago
:45]Myles Scolnick: It’s a user setting, not an app setting Well thats a bit troubling. Then its hard to choose between "blacck" and "white" text
Myles Scolnick
Myles Scolnick4mo ago
So we grab the config from a .marimo.toml We don’t document this well - but you can copy your config file inside your dockerfile marimo config show (Sorry on my phone)
0xEvan
0xEvanOP4mo ago
Hmm. Would the .Marimo toml file be located in the repository that I am using? Im just using a virtual environment, no docker
Solution
Myles Scolnick
Myles Scolnick4mo ago
if you run marimo config show, it prints out where it is. you should include, with your dockerfile a .marimo.toml file with the contents
[display]
theme = "dark"
[display]
theme = "dark"