Skip to content
This repository has been archived by the owner on Nov 26, 2023. It is now read-only.

Adjust the blog category tags design #75

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

danilo-leal
Copy link

@danilo-leal danilo-leal commented Oct 26, 2023

Heya! 👋 Love the Mintlify product and thought about opening this quickie here when I realized the repo was public.
Hope that's okay! First one, too, so let me know if anything's wrong. 😊

This PR adds a few stuff for the blog's category tags:

  • Design adjustments: thicker font for better legibility, background change on hover for both light & dark, a slight green background on the selected state for more visibility, transition for smoother interaction, and making them fully rounded to match with other buttons on the page.
  • Accessibility treatment: make the tags a <button> instead of a <div>, add aria-label, and focus treatment.
  • Layout: add flex-wrap to the container to fix them in mobile.

@vercel
Copy link

vercel bot commented Oct 26, 2023

@danilo-leal is attempting to deploy a commit to the Mintlify Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant