summaryrefslogtreecommitdiff
path: root/util/variablesContext.tsx
blob: 5fd34b8fa96666ce6a2f9e943e3012ddb01fa3e7 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
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 }