Add button backgrounds to design library
Problem
Improves dry-ness of existing button symbols, plus fixes disabled button styles.
Solution
Buttons now rely on less symbols and use nested symbols in order to set their states and variants.
Example(s)
Usage
Every time you would need a button
Dos and dont's
N/A
Related patterns
N/A
Links / references
Pattern checklist
Make sure these are completed before closing the issue, with a link to the relevant commit, if applicable.
-
Ensure that you have broken things down into atoms, molecules, and organisms. -
Check that you have not created a duplicate of an existing pattern. -
Ensure that you have used the proper method for creating the pattern depending on the complexity. Atoms and molecules are symbols, organisms are groups. -
Make sure that text is created using text styles. When applicable used shared styles for colors. -
QA check by another UX'r (create and reference a file in this issue which includes the changes as you would like to add them to the gitlab-elements file) -
Added to gitlab-elements.sketch - [-] Add to the UX Guide and/or add to the GitLab Design Library. See https://gitlab.com/gitlab-org/design.gitlab.com/issues/32
-
Add an agenda item to the next UX weekly call to inform everyone (if new pattern, not yet used in the application)
/label UX /cc @cperessini @dimitrieh @hazelyang @pedroms @sarrahvesselov @sarahod @tauriedavis