Jelajahi Sumber

Normal font weight makes is more clear in light mode.

Jon Mårtensson 3 tahun lalu
induk
melakukan
2e3d535fe5

+ 2 - 2
FreeAPS/Sources/Modules/AddCarbs/View/AddCarbsRootView.swift

@@ -117,7 +117,7 @@ extension AddCarbs {
 
         @ViewBuilder private func proteinAndFat() -> some View {
             HStack {
-                Text("Protein").foregroundColor(.red).fontWeight(.thin)
+                Text("Protein").foregroundColor(.red) // .fontWeight(.thin)
                 Spacer()
                 DecimalTextField(
                     "0",
@@ -130,7 +130,7 @@ extension AddCarbs {
                 Text("grams").foregroundColor(.secondary)
             }
             HStack {
-                Text("Fat").foregroundColor(.orange).fontWeight(.thin)
+                Text("Fat").foregroundColor(.orange) // .fontWeight(.thin)
                 Spacer()
                 DecimalTextField(
                     "0",