浏览代码

修改主题色

jsonwang 3 年之前
父节点
当前提交
f533b73e44

+ 2 - 2
BFRecordScreenKit/Classes/BFRSComm.swift

@@ -21,9 +21,9 @@ func currentBundle() -> Bundle? {
 }
 
 // func ThemeStyleGreen() -> UIColor {
-//    return UIColor.hexColor(hexadecimal: "#28BE67")
+//    return UIColor.hexColor(hexadecimal: "#389AFF")
 // }
-public var ThemeStyleColor = UIColor.hexColor(hexadecimal: "#28BE67")
+public var ThemeStyleColor = UIColor.hexColor(hexadecimal: "#389AFF")
 
 
 // 获取视频资源的旋转方向

+ 1 - 1
BFRecordScreenKit/Classes/RecordScreen/Controller/BFRecordScreenController.swift

@@ -47,7 +47,7 @@ public class BFRecordScreenController: BFBaseViewController {
             withDrawBtn.isHidden = isRecording
             changeVoiceBtn.isHidden = isRecording
             recordBtn.setTitle(isRecording ? "松手 完成" : "按住 说话", for: .normal)
-            recordBtn.backgroundColor = UIColor.hexColor(hexadecimal: "#28BE67", alpha: isRecording ? 0.6 : 1)
+            recordBtn.backgroundColor = UIColor.hexColor(hexadecimal: "#389AFF", alpha: isRecording ? 0.6 : 1)
             playBtn.isSelected = isRecording
 //            if !isRecording {
 //                BFLog(1, message: "stop")

+ 2 - 2
BFRecordScreenKit/Classes/RecordScreen/View/BFIndirectionProgressView.swift

@@ -12,7 +12,7 @@ import UIKit
 
 class BFIndirectionProgressView: UIView {
     var indirecColor: UIColor = UIColor.clear
-    var themeColor: UIColor = UIColor.hexColor(hexadecimal: "#28BE67")
+    var themeColor: UIColor = UIColor.hexColor(hexadecimal: "#389AFF")
     var progressHeight: CGFloat = 6
     var tmpPercentW: CGFloat = 0
     var percenWidth: CGFloat {
@@ -35,7 +35,7 @@ class BFIndirectionProgressView: UIView {
         super.init(frame: frame)
     }
 
-    init(frame: CGRect, indirecColor: UIColor = UIColor.clear, themeColor: UIColor = UIColor.hexColor(hexadecimal: "#28BE67"), percenWidth: CGFloat = 0, progressHeight: CGFloat = 6, totalDuration: Float64 = 0) {
+    init(frame: CGRect, indirecColor: UIColor = UIColor.clear, themeColor: UIColor = UIColor.hexColor(hexadecimal: "#389AFF"), percenWidth: CGFloat = 0, progressHeight: CGFloat = 6, totalDuration: Float64 = 0) {
         super.init(frame: frame)
         self.indirecColor = indirecColor
         self.themeColor = themeColor

+ 1 - 1
BFRecordScreenKit/Classes/RecordScreen/View/BFStripSwithView.swift

@@ -15,7 +15,7 @@ open class BFStripSwithView: UIView {
     var itemSpace: CGFloat = 4
     var itemHeight: CGFloat = 6
     var itemNormalColor: UIColor = UIColor.white
-    var itemSelectedColor: UIColor = UIColor.hexColor(hexadecimal: "#28BE67")
+    var itemSelectedColor: UIColor = UIColor.hexColor(hexadecimal: "#389AFF")
     var strips: Int = 2
     var currentItem: UIButton?
 

+ 2 - 2
BFRecordScreenKit/Classes/RecordScreen/View/BFSubtitleEditView.swift

@@ -29,7 +29,7 @@ class BFSubtitleEditView: UIView {
         textView.maxTextLengthRemind = ""
         textView.backgroundColor = UIColor.clear
         textView.textColor = UIColor.hexColor(hexadecimal: "#FFFFFF")
-        textView.tintColor = UIColor.hexColor(hexadecimal: "#28BE67")
+        textView.tintColor = UIColor.hexColor(hexadecimal: "#389AFF")
         textView.font = UIFont.systemFont(ofSize: 17)
         textView.placeHolder = ""
         textView.placeHolderColor = UIColor.hexColor(hexadecimal: "#555555")
@@ -59,7 +59,7 @@ class BFSubtitleEditView: UIView {
         }
 
         let doneBtn = UIButton()
-        doneBtn.backgroundColor = UIColor.hexColor(hexadecimal: "#28BE67")
+        doneBtn.backgroundColor = UIColor.hexColor(hexadecimal: "#389AFF")
         doneBtn.setTitle("完成", for: .normal)
         doneBtn.titleLabel?.font = UIFont.systemFont(ofSize: 16)
         doneBtn.addTarget(self, action: #selector(doneAction), for: .touchUpInside)

+ 5 - 5
BFRecordScreenKit/Classes/RecordScreen/View/BFSubtitleSettingView.swift

@@ -69,7 +69,7 @@ class BFSubtitleSettingView: UIView {
             btn.tag = i
             if i == 0 {
                 btn.isSelected = true
-                btn.layer.borderColor = UIColor.hexColor(hexadecimal: "#28BE67").cgColor
+                btn.layer.borderColor = UIColor.hexColor(hexadecimal: "#389AFF").cgColor
                 btn.layer.borderWidth = 1.5
                 lastSelectStyleBtn = btn
 
@@ -97,13 +97,13 @@ class BFSubtitleSettingView: UIView {
         }
         for i in 0...2 {
             let pointBtn = UIButton(type: .custom)
-            pointBtn.setTitleColor(UIColor.hexColor(hexadecimal: "#28BE67"), for: .selected)
+            pointBtn.setTitleColor(UIColor.hexColor(hexadecimal: "#389AFF"), for: .selected)
             pointBtn.setTitleColor(.white, for: .normal)
             pointBtn.addTarget(self, action: #selector(pointSetting(sender:)), for: .touchUpInside)
             pointBtn.backgroundColor = UIColor.hexColor(hexadecimal: "#1A1A1A")
             if i == 0 {
                 pointBtn.isSelected = true
-                pointBtn.layer.borderColor = UIColor.hexColor(hexadecimal: "#28BE67").cgColor
+                pointBtn.layer.borderColor = UIColor.hexColor(hexadecimal: "#389AFF").cgColor
                 pointBtn.layer.borderWidth = 1.5
                 lastSelectPointBtn = pointBtn
                 pointBtn.setTitle("下", for: .normal)
@@ -209,7 +209,7 @@ class BFSubtitleSettingView: UIView {
         sender.isSelected = true
         lastSelectStyleBtn = sender
 
-        sender.layer.borderColor = UIColor.hexColor(hexadecimal: "#28BE67").cgColor
+        sender.layer.borderColor = UIColor.hexColor(hexadecimal: "#389AFF").cgColor
         sender.layer.borderWidth = 1.5
 
         subtitle.setting.subtitleStyle = sender.tag
@@ -233,7 +233,7 @@ class BFSubtitleSettingView: UIView {
         sender.isSelected = true
         lastSelectPointBtn = sender
 
-        sender.layer.borderColor = UIColor.hexColor(hexadecimal: "#28BE67").cgColor
+        sender.layer.borderColor = UIColor.hexColor(hexadecimal: "#389AFF").cgColor
         sender.layer.borderWidth = 1.5
 
         subtitle.setting.subtitlePoint = sender.tag