about summary refs log tree commit diff
path: root/src/view/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/lib')
-rw-r--r--src/view/lib/ThemeContext.tsx1
-rw-r--r--src/view/lib/themes.ts5
2 files changed, 6 insertions, 0 deletions
diff --git a/src/view/lib/ThemeContext.tsx b/src/view/lib/ThemeContext.tsx
index f51983cb5..28edf1fc2 100644
--- a/src/view/lib/ThemeContext.tsx
+++ b/src/view/lib/ThemeContext.tsx
@@ -41,6 +41,7 @@ export type TypographyVariant =
   | 'caption'
   | 'overline1'
   | 'overline2'
+  | 'mono1'
 export type Typography = Record<TypographyVariant, TextStyle>
 
 export interface Theme {
diff --git a/src/view/lib/themes.ts b/src/view/lib/themes.ts
index 114d5cf99..45f55b116 100644
--- a/src/view/lib/themes.ts
+++ b/src/view/lib/themes.ts
@@ -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',
+    },
   },
 }