Skip to content

Hot reload the custom_css file in edit mode #8089

@nojaf

Description

@nojaf

Description

I need to give a presentation and I'm exploring the slideshow layout in Marimo.

Using css_file I can ensure branding is more on point:

app = marimo.App(
    width="medium",
    layout_file="layouts/slides.slides.json",
    css_file="theme.css",
)

but it would be great if this file would be watched for changes and have hot reload.

Suggested solution

Would be nice if this just worked when running marimo edit.

Are you willing to submit a PR?

  • Yes

Alternatives

No response

Additional context

Happy to work on this myself but would could use a pointer on where to start.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions