diff options
Diffstat (limited to 'src/config.js')
-rw-r--r-- | src/config.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/config.js b/src/config.js index 193ba74e6..9b77aa9a5 100644 --- a/src/config.js +++ b/src/config.js | |||
@@ -55,6 +55,18 @@ export const SIDEBAR_WIDTH = { | |||
55 | 100: 'Extemely wide sidebar', | 55 | 100: 'Extemely wide sidebar', |
56 | }; | 56 | }; |
57 | 57 | ||
58 | export 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 | ||
68 | export const iconSizeBias = 20; | ||
69 | |||
58 | export const DEFAULT_APP_SETTINGS = { | 70 | export const DEFAULT_APP_SETTINGS = { |
59 | autoLaunchInBackground: false, | 71 | autoLaunchInBackground: false, |
60 | runInBackground: true, | 72 | runInBackground: true, |
@@ -93,6 +105,7 @@ export const DEFAULT_APP_SETTINGS = { | |||
93 | adaptableDarkMode: true, | 105 | adaptableDarkMode: true, |
94 | accentColor: '#7367f0', | 106 | accentColor: '#7367f0', |
95 | serviceRibbonWidth: 68, | 107 | serviceRibbonWidth: 68, |
108 | iconSize: iconSizeBias, | ||
96 | sentry: false, | 109 | sentry: false, |
97 | }; | 110 | }; |
98 | 111 | ||