iommi_style

The Style system is what you normally use to specify how your product should look and behave, but something you want something more limited for just one or a few places. You can then specify a Style object directly on a component:

from iommi.style_bootstrap5 import bootstrap5
form = Form(
    auto__model=Album,
    iommi_style=Style(
        bootstrap5,  # Based on the bootstrap style
        Field=dict(
            input__attrs__style__background='blue',
        )
    )
)
▼ Hide result