Search
Preparing search index...
The search index is not available
EF React Native Style Framework
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"theme/Font"
IThemeFontOptions
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
IFontOptions
object
IThemeFontOptions
Index
Properties
colours
style
Properties
colours
colours
:
IColours
<
IColour
<
IFontColourStyle
>
>
Optional
style
style
:
ISlope
<
IWeight
<
IFontStyle
>
>
Globals
"theme/
Font"
Theme
Font
ITheme
Font
Options
colours
style
ITheme
Font
Style
Theme
Font
Base
convert
theme
Font
Ratio
The options that are used with the ThemeFont class. Can be used to override the default font styles.