mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
Unread counts colors.
This commit is contained in:
parent
ff1fcc55c1
commit
e3316a4ba4
2 changed files with 4 additions and 6 deletions
|
@ -116,11 +116,11 @@ const int COUNT_HEIGHT = 15;
|
|||
}
|
||||
|
||||
|
||||
[UIColorFromFixedRGB(0x93968D) set];
|
||||
[UIColorFromLightDarkRGB(0x93968D, 0x53564D) set];
|
||||
CGRect rrShadow = CGRectMake(rr.origin.x, rr.origin.y+1, rr.size.width, rr.size.height);
|
||||
[UIView drawRoundRectangleInRect:rrShadow withRadius:4];
|
||||
|
||||
[UIColorFromLightDarkRGB(0xB3B6AD, 0xaaaaaa) set];
|
||||
[UIColorFromLightDarkRGB(0xB3B6AD, 0xA3A69D) set];
|
||||
[UIView drawRoundRectangleInRect:rr withRadius:4];
|
||||
|
||||
NSString *ntStr = [NSString stringWithFormat:@"%d", nt];
|
||||
|
@ -131,12 +131,12 @@ const int COUNT_HEIGHT = 15;
|
|||
[ntStr
|
||||
drawAtPoint:CGPointMake(rr.origin.x + x_pos, rr.origin.y + y_pos + 1)
|
||||
withAttributes:@{NSFontAttributeName: indicatorFont,
|
||||
NSForegroundColorAttributeName:UIColorFromFixedRGB(0x93968D)}];
|
||||
NSForegroundColorAttributeName:UIColorFromLightSepiaMediumDarkRGB(0x93968D, 0x93968D, 0x93968D, 0x93968D)}];
|
||||
|
||||
[ntStr
|
||||
drawAtPoint:CGPointMake(rr.origin.x + x_pos, rr.origin.y + y_pos)
|
||||
withAttributes:@{NSFontAttributeName: indicatorFont,
|
||||
NSForegroundColorAttributeName:UIColorFromRGB(NEWSBLUR_WHITE_COLOR)}];
|
||||
NSForegroundColorAttributeName:UIColorFromLightSepiaMediumDarkRGB(0xFFFFFF, 0xF8F8E9, 0x606060, 0x000000)}];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -389,8 +389,6 @@ body.NB-iphone {
|
|||
}
|
||||
|
||||
.NB-user-tag.NB-add-user-tag {
|
||||
text-transform: uppercase;
|
||||
font-size: .9em;
|
||||
background: rgba(0, 0, 0, .25) url("add_tag.png") no-repeat 6px 3px;
|
||||
background-size: 8px;
|
||||
color: #E5EBDB;
|
||||
|
|
Loading…
Add table
Reference in a new issue