[styled-components] How to apply styling to only ContentBox rendered by FormEngineContentBoxRenderer

In our project we want the form layout to have bigger title, more rounded corner and larger spacing. So I applied custom theme outside the FormEngineViews.FormEngine. It looks good but the problem is, when user click on delete button (confirmationButton), a model notification appears also render Contentbox which also applied the same theme with outter ContentBox for the form. How can I apply theme to just only direct context box render the form. Thanks!
Screen Shot 2022-11-05 at 12.33.40
Screen Shot 2022-11-05 at 12.40.42

So I end up with writing css for it
Screen Shot 2022-11-05 at 15.25.23

Another way is using customWidgetMap to make Notification Widget to use theme we want