Marimo Theming Management
Project description
Marimo Custom Themes
personalize your experience with marimo
Theme Gallery
coldme
nord
mininini
wigwam
Get Started
# Install motheme CLI tool
pip install motheme
# Help messages
motheme
# Initialize themes
motheme update
# List available themes
motheme themes
# Apply a theme to specific files
motheme apply coldme notebook1.py notebook2.py
# Or, apply theme recursively in a directory
motheme apply -r coldme ./
[!NOTE]
Please note that some parts of the Marimo notebook are not fully exposed for customization at this time. This includes side panels and cell editors
[!WARNING]
You may want to run
motheme clear -r ./before sharing or uploading your notebooks because the fieldcss_fileinmarimo.App()may leak your private data.
You can also add motheme as a uv tool
# install motheme as a uv tool
uv tool install motheme
# use motheme
uvx motheme <command>
Usage
-
Requirements: Ensure you are using Marimo version 0.9.14 or higher. It is recommended to keep your Marimo version up-to-date for the best experience.
-
Light and Dark Mode Support: All themes support both light and dark modes and will switch automatically based on your notebook's current theme settings.
Contributing
To contribute your own themes, please follow these guidelines:
-
Refer to Default Arguments: All available arguments are listed in
default.css, which serves as a reference for writing your themes. You can experiment with other arguments, but please note that stability cannot be guaranteed with untested changes. -
Light and Dark Themes: Implement both light and dark themes using the light-dark syntax as demonstrated in
default.css. If you choose not to implement a theme for a specific mode, name your theme asxxx_lightorxxx_darkand use the default values for the respective mode fromdefault.css. -
Folder Structure: After finishing your CSS file, create a new folder inside
themeswith the name of your theme. Within this folder, upload the following:- The CSS file
- Preview images
- An optional
README.mdfile to illustrate your design
-
Design Using Sample: You can design your theme using the
sample.pyfile provided in the repository. This file helps visualize how your theme will look in the Marimo notebook.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file motheme-0.1.4.tar.gz.
File metadata
- Download URL: motheme-0.1.4.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9742f0857ec7ba8e1fa87e3b90e94c41c4e905d69de40e72eee20f03fcdcdfbb
|
|
| MD5 |
cce301fda5dfd9099cffceec4f825329
|
|
| BLAKE2b-256 |
ab65e6549974322e34302ea51763a2ebcb70afc37380a60a22e76c36df746970
|
File details
Details for the file motheme-0.1.4-py3-none-any.whl.
File metadata
- Download URL: motheme-0.1.4-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a8307aa2e365b0c280c5171772e3387a2a87df81a9f7697089cd6d7e38bc829
|
|
| MD5 |
baec02025af08ce80efcfa7a293d595d
|
|
| BLAKE2b-256 |
9d6aba07fd8cf7f4624caaca3f2fff064cd107e54d371609efce143d85308f9c
|