Carbon: Component Design Audit v1.2

Created on 14 Feb 2019  路  7Comments  路  Source: carbon-design-system/carbon

Button

  • Should use tokens for colors, not call out to ibm-color variables directly

Checkbox

  • Inside needs to be block versus rounded (is this do-able?)
  • Investigate using SVG for checkbox icon (is this do-able?)
  • The stroke weight of the check is fatter than the dash
  • Vertical distance between checkbox groups should be 8px

image

  • remove margin-top from checkbox when placed below a label

image

image

Modal

  • No drop shadow on modal

image

  • Should have max-width set at 768px, but verify with design that this works 馃憤

  • Should have margin-bottom set to 1rem in form

image

  • Should be calling light field inside of a form (field 02), background should end up being gray10

Notifications

  • Height should be 64px with one line of text
  • Icon for warning should match circle icon in kit, needs to get added to icon library first (variant of https://carbon-elements.netlify.com/icons/examples/preview/#16%2Fwarning--filled with filled !)
  • Icon should be 20x20 variant
  • success icon color should be support-02
dev 馃 bug 馃悰

Most helpful comment

@emyarod

yes, i'm pretty sure all button colors / interactive states have tokens attached to them... color tokens are definitely the ones that have the steepest learning curve. @shixiedesign is this correct?

All 7 comments

@joshblack Thank you for writing this up! Any chance for @emyarod to join the audit so that he can get the handle on those kind of component issues? Thanks!

  • [ ] Button #1840
  • [x] Checkbox #1841 #1842
  • [x] Modal #1843 #1844
  • [x] Notifications #1845

do all the button color values have tokens associated with them? I desperately need a crash course on tokens to get everything sorted out

CC @IBM/carbon-designers @tw15egan to see if they know - Thanks!

@emyarod

yes, i'm pretty sure all button colors / interactive states have tokens attached to them... color tokens are definitely the ones that have the steepest learning curve. @shixiedesign is this correct?

Yep here's the boxnote that hopefully will help you @emyarod. I suggest doing a cmd+f and just quickly see if the component is mentioned:

https://ibm.ent.box.com/notes/346571079971

Please note there's been a couple of tweaks since this document is made, but it's largely correct..sorry this must be frustrating! Design should definitely get together and make an update to component specs that reflects tokens soon. Meanwhile feel free to let me or Anna know if you have any question with tokens.

all comments addressed in https://github.com/IBM/carbon-components/issues/1816#issuecomment-463419295 or superseded by Feb/Mar 2019 audits

Was this page helpful?
0 / 5 - 0 ratings