appwilldev/AWLThemeManager

Add colorWithPatternImage support

jrapoport opened this issue · 2 comments

Now if you specify as color as “#[ImageName]” it will search for the
“Foo” image using the usual methods & if found, return a color using
that image as a pattern. To change the alpha, use
“#[ImageName],[Alpha]” e.g. #Foo,0.3

see 63c7e3f

Neeeo commented

merged. e4e913e

Neeeo commented

change method:
- (UIColor*)colorFromString:(NSString*)colorValue forTheme:(NSString *)themeName
to
- (UIColor*)colorFromString:(NSString*)colorValue

so pattern image can be changed from theme inheritance.