Skip to content

Commit

Permalink
🔧 fix: 도넛 차트 글자 스타일 수정 (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
easyhz committed Sep 12, 2024
1 parent d46a787 commit 946a2ff
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp
import com.afs.tutrd.theme.LightGray
import com.afs.tutrd.theme.MediumTitle2
import com.afs.tutrd.theme.Tutrd

@Composable
Expand Down Expand Up @@ -75,7 +76,11 @@ fun DonutChart(
style = Stroke(width = width.toPx(), cap = StrokeCap.Butt)
)
}
Text(text = "${progress}/$total")
Text(
text = "${progress}/$total",
style = MediumTitle2,
color = Color.Black
)
}
}

Expand Down

0 comments on commit 946a2ff

Please sign in to comment.