Finish migration away from AppAssets to AppImage and AppColor.

This commit is contained in:
Brent Simmons
2025-01-30 12:58:14 -08:00
parent 6db201f827
commit 0dfb284f67
37 changed files with 179 additions and 638 deletions

View File

@@ -10,7 +10,7 @@ import UIKit
final class VibrantButton: UIButton {
@IBInspectable var backgroundHighlightColor: UIColor = AppAssets.secondaryAccentColor
@IBInspectable var backgroundHighlightColor: UIColor = AppColor.secondaryAccent
override init(frame: CGRect) {
super.init(frame: frame)
@@ -22,8 +22,8 @@ final class VibrantButton: UIButton {
}
private func commonInit() {
setTitleColor(AppAssets.vibrantTextColor, for: .highlighted)
let disabledColor = AppAssets.secondaryAccentColor.withAlphaComponent(0.5)
setTitleColor(AppColor.vibrantText, for: .highlighted)
let disabledColor = AppColor.secondaryAccent.withAlphaComponent(0.5)
setTitleColor(disabledColor, for: .disabled)
}