Get help from the marimo community

Updated 4 months ago

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

At a glance

The post asks how to enable dark mode in the Marimo app. The comments suggest that dark mode is a user setting, not an app setting. One community member deployed the app and provided a raw address, but another community member found it troubling that the choice is between "black" and "white" text. The discussion then focuses on the .marimo.toml configuration file, where the theme can be set to "dark". However, there is no clear answer on where this configuration file should be located, as some community members mention using a Docker environment while others are using a virtual environment.

How to enable dark mode in the marimo app?
M
0
9 comments
Are you deploying it or this is locally?
It’s a user setting, not an app setting
I deployed it - http://45.250.253.241:5008/ raw address
: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
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)
Hmm. Would the .Marimo toml file be located in the repository that I am using? Im just using a virtual environment, no docker
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
Plain Text
[display]
theme = "dark"
Add a reply
Sign up and join the conversation on Discord