     style.systemStatusBarStyle = \(systemStatusBarStyle)
     style.textVerticalPositionAdjustment = \(textVerticalPositionAdjustment)
     style.canSwipeToDismiss = \(canSwipeToDismiss)
-
-    style.textShadowColor = \(textShadowColor ?? .white)
-    style.textShadowOffset = \(textShadowOffset)
-
+    """
+
+    if let color = textShadowColor {
+      text.append("\n\n")
+      text.append("""
+      style.textShadowColor = \(color)
+      style.textShadowOffset = \(textShadowOffset)
+      """)
+    }
+
+    text.append("\n\n")
+    text.append("""
     style.progressBarStyle.barHeight = \(pbBarHeight)
     style.progressBarStyle.position = \(pbPosition)
     style.progressBarStyle.barColor = \(pbBarColor ?? .white)
     style.progressBarStyle.horizontalInsets = \(pbHorizontalInsets)
     style.progressBarStyle.cornerRadius = \(pbCornerRadius)
-    """
+    """)
+
+    text.append("\n")
+
+    return text
   }
 }
 

  }

  func styleConfigurationString() -> String {
    return """
    style.barColor = \(barColor ?? .white)
    style.textColor = \(textColor ?? .white)
    style.font = \(font)


        customColorPicker(title: "Text Color", binding: $style.textColor)

        buttonRow(title: "Add / remove text shadow") {
          if let _ = style.textShadowColor {
            style.textShadowColor = nil
          } else {
            style.textShadowColor = style.barColor
          }
        }.foregroundColor(.primary)

        if let _ = style.textShadowColor {
          customColorPicker(title: "Text Shadow Color", binding: $style.textShadowColor)

          VStack(alignment: .leading, spacing: 6.0) {
            Text("Text Shadow Offset (\(Int(style.textShadowOffset.width))/\(Int(style.textShadowOffset.height)))")
              .font(.subheadline)
            HStack(alignment: .center, spacing: 20.0) {
              Spacer()
              Stepper("X:", value: $style.textShadowOffset.width)
                .frame(width: 120)
                .font(.subheadline)
              Stepper("Y:", value: $style.textShadowOffset.height)
                .frame(width: 120)
                .font(.subheadline)
              Spacer()
            }
          }
        }
      }
