aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.js')
-rw-r--r--src/config.js23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/config.js b/src/config.js
index 895852ed8..9b77aa9a5 100644
--- a/src/config.js
+++ b/src/config.js
@@ -45,6 +45,28 @@ export const HIBERNATION_STRATEGIES = {
45 3600: 'Extemely Slow Hibernation (1hour)', 45 3600: 'Extemely Slow Hibernation (1hour)',
46}; 46};
47 47
48export const SIDEBAR_WIDTH = {
49 35: 'Extemely slim sidebar',
50 45: 'Very slim sidebar',
51 55: 'Slim sidebar',
52 68: 'Normal sidebar',
53 80: 'Wide sidebar',
54 90: 'Very wide sidebar',
55 100: 'Extemely wide sidebar',
56};
57
58export const ICON_SIZES = {
59 0: 'Very small icons',
60 10: 'Small icons',
61 20: 'Normal icons',
62 30: 'Large icons',
63 40: 'Very large icons',
64};
65// We need a bias to push all icon sizes into positive numbers
66// otherwise the settings screen won't sort the sizes correctly.
67// The bias should always be the "Normal icons" value
68export const iconSizeBias = 20;
69
48export const DEFAULT_APP_SETTINGS = { 70export const DEFAULT_APP_SETTINGS = {
49 autoLaunchInBackground: false, 71 autoLaunchInBackground: false,
50 runInBackground: true, 72 runInBackground: true,
@@ -83,6 +105,7 @@ export const DEFAULT_APP_SETTINGS = {
83 adaptableDarkMode: true, 105 adaptableDarkMode: true,
84 accentColor: '#7367f0', 106 accentColor: '#7367f0',
85 serviceRibbonWidth: 68, 107 serviceRibbonWidth: 68,
108 iconSize: iconSizeBias,
86 sentry: false, 109 sentry: false,
87}; 110};
88 111