Show Modal with Rounded Corners?

Is there a way to round the corners on a Modal? I tried using:

 Show-UDModal -Content {
        New-UDTypography -Text "Hello"
    } -Style @{"border-radius" = "12px"}

but it appears the css is being ignored.

Try changing “border-radius” to “borderRadius”.

I solved this by using a theme override.

$Theme = @{
   overrides = @{
       MuiDialog = @{
           paper = @{
            borderRadius = 12
           }
       }
   }
}