ad-on-is / adonis-autoswagger

Auto-Generate swagger docs for AdonisJS
MIT License
97 stars 32 forks source link

style: add a custom AdonisJS theme for scalar #55

Closed hanspagel closed 3 months ago

hanspagel commented 3 months ago

This PR adds a custom theme matching the AdonisJS colors and styles for the Scalar API reference added in #54. ✨

https://github.com/ad-on-is/adonis-autoswagger/assets/1577992/b15ce599-d00c-4376-916e-b75f64cb8039

To be honest, I added this blindly. What’s the best/quickest way for me to test the source in a real project? 👀

ad-on-is commented 3 months ago

@hanspagel I need to think about this one, but I'd rather not have additional CSS and stuff in the package, since I think this would be better off done in the adonisjs project itself.

Edit: Oh I see, this is just CSS without any compilation etc... In that case, I'm fine with it

ad-on-is commented 3 months ago

Done in 2.12

ad-on-is commented 3 months ago

autoswagger-peek

hanspagel commented 3 months ago

That was fast. :)