@@ -37,20 +37,22 @@ calendar.show()
3737You can set calendar style properties (color, font, ...)
3838
3939``` swift
40- calendar.dimmedBackgroundColor : UIColor = UIColor.black
41- calendar.dimmedBackgroundAlpha : CGFloat = 0.5
42- calendar.headerViewBackgroundColor : UIColor = Useful.getUIColor (245 , 245 , 245 )
43- calendar.bodyViewBackgroundColor : UIColor = Useful.getUIColor (255 , 255 , 255 )
44- calendar.sundayColor : UIColor = Useful.getUIColor (235 , 61 , 79 )
45- calendar.disabledSundayColor : UIColor = Useful.getUIColor (251 , 197 , 202 )
46- calendar.saturdayColor : UIColor = Useful.getUIColor (53 , 113 , 214 )
47- calendar.disabledSaturdayColor : UIColor = Useful.getUIColor (194 , 212 , 243 )
48- calendar.defaultDayColor : UIColor = Useful.getUIColor (51 , 51 , 51 )
49- calendar.disabledDefaultDayColor : UIColor = Useful.getUIColor (193 , 193 , 193 )
50- calendar.lineSeparatorColor : UIColor = Useful.getUIColor (233 , 233 , 233 )
51- calendar.headerLabelFont : UIFont = UIFont.systemFont (ofSize : 24 )
52- calendar.weekLabelFont : UIFont = UIFont.systemFont (ofSize : 16 )
53- calendar.dayLabelFont : UIFont = UIFont.systemFont (ofSize : 19 )
40+ calendar.dayButtonStyle = DayButtonStyle (.roundishSquare , .square , .circle )
41+ calendar.dimmedBackgroundColor = UIColor
42+ calendar.dimmedBackgroundAlpha = CGFloat
43+ calendar.headerViewBackgroundColor = UIColor
44+ calendar.bodyViewBackgroundColor = UIColor
45+ calendar.sundayColor = UIColor
46+ calendar.disabledSundayColor = UIColor
47+ calendar.saturdayColor = UIColor
48+ calendar.disabledSaturdayColor = UIColor
49+ calendar.defaultDayColor = UIColor
50+ calendar.disabledDefaultDayColor = UIColor
51+ calendar.lineSeparatorColor = UIColor
52+ calendar.selectedDayColor = UIColor
53+ calendar.headerLabelFont = UIFont
54+ calendar.weekLabelFont = UIFont
55+ calendar.dayLabelFont = UIFont
5456```
5557
5658## Calendar Type
0 commit comments