Skip to content

Buttons #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Feb 3, 2022
Merged

Buttons #14

merged 14 commits into from
Feb 3, 2022

Conversation

Studio384
Copy link
Collaborator

@Studio384 Studio384 commented Feb 2, 2022

Our very first component (in CSS). 🤩

So uhm, I already do realize that this is a bit of a deviation from the design shown in #6. The inspiration for these buttons comes from various sources, including Primer, Tailwind, and Bootstrap.

They include both contextual variants (like primary, danger) and color variants (like blue, red). Whether the later will survive until the end will remain to be seen.

This is also the first pull request where we'll really have to start paying attention to contrast ratios and automate the color of text based on the background it appears on.

Checklist

  • Basic buttons
    • :hover, :focus, and :active (and .active)
    • aria-disabled, disabled, and .disabled
  • Small, medium, and large size
  • Automate color based on background
  • Grouped buttons
    • Button groups
    • Button toolbars
  • Block buttons
  • Start and end icons

Documentation

See the included documentation for more information.

Me: "I'm going to make a consistent UI library with Figma and SCSS"
Also me: *Derails entirely from the Figma design without even thinking about it*
@Studio384 Studio384 added this to the Mellow CSS 1.0 milestone Feb 2, 2022
@Studio384 Studio384 self-assigned this Feb 2, 2022
@Studio384 Studio384 mentioned this pull request Feb 2, 2022
32 tasks
@Studio384 Studio384 merged commit 4c04e17 into main Feb 3, 2022
@Studio384 Studio384 deleted the buttons branch March 10, 2022 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant