Skip to content

Commit

Permalink
[chore] funchShadow -> neonShadow 로 바꾸기
Browse files Browse the repository at this point in the history
  • Loading branch information
murjune committed Jan 24, 2024
1 parent bb1872a commit 8154422
Show file tree
Hide file tree
Showing 2 changed files with 5 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.funchShadow
import com.moya.funch.modifier.neonSign
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.funchShadow(
if (enabled) Modifier.neonSign(
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.funchShadow(
fun Modifier.neonSign(
color: Color = Color.Yellow,
borderRadius: Dp = 0.dp,
blurRadius: Dp = 8.dp,
Expand Down Expand Up @@ -97,8 +97,9 @@ private fun ShadowPreview() {
modifier = Modifier
.padding(16.dp)
.padding(horizontal = 4.dp)
.funchShadow(
.neonSign(
color = Lemon500,
blurRadius = 20.dp,
borderRadius = 16.dp
)
.size(320.dp, 64.dp)
Expand Down

0 comments on commit 8154422

Please sign in to comment.