Skip to content
Permalink
Browse files

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
  • Loading branch information
yarneo committed Jan 28, 2019
1 parent 62c5097 commit d947748fee1de88cf625f8c8480fc57c58ada31a
Showing with 1 addition and 0 deletions.
  1. +1 −0 components/Cards/src/ColorThemer/MDCCardsColorThemer.m
@@ -26,6 +26,7 @@ + (void)applySemanticColorScheme:(nonnull id<MDCColorScheming>)colorScheme
+ (void)applySemanticColorScheme:(nonnull id<MDCColorScheming>)colorScheme
toCardCell:(nonnull MDCCardCollectionCell *)cardCell {
cardCell.backgroundColor = colorScheme.surfaceColor;
[cardCell setImageTintColor:colorScheme.primaryColor forState:MDCCardCellStateNormal];
}

+ (void)applyOutlinedVariantWithColorScheme:(nonnull id<MDCColorScheming>)colorScheme

0 comments on commit d947748

Please sign in to comment.
You can’t perform that action at this time.