Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IThemeFontOptions

The options that are used with the ThemeFont class. Can be used to override the default font styles.

example
Override style attributes for alias ```ts import { constants, ThemeFont, ThemeColours, Theme } from '@ef-carbon/react-native-style'; const colours = ThemeColours({ constants, base: 'blue' }); const font = new ThemeFont({ colours, primary: { shade: 'darker', }, title: { slope: 'italic', colour: 'green', shade: 'darker', } }); const theme = new Theme({ font, base: 'blue' }); ```

Hierarchy

Index

Properties

Properties

colours

colours: IColours<IColour<IFontColourStyle>>

Optional style

style: ISlope<IWeight<IFontStyle>>