Skip to content
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

Rename textStyle -> defaultTextStyle #309

Merged
merged 2 commits into from
Feb 21, 2024
Merged

Rename textStyle -> defaultTextStyle #309

merged 2 commits into from
Feb 21, 2024

Conversation

rock3r
Copy link
Collaborator

@rock3r rock3r commented Feb 20, 2024

This makes the extension function on JewelTheme clearer in its intent of accessing the default TextStyle from the composition locals.

The former defaultTextStyle has been transformed to a function, which is also making clearer it's a creation and not a field access. It has contextually been renamed to createDefaultTextStyle().

This makes the extension function on JewelTheme clearer in its intent of
accessing the default TextStyle from the composition locals.

The former defaultTextStyle has been transformed to a function, which is
also making clearer it's a creation and not a field access. It has
contextually been renamed to createDefaultTextStyle().
@rock3r rock3r added api Changes related to the public API requires-backporting A feature or fix that needs backporting to the release branches labels Feb 20, 2024
@rock3r rock3r self-assigned this Feb 20, 2024
Base automatically changed from update-inter-font to main February 21, 2024 04:41
@devkanro devkanro merged commit f59fd7f into main Feb 21, 2024
9 checks passed
@devkanro devkanro deleted the defaultTextStyle branch February 21, 2024 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Changes related to the public API requires-backporting A feature or fix that needs backporting to the release branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants