view_components icon indicating copy to clipboard operation
view_components copied to clipboard

Button with `scheme: :invisible` has different font colors

Open HDinger opened this issue 11 months ago • 0 comments

Version

0.19.0

Steps to reprdocue

  • Use an Primer::Beta::Button with scheme: :invisible
  • Compare how the button looks w/o a trailing or leading visual
  • The issue can be seen here: https://view-components-storybook.eastus.cloudapp.azure.com/view-components/lookbook/inspect/primer/beta/button/invisible_all_visuals
Bildschirmfoto 2024-03-05 um 08 23 46

Actual behaviour

  • Without an additional visual, the button font is blue
  • With an additional visual it is black

Expected behaviour

  • The font color should always be the same
  • I assume, the default should be black according to this specification: https://primer.style/components/button#invisible

HDinger avatar Mar 05 '24 07:03 HDinger