summaryrefslogtreecommitdiff
path: root/util/variablesContext.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'util/variablesContext.tsx')
-rw-r--r--util/variablesContext.tsx12
1 files changed, 12 insertions, 0 deletions
diff --git a/util/variablesContext.tsx b/util/variablesContext.tsx
new file mode 100644
index 0000000..5fd34b8
--- /dev/null
+++ b/util/variablesContext.tsx
@@ -0,0 +1,12 @@
+import { createContext } from 'react'
+import { EmacsVariables } from '../pages'
+
+type Theme = [name: string, themeObject: { [color: string]: string }]
+
+const VariablesContext = createContext<EmacsVariables>({
+ subDirs: ['dailies', '.attach'],
+ attachDir: '.attach',
+ roamDir: '~/org',
+ dailyDir: 'dailies',
+})
+export { VariablesContext }