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

Added custom font setting #112

Merged
merged 3 commits into from
Nov 2, 2024
Merged

Conversation

LukaOber
Copy link
Collaborator

@LukaOber LukaOber commented Nov 2, 2024

Added enums for custom font settings.

  • FontStyle
  • FontWeight
  • FontFamily

These were either not available or just settable as a String. This PR will add type safety to these settings where they were previously available and add them to new places like AxisLabel (fixes #111 ).

These won't be breaking changes as the types implement From<Into<String>> and old configurations are getting converted.

The last commit switches the gallery examples to the new types.

@LukaOber LukaOber merged commit aa18c23 into yuankunzhang:main Nov 2, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AxisLabel - no font-weight, no font-family?
1 participant