A repackaging of Swagger UI's SCSS files, for use in projects that would like to adapt them by overriding the variables.
npm i @createiq/swagger-ui-scss
Replace any import of the default Swagger UI CSS file with a reference to main.scss:
- @import '~swagger-ui-react/swagger-ui.css';
+ @import '~@createiq/swagger-ui-scss/style/main.scss';
Then you can override the variables that are used internally by Swagger UI:
$color-primary: #6750a4;