Skip to content

Commit 222ba2b

Browse files
committed
[Chore] #218 - CategorySegmentedControl 활성화/비활성화 UI 수정
1 parent ba655bb commit 222ba2b

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

CERTI-iOS/Presentation/Cerfificate/Components/JobCategorySegmentedControl.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ struct JobCategorySegmentedControl: View {
1919
selectedCategory = category
2020
} label: {
2121
Text(category.description)
22-
.applyCertiFont(.body_semibold_16)
22+
.applyCertiFont(selectedCategory == category ? .body_bold_16 : .body_semibold_16)
2323
.frame(height: 22)
24-
.foregroundStyle(selectedCategory == category ? .grayscale500 : .grayscale400)
24+
.foregroundStyle(selectedCategory == category ? .grayscale500 : .grayscale300)
2525
}
2626
}
2727
}

CERTI-iOS/Presentation/Cerfificate/Components/TrackCategorySegmentedControl.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ struct TrackCategorySegmentedControl: View {
3232
selectedCategory = category
3333
} label: {
3434
Text(category.description)
35-
.applyCertiFont(.body_semibold_16)
35+
.applyCertiFont(selectedCategory == category ? .body_bold_16 : .body_semibold_16)
3636
.frame(height: 22)
37-
.foregroundStyle(selectedCategory == category ? .grayscale500 : .grayscale400)
37+
.foregroundStyle(selectedCategory == category ? .grayscale500 : .grayscale300)
3838
}
3939
}
4040
}

0 commit comments

Comments
 (0)