marimo-team / marimo

A reactive notebook for Python — run reproducible experiments, execute as a script, deploy as an app, and version with git.
https://marimo.io
Apache License 2.0
5.4k stars 159 forks source link

Theming #989

Open TobiasEnergyMachines opened 3 months ago

TobiasEnergyMachines commented 3 months ago

Description

It would be great if it was possible to customize theming for marimo apps. This would include background colour, global font settings, etc.

Suggested solution

A similar approach can be seen here: https://docs.streamlit.io/library/advanced-features/theming

An alternative approach could be to enable direct modification of the css properties.

Alternative

No response

Additional context

No response

mscolnick commented 2 months ago

For anyone that comes to this issue, please list of the things you would like themed. Let me know if i am missing anything:

primaryBackgroundColor: (light, dark)
primaryForegroundColor: (light, dark)

accentBackgroundColor: (light, dark)
accentForegroundColor: (light, dark)

backgroundColor: (light, dark)
foregroundColor: (light, dark)

font
fontSize
headingFont
headingFontSize

favicon
TobiasEnergyMachines commented 2 months ago

Sounds great!

I would also add: