diff --git a/img/banner_zen.png b/img/banner_zen.png new file mode 100644 index 000000000..b29190908 Binary files /dev/null and b/img/banner_zen.png differ diff --git a/img/image_zen.png b/img/image_zen.png new file mode 100644 index 000000000..c1ad624a8 Binary files /dev/null and b/img/image_zen.png differ diff --git a/theme.py b/theme.py index 38c108db4..45f3e83ba 100644 --- a/theme.py +++ b/theme.py @@ -19,7 +19,7 @@ def getThemesList() -> []: and to lookup function names """ return ('Default', 'Blue', 'Hacker', 'HighVis', - 'LCD', 'Light', 'Purple') + 'LCD', 'Light', 'Purple', 'Zen') def setThemeInConfig(baseDir: str, name: str) -> bool: @@ -177,6 +177,20 @@ def setThemeBlue(baseDir: str): setThemeFromDict(baseDir, 'blue', themeParams) +def setThemeZen(baseDir: str): + removeTheme(baseDir) + setThemeInConfig(baseDir, 'zen') + themeParams = { + "main-bg-color": "#5c4e41", + "text-entry-background": "#5c4e41", + "link-bg-color": "#5c4e41", + "main-bg-color-reply": "#5c4e41", + "main-bg-color-report": "#5c4e41", + "day-number2": "#5c4e41" + } + setThemeFromDict(baseDir, 'zen', themeParams) + + def setThemeHighVis(baseDir: str): themeParams = { "font-size-header": "22px", diff --git a/translations/ar.json b/translations/ar.json index 8c2f4c98f..abe07d516 100644 --- a/translations/ar.json +++ b/translations/ar.json @@ -226,5 +226,6 @@ "Custom Font": "خط مخصص", "Remove the custom font": "إزالة الخط المخصص", "LCD": "شاشات الكريستال السائل", - "Blue": "أزرق" + "Blue": "أزرق", + "Zen": "زين" } diff --git a/translations/ca.json b/translations/ca.json index 3838bd83d..816394f21 100644 --- a/translations/ca.json +++ b/translations/ca.json @@ -226,5 +226,6 @@ "Custom Font": "Tipus de lletra personalitzats", "Remove the custom font": "Elimineu el tipus de lletra personalitzat", "LCD": "LCD", - "Blue": "Blau" + "Blue": "Blau", + "Zen": "Zen" } diff --git a/translations/cy.json b/translations/cy.json index c1d29fc8e..5f263ce81 100644 --- a/translations/cy.json +++ b/translations/cy.json @@ -226,5 +226,6 @@ "Custom Font": "Ffont Custom", "Remove the custom font": "Tynnwch y ffont arferiad", "LCD": "LCD", - "Blue": "Glas" + "Blue": "Glas", + "Zen": "Zen" } diff --git a/translations/de.json b/translations/de.json index 22600897f..ab4226e61 100644 --- a/translations/de.json +++ b/translations/de.json @@ -226,5 +226,6 @@ "Custom Font": "Benutzerdefinierte Schriftart", "Remove the custom font": "Entfernen Sie die benutzerdefinierte Schriftart", "LCD": "LCD", - "Blue": "Blau" + "Blue": "Blau", + "Zen": "Zen" } diff --git a/translations/en.json b/translations/en.json index 0279ede34..81259f789 100644 --- a/translations/en.json +++ b/translations/en.json @@ -226,5 +226,6 @@ "Custom Font": "Custom Font", "Remove the custom font": "Remove the custom font", "LCD": "LCD", - "Blue": "Blue" + "Blue": "Blue", + "Zen": "Zen" } diff --git a/translations/es.json b/translations/es.json index 7b6b08de5..a4f1af213 100644 --- a/translations/es.json +++ b/translations/es.json @@ -226,5 +226,6 @@ "Custom Font": "Fuente personalizada", "Remove the custom font": "Eliminar la fuente personalizada", "LCD": "LCD", - "Blue": "Azul" + "Blue": "Azul", + "Zen": "Zen" } diff --git a/translations/fr.json b/translations/fr.json index 7df5f5ebd..109c70a33 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -226,5 +226,6 @@ "Custom Font": "Police personnalisée", "Remove the custom font": "Supprimer la police personnalisée", "LCD": "LCD", - "Blue": "Bleue" + "Blue": "Bleue", + "Zen": "Zen" } diff --git a/translations/ga.json b/translations/ga.json index 236e707eb..fbacd7cbb 100644 --- a/translations/ga.json +++ b/translations/ga.json @@ -226,5 +226,6 @@ "Custom Font": "Cló Saincheaptha", "Remove the custom font": "Bain an cló saincheaptha", "LCD": "LCD", - "Blue": "Gorm" + "Blue": "Gorm", + "Zen": "Zen" } diff --git a/translations/hi.json b/translations/hi.json index 9972ab58c..a88d4bfe9 100644 --- a/translations/hi.json +++ b/translations/hi.json @@ -226,5 +226,6 @@ "Custom Font": "कस्टम फ़ॉन्ट", "Remove the custom font": "कस्टम फ़ॉन्ट निकालें", "LCD": "LCD", - "Blue": "नीला" + "Blue": "नीला", + "Zen": "जेन" } diff --git a/translations/it.json b/translations/it.json index cb5bdc03d..dab143cb7 100644 --- a/translations/it.json +++ b/translations/it.json @@ -226,5 +226,6 @@ "Custom Font": "Carattere personalizzato", "Remove the custom font": "Rimuovi il carattere personalizzato", "LCD": "LCD", - "Blue": "Blu" + "Blue": "Blu", + "Zen": "Zen" } diff --git a/translations/ja.json b/translations/ja.json index f41c84115..b997de6a6 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -226,5 +226,6 @@ "Custom Font": "カスタムフォント", "Remove the custom font": "カスタムフォントを削除する", "LCD": "液晶", - "Blue": "青い" + "Blue": "青い", + "Zen": "禅" } diff --git a/translations/oc.json b/translations/oc.json index e496ed9cc..b84d7eedc 100644 --- a/translations/oc.json +++ b/translations/oc.json @@ -222,5 +222,6 @@ "Custom Font": "Custom Font", "Remove the custom font": "Remove the custom font", "LCD": "LCD", - "Blue": "Blue" + "Blue": "Blue", + "Zen": "Zen" } diff --git a/translations/pt.json b/translations/pt.json index 379dbdba2..0cf6d6b80 100644 --- a/translations/pt.json +++ b/translations/pt.json @@ -226,5 +226,6 @@ "Custom Font": "Fonte Personalizada", "Remove the custom font": "Remova a fonte personalizada", "LCD": "LCD", - "Blue": "Azul" + "Blue": "Azul", + "Zen": "Zen" } diff --git a/translations/ru.json b/translations/ru.json index cefef26bd..73e262e30 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -226,5 +226,6 @@ "Custom Font": "Пользовательский шрифт", "Remove the custom font": "Удалить пользовательский шрифт", "LCD": "ЖК", - "Blue": "синий" + "Blue": "синий", + "Zen": "Zen" } diff --git a/translations/zh.json b/translations/zh.json index d4e87c852..487d3df41 100644 --- a/translations/zh.json +++ b/translations/zh.json @@ -225,5 +225,6 @@ "Custom Font": "自定义字体", "Remove the custom font": "删除自定义字体", "LCD": "液晶显示器", - "Blue": "蓝色" + "Blue": "蓝色", + "Zen": "禅" }