petalframework / petal_components

Phoenix + Live View HEEX Components
https://petal.build/components
MIT License
818 stars 94 forks source link

Fix: Icon button setting info to primary #244

Closed Cameron-Kurth closed 1 year ago

Cameron-Kurth commented 1 year ago

Description

The info color arg for icon buttons was being set to the primary class. This PR just makes this small fix and adds some test coverage to ensure the colors are set correctly.

nhobes commented 1 year ago

Thanks for this! Merged and released in 1.4.4.