mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
new: set light/dark editor theme
This commit is contained in:
@@ -45,4 +45,5 @@ const defaultLaunchPageIdx = 0;
|
||||
|
||||
const defaultUpdateInterval = 3;
|
||||
|
||||
const defaultEditorTheme = 'monokai';
|
||||
const defaultEditorTheme = 'a11y-light';
|
||||
const defaultEditorDarkTheme = 'monokai';
|
||||
|
||||
@@ -10,7 +10,7 @@ const privateKeyMaxSize = 20 * 1024;
|
||||
const editorMaxSize = 1024 * 1024;
|
||||
|
||||
/// Max debug log lines
|
||||
const maxDebugLogLines = 377;
|
||||
const maxDebugLogLines = 100;
|
||||
|
||||
/// Method Channels
|
||||
const pkgName = 'tech.lolli.toolbox';
|
||||
|
||||
@@ -68,6 +68,9 @@ class SettingStore extends PersistentStore {
|
||||
// Editor theme
|
||||
StoreProperty<String> get editorTheme =>
|
||||
property('editorTheme', defaultValue: defaultEditorTheme);
|
||||
|
||||
StoreProperty<String> get editorDarkTheme =>
|
||||
property('editorDarkTheme', defaultValue: defaultEditorDarkTheme);
|
||||
|
||||
StoreProperty<bool> get fullScreen =>
|
||||
property('fullScreen', defaultValue: false);
|
||||
|
||||
Reference in New Issue
Block a user