Adjust weather widget typography

This commit is contained in:
MM20 2021-12-13 13:46:34 +01:00
parent 197efde686
commit cb72b9180f
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -80,11 +80,7 @@ fun WeatherWidget() {
imperialUnits = imperialUnits,
temp = selectedForecast.temperature
).toString() + "°",
style = TextStyle(
fontSize = 36.sp,
fontWeight = FontWeight.Light,
color = colorResource(id = R.color.text_color_primary)
),
style = MaterialTheme.typography.headlineLarge,
)
Text(
text = selectedForecast.condition,
@ -100,7 +96,8 @@ fun WeatherWidget() {
) {
Text(
text = stringResource(id = if (detailsExpanded) R.string.weather_widget_hide_details else R.string.weather_widget_show_details),
style = MaterialTheme.typography.bodySmall
style = MaterialTheme.typography.labelMedium,
color = MaterialTheme.colorScheme.primary
)
}