Skip to content

Commit

Permalink
chore: fixed func
Browse files Browse the repository at this point in the history
  • Loading branch information
vkaltyrin committed Jan 13, 2025
1 parent bf4ee15 commit 85a103f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import SwiftUI

public extension ColorToken {
/// Применяет альфу к токену путем умножения альфы к исходной альфе токена
func withAlpha(multipliedBy alpha: Double) {
func withAlpha(multipliedBy alpha: Double) -> ColorToken {
return ColorToken(
darkColor: self.darkColor.opacity(alpha),
lightColor: self.lightColor.opacity(alpha)
Expand Down

0 comments on commit 85a103f

Please sign in to comment.