Browse Source

Merge pull request #23 from AndreasStokholm/feat/dark-yellow

Use loopYellow for COB
Deniz Cengiz 2 years ago
parent
commit
caac50b969

+ 1 - 1
FreeAPS/Resources/Assets.xcassets/Colors/LoopYellow.colorset/Contents.json

@@ -22,7 +22,7 @@
       "color" : {
         "color-space" : "srgb",
         "components" : {
-          "alpha" : "1.000",
+          "alpha" : "0.950",
           "blue" : "0.271",
           "green" : "0.757",
           "red" : "1.000"

+ 1 - 1
FreeAPS/Sources/Modules/Home/View/Chart/MainChartView.swift

@@ -266,7 +266,7 @@ extension MainChartView {
                             x: .value("Time", info.timestamp, unit: .second),
                             y: .value("Value", Decimal(y) * conversionFactor),
                             series: .value("cob", "cob")
-                        ).foregroundStyle(Color.orange).symbolSize(16)
+                        ).foregroundStyle(Color.loopYellow).symbolSize(16)
                     }
                     if info.type == .iob {
                         LineMark(