AusDTO / gov-au-ui-kit

MOVED TO https://github.com/govau/uikit/
https://github.com/govau/uikit/
MIT License
19 stars 12 forks source link

More obvious button states #464

Open DJMyles opened 7 years ago

DJMyles commented 7 years ago

Seeks to address https://github.com/AusDTO/gov-au-ui-kit/issues/391

Could potentially expand from here but this is is a good start.

I used a negative offset so as to not affect the overall element size as it could affect surrounding elements if used say inline as part of an input group.

screen shot 2017-01-13 at 12 48 25 pm

Definition of Done

elisechant commented 7 years ago

I think this should be visually approved, not just PR'ed.

klepas commented 7 years ago

@elisechant Yup, I want Gary to be across these.

AndrewArch commented 7 years ago

can I suggest that on the 'disabled' button, we use the lightest text colour possible that is still 4.5:1 contrast, eg maybe #404040 or lighter

gazhands commented 7 years ago

Any chance of seeing a live working demo?

klepas commented 7 years ago

@gazhands I’ll deploy one after lunch for you review.

klepas commented 7 years ago

@gazhands here you go: http://dg-uikit-button-offset-hover-proposal.apps.staging.digital.gov.au

gazhands commented 7 years ago

Thanks for the work so far everyone. I feel there's some more iteration on the visual design (of the buttons). Balancing all three states needs to be conceded (hover focus, and active) and getting these right, especially on touch screens.

klepas commented 7 years ago

@gazhands Cool.

I feel there's some more iteration on the visual design (of the buttons). Balancing all three states needs to be conceded (hover focus, and active) and getting these right, especially on touch screens.

Could you elaborate? Does this mean we need to give this to the design clinic?

I’m happy to work any design changes into the 2.x work, so knowing what the go is re. buttons soon would be great. (:

gazhands commented 7 years ago

Don't mind who picks this up but design clinic is a good start. Defo keen to have it for 2.0.

klepas commented 7 years ago

Don't mind who picks this up but design clinic is a good start. Defo keen to have it for 2.0.

*nod*

We will likely look at buttons within the coming two weeks as we write 2.x, so I propose we bring it up tomorrow.