From 8fe27d40f06aedec6a7c752542908d0bc6af091b Mon Sep 17 00:00:00 2001 From: vantezzen Date: Mon, 24 Feb 2020 18:16:08 +0100 Subject: #153 Add ability to change service icon size --- src/config.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/config.js') 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 = { 100: 'Extemely wide sidebar', }; +export const ICON_SIZES = { + 0: 'Very small icons', + 10: 'Small icons', + 20: 'Normal icons', + 30: 'Large icons', + 40: 'Very large icons', +}; +// We need a bias to push all icon sizes into positive numbers +// otherwise the settings screen won't sort the sizes correctly. +// The bias should always be the "Normal icons" value +export const iconSizeBias = 20; + export const DEFAULT_APP_SETTINGS = { autoLaunchInBackground: false, runInBackground: true, @@ -93,6 +105,7 @@ export const DEFAULT_APP_SETTINGS = { adaptableDarkMode: true, accentColor: '#7367f0', serviceRibbonWidth: 68, + iconSize: iconSizeBias, sentry: false, }; -- cgit v1.2.3-54-g00ecf