Jelajahi Sumber

Migrate colors from phone to watch; adjust everywhere

Deniz Cengiz 1 tahun lalu
induk
melakukan
1d38069471
25 mengubah file dengan 488 tambahan dan 27 penghapusan
  1. 0 0
      Trio Watch App Extension/Assets.xcassets/Colors/Background_DarkBlue.colorset/Contents.json
  2. 0 0
      Trio Watch App Extension/Assets.xcassets/Colors/Background_DarkerDarkBlue.colorset/Contents.json
  3. 38 0
      Trio Watch App Extension/Assets.xcassets/Colors/Basal.colorset/Contents.json
  4. 38 0
      Trio Watch App Extension/Assets.xcassets/Colors/Chart.colorset/Contents.json
  5. 6 0
      Trio Watch App Extension/Assets.xcassets/Colors/Contents.json
  6. 38 0
      Trio Watch App Extension/Assets.xcassets/Colors/Insulin.colorset/Contents.json
  7. 38 0
      Trio Watch App Extension/Assets.xcassets/Colors/LoopGray.colorset/Contents.json
  8. 38 0
      Trio Watch App Extension/Assets.xcassets/Colors/LoopGreen.colorset/Contents.json
  9. 38 0
      Trio Watch App Extension/Assets.xcassets/Colors/LoopPink.colorset/Contents.json
  10. 38 0
      Trio Watch App Extension/Assets.xcassets/Colors/LoopRed.colorset/Contents.json
  11. 38 0
      Trio Watch App Extension/Assets.xcassets/Colors/LoopYellow.colorset/Contents.json
  12. 38 0
      Trio Watch App Extension/Assets.xcassets/Colors/TabBar.colorset/Contents.json
  13. 38 0
      Trio Watch App Extension/Assets.xcassets/Colors/TempBasal.colorset/Contents.json
  14. 38 0
      Trio Watch App Extension/Assets.xcassets/Colors/UAM.colorset/Contents.json
  15. 38 0
      Trio Watch App Extension/Assets.xcassets/Colors/ZT.colorset/Contents.json
  16. 2 2
      Trio Watch App Extension/Views/AcknowledgementPendingView.swift
  17. 2 2
      Trio Watch App Extension/Views/BolusConfirmationView.swift
  18. 7 8
      Trio Watch App Extension/Views/BolusInputView.swift
  19. 2 2
      Trio Watch App Extension/Views/CarbsInputView.swift
  20. 2 2
      Trio Watch App Extension/Views/GlucoseChartView.swift
  21. 4 4
      Trio Watch App Extension/Views/GlucoseTrendView.swift
  22. 1 1
      Trio Watch App Extension/Views/OverridePresetsView.swift
  23. 1 1
      Trio Watch App Extension/Views/TempTargetPresetsView.swift
  24. 1 1
      Trio Watch App Extension/Views/TreatmentMenuView.swift
  25. 4 4
      Trio Watch App Extension/Views/TrioMainWatchView.swift

Trio Watch App Extension/Assets.xcassets/Background_DarkBlue.colorset/Contents.json → Trio Watch App Extension/Assets.xcassets/Colors/Background_DarkBlue.colorset/Contents.json


Trio Watch App Extension/Assets.xcassets/Background_DarkerDarkBlue.colorset/Contents.json → Trio Watch App Extension/Assets.xcassets/Colors/Background_DarkerDarkBlue.colorset/Contents.json


+ 38 - 0
Trio Watch App Extension/Assets.xcassets/Colors/Basal.colorset/Contents.json

@@ -0,0 +1,38 @@
+{
+  "colors" : [
+    {
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "0.500",
+          "blue" : "0.988",
+          "green" : "0.588",
+          "red" : "0.118"
+        }
+      },
+      "idiom" : "universal"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "dark"
+        }
+      ],
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "0.500",
+          "blue" : "0.988",
+          "green" : "0.588",
+          "red" : "0.118"
+        }
+      },
+      "idiom" : "universal"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 38 - 0
Trio Watch App Extension/Assets.xcassets/Colors/Chart.colorset/Contents.json

@@ -0,0 +1,38 @@
+{
+  "colors" : [
+    {
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "1.000",
+          "green" : "1.000",
+          "red" : "1.000"
+        }
+      },
+      "idiom" : "universal"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "dark"
+        }
+      ],
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "0.180",
+          "green" : "0.130",
+          "red" : "0.130"
+        }
+      },
+      "idiom" : "universal"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 6 - 0
Trio Watch App Extension/Assets.xcassets/Colors/Contents.json

@@ -0,0 +1,6 @@
+{
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 38 - 0
Trio Watch App Extension/Assets.xcassets/Colors/Insulin.colorset/Contents.json

@@ -0,0 +1,38 @@
+{
+  "colors" : [
+    {
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "0.988",
+          "green" : "0.588",
+          "red" : "0.118"
+        }
+      },
+      "idiom" : "universal"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "dark"
+        }
+      ],
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "0.988",
+          "green" : "0.588",
+          "red" : "0.118"
+        }
+      },
+      "idiom" : "universal"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 38 - 0
Trio Watch App Extension/Assets.xcassets/Colors/LoopGray.colorset/Contents.json

@@ -0,0 +1,38 @@
+{
+  "colors" : [
+    {
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "0.741",
+          "green" : "0.741",
+          "red" : "0.741"
+        }
+      },
+      "idiom" : "universal"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "dark"
+        }
+      ],
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "0.741",
+          "green" : "0.741",
+          "red" : "0.741"
+        }
+      },
+      "idiom" : "universal"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 38 - 0
Trio Watch App Extension/Assets.xcassets/Colors/LoopGreen.colorset/Contents.json

@@ -0,0 +1,38 @@
+{
+  "colors" : [
+    {
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "0.592",
+          "green" : "0.812",
+          "red" : "0.435"
+        }
+      },
+      "idiom" : "universal"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "dark"
+        }
+      ],
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "0.592",
+          "green" : "0.812",
+          "red" : "0.435"
+        }
+      },
+      "idiom" : "universal"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 38 - 0
Trio Watch App Extension/Assets.xcassets/Colors/LoopPink.colorset/Contents.json

@@ -0,0 +1,38 @@
+{
+  "colors" : [
+    {
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "0.796",
+          "green" : "0.750",
+          "red" : "1.000"
+        }
+      },
+      "idiom" : "universal"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "dark"
+        }
+      ],
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "0.796",
+          "green" : "0.750",
+          "red" : "1.000"
+        }
+      },
+      "idiom" : "universal"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 38 - 0
Trio Watch App Extension/Assets.xcassets/Colors/LoopRed.colorset/Contents.json

@@ -0,0 +1,38 @@
+{
+  "colors" : [
+    {
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "0.341",
+          "green" : "0.341",
+          "red" : "0.922"
+        }
+      },
+      "idiom" : "universal"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "dark"
+        }
+      ],
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "0.341",
+          "green" : "0.341",
+          "red" : "0.922"
+        }
+      },
+      "idiom" : "universal"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 38 - 0
Trio Watch App Extension/Assets.xcassets/Colors/LoopYellow.colorset/Contents.json

@@ -0,0 +1,38 @@
+{
+  "colors" : [
+    {
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "0.271",
+          "green" : "0.757",
+          "red" : "1.000"
+        }
+      },
+      "idiom" : "universal"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "dark"
+        }
+      ],
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "0.950",
+          "blue" : "0.271",
+          "green" : "0.757",
+          "red" : "1.000"
+        }
+      },
+      "idiom" : "universal"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 38 - 0
Trio Watch App Extension/Assets.xcassets/Colors/TabBar.colorset/Contents.json

@@ -0,0 +1,38 @@
+{
+  "colors" : [
+    {
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "0.950",
+          "green" : "0.550",
+          "red" : "0.490"
+        }
+      },
+      "idiom" : "universal"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "dark"
+        }
+      ],
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "0.950",
+          "green" : "0.550",
+          "red" : "0.490"
+        }
+      },
+      "idiom" : "universal"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 38 - 0
Trio Watch App Extension/Assets.xcassets/Colors/TempBasal.colorset/Contents.json

@@ -0,0 +1,38 @@
+{
+  "colors" : [
+    {
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "0.500",
+          "blue" : "0.976",
+          "green" : "0.839",
+          "red" : "0.635"
+        }
+      },
+      "idiom" : "universal"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "dark"
+        }
+      ],
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "0.988",
+          "green" : "0.588",
+          "red" : "0.118"
+        }
+      },
+      "idiom" : "universal"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 38 - 0
Trio Watch App Extension/Assets.xcassets/Colors/UAM.colorset/Contents.json

@@ -0,0 +1,38 @@
+{
+  "colors" : [
+    {
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "0.271",
+          "green" : "0.518",
+          "red" : "1.000"
+        }
+      },
+      "idiom" : "universal"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "dark"
+        }
+      ],
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "0.271",
+          "green" : "0.518",
+          "red" : "1.000"
+        }
+      },
+      "idiom" : "universal"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 38 - 0
Trio Watch App Extension/Assets.xcassets/Colors/ZT.colorset/Contents.json

@@ -0,0 +1,38 @@
+{
+  "colors" : [
+    {
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "0.937",
+          "green" : "0.380",
+          "red" : "0.443"
+        }
+      },
+      "idiom" : "universal"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "dark"
+        }
+      ],
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "0.937",
+          "green" : "0.380",
+          "red" : "0.443"
+        }
+      },
+      "idiom" : "universal"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 2 - 2
Trio Watch App Extension/Views/AcknowledgementPendingView.swift

@@ -16,9 +16,9 @@ struct AcknowledgementPendingView: View {
         case .pending:
         case .pending:
             return Image(systemName: "progress.indicator").foregroundStyle(Color.secondary)
             return Image(systemName: "progress.indicator").foregroundStyle(Color.secondary)
         case .success:
         case .success:
-            return Image(systemName: "checkmark.circle").foregroundStyle(Color.green)
+            return Image(systemName: "checkmark.circle").foregroundStyle(Color.loopGreen)
         case .failure:
         case .failure:
-            return Image(systemName: "progress.indicator").foregroundStyle(Color.red)
+            return Image(systemName: "progress.indicator").foregroundStyle(Color.loopRed)
         }
         }
     }
     }
 
 

+ 2 - 2
Trio Watch App Extension/Views/BolusConfirmationView.swift

@@ -36,12 +36,12 @@ struct BolusConfirmationView: View {
                     Spacer()
                     Spacer()
                     Text(String(format: "%.1f U", bolusAmount))
                     Text(String(format: "%.1f U", bolusAmount))
                         .bold()
                         .bold()
-                        .foregroundStyle(.blue)
+                        .foregroundStyle(Color.insulin)
                 }.padding(.horizontal)
                 }.padding(.horizontal)
             }
             }
 
 
             ProgressView(value: confirmationProgress, total: 1.0)
             ProgressView(value: confirmationProgress, total: 1.0)
-                .tint(confirmationProgress >= 1.0 ? .green : .gray)
+                .tint(confirmationProgress >= 1.0 ? .loopGreen : .gray)
                 .padding(.horizontal)
                 .padding(.horizontal)
 
 
             Spacer()
             Spacer()

+ 7 - 8
Trio Watch App Extension/Views/BolusInputView.swift

@@ -42,7 +42,7 @@ struct BolusInputView: View {
 
 
                     Spacer()
                     Spacer()
                 }
                 }
-                .foregroundColor(.red)
+                .foregroundColor(.loopRed)
                 .scenePadding()
                 .scenePadding()
             } else {
             } else {
                 if state.carbsAmount > 0 {
                 if state.carbsAmount > 0 {
@@ -62,7 +62,7 @@ struct BolusInputView: View {
                     }) {
                     }) {
                         Image(systemName: "minus.circle.fill")
                         Image(systemName: "minus.circle.fill")
                             .font(.title3)
                             .font(.title3)
-                            .foregroundColor(.blue)
+                            .foregroundColor(Color.insulin)
                     }
                     }
                     .buttonStyle(.borderless)
                     .buttonStyle(.borderless)
                     .disabled(bolusAmount < 1)
                     .disabled(bolusAmount < 1)
@@ -73,7 +73,7 @@ struct BolusInputView: View {
                     Text(String(format: "%.2f U", bolusAmount))
                     Text(String(format: "%.2f U", bolusAmount))
                         .fontWeight(.bold)
                         .fontWeight(.bold)
                         .font(.system(.title2, design: .rounded))
                         .font(.system(.title2, design: .rounded))
-                        .foregroundColor(bolusAmount > 0.0 && bolusAmount >= effectiveBolusLimit ? .red : .primary)
+                        .foregroundColor(bolusAmount > 0.0 && bolusAmount >= effectiveBolusLimit ? .loopRed : .primary)
                         .focusable(true)
                         .focusable(true)
                         .focused($isCrownFocused)
                         .focused($isCrownFocused)
                         .digitalCrownRotation(
                         .digitalCrownRotation(
@@ -94,7 +94,7 @@ struct BolusInputView: View {
                     }) {
                     }) {
                         Image(systemName: "plus.circle.fill")
                         Image(systemName: "plus.circle.fill")
                             .font(.title3)
                             .font(.title3)
-                            .foregroundColor(.blue)
+                            .foregroundColor(Color.insulin)
                     }
                     }
                     .buttonStyle(.borderless)
                     .buttonStyle(.borderless)
                     .disabled(bolusAmount >= effectiveBolusLimit)
                     .disabled(bolusAmount >= effectiveBolusLimit)
@@ -110,16 +110,15 @@ struct BolusInputView: View {
                 if bolusAmount > 0.0 && bolusAmount >= effectiveBolusLimit {
                 if bolusAmount > 0.0 && bolusAmount >= effectiveBolusLimit {
                     Text("Bolus Limit Reached!")
                     Text("Bolus Limit Reached!")
                         .font(.footnote)
                         .font(.footnote)
-                        .foregroundColor(.red)
+                        .foregroundColor(.loopRed)
                 }
                 }
 
 
                 Button("Log Bolus") {
                 Button("Log Bolus") {
                     state.bolusAmount = min(bolusAmount, effectiveBolusLimit)
                     state.bolusAmount = min(bolusAmount, effectiveBolusLimit)
-//                    navigationState.path.append(NavigationDestinations.bolusConfirm)
                     navigationPath.append(NavigationDestinations.bolusConfirm)
                     navigationPath.append(NavigationDestinations.bolusConfirm)
                 }
                 }
                 .buttonStyle(.bordered)
                 .buttonStyle(.bordered)
-                .tint(.blue)
+                .tint(Color.insulin)
                 .disabled(!(bolusAmount > 0.0) || bolusAmount >= effectiveBolusLimit)
                 .disabled(!(bolusAmount > 0.0) || bolusAmount >= effectiveBolusLimit)
             }
             }
         }
         }
@@ -131,7 +130,7 @@ struct BolusInputView: View {
                     .aspectRatio(contentMode: .fit)
                     .aspectRatio(contentMode: .fit)
                     .frame(width: 14, height: 14)
                     .frame(width: 14, height: 14)
                     .padding()
                     .padding()
-                    .background(Color.blue)
+                    .background(Color.insulin)
                     .foregroundStyle(.white)
                     .foregroundStyle(.white)
                     .clipShape(Circle())
                     .clipShape(Circle())
             }
             }

+ 2 - 2
Trio Watch App Extension/Views/CarbsInputView.swift

@@ -55,7 +55,7 @@ struct CarbsInputView: View {
                 Text(String(format: "%.0f g", carbsAmount))
                 Text(String(format: "%.0f g", carbsAmount))
                     .fontWeight(.bold)
                     .fontWeight(.bold)
                     .font(.system(.title2, design: .rounded))
                     .font(.system(.title2, design: .rounded))
-                    .foregroundColor(carbsAmount > 0.0 && carbsAmount >= effectiveCarbsLimit ? .red : .primary)
+                    .foregroundColor(carbsAmount > 0.0 && carbsAmount >= effectiveCarbsLimit ? .loopRed : .primary)
                     .focusable(true)
                     .focusable(true)
                     .focused($isCrownFocused)
                     .focused($isCrownFocused)
                     .digitalCrownRotation(
                     .digitalCrownRotation(
@@ -92,7 +92,7 @@ struct CarbsInputView: View {
             if carbsAmount > 0.0 && carbsAmount >= effectiveCarbsLimit {
             if carbsAmount > 0.0 && carbsAmount >= effectiveCarbsLimit {
                 Text("Carbs Limit Reached!")
                 Text("Carbs Limit Reached!")
                     .font(.footnote)
                     .font(.footnote)
-                    .foregroundColor(.red)
+                    .foregroundColor(.loopRed)
             }
             }
 
 
             Button(buttonLabel) {
             Button(buttonLabel) {

+ 2 - 2
Trio Watch App Extension/Views/GlucoseChartView.swift

@@ -35,9 +35,9 @@ struct GlucoseChartView: View {
         if value > 180 {
         if value > 180 {
             return .orange
             return .orange
         } else if value < 70 {
         } else if value < 70 {
-            return .red
+            return .loopRed
         } else {
         } else {
-            return .green
+            return .loopGreen
         }
         }
     }
     }
 
 

+ 4 - 4
Trio Watch App Extension/Views/GlucoseTrendView.swift

@@ -25,13 +25,13 @@ struct GlucoseTrendView: View {
 
 
         switch minutes {
         switch minutes {
         case ...5:
         case ...5:
-            return .green
+            return .loopGreen
         case 5 ... 10:
         case 5 ... 10:
-            return .yellow
+            return .loopYellow
         case 11...:
         case 11...:
-            return .red
+            return .loopRed
         default:
         default:
-            return .yellow
+            return .loopYellow
         }
         }
     }
     }
 
 

+ 1 - 1
Trio Watch App Extension/Views/OverridePresetsView.swift

@@ -32,7 +32,7 @@ struct OverridePresetsView: View {
                     }
                     }
                     .foregroundColor(.white)
                     .foregroundColor(.white)
                     .listRowBackground(
                     .listRowBackground(
-                        Color.red
+                        Color.loopRed
                             .clipShape(RoundedRectangle(cornerRadius: 8))
                             .clipShape(RoundedRectangle(cornerRadius: 8))
                     )
                     )
                 }
                 }

+ 1 - 1
Trio Watch App Extension/Views/TempTargetPresetsView.swift

@@ -32,7 +32,7 @@ struct TempTargetPresetsView: View {
                     }
                     }
                     .foregroundColor(.white)
                     .foregroundColor(.white)
                     .listRowBackground(
                     .listRowBackground(
-                        Color.red
+                        Color.loopRed
                             .clipShape(RoundedRectangle(cornerRadius: 8))
                             .clipShape(RoundedRectangle(cornerRadius: 8))
                     )
                     )
                 }
                 }

+ 1 - 1
Trio Watch App Extension/Views/TreatmentMenuView.swift

@@ -67,7 +67,7 @@ struct TreatmentMenuView: View {
             .aspectRatio(contentMode: .fit)
             .aspectRatio(contentMode: .fit)
             .frame(width: iconSize, height: iconSize)
             .frame(width: iconSize, height: iconSize)
             .padding(is40mm ? 6 : 10)
             .padding(is40mm ? 6 : 10)
-            .background(Color.blue)
+            .background(Color.insulin)
             .clipShape(Circle())
             .clipShape(Circle())
     }
     }
 }
 }

+ 4 - 4
Trio Watch App Extension/Views/TrioMainWatchView.swift

@@ -66,7 +66,7 @@ struct TrioMainWatchView: View {
                 ToolbarItem(placement: .topBarLeading) {
                 ToolbarItem(placement: .topBarLeading) {
                     HStack {
                     HStack {
                         Image(systemName: "syringe.fill")
                         Image(systemName: "syringe.fill")
-                            .foregroundStyle(.blue)
+                            .foregroundStyle(Color.insulin)
 
 
                         Text(state.iob ?? "--")
                         Text(state.iob ?? "--")
                             .foregroundStyle(.white)
                             .foregroundStyle(.white)
@@ -79,7 +79,7 @@ struct TrioMainWatchView: View {
                             .foregroundStyle(.white)
                             .foregroundStyle(.white)
 
 
                         Image(systemName: "fork.knife")
                         Image(systemName: "fork.knife")
-                            .foregroundStyle(.orange)
+                            .foregroundStyle(Color.orange)
                     }.font(.caption)
                     }.font(.caption)
                 }
                 }
 
 
@@ -104,8 +104,8 @@ struct TrioMainWatchView: View {
                         showingTempTargetSheet = true
                         showingTempTargetSheet = true
                     } label: {
                     } label: {
                         Image(systemName: "target")
                         Image(systemName: "target")
-                            .foregroundStyle(isTempTargetActive ? Color.primary : Color.green.opacity(0.75))
-                    }.tint(isTempTargetActive ? Color.green.opacity(0.75) : nil)
+                            .foregroundStyle(isTempTargetActive ? Color.primary : Color.loopGreen.opacity(0.75))
+                    }.tint(isTempTargetActive ? Color.loopGreen.opacity(0.75) : nil)
                 }
                 }
             }
             }
             .fullScreenCover(isPresented: $showingTreatmentMenuSheet) {
             .fullScreenCover(isPresented: $showingTreatmentMenuSheet) {