fix(market): red favorite heart so it pops on the green theme
This commit is contained in:
parent
447590862e
commit
7d2d466fee
3 changed files with 3 additions and 2 deletions
|
|
@ -180,7 +180,7 @@ class _FavoriteCard extends StatelessWidget {
|
||||||
IconButton(
|
IconButton(
|
||||||
key: Key('favorites.remove.${offer.authorPubkeyHex}'
|
key: Key('favorites.remove.${offer.authorPubkeyHex}'
|
||||||
'.${offer.id}'),
|
'.${offer.id}'),
|
||||||
icon: const Icon(Icons.favorite, color: seedGreen),
|
icon: const Icon(Icons.favorite, color: seedFavorite),
|
||||||
tooltip: t.favorites.remove,
|
tooltip: t.favorites.remove,
|
||||||
onPressed: onRemove,
|
onPressed: onRemove,
|
||||||
),
|
),
|
||||||
|
|
|
||||||
|
|
@ -248,7 +248,7 @@ class _MarketOfferDetailScreenState extends State<MarketOfferDetailScreen> {
|
||||||
IconButton(
|
IconButton(
|
||||||
key: const Key('offerDetail.save'),
|
key: const Key('offerDetail.save'),
|
||||||
icon: Icon(saved ? Icons.favorite : Icons.favorite_border),
|
icon: Icon(saved ? Icons.favorite : Icons.favorite_border),
|
||||||
color: saved ? seedGreen : null,
|
color: saved ? seedFavorite : null,
|
||||||
tooltip: saved ? t.favorites.remove : t.favorites.save,
|
tooltip: saved ? t.favorites.remove : t.favorites.save,
|
||||||
onPressed: _toggleSaved,
|
onPressed: _toggleSaved,
|
||||||
),
|
),
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@ const seedOnSurfaceVariant = Color(0xFF5C6B52); // scientific names, secondary
|
||||||
// see test/ui/theme_contrast_test.dart.
|
// see test/ui/theme_contrast_test.dart.
|
||||||
const seedMuted = Color(0xFF617057);
|
const seedMuted = Color(0xFF617057);
|
||||||
const seedRating = Color(0xFFE8A200); // stars
|
const seedRating = Color(0xFFE8A200); // stars
|
||||||
|
const seedFavorite = Color(0xFFE53935); // saved/favorite heart (pops on green)
|
||||||
|
|
||||||
ThemeData buildTaneTheme() {
|
ThemeData buildTaneTheme() {
|
||||||
final scheme =
|
final scheme =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue