Browse Source

【PDFull】首页暗黑模式配色调整

niehaoyu 6 months ago
parent
commit
79ac5f8177

+ 2 - 2
PDF Office/PDF Master/Class/Appearance/Color.xcassets/NewColor/KMColor_Interactive_A0.colorset/Contents.json

@@ -24,8 +24,8 @@
         "components" : {
           "alpha" : "1.000",
           "blue" : "255",
-          "green" : "122",
-          "red" : "34"
+          "green" : "100",
+          "red" : "112"
         }
       },
       "idiom" : "universal"

+ 3 - 3
PDF Office/PDF Master/Class/Appearance/Color.xcassets/NewColor/KMColor_Interactive_M0.colorset/Contents.json

@@ -23,9 +23,9 @@
         "color-space" : "srgb",
         "components" : {
           "alpha" : "1.000",
-          "blue" : "219",
-          "green" : "127",
-          "red" : "78"
+          "blue" : "255",
+          "green" : "100",
+          "red" : "112"
         }
       },
       "idiom" : "universal"

+ 3 - 3
PDF Office/PDF Master/Class/Appearance/Color.xcassets/NewColor/KMColor_Interactive_M1.colorset/Contents.json

@@ -23,9 +23,9 @@
         "color-space" : "srgb",
         "components" : {
           "alpha" : "1.000",
-          "blue" : "0xE1",
-          "green" : "0x97",
-          "red" : "0x70"
+          "blue" : "0xD7",
+          "green" : "0x3E",
+          "red" : "0x4B"
         }
       },
       "idiom" : "universal"

+ 6 - 1
PDF Office/PDF Master/Class/Home/View/CreatPDFView/KMCreatPDFView.swift

@@ -29,7 +29,12 @@ class KMCreatPDFView: KMBaseXibView {
         self.openLabel.stringValue = NSLocalizedString("Open File", comment: "")
         self.openLabel.textColor = KMAppearance.Layout.w0Color()
         self.creatLabel.stringValue = NSLocalizedString("Create PDF", comment: "")
-        self.creatLabel.textColor = KMAppearance.Interactive.m0Color()
+        
+        if KMAppearance.isDarkMode() {
+            self.creatLabel.textColor = NSColor.white
+        } else {
+            self.creatLabel.textColor = KMAppearance.Interactive.m0Color()
+        }
         
         self.openBox.fillColor = KMAppearance.Interactive.m0Color()
         self.openBox.toolTip = NSLocalizedString("Open PDF", comment: "")

+ 0 - 48
PDF Office/PDF Reader Pro.xcodeproj/xcuserdata/kdanmobile.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@@ -826,54 +826,6 @@
             </Locations>
          </BreakpointContent>
       </BreakpointProxy>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
-         <BreakpointContent
-            uuid = "859D3BA8-9029-45A9-B4AC-EE0663F8A00B"
-            shouldBeEnabled = "Yes"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            filePath = "PDF Master/Class/KMAdvertisement/Model/KMAdvertisementModelTransition.swift"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "64"
-            endingLineNumber = "64"
-            landmarkName = "transitionLanguage(langeuage:)"
-            landmarkType = "7">
-            <Locations>
-               <Location
-                  uuid = "859D3BA8-9029-45A9-B4AC-EE0663F8A00B - c3871df29a45426a"
-                  shouldBeEnabled = "Yes"
-                  ignoreCount = "0"
-                  continueAfterRunningActions = "No"
-                  symbolName = "static PDF_Reader_Pro.KMAdvertisementModelTransition.transitionLanguage(langeuage: Swift.Optional&lt;PDF_Reader_Pro.Language&gt;) -&gt; Swift.String"
-                  moduleName = "PDF Reader Pro"
-                  usesParentBreakpointCondition = "Yes"
-                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/Class/KMAdvertisement/Model/KMAdvertisementModelTransition.swift"
-                  startingColumnNumber = "9223372036854775807"
-                  endingColumnNumber = "9223372036854775807"
-                  startingLineNumber = "73"
-                  endingLineNumber = "73"
-                  offsetFromSymbolStart = "140">
-               </Location>
-               <Location
-                  uuid = "859D3BA8-9029-45A9-B4AC-EE0663F8A00B - 3d57bdd130dacea4"
-                  shouldBeEnabled = "Yes"
-                  ignoreCount = "0"
-                  continueAfterRunningActions = "No"
-                  symbolName = "static PDFull.KMAdvertisementModelTransition.transitionLanguage(langeuage: Swift.Optional&lt;PDFull.Language&gt;) -&gt; Swift.String"
-                  moduleName = "PDFull"
-                  usesParentBreakpointCondition = "Yes"
-                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/Class/KMAdvertisement/Model/KMAdvertisementModelTransition.swift"
-                  startingColumnNumber = "9223372036854775807"
-                  endingColumnNumber = "9223372036854775807"
-                  startingLineNumber = "73"
-                  endingLineNumber = "73"
-                  offsetFromSymbolStart = "112">
-               </Location>
-            </Locations>
-         </BreakpointContent>
-      </BreakpointProxy>
       <BreakpointProxy
          BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
          <BreakpointContent