//
//  UIImageView+Theme.swift
//  Lanu
//
//  Created by OneeChan on 2025/12/19.
//

import Foundation


extension UIImageView {
    static func arrowImageView(size: CGFloat, weight: UIImage.SymbolWeight = .regular) -> UIImageView {
        let config = UIImage.SymbolConfiguration(pointSize: size, weight: weight)
        let arrow = UIImageView()
        arrow.image = .init(systemName: "chevron.forward", withConfiguration: config)
        return arrow
    }
    
    static func coinImageView(_ big: Bool = false) -> UIImageView {
        let coin = UIImageView()
        coin.image = big ? .icCoin42 : .icCoin
        
        return coin
    }
    
    static func diamondImageView(_ big: Bool = false) -> UIImageView {
        let diamond = UIImageView()
        diamond.image = big ? .icDiamond42 : .icDiamond
        
        return diamond
    }
    
    static func beanImageView() -> UIImageView {
        let bean = UIImageView()
        bean.image = .icBean
        
        return bean
    }
}
