@@ -10,7 +10,6 @@ import SnapKit
1010import UIKit
1111
1212final class RoutineCategoryButton : UIButton {
13-
1413 private let buttonHeight : CGFloat = 36
1514 private let routineCategory : RoutineCategoryType
1615 private let categoryLabel = UILabel ( )
@@ -33,11 +32,11 @@ final class RoutineCategoryButton: UIButton {
3332 }
3433
3534 private func configureAttribute( ) {
36- backgroundColor = BitnagilColor . gray99
35+ backgroundColor = . white
3736
3837 categoryLabel. text = routineCategory. title
39- categoryLabel. font = BitnagilFont ( style: . caption1, weight: . regular ) . font
40- categoryLabel. textColor = BitnagilColor . navy100
38+ categoryLabel. font = BitnagilFont ( style: . caption1, weight: . medium ) . font
39+ categoryLabel. textColor = BitnagilColor . gray60
4140 }
4241
4342 private func configureLayout( ) {
@@ -52,11 +51,11 @@ final class RoutineCategoryButton: UIButton {
5251
5352 private func updateButtonAttribute( ) {
5453 let semiBoldFont = BitnagilFont ( style: . caption1, weight: . semiBold) . font
55- let regularFont = BitnagilFont ( style: . caption1, weight: . regular ) . font
54+ let mediumFont = BitnagilFont ( style: . caption1, weight: . medium ) . font
5655
57- backgroundColor = isChecked ? BitnagilColor . navy500 : BitnagilColor . gray99
58- categoryLabel. font = isChecked ? semiBoldFont : regularFont
59- categoryLabel. textColor = isChecked ? . white : BitnagilColor . navy100
56+ backgroundColor = isChecked ? BitnagilColor . gray10 : . white
57+ categoryLabel. font = isChecked ? semiBoldFont : mediumFont
58+ categoryLabel. textColor = isChecked ? . white : BitnagilColor . gray60
6059 }
6160
6261 func updateButtonState( isChecked: Bool ) {
0 commit comments