HiDeoo / starlight-openapi

Starlight plugin to generate documentation from OpenAPI/Swagger specifications
https://starlight-openapi.vercel.app
MIT License
113 stars 15 forks source link

Decorate more html entities with classes #42

Open jbergstroem opened 4 months ago

jbergstroem commented 4 months ago

Is your feature request related to a problem?

When attempting to style the generated html I found it difficult to target certain elements. It would be great if more classes/other targeting options were available to style it.

Describe the solution you'd like

All elements are easily stylable with classnames for recurring elements and perhaps path for the rest

Describe alternatives you've considered

No response

Additional Context

No response

HiDeoo commented 4 months ago

Thanks for the feedback :raised_hands:

Customization was definitely not something that was considered a lot when building the initial version of the plugin but this is a totally valid point that could be easily improved :thumbsup:

If you already know some parts that you had difficulties with, feel free to let me know so I can make sure to not miss them.