File tree Expand file tree Collapse file tree
app/src/main/java/com/texthip/thip/ui Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,8 +52,8 @@ fun RoleCard(
5252 val backgroundBrush = if (selected) {
5353 Brush .verticalGradient(
5454 colors = listOf (
55- Color .Black .copy(alpha = 0.6f ), // 상단은 어둡게
56- Color .White .copy(alpha = 0.3f ) // 하단은 밝게
55+ Color .Black .copy(alpha = 0.7f ), // 상단은 어둡게
56+ Color .White .copy(alpha = 0.2f ) // 하단은 밝게
5757 )
5858 )
5959 } else {
@@ -64,11 +64,11 @@ fun RoleCard(
6464 .width(162 .dp)
6565 .height(100 .dp)
6666 .clip(RoundedCornerShape (12 .dp))
67- .background(brush = backgroundBrush, shape = RoundedCornerShape (16 .dp))
67+ .background(brush = backgroundBrush, shape = RoundedCornerShape (12 .dp))
6868 .border(
6969 width = 1 .dp,
7070 color = borderColor,
71- shape = RoundedCornerShape (16 .dp)
71+ shape = RoundedCornerShape (12 .dp)
7272 )
7373 .clickable { onClick() }
7474 ) {
@@ -101,7 +101,7 @@ fun RoleCard(
101101 }
102102}
103103
104- @Preview(showBackground = true , backgroundColor = 0xFF000000 )
104+ @Preview(showBackground = true , backgroundColor = 0xFF121212 )
105105@Composable
106106fun RoleCardPreview () {
107107 var selected1 by rememberSaveable { mutableStateOf(true ) }
Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ val DarkGrey = Color(0xFF3D3D3D)
3737val DarkGrey50 = Color (0x803D3D3D )
3838val DarkGrey02 = Color (0xFF282828 )
3939val DarkGrey01 = Color (0x4B4B4B4B )
40-
4140val Black = Color (0xFF121212 )
4241val Black50 = Color (0x80121212 )
4342val Black10 = Color (0x1A121212 )
You can’t perform that action at this time.
0 commit comments