Skip to content

Commit 7cee110

Browse files
committed
Update colors for Dark Mode
1 parent f66c925 commit 7cee110

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Resources/Dark-Mode-Preview.jpg

2.13 KB
Loading

SPAlert.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "SPAlert"
4-
s.version = "1.1"
4+
s.version = "1.1.1"
55
s.summary = "Native popup alert similar to Apple Music or Feedback in AppStore app."
66
s.homepage = "https://github.com/IvanVorobei/SPAlert"
77
s.source = { :git => "https://github.com/IvanVorobei/SPAlert.git", :tag => s.version }

Source/SPAlert/SPAlertView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ open class SPAlertView: UIView {
163163
self.addSubview(messageLabel)
164164
}
165165

166-
self.iconColor = self.isDarkMode ? #colorLiteral(red: 0.0822, green: 0.0783, blue: 0.09, alpha: 1) : #colorLiteral(red: 0.3450980392, green: 0.3411764706, blue: 0.3450980392, alpha: 1)
167-
self.textColor = self.isDarkMode ? #colorLiteral(red: 0.594, green: 0.594, blue: 0.6, alpha: 1) : #colorLiteral(red: 0.3450980392, green: 0.3411764706, blue: 0.3450980392, alpha: 1)
166+
self.iconColor = self.isDarkMode ? #colorLiteral(red: 0.4991744435, green: 0.4991744435, blue: 0.5042166096, alpha: 1) : #colorLiteral(red: 0.3450980392, green: 0.3411764706, blue: 0.3450980392, alpha: 1)
167+
self.textColor = self.isDarkMode ? #colorLiteral(red: 0.4991744435, green: 0.4991744435, blue: 0.5042166096, alpha: 1) : #colorLiteral(red: 0.3450980392, green: 0.3411764706, blue: 0.3450980392, alpha: 1)
168168
}
169169

170170
//MARK: - Public Methods

0 commit comments

Comments
 (0)