Skip to content

Commit

Permalink
more colors
Browse files Browse the repository at this point in the history
  • Loading branch information
James Emrich authored and James Emrich committed Aug 22, 2016
1 parent c5e36cf commit 5e9fb29
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 9 deletions.
Binary file modified .DS_Store
Binary file not shown.
27 changes: 18 additions & 9 deletions Tweak.xm
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,27 @@ static UIColor *MYMBackgroundColor = [UIColor colorWithWhite:0.29f alpha:1.0f];
}

// Send Button
- (UIColor *) sendButtonColorForColorType:(char)arg1 {
- (UIColor *) sendButtonColorForColorType:(char)color {
return %orig;
}

// Recipient
- (UIColor *) recipientTextColorForColorType:(char)arg1 {
return [UIColor whiteColor];
- (UIColor *) recipientTextColorForColorType:(char)color {
if (color == CKColoredBalloonViewColorTypeReceiver) {
return [UIColor orangeColor];
}
else if (color == CKColoredBalloonViewColorTypeSMS) {
return [UIColor purpleColor];
}
else if (color == CKColoredBalloonViewColorTypeiMessage) {
return [UIColor colorWithRed:0.9f green:0.58f blue:0.0f alpha:1.0f];
}

return %orig;
}

- (UIColor *) recipientsDividerColor {
return %orig;
}

// Details
Expand Down Expand Up @@ -136,7 +150,7 @@ static UIColor *MYMBackgroundColor = [UIColor colorWithWhite:0.29f alpha:1.0f];
return [UIColor whiteColor];
}

- (UIColor *) waveformColorForColorType:(char)arg1 {
- (UIColor *) waveformColorForColorType:(char)color {
return [UIColor whiteColor];
}

Expand Down Expand Up @@ -173,11 +187,6 @@ static UIColor *MYMBackgroundColor = [UIColor colorWithWhite:0.29f alpha:1.0f];
return MYMBackgroundColor;
}

// Recipients
- (UIColor *) recipientsDividerColor {
return [UIColor yellowColor];
}

// Entry Field
- (UIColor *) entryFieldTextColor {
return [UIColor yellowColor];
Expand Down
Binary file modified packages/in.evilpengu.mymessages_0.0.3-1+debug_iphoneos-arm.deb
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 5e9fb29

Please sign in to comment.