Starlight theme

main
Bob Mottram 2020-06-07 20:36:17 +01:00
parent 82007a99ac
commit cc941e1987
52 changed files with 58 additions and 16 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 978 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 411 KiB

View File

@ -19,7 +19,7 @@ def getThemesList() -> []:
and to lookup function names and to lookup function names
""" """
return ('Default', 'Blue', 'Hacker', 'HighVis', return ('Default', 'Blue', 'Hacker', 'HighVis',
'LCD', 'Light', 'Night', 'Purple', 'Zen') 'LCD', 'Light', 'Night', 'Purple', 'Starlight', 'Zen')
def setThemeInConfig(baseDir: str, name: str) -> bool: def setThemeInConfig(baseDir: str, name: str) -> bool:
@ -209,6 +209,33 @@ def setThemeNight(baseDir: str):
setThemeFromDict(baseDir, 'night', themeParams) 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): def setThemeZen(baseDir: str):
removeTheme(baseDir) removeTheme(baseDir)
setThemeInConfig(baseDir, 'zen') setThemeInConfig(baseDir, 'zen')

View File

@ -228,5 +228,6 @@
"LCD": "شاشات الكريستال السائل", "LCD": "شاشات الكريستال السائل",
"Blue": "أزرق", "Blue": "أزرق",
"Zen": "زين", "Zen": "زين",
"Night": "ليل" "Night": "ليل",
"Starlight": "ضوء النجوم"
} }

View File

@ -228,5 +228,6 @@
"LCD": "LCD", "LCD": "LCD",
"Blue": "Blau", "Blue": "Blau",
"Zen": "Zen", "Zen": "Zen",
"Night": "Nit" "Night": "Nit",
"Starlight": "Starlight"
} }

View File

@ -228,5 +228,6 @@
"LCD": "LCD", "LCD": "LCD",
"Blue": "Glas", "Blue": "Glas",
"Zen": "Zen", "Zen": "Zen",
"Night": "Noson" "Night": "Noson",
"Starlight": "Starlight"
} }

View File

@ -228,5 +228,6 @@
"LCD": "LCD", "LCD": "LCD",
"Blue": "Blau", "Blue": "Blau",
"Zen": "Zen", "Zen": "Zen",
"Night": "Nacht" "Night": "Nacht",
"Starlight": "Sternenlicht"
} }

View File

@ -228,5 +228,6 @@
"LCD": "LCD", "LCD": "LCD",
"Blue": "Blue", "Blue": "Blue",
"Zen": "Zen", "Zen": "Zen",
"Night": "Night" "Night": "Night",
"Starlight": "Starlight"
} }

View File

@ -228,5 +228,6 @@
"LCD": "LCD", "LCD": "LCD",
"Blue": "Azul", "Blue": "Azul",
"Zen": "Zen", "Zen": "Zen",
"Night": "Noche" "Night": "Noche",
"Starlight": "Luz de las estrellas"
} }

View File

@ -228,5 +228,6 @@
"LCD": "LCD", "LCD": "LCD",
"Blue": "Bleue", "Blue": "Bleue",
"Zen": "Zen", "Zen": "Zen",
"Night": "Nuit" "Night": "Nuit",
"Starlight": "Lumière des étoiles"
} }

View File

@ -228,5 +228,6 @@
"LCD": "LCD", "LCD": "LCD",
"Blue": "Gorm", "Blue": "Gorm",
"Zen": "Zen", "Zen": "Zen",
"Night": "Oíche" "Night": "Oíche",
"Starlight": "Starlight"
} }

View File

@ -228,5 +228,6 @@
"LCD": "LCD", "LCD": "LCD",
"Blue": "नीला", "Blue": "नीला",
"Zen": "जेन", "Zen": "जेन",
"Night": "रात" "Night": "रात",
"Starlight": "तारों का"
} }

View File

@ -228,5 +228,6 @@
"LCD": "LCD", "LCD": "LCD",
"Blue": "Blu", "Blue": "Blu",
"Zen": "Zen", "Zen": "Zen",
"Night": "Notte" "Night": "Notte",
"Starlight": "luce stellare"
} }

View File

@ -228,5 +228,6 @@
"LCD": "液晶", "LCD": "液晶",
"Blue": "青い", "Blue": "青い",
"Zen": "禅", "Zen": "禅",
"Night": "夜" "Night": "夜",
"Starlight": "スターライト"
} }

View File

@ -224,5 +224,6 @@
"LCD": "LCD", "LCD": "LCD",
"Blue": "Blue", "Blue": "Blue",
"Zen": "Zen", "Zen": "Zen",
"Night": "Night" "Night": "Night",
"Starlight": "Starlight"
} }

View File

@ -228,5 +228,6 @@
"LCD": "LCD", "LCD": "LCD",
"Blue": "Azul", "Blue": "Azul",
"Zen": "Zen", "Zen": "Zen",
"Night": "Noite" "Night": "Noite",
"Starlight": "Luz das estrelas"
} }

View File

@ -228,5 +228,6 @@
"LCD": "ЖК", "LCD": "ЖК",
"Blue": "синий", "Blue": "синий",
"Zen": "Zen", "Zen": "Zen",
"Night": "Ночь" "Night": "Ночь",
"Starlight": "Звездный свет"
} }

View File

@ -227,5 +227,6 @@
"LCD": "液晶显示器", "LCD": "液晶显示器",
"Blue": "蓝色", "Blue": "蓝色",
"Zen": "禅", "Zen": "禅",
"Night": "晚" "Night": "晚",
"Starlight": "星光"
} }