-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1ed37eb
commit 2ff1bf6
Showing
4 changed files
with
44 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
/* This file contains the default settings. */ | ||
|
||
const isBrowserDefaultDark = () => window.matchMedia('(prefers-color-scheme: dark)').matches | ||
|
||
const settings = { | ||
'saveInLocalStore': false, | ||
'inputModeEnabled': true, | ||
'abbreviationCharacter': '\\', | ||
'languages': ['lean4', 'lean'], | ||
'inputModeCustomTranslations': {}, | ||
'eagerReplacementEnabled': true, | ||
'mobile': false, // value here irrelevant, will be overwritten with `width < 800` in Settings.tsx | ||
'wordWrap': true, | ||
'acceptSuggestionOnEnter': false, | ||
'theme': isBrowserDefaultDark() ? 'Default Dark+' : 'Default Light+', | ||
'mobile': false, // value irrelevant as it will be overwritten with `width < 800` in App.tsx | ||
'theme': 'Visual Studio Light', // irrelevant as it will be overwritten in App.tsx | ||
} | ||
|
||
export default settings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters