@@ -109,6 +109,11 @@ public SweetAlertOptions(string title)
109109 /// </summary>
110110 public string Padding { get ; set ; }
111111
112+ /// <summary>
113+ /// Popup color for title, content and footer (CSS `color` property).
114+ /// </summary>
115+ public string Color { get ; set ; }
116+
112117 /// <summary>
113118 /// Modal window background (CSS background property).
114119 /// </summary>
@@ -331,18 +336,18 @@ public SweetAlertOptions(string title)
331336
332337#pragma warning disable CA1056 // Uri properties should not be strings
333338 /// <summary>
334- /// Add a customized icon for the modal . Should contain a string with the path or URL to the image.
339+ /// Add an image to the popup . Should contain a string with the path or URL to the image.
335340 /// </summary>
336341 public string ImageUrl { get ; set ; }
337342#pragma warning restore CA1056 // Uri properties should not be strings
338343
339344 /// <summary>
340- /// If imageUrl is set, you can specify imageWidth to describes image width in px .
345+ /// If imageUrl is set, you can specify imageWidth to describes image width.
341346 /// </summary>
342347 public double ? ImageWidth { get ; set ; }
343348
344349 /// <summary>
345- /// If imageUrl is set, you can specify imageHeight to describes image height in px .
350+ /// If imageUrl is set, you can specify imageHeight to describes image height.
346351 /// </summary>
347352 public double ? ImageHeight { get ; set ; }
348353
@@ -485,6 +490,7 @@ internal SweetAlertOptionPOCO ToPOCO()
485490 Input = Input ? . ToString ( ) ,
486491 Width = Width ,
487492 Padding = Padding ,
493+ Color = Color ,
488494 Background = Background ,
489495 Position = Position ? . ToString ( ) ,
490496 Grow = Grow ? . ToString ( ) ,
0 commit comments