forked from aydenp/Ultrasound
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathABVolumeHUDThemeExtraLight.m
49 lines (37 loc) · 986 Bytes
/
ABVolumeHUDThemeExtraLight.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//
// ABVolumeHUDThemeExtraLight.m
// Ultrasound
//
// Created by Ayden Panhuyzen on 10/8/18.
// Copyright © 2018 Ayden Panhuyzen. All rights reserved.
//
#import "ABVolumeHUDThemeExtraLight.h"
@implementation ABVolumeHUDThemeExtraLight
- (UIColor *)foregroundColour {
return [UIColor darkGrayColor];
}
- (UIBlurEffect *)backgroundEffect {
return [UIBlurEffect effectWithStyle:UIBlurEffectStyleExtraLight];
}
- (UIColor *)iconMaskColour {
return [self foregroundColour];
}
- (UIColor *)sliderKnobColour {
return [self foregroundColour];
}
- (UIColor *)sliderTrackColour {
return [[self foregroundColour] colorWithAlphaComponent:0.2];
}
- (UIColor *)sliderFilledTrackColour {
return [[self foregroundColour] colorWithAlphaComponent:0.7];
}
- (UIColor *)textColour {
return [self foregroundColour];
}
- (BOOL)enableSliderKnobShadow {
return NO;
}
- (UIColor *)backgroundColourTint {
return [UIColor colorWithWhite:0 alpha:0.2];
}
@end