react-native-picasso icon indicating copy to clipboard operation
react-native-picasso copied to clipboard

font style property?

Open vikrantnegi opened this issue 3 years ago • 2 comments

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',
  }
},

vikrantnegi avatar Dec 24 '20 05:12 vikrantnegi

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

meienberger avatar Dec 25 '20 08:12 meienberger

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

vikrantnegi avatar Dec 28 '20 06:12 vikrantnegi