forked from indymedia/epicyon
Default theme
parent
0a3188a5da
commit
fac462f44b
9
theme.py
9
theme.py
|
@ -261,10 +261,7 @@ def setThemeLight(baseDir: str):
|
|||
|
||||
def setTheme(baseDir: str, name: str) -> bool:
|
||||
result = False
|
||||
if name == 'default':
|
||||
setThemeDefault(baseDir)
|
||||
result = True
|
||||
elif name == 'purple':
|
||||
if name == 'purple':
|
||||
setThemePurple(baseDir)
|
||||
result = True
|
||||
elif name == 'light':
|
||||
|
@ -276,5 +273,9 @@ def setTheme(baseDir: str, name: str) -> bool:
|
|||
elif name == 'highvis':
|
||||
setThemeHighVis(baseDir)
|
||||
result = True
|
||||
else:
|
||||
# default
|
||||
setThemeDefault(baseDir)
|
||||
result = True
|
||||
setCustomFont(baseDir)
|
||||
return result
|
||||
|
|
Loading…
Reference in New Issue