Default theme

main
Bob Mottram 2020-05-27 12:02:51 +01:00
parent 0a3188a5da
commit fac462f44b
1 changed files with 5 additions and 4 deletions

View File

@ -261,10 +261,7 @@ def setThemeLight(baseDir: str):
def setTheme(baseDir: str, name: str) -> bool: def setTheme(baseDir: str, name: str) -> bool:
result = False result = False
if name == 'default': if name == 'purple':
setThemeDefault(baseDir)
result = True
elif name == 'purple':
setThemePurple(baseDir) setThemePurple(baseDir)
result = True result = True
elif name == 'light': elif name == 'light':
@ -276,5 +273,9 @@ def setTheme(baseDir: str, name: str) -> bool:
elif name == 'highvis': elif name == 'highvis':
setThemeHighVis(baseDir) setThemeHighVis(baseDir)
result = True result = True
else:
# default
setThemeDefault(baseDir)
result = True
setCustomFont(baseDir) setCustomFont(baseDir)
return result return result