Skip to content

Commit 9b014ad

Browse files
author
Daniel Dahan
committed
Merge branch 'development'
2 parents 7717b77 + 5ca791c commit 9b014ad

File tree

6 files changed

+9
-7
lines changed

6 files changed

+9
-7
lines changed

MK.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'MK'
3-
s.version = '1.9.0'
3+
s.version = '1.10.0'
44
s.license = { :type => "AGPLv3+", :file => "LICENSE" }
55
s.summary = 'A Material Design Framework In Swift'
66
s.homepage = 'http://materialkit.io'

Source/FabButton.swift

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ public class FabButton : MaterialButton {
2626
super.prepareView()
2727
setTitleColor(MaterialTheme.white.color, forState: .Normal)
2828
backgroundColor = MaterialTheme.red.darken1
29-
pulseColor = MaterialTheme.white.color
3029
contentEdgeInsets = UIEdgeInsetsMake(0, 0, 0, 0)
3130
}
3231

Source/FlatButton.swift

+4-2
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,11 @@ public class FlatButton : MaterialButton {
2424
//
2525
internal override func prepareView() {
2626
super.prepareView()
27-
setTitleColor(MaterialTheme.blue.accent2, forState: .Normal)
27+
titleLabel!.font = Roboto.medium
28+
setTitleColor(MaterialTheme.blueGrey.darken4, forState: .Normal)
29+
pulseColor = MaterialTheme.blueGrey.lighten3
2830
backgroundColor = MaterialTheme.clear.color
29-
contentEdgeInsets = UIEdgeInsetsMake(4, 16, 4, 16)
31+
contentEdgeInsets = UIEdgeInsetsMake(6, 16, 6, 16)
3032
}
3133

3234
//

Source/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.9.0</string>
18+
<string>1.10.0</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

Source/MaterialButton.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public class MaterialButton : UIButton {
4444
/**
4545
:name: pulseColor
4646
*/
47-
public var pulseColor: UIColor? = MaterialTheme.blueGrey.lighten3
47+
public var pulseColor: UIColor? = MaterialTheme.white.color
4848

4949
/**
5050
:name: init

Source/RaisedButton.swift

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ public class RaisedButton : MaterialButton {
2424
//
2525
internal override func prepareView() {
2626
super.prepareView()
27+
titleLabel!.font = Roboto.medium
2728
setTitleColor(MaterialTheme.white.color, forState: .Normal)
2829
backgroundColor = MaterialTheme.blue.accent2
29-
contentEdgeInsets = UIEdgeInsetsMake(4, 16, 4, 16)
30+
contentEdgeInsets = UIEdgeInsetsMake(6, 16, 6, 16)
3031
}
3132

3233
//

0 commit comments

Comments
 (0)