How can I set the width of ion-toolbar

I would like to fix the toolbar width when screen size larger than a certain value.
But in Ionic 5, the container I want to set the width is inside the shadow dom, which is <div class="toolbar-container"> Then how can I style this?
The style I would like to set is:

width: 1020px;
margin: 0 auto;

Thanks