BRIKEV / express-jsdoc-swagger

Swagger OpenAPI 3.x generator
https://brikev.github.io/express-jsdoc-swagger-docs/#/
MIT License
219 stars 30 forks source link

Theme? #230

Open wajeht opened 2 years ago

wajeht commented 2 years ago

Is there a way to modify the swagger UI theme?

shanliangdeYWJ commented 1 year ago

The time is 2023-7-17 17:22:00 and I find this issue, I found this issue and thought there would be an answer, but there was no response. After a long time, I opened the source code and found a custom style option like this

swaggerUiOptions: { customCssUrl: [ '/stylesheets/swagger-custom.css', ], },

Then you can create a swagger-custom.css file in the stylesheets folder, All user styles are overlaid and written in swagger-custom. css