Skip to main content

Marimo Theming Management

Project description

Marimo Custom Themes

personalize your experience with marimo

Theme Gallery

coldme

coldme light coldme dark

nord

nord light nord dark

mininini

mininini light mininini dark

wigwam

wigwam light wigwam dark

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 field css_file in marimo.App() may leak your private data.

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 as xxx_light or xxx_dark and use the default values for the respective mode from default.css.

  • Folder Structure: After finishing your CSS file, create a new folder inside themes with the name of your theme. Within this folder, upload the following:

    • The CSS file
    • Preview images
    • An optional README.md file to illustrate your design
  • Design Using Sample: You can design your theme using the sample.py file provided in the repository. This file helps visualize how your theme will look in the Marimo notebook.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

motheme-0.1.3.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

motheme-0.1.3-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

Details for the file motheme-0.1.3.tar.gz.

File metadata

  • Download URL: motheme-0.1.3.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.4

File hashes

Hashes for motheme-0.1.3.tar.gz
Algorithm Hash digest
SHA256 2789772acba1fe60e7b9a42f8f0b5c1390320126d507cf7cf2174aa046b37b1d
MD5 5fb7f309eb02c9521ae242643a5e93cf
BLAKE2b-256 78553590b3a4c3dded73bc06cbf0a064612f7deae10e81e3962991325a31e2d3

See more details on using hashes here.

File details

Details for the file motheme-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: motheme-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.4

File hashes

Hashes for motheme-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b0d5e40e0875f5d37107775da3a8fe73d4cee0414e042c0029ae19db1dd86ea5
MD5 fc48bbcfc67ba85b3059c7ce968a87a7
BLAKE2b-256 17e1bfacc827b971c451f9d14fb7c40fde25eac996e4e00a23d7bb325ed584dc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page