Skip to content

Commit

Permalink
[chore] punchShadow -> funchShadow
Browse files Browse the repository at this point in the history
  • Loading branch information
murjune committed Jan 23, 2024
1 parent 6caad91 commit bb1872a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp
import com.moya.funch.modifier.clickableSingle
import com.moya.funch.modifier.punchShadow
import com.moya.funch.modifier.funchShadow
import com.moya.funch.theme.FunchTheme
import com.moya.funch.theme.Gray900
import com.moya.funch.theme.Lemon500
Expand Down Expand Up @@ -68,7 +68,7 @@ fun SharingButton(
Box(
modifier = modifier
.then(
if (enabled) Modifier.punchShadow(
if (enabled) Modifier.funchShadow(
color = Lemon500, borderRadius = 16.dp
) else Modifier
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import com.moya.funch.theme.Yellow500
*
* @return Composable에 그림자 효과를 적용하는 Modifier
*/
fun Modifier.punchShadow(
fun Modifier.funchShadow(
color: Color = Color.Yellow,
borderRadius: Dp = 0.dp,
blurRadius: Dp = 8.dp,
Expand Down Expand Up @@ -97,7 +97,7 @@ private fun ShadowPreview() {
modifier = Modifier
.padding(16.dp)
.padding(horizontal = 4.dp)
.punchShadow(
.funchShadow(
color = Lemon500,
borderRadius = 16.dp
)
Expand Down

0 comments on commit bb1872a

Please sign in to comment.