Skip to content

Commit

Permalink
Fix markdown text color
Browse files Browse the repository at this point in the history
  • Loading branch information
lneugebauer committed Oct 19, 2024
1 parent 42b17de commit 47a4725
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ import androidx.compose.material.DropdownMenuItem
import androidx.compose.material.FloatingActionButton
import androidx.compose.material.Icon
import androidx.compose.material.IconButton
import androidx.compose.material.LocalContentColor
import androidx.compose.material.LocalTextStyle
import androidx.compose.material.MaterialTheme
import androidx.compose.material.Scaffold
import androidx.compose.material.Text
Expand Down Expand Up @@ -456,6 +458,7 @@ private fun Description(
.fillMaxWidth()
.padding(horizontal = dimensionResource(id = R.dimen.padding_m))
.padding(bottom = dimensionResource(id = R.dimen.padding_m)),
style = LocalTextStyle.current.copy(color = LocalContentColor.current),
onLinkClicked = onLinkClicked,
)
}
Expand Down Expand Up @@ -671,6 +674,7 @@ private fun Ingredients(
.fillMaxWidth()
.minimumInteractiveComponentSize()
.padding(horizontal = dimensionResource(id = R.dimen.padding_m)),
style = LocalTextStyle.current.copy(color = LocalContentColor.current),
onLinkClicked = onLinkClicked,
)
}
Expand Down Expand Up @@ -784,6 +788,7 @@ private fun Tools(
Modifier
.padding(horizontal = dimensionResource(id = R.dimen.padding_m))
.padding(bottom = dimensionResource(id = R.dimen.padding_l)),
style = LocalTextStyle.current.copy(color = LocalContentColor.current),
onLinkClicked = onLinkClicked,
)
}
Expand Down Expand Up @@ -831,6 +836,7 @@ private fun Instructions(
Modifier
.padding(bottom = dimensionResource(id = R.dimen.padding_s))
.fillMaxWidth(),
style = LocalTextStyle.current.copy(color = LocalContentColor.current),
onLinkClicked = onLinkClicked,
)
}
Expand Down

0 comments on commit 47a4725

Please sign in to comment.