From 90afc8783eab7c8dd6ed347ed62fa1d6d6f7667f Mon Sep 17 00:00:00 2001 From: wisemuji Date: Mon, 31 Jul 2023 23:39:55 +0900 Subject: [PATCH] =?UTF-8?q?#157=20Chip=20Preview=EC=9D=98=20=ED=95=98?= =?UTF-8?q?=EB=93=9C=EC=BD=94=EB=94=A9=EB=90=9C=20=EC=BB=AC=EB=9F=AC?= =?UTF-8?q?=EB=A5=BC=20=EC=BB=AC=EB=9F=AC=20=EC=8B=9C=EC=8A=A4=ED=85=9C=20?= =?UTF-8?q?=EC=B0=B8=EC=A1=B0=ED=95=98=EB=8F=84=EB=A1=9D=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core/designsystem/component/Chip.kt | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/core/designsystem/src/main/java/com/droidknights/app2023/core/designsystem/component/Chip.kt b/core/designsystem/src/main/java/com/droidknights/app2023/core/designsystem/component/Chip.kt index ecd8c1d3..7d59934d 100644 --- a/core/designsystem/src/main/java/com/droidknights/app2023/core/designsystem/component/Chip.kt +++ b/core/designsystem/src/main/java/com/droidknights/app2023/core/designsystem/component/Chip.kt @@ -14,7 +14,13 @@ import androidx.compose.ui.Modifier import androidx.compose.ui.graphics.Color import androidx.compose.ui.tooling.preview.Preview import androidx.compose.ui.unit.dp +import com.droidknights.app2023.core.designsystem.theme.DarkGray +import com.droidknights.app2023.core.designsystem.theme.Green01 +import com.droidknights.app2023.core.designsystem.theme.Green04 import com.droidknights.app2023.core.designsystem.theme.KnightsTheme +import com.droidknights.app2023.core.designsystem.theme.LightGray +import com.droidknights.app2023.core.designsystem.theme.Yellow03A40 +import com.droidknights.app2023.core.designsystem.theme.Yellow04 @Composable fun TextChip( @@ -43,18 +49,18 @@ private fun TextChipPreview() { Column(verticalArrangement = Arrangement.spacedBy(4.dp)) { TextChip( "카테고리", - containerColor = Color(0xFF5D5D5D), - labelColor = Color(0xFFDCDCDC), + containerColor = DarkGray, + labelColor = LightGray, ) TextChip( "Track 02", - containerColor = Color(0xFFA1ED00), - labelColor = Color(0xFF386524), + containerColor = Green01, + labelColor = Green04, ) TextChip( "16:45 발표", - containerColor = Color(0xFFD9F899), - labelColor = Color(0xFF386524), + containerColor = Yellow03A40, + labelColor = Yellow04, ) } }