Просмотр исходного кода

Test. New colors: legend, info panel and chart now homogenised (.background(Color.secondary.opacity(0.05))

(cherry picked from commit 5a5e6e1f6e0eaf5d3b1254c7e6850b3bcc717837)
Jon Mårtensson 5 лет назад
Родитель
Сommit
219bd2eaa3
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      FreeAPS/Sources/Modules/Home/View/HomeRootView.swift

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

@@ -208,7 +208,7 @@ extension Home {
                     //  .background(Color.gray.opacity(0.2))
                     Divider().background(Color.gray) // Added 29/4
                     infoPanal
-                        .background(Color.secondary.opacity(0.1))
+                        .background(Color.secondary.opacity(0.05))
                     // Divider().background(Color.gray) // Added 29/4
                     MainChartView(
                         glucose: $viewModel.glucose,
@@ -230,7 +230,7 @@ extension Home {
                     .modal(for: .dataTable, from: self)
                     Divider().background(Color.gray) // Added 29/4
                     legendPanal
-                        .background(Color.secondary.opacity(0.1))
+                        .background(Color.secondary.opacity(0.05))
                     Divider().background(Color.gray) // Added 29/4
                     ZStack {
                         Rectangle().fill(Color.backgroundColor)