mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Merge pull request #15707 from overleaf/td-user-settings-context
Move user settings to a context GitOrigin-RevId: 9a9d55dfee9f71cee323fe64d1442303ac7cfeb2
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import { Keybindings, PdfViewer } from './project-settings'
|
||||
import {
|
||||
FontFamily,
|
||||
LineHeight,
|
||||
OverallTheme,
|
||||
} from '@/features/source-editor/extensions/theme'
|
||||
|
||||
export type UserSettings = {
|
||||
pdfViewer: PdfViewer
|
||||
autoComplete: boolean
|
||||
autoPairDelimiters: boolean
|
||||
syntaxValidation: boolean
|
||||
editorTheme: string
|
||||
overallTheme: OverallTheme
|
||||
mode: Keybindings
|
||||
fontSize: number
|
||||
fontFamily: FontFamily
|
||||
lineHeight: LineHeight
|
||||
}
|
||||
@@ -3,7 +3,7 @@ import { OAuthProviders } from './oauth-providers'
|
||||
import { OverallThemeMeta } from './project-settings'
|
||||
import { User } from './user'
|
||||
import 'recurly__recurly-js'
|
||||
import { UserSettings } from '@/features/editor-left-menu/utils/api'
|
||||
import { UserSettings } from './user-settings'
|
||||
|
||||
declare global {
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
|
||||
Reference in New Issue
Block a user