scale icon indicating copy to clipboard operation
scale copied to clipboard

allow icon resize in text-field / helper-text

Open sulyok-daniel opened this issue 1 year ago • 2 comments

For better readability we increased the font size of text-field's error messages. Unfortunately the icon size is hard coded to 11px - we would like to have a mechanism to configure the icon size, eg.

  • by setting it as an attribute on text-field
  • by allowing to pass styles to helper-text through text-field
  • by binding the icon size to a design token

to match the resized font.

image

sulyok-daniel avatar Feb 28 '23 09:02 sulyok-daniel

hello, @felix-ico ! as I see, now --helper-text-icon-size variable is available for scale-text-field, and it's great. but it would be good to have the same for scale-dropdown. Now I don't see it, correct me if I'm wrong. Would it be possible to add it? Should I create another issue?

Thanks in advance!

tshimber avatar Mar 30 '23 09:03 tshimber

Hi @tshimber, thanks for pointing this out. Of course text-area and dropdown should also have this option. I will take care of this, and there is no need to open a new issue for this. When the PR is ready I will link this issue to it, so you should get notified if you are watching it.

felix-ico avatar Mar 31 '23 08:03 felix-ico