export type ViewMode = 'editor' | 'preview' | 'source'

export interface Settings {
  darkMode: boolean
  viewMode: ViewMode
  sidebarCollapsed: boolean
  sidebarWidth: number
}

export const DEFAULT_SETTINGS: Settings = {
  darkMode: false,
  viewMode: 'editor',
  sidebarCollapsed: false,
  sidebarWidth: 240
}
