Skip to content

Commit 85a103f

Browse files
committed
chore: fixed func
1 parent bf4ee15 commit 85a103f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SDDSThemeBuilder/SDDSThemeCore/Sources/SDDSThemeCore/Extensions/ColorToken+Alpha.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import SwiftUI
33

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

0 commit comments

Comments
 (0)