summaryrefslogtreecommitdiff
path: root/util/variablesContext.tsx
blob: f6d235600bdca8e453c938c080f310b14696af05 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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',
  useInheritance: false,
  roamDir: '~/org',
  dailyDir: 'dailies',
})
export { VariablesContext }