Is it possible to override the default styles of the MatButtonToggleGroup? How can you change the border radius and background color of the MatButtonToggleGroup?
You can overwrite variables for it, for example in main styles.scss file.
To change border-radius
there is variable --mat-standard-button-toggle-shape
so just set --mat-standard-button-toggle-shape: 1px;
for example.
To change background-color
of not selected mat-button-toggle
there is variable --mat-standard-button-toggle-background-color
and for selected mat-button-toggle
there is variable --mat-standard-button-toggle-selected-state-background-color
.
Example: