mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 22:02:11 +03:00
2fb88e65ca
ref https://linear.app/tryghost/issue/ENG-1653 - we were always setting a `style="background-color: #123456"` attribute on the buttons but that didn't allow for different button states such as the red failure state to correctly override meaning there was some odd behaviour when hovering - removed the fixed `style` attribute and adjusted `<GhTaskButton>` - added `@useAccentColor` prop - when `@useAccentColor` is true, add the necessary `style` attribute except when showing the failure state |
||
---|---|---|
.. | ||
acceptance | ||
helpers | ||
integration | ||
unit | ||
index.html | ||
test-helper.js |