ic-ui-kit icon indicating copy to clipboard operation
ic-ui-kit copied to clipboard

Internal issue 3121 - IcToggleButton has a border within the button when toggled

Open ticket-sync[bot] opened this issue 3 months ago • 2 comments

A border is added inside the perimeter of a toggled IcToggleButton which becomes apparent when the background is a different colour to the standard white or black in light / darkmode.

Demonstration of this in a Stackblitz

Ideally this border would be removed or removable via a prop as it looks odd with certain background colours.

Image

ticket-sync[bot] avatar Oct 16 '25 12:10 ticket-sync[bot]

Also there is an issue with "Outline off" having an outline to investigate

MI6-255 avatar Oct 23 '25 08:10 MI6-255

also, the white border seems to come from the --toggle-button-text color token, which feels wrong - should this be a "border" token rather than "text"?

Image

ad9242 avatar Oct 23 '25 09:10 ad9242