Night theme
After Width: | Height: | Size: 41 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 978 B |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 6.9 KiB |
After Width: | Height: | Size: 5.3 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 146 KiB |
23
theme.py
|
@ -19,7 +19,7 @@ def getThemesList() -> []:
|
|||
and to lookup function names
|
||||
"""
|
||||
return ('Default', 'Blue', 'Hacker', 'HighVis',
|
||||
'LCD', 'Light', 'Purple', 'Zen')
|
||||
'LCD', 'Light', 'Night', 'Purple', 'Zen')
|
||||
|
||||
|
||||
def setThemeInConfig(baseDir: str, name: str) -> bool:
|
||||
|
@ -180,6 +180,27 @@ def setThemeBlue(baseDir: str):
|
|||
setThemeFromDict(baseDir, 'blue', themeParams)
|
||||
|
||||
|
||||
def setThemeNight(baseDir: str):
|
||||
removeTheme(baseDir)
|
||||
setThemeInConfig(baseDir, 'night')
|
||||
themeParams = {
|
||||
"main-bg-color": "#0f0d10",
|
||||
"text-entry-background": "#0f0d10",
|
||||
"link-bg-color": "#0f0d10",
|
||||
"main-fg-color": "#7961ab",
|
||||
"border-color": "#7961ab",
|
||||
"main-bg-color-reply": "#0f0d10",
|
||||
"main-bg-color-report": "#0f0d10",
|
||||
"day-number2": "#0f0d10",
|
||||
"hashtag-vertical-spacing3": "100px",
|
||||
"hashtag-vertical-spacing4": "150px",
|
||||
"time-vertical-align": "-10px",
|
||||
"*font-family": "'SundownerRegular'",
|
||||
"*src": "url('./fonts/SundownerRegular.ttf') format('truetype')"
|
||||
}
|
||||
setThemeFromDict(baseDir, 'night', themeParams)
|
||||
|
||||
|
||||
def setThemeZen(baseDir: str):
|
||||
removeTheme(baseDir)
|
||||
setThemeInConfig(baseDir, 'zen')
|
||||
|
|