PetJournal / petjournal.api

API of the Pet Journal platform that helps you take care of your pet.
MIT License
15 stars 6 forks source link

Dark Theme documentation #37

Closed matheusgondra closed 1 year ago

matheusgondra commented 1 year ago

Added documentation page with dark mode.

Swagger allows you to add custom CSS to your documentation page. So, I added a CSS to make the theme dark.

I hadn't found a simple way, or not, to add a toggle to change the theme. So I added a new route /api/docs/dark. The original route /api/docs remains the same.