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

font style property? #3

Open
vikrantnegi opened this issue Dec 24, 2020 · 2 comments
Open

font style property? #3

vikrantnegi opened this issue Dec 24, 2020 · 2 comments

Comments

@vikrantnegi
Copy link

When overriding the default theme we can update font size and weight but can we also add font style property to the font?

font: {
    family: 'Helvetica',
    sizes: {
      sm: 12,
      md: 16,
      lg: 24,
      xl: 32,
      xxl: 40,
    },
    weights: {
      light: '100',
      normal: 'normal',
      medium: '500',
      bold: 'bold',
      semibold: '600',
      extrabold: '900',
    },
   // Is this possible?
   style: {
     italic: 'italic',
  }
},
@nicotsx
Copy link
Owner

nicotsx commented Dec 25, 2020

Currently it’s not yet supported but it would be a great addition! I’ll try to include it in the next release

@vikrantnegi
Copy link
Author

@meienberger Thanks. We can close this issue as soon as the feature is shipped.

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

No branches or pull requests

2 participants