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