Skip to content

Commit

Permalink
[Catalog] Darken ButtonBarIconExample icon colors (#8826)
Browse files Browse the repository at this point in the history
* [Catalog] Darken ButtonBarIconExample icon colors

* Update BUILD file
  • Loading branch information
bryanoltman committed Nov 14, 2019
1 parent bd832a4 commit 4baa770
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions components/ButtonBar/BUILD
Expand Up @@ -55,6 +55,7 @@ mdc_examples_objc_library(
name = "ObjcExamples",
deps = [
":ButtonBar",
"//components/Palettes",
"//components/private/Icons/icons/ic_check_circle",
"//components/private/Icons/icons/ic_info",
"//components/schemes/Container",
Expand Down
3 changes: 2 additions & 1 deletion components/ButtonBar/examples/ButtonBarIconExample.m
Expand Up @@ -17,6 +17,7 @@
#import "MaterialButtonBar.h"
#import "MaterialIcons+ic_check_circle.h"
#import "MaterialIcons+ic_info.h"
#import "MaterialPalettes.h"

@interface ButtonBarIconExample : UIViewController
@end
Expand All @@ -27,7 +28,7 @@ - (void)viewDidLoad {
[super viewDidLoad];

MDCButtonBar *buttonBar = [[MDCButtonBar alloc] init];
buttonBar.tintColor = UIColor.whiteColor;
buttonBar.tintColor = MDCPalette.indigoPalette.tint500;

// MDCButtonBar ignores the style of UIBarButtonItem.
UIBarButtonItemStyle ignored = UIBarButtonItemStyleDone;
Expand Down

0 comments on commit 4baa770

Please sign in to comment.