denoland / docs

Deno documentation, examples and API Reference. Powered by Lume.
https://docs.deno.com
MIT License
58 stars 109 forks source link

Improve unstable API badges #595

Open donjo opened 2 months ago

donjo commented 2 months ago

Unstable APIs currently get a badge highlighting the fact that they are unstable. However, it's hard to tell what exactly is being referenced given its size and where it appears.

This badge should appear on the same line as the api that is unstable (flex flex-row gap-3 items-center) and the label itself should be slightly adjusted (px-2 py-1.5 text-base) so it's size is more appropriate as a label for the adjacent text.

Screenshot 2024-07-15 at 3 57 52 PM
donjo commented 2 months ago

note to re-consider cases where multiple badges may be used here.