Skip to content

font style property? #3

Description

@vikrantnegi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions