Styles
UDStyle component for Universal Dashboard
Applying a Style
New-UDStyle -Style '
padding: 32px;
background-color: hotpink;
font-size: 24px;
border-radius: 4px;
&:hover {
color: white;
}
.MuiCardHeader-root {
background-color: green !important;
}
.MuiCardContent-root {
background-color: green !important;
}' -Content {
New-UDCard -Title 'Test' -Content {
"Hello"
}
}
Overriding Built in Styles

Last updated
Was this helpful?