Night font

main
Bob Mottram 2020-06-05 21:38:55 +01:00
parent ecb9843dca
commit 68cbcd23bf
1 changed files with 4 additions and 2 deletions

View File

@ -183,6 +183,8 @@ def setThemeBlue(baseDir: str):
def setThemeNight(baseDir: str):
removeTheme(baseDir)
setThemeInConfig(baseDir, 'night')
fontStr = \
"url('./fonts/CheGuevaraTextSans-Regular.ttf') format('truetype')"
themeParams = {
"main-bg-color": "#0f0d10",
"text-entry-background": "#0f0d10",
@ -195,8 +197,8 @@ def setThemeNight(baseDir: str):
"hashtag-vertical-spacing3": "100px",
"hashtag-vertical-spacing4": "150px",
"time-vertical-align": "-10px",
"*font-family": "'SundownerRegular'",
"*src": "url('./fonts/SundownerRegular.ttf') format('truetype')"
"*font-family": "'CheGuevaraTextSans-Regular'",
"*src": fontStr
}
setThemeFromDict(baseDir, 'night', themeParams)