Created
August 14, 2024 16:52
-
-
Save ntjess/4d7fd41e7e8a61fdb1fb088515724b67 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import solara as sl | |
from solara import lab as sl_lab | |
@sl.component | |
def Page(): | |
sl.Style( | |
""" | |
body { | |
max-width: 800px; | |
margin: 30px auto 2em auto !important; | |
padding-left: 2em; | |
padding-right: 2em; | |
} | |
""" | |
) | |
sl_lab.ThemeToggle() | |
sl.Markdown("# Hello, Solara!") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment