Explicitly set text color in price badges

This commit is contained in:
Correl Roush 2023-07-18 16:55:47 -04:00
parent a24ae30c9f
commit ee68b1e10c

View file

@ -198,8 +198,8 @@ priceBadge { currency, amount } =
]
<|
E.row [ E.width E.fill ]
[ E.el [ E.width <| E.fillPortion 1 ] <| E.text <| String.toUpper currency
, E.el [ E.width <| E.fillPortion 2, Font.alignRight ] <| E.text <| Round.round 2 amount
[ E.el [ E.width <| E.fillPortion 1, Font.color colors.text ] <| E.text <| String.toUpper currency
, E.el [ E.width <| E.fillPortion 2, Font.color colors.text, Font.alignRight ] <| E.text <| Round.round 2 amount
]