Adjust weather widget typography
This commit is contained in:
parent
197efde686
commit
cb72b9180f
@ -80,11 +80,7 @@ fun WeatherWidget() {
|
|||||||
imperialUnits = imperialUnits,
|
imperialUnits = imperialUnits,
|
||||||
temp = selectedForecast.temperature
|
temp = selectedForecast.temperature
|
||||||
).toString() + "°",
|
).toString() + "°",
|
||||||
style = TextStyle(
|
style = MaterialTheme.typography.headlineLarge,
|
||||||
fontSize = 36.sp,
|
|
||||||
fontWeight = FontWeight.Light,
|
|
||||||
color = colorResource(id = R.color.text_color_primary)
|
|
||||||
),
|
|
||||||
)
|
)
|
||||||
Text(
|
Text(
|
||||||
text = selectedForecast.condition,
|
text = selectedForecast.condition,
|
||||||
@ -100,7 +96,8 @@ fun WeatherWidget() {
|
|||||||
) {
|
) {
|
||||||
Text(
|
Text(
|
||||||
text = stringResource(id = if (detailsExpanded) R.string.weather_widget_hide_details else R.string.weather_widget_show_details),
|
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
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user