@@ -53,29 +53,29 @@ class MTPale: UIView {
5353 case . success:
5454 headLabel. text = " Success "
5555 circleImg. image = loadImage ( name: " success_icon_white " )
56- sideBarView. backgroundColor = UIColor ( hex : " 6FCF97 " )
57- circleView. backgroundColor = UIColor ( hex : " 6FCF97 " )
56+ sideBarView. backgroundColor = UIColor ( red : 242.0 , green : 201.0 , blue : 76.0 , alpha : 1.0 )
57+ circleView. backgroundColor = UIColor ( red : 242.0 , green : 201.0 , blue : 76.0 , alpha : 1.0 )
5858 toastView. backgroundColor = loadColor ( name: " alpha_green_dark " )
5959 break
6060 case . error:
6161 headLabel. text = " Error "
6262 circleImg. image = loadImage ( name: " error_icon_white " )
63- sideBarView. backgroundColor = UIColor ( hex : " EB5757 " )
64- circleView. backgroundColor = UIColor ( hex : " EB5757 " )
63+ sideBarView. backgroundColor = UIColor ( red : 235.0 , green : 87.0 , blue : 87.0 , alpha : 1.0 )
64+ circleView. backgroundColor = UIColor ( red : 235.0 , green : 87.0 , blue : 87.0 , alpha : 1.0 )
6565 toastView. backgroundColor = loadColor ( name: " alpha_red_dark " )
6666 break
6767 case . warning:
6868 headLabel. text = " Warning "
6969 circleImg. image = loadImage ( name: " warning_icon_white " )
70- sideBarView. backgroundColor = UIColor ( hex : " F2C94C " )
71- circleView. backgroundColor = UIColor ( hex : " F2C94C " )
70+ sideBarView. backgroundColor = UIColor ( red : 242.0 , green : 201.0 , blue : 76.0 , alpha : 1.0 )
71+ circleView. backgroundColor = UIColor ( red : 242.0 , green : 201.0 , blue : 76.0 , alpha : 1.0 )
7272 toastView. backgroundColor = loadColor ( name: " alpha_yellow_dark " )
7373 break
7474 case . info:
7575 headLabel. text = " Info "
7676 circleImg. image = loadImage ( name: " info_icon_white " )
77- sideBarView. backgroundColor = UIColor ( hex : " 2F80ED " )
78- circleView. backgroundColor = UIColor ( hex : " 2F80ED " )
77+ sideBarView. backgroundColor = UIColor ( red : 47.0 , green : 128.0 , blue : 237.0 , alpha : 1.0 )
78+ circleView. backgroundColor = UIColor ( red : 47.0 , green : 128.0 , blue : 237.0 , alpha : 1.0 )
7979 toastView. backgroundColor = loadColor ( name: " alpha_blue_dark " )
8080 break
8181 }
0 commit comments