Improve error logging
This commit is contained in:
@@ -41,6 +41,7 @@ export type TypographyVariant =
|
||||
| 'caption'
|
||||
| 'overline1'
|
||||
| 'overline2'
|
||||
| 'mono1'
|
||||
export type Typography = Record<TypographyVariant, TextStyle>
|
||||
|
||||
export interface Theme {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import {Platform} from 'react-native'
|
||||
import type {Theme} from './ThemeContext'
|
||||
import {colors} from './styles'
|
||||
|
||||
@@ -136,6 +137,10 @@ export const defaultTheme: Theme = {
|
||||
fontSize: 14,
|
||||
fontWeight: '600',
|
||||
},
|
||||
mono1: {
|
||||
fontSize: 14,
|
||||
fontFamily: Platform.OS === 'android' ? 'monospace' : 'Courier New',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user