Starlight theme
After Width: | Height: | Size: 142 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.5 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.5 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.1 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 411 KiB |
29
theme.py
|
@ -19,7 +19,7 @@ def getThemesList() -> []:
|
|||
and to lookup function names
|
||||
"""
|
||||
return ('Default', 'Blue', 'Hacker', 'HighVis',
|
||||
'LCD', 'Light', 'Night', 'Purple', 'Zen')
|
||||
'LCD', 'Light', 'Night', 'Purple', 'Starlight', 'Zen')
|
||||
|
||||
|
||||
def setThemeInConfig(baseDir: str, name: str) -> bool:
|
||||
|
@ -209,6 +209,33 @@ def setThemeNight(baseDir: str):
|
|||
setThemeFromDict(baseDir, 'night', themeParams)
|
||||
|
||||
|
||||
def setThemeStarlight(baseDir: str):
|
||||
removeTheme(baseDir)
|
||||
setThemeInConfig(baseDir, 'starlight')
|
||||
themeParams = {
|
||||
"main-bg-color": "#0f0d10",
|
||||
"text-entry-background": "#0f0d10",
|
||||
"link-bg-color": "#0f0d10",
|
||||
"main-fg-color": "#ffc4bc",
|
||||
"main-bg-color-dm": "#0b0a0a",
|
||||
"border-color": "#ffc4bc",
|
||||
"main-bg-color-reply": "#0f0d10",
|
||||
"main-bg-color-report": "#0f0d10",
|
||||
"hashtag-vertical-spacing3": "100px",
|
||||
"hashtag-vertical-spacing4": "150px",
|
||||
"button-background": "#ffc4bc",
|
||||
"button-selected": "#a34046",
|
||||
"calendar-bg-color": "#0f0d10",
|
||||
"lines-color": "#ffc4bc",
|
||||
"day-number": "#ffc4bc",
|
||||
"day-number2": "#555",
|
||||
"event-background": "#111",
|
||||
"*font-family": "'SundownerRegular'",
|
||||
"*src": "url('SundownerRegular.ttf') format('truetype')"
|
||||
}
|
||||
setThemeFromDict(baseDir, 'starlight', themeParams)
|
||||
|
||||
|
||||
def setThemeZen(baseDir: str):
|
||||
removeTheme(baseDir)
|
||||
setThemeInConfig(baseDir, 'zen')
|
||||
|
|
|
@ -228,5 +228,6 @@
|
|||
"LCD": "شاشات الكريستال السائل",
|
||||
"Blue": "أزرق",
|
||||
"Zen": "زين",
|
||||
"Night": "ليل"
|
||||
"Night": "ليل",
|
||||
"Starlight": "ضوء النجوم"
|
||||
}
|
||||
|
|
|
@ -228,5 +228,6 @@
|
|||
"LCD": "LCD",
|
||||
"Blue": "Blau",
|
||||
"Zen": "Zen",
|
||||
"Night": "Nit"
|
||||
"Night": "Nit",
|
||||
"Starlight": "Starlight"
|
||||
}
|
||||
|
|
|
@ -228,5 +228,6 @@
|
|||
"LCD": "LCD",
|
||||
"Blue": "Glas",
|
||||
"Zen": "Zen",
|
||||
"Night": "Noson"
|
||||
"Night": "Noson",
|
||||
"Starlight": "Starlight"
|
||||
}
|
||||
|
|
|
@ -228,5 +228,6 @@
|
|||
"LCD": "LCD",
|
||||
"Blue": "Blau",
|
||||
"Zen": "Zen",
|
||||
"Night": "Nacht"
|
||||
"Night": "Nacht",
|
||||
"Starlight": "Sternenlicht"
|
||||
}
|
||||
|
|
|
@ -228,5 +228,6 @@
|
|||
"LCD": "LCD",
|
||||
"Blue": "Blue",
|
||||
"Zen": "Zen",
|
||||
"Night": "Night"
|
||||
"Night": "Night",
|
||||
"Starlight": "Starlight"
|
||||
}
|
||||
|
|
|
@ -228,5 +228,6 @@
|
|||
"LCD": "LCD",
|
||||
"Blue": "Azul",
|
||||
"Zen": "Zen",
|
||||
"Night": "Noche"
|
||||
"Night": "Noche",
|
||||
"Starlight": "Luz de las estrellas"
|
||||
}
|
||||
|
|
|
@ -228,5 +228,6 @@
|
|||
"LCD": "LCD",
|
||||
"Blue": "Bleue",
|
||||
"Zen": "Zen",
|
||||
"Night": "Nuit"
|
||||
"Night": "Nuit",
|
||||
"Starlight": "Lumière des étoiles"
|
||||
}
|
||||
|
|
|
@ -228,5 +228,6 @@
|
|||
"LCD": "LCD",
|
||||
"Blue": "Gorm",
|
||||
"Zen": "Zen",
|
||||
"Night": "Oíche"
|
||||
"Night": "Oíche",
|
||||
"Starlight": "Starlight"
|
||||
}
|
||||
|
|
|
@ -228,5 +228,6 @@
|
|||
"LCD": "LCD",
|
||||
"Blue": "नीला",
|
||||
"Zen": "जेन",
|
||||
"Night": "रात"
|
||||
"Night": "रात",
|
||||
"Starlight": "तारों का"
|
||||
}
|
||||
|
|
|
@ -228,5 +228,6 @@
|
|||
"LCD": "LCD",
|
||||
"Blue": "Blu",
|
||||
"Zen": "Zen",
|
||||
"Night": "Notte"
|
||||
"Night": "Notte",
|
||||
"Starlight": "luce stellare"
|
||||
}
|
||||
|
|
|
@ -228,5 +228,6 @@
|
|||
"LCD": "液晶",
|
||||
"Blue": "青い",
|
||||
"Zen": "禅",
|
||||
"Night": "夜"
|
||||
"Night": "夜",
|
||||
"Starlight": "スターライト"
|
||||
}
|
||||
|
|
|
@ -224,5 +224,6 @@
|
|||
"LCD": "LCD",
|
||||
"Blue": "Blue",
|
||||
"Zen": "Zen",
|
||||
"Night": "Night"
|
||||
"Night": "Night",
|
||||
"Starlight": "Starlight"
|
||||
}
|
||||
|
|
|
@ -228,5 +228,6 @@
|
|||
"LCD": "LCD",
|
||||
"Blue": "Azul",
|
||||
"Zen": "Zen",
|
||||
"Night": "Noite"
|
||||
"Night": "Noite",
|
||||
"Starlight": "Luz das estrelas"
|
||||
}
|
||||
|
|
|
@ -228,5 +228,6 @@
|
|||
"LCD": "ЖК",
|
||||
"Blue": "синий",
|
||||
"Zen": "Zen",
|
||||
"Night": "Ночь"
|
||||
"Night": "Ночь",
|
||||
"Starlight": "Звездный свет"
|
||||
}
|
||||
|
|
|
@ -227,5 +227,6 @@
|
|||
"LCD": "液晶显示器",
|
||||
"Blue": "蓝色",
|
||||
"Zen": "禅",
|
||||
"Night": "晚"
|
||||
"Night": "晚",
|
||||
"Starlight": "星光"
|
||||
}
|
||||
|
|