فهرست منبع

Colors
* make Color.chart a little bit lighter blueish
* fix color reference in home root view

polscm32 2 سال پیش
والد
کامیت
9376e6ee02

+ 3 - 3
FreeAPS/Resources/Assets.xcassets/Colors/Chart.colorset/Contents.json

@@ -23,9 +23,9 @@
         "color-space" : "srgb",
         "components" : {
           "alpha" : "1.000",
-          "blue" : "0.080",
-          "green" : "0.080",
-          "red" : "0.080"
+          "blue" : "0.180",
+          "green" : "0.130",
+          "red" : "0.130"
         }
       },
       "idiom" : "universal"

+ 4 - 4
FreeAPS/Sources/Modules/Home/View/HomeRootView.swift

@@ -112,10 +112,10 @@ extension Home {
         private var color: LinearGradient {
             colorScheme == .dark ? LinearGradient(
                 gradient: Gradient(colors: [
-                    Color("Background_1"),
-                    Color("Background_1"),
-                    Color("Background_2"),
-                    Color("Background_1")
+                    Color.bgDarkBlue,
+                    Color.bgDarkBlue,
+                    Color.bgDarkerDarkBlue,
+                    Color.bgDarkBlue
                 ]),
                 startPoint: .top,
                 endPoint: .bottom