mirror of https://gitlab.com/bashrc2/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:
|
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
|
||||||
|
|
Loading…
Reference in New Issue