-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preview bolded content #1670
Preview bolded content #1670
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
composables/src/debug/java/com/google/android/horologist/composables/DatePickerPreview.kt
Outdated
Show resolved
Hide resolved
composables/src/test/kotlin/com/google/android/horologist/composables/DatePickerTest.kt
Outdated
Show resolved
Hide resolved
) | ||
fun datePickerSmallBold() { | ||
screenshotTestRule.setContent(takeScreenshot = true) { | ||
MaterialTheme(typography = MaterialTheme.typography.copy { this.copy(fontWeight = FontWeight.Bold) }) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if this can be done via TestHarness as we do with fontScale. I see a fontWeightAdjustment
param but haven't tried it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It won't work on API 30, so I think this is simpler here. I'll add a comment.
WHAT
WHY
HOW
Checklist 📋