mirror of https://gitlab.com/bashrc2/epicyon
Night font
parent
ecb9843dca
commit
68cbcd23bf
6
theme.py
6
theme.py
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue