ubports / ubuntu-ui-toolkit

Moved to https://gitlab.com/ubports/core/lomiri-ui-toolkit
https://gitlab.com/ubports/core/lomiri-ui-toolkit
GNU Lesser General Public License v3.0
13 stars 21 forks source link

Add contrast function #60

Closed cibersheep closed 4 years ago

cibersheep commented 4 years ago

fixes: #59

bhdouglass commented 4 years ago

This looks good to me (other than the build seems to be failing, for testing I did before and after screenshots with various buttons:

Before: screenshot20200106_005208974

After: screenshot20200106_004520318

cibersheep commented 4 years ago

Thanks Brian.

cibersheep commented 4 years ago

I'm fine with contrastRatio() by itself, I just wanted the other name to be changed. Anyway, as long as the other method is not public, I'm fine :-)

Oh, I see. I'm sorry I must misread the whole message.