From d947748fee1de88cf625f8c8480fc57c58ada31a Mon Sep 17 00:00:00 2001 From: Yarden Eitan Date: Mon, 28 Jan 2019 12:45:26 -0500 Subject: [PATCH] added correct theming for selected icon (#6482) The selected icon of the MDCCardCollectionCell should be set in our themers to primaryColor as defined by material guidelines. closes: b/123439095 --- components/Cards/src/ColorThemer/MDCCardsColorThemer.m | 1 + 1 file changed, 1 insertion(+) diff --git a/components/Cards/src/ColorThemer/MDCCardsColorThemer.m b/components/Cards/src/ColorThemer/MDCCardsColorThemer.m index 741e5505817..24b02d5f5dc 100644 --- a/components/Cards/src/ColorThemer/MDCCardsColorThemer.m +++ b/components/Cards/src/ColorThemer/MDCCardsColorThemer.m @@ -26,6 +26,7 @@ + (void)applySemanticColorScheme:(nonnull id)colorScheme + (void)applySemanticColorScheme:(nonnull id)colorScheme toCardCell:(nonnull MDCCardCollectionCell *)cardCell { cardCell.backgroundColor = colorScheme.surfaceColor; + [cardCell setImageTintColor:colorScheme.primaryColor forState:MDCCardCellStateNormal]; } + (void)applyOutlinedVariantWithColorScheme:(nonnull id)colorScheme