forked from darkreader/darkreader
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefaults.ts
More file actions
41 lines (39 loc) · 1.01 KB
/
Copy pathdefaults.ts
File metadata and controls
41 lines (39 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import {Theme, UserSettings} from './definitions';
import ThemeEngines from './generators/theme-engines';
import {isMacOS, isWindows} from './utils/platform';
export const DEFAULT_THEME: Theme = {
mode: 1,
brightness: 100,
contrast: 100,
grayscale: 0,
sepia: 0,
useFont: false,
fontFamily: isMacOS() ? 'Helvetica Neue' : isWindows() ? 'Segoe UI' : 'Open Sans',
textStroke: 0,
engine: ThemeEngines.dynamicTheme,
stylesheet: '',
scrollbarColor: isMacOS() ? '' : 'auto',
selectionColor: 'auto',
};
export const DEFAULT_SETTINGS: UserSettings = {
enabled: true,
theme: DEFAULT_THEME,
customThemes: [],
siteList: [],
siteListEnabled: [],
applyToListedOnly: false,
changeBrowserTheme: false,
notifyOfNews: false,
syncSettings: true,
automation: '',
time: {
activation: '18:00',
deactivation: '9:00',
},
location: {
latitude: null,
longitude: null,
},
previewNewDesign: false,
enableForPDF: true,
};