import vizro.models as vm
from vizro import Vizro
page = vm.Page(
title="Changing the card color",
components=[
vm.Card(id="custom-card", text="""Lorem ipsum dolor sit amet consectetur adipisicing elit."""),
vm.Card(text="""Lorem ipsum dolor sit amet consectetur adipisicing elit.""")
],
)
dashboard = vm.Dashboard(pages=[page])
Vizro().build(dashboard).run()