Skip to content

Commit

Permalink
Merge pull request #446 from hyun99999/feature/#444
Browse files Browse the repository at this point in the history
  • Loading branch information
hyun99999 authored Apr 22, 2023
2 parents 164aa73 + b4e7140 commit 7062ea9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,5 +209,8 @@ extension UIColor {
@nonobjc class var harmonyYellow: UIColor {
return UIColor(red: 253.0 / 255.0, green: 209.0 / 255.0, blue: 0.0, alpha: 1.0)
}


@nonobjc class var tasteLabel: UIColor {
return UIColor(red: 19.0 / 255.0, green: 20.0 / 255.0, blue: 22.0 / 255.0, alpha: 1.0)
}
}
7 changes: 4 additions & 3 deletions NADA-iOS-forRelease/Sources/Cells/CardCell/BackCardCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ extension BackCardCell {
backgroundImageView.image = UIImage(named: "backCardBg")

tasteTitleLabel.font = .title02
tasteTitleLabel.textColor = .background
tasteTitleLabel.textColor = .white

for index in 0..<tasteLabels.count {
tasteLabels[index].font = .button02
tasteLabels[index].textColor = .primary
tasteLabels[index].textColor = .tasteLabel
}

tmiTitleLabel.font = .title02
tmiTitleLabel.textColor = .background
tmiTitleLabel.textColor = .white

tmiLabel.font = .textRegular04
tmiLabel.textColor = .background
Expand All @@ -74,6 +74,7 @@ extension BackCardCell {

for index in 0..<tasteLabels.count {
tasteLabels[index].text = cardTasteInfo[index].cardTasteName
tasteLabels[index].textColor = cardTasteInfo[index].isChoose ? .tasteLabel : .tasteLabel.withAlphaComponent(0.5)
}

if let tmi {
Expand Down
8 changes: 2 additions & 6 deletions NADA-iOS-forRelease/Sources/Cells/CardCell/BackCardCell.xib
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21678"/>
<capability name="Named colors" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
Expand Down Expand Up @@ -36,14 +35,14 @@
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="FfP-9G-1a3">
<rect key="frame" x="24" y="74.5" width="279" height="1"/>
<color key="backgroundColor" name="background"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="Qid-DD-84g"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bNI-yG-96K">
<rect key="frame" x="24" y="371.5" width="279" height="1"/>
<color key="backgroundColor" name="background"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="6Db-Js-vCb"/>
</constraints>
Expand Down Expand Up @@ -230,8 +229,5 @@
</objects>
<resources>
<image name="iconShare" width="24" height="24"/>
<namedColor name="background">
<color red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
</resources>
</document>

0 comments on commit 7062ea9

Please sign in to comment.