mirror of https://gitlab.com/bashrc2/epicyon
Zen theme
parent
bc996d99ea
commit
66db3b14db
Binary file not shown.
After Width: | Height: | Size: 211 KiB |
Binary file not shown.
After Width: | Height: | Size: 425 KiB |
16
theme.py
16
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",
|
||||
|
|
|
@ -226,5 +226,6 @@
|
|||
"Custom Font": "خط مخصص",
|
||||
"Remove the custom font": "إزالة الخط المخصص",
|
||||
"LCD": "شاشات الكريستال السائل",
|
||||
"Blue": "أزرق"
|
||||
"Blue": "أزرق",
|
||||
"Zen": "زين"
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -226,5 +226,6 @@
|
|||
"Custom Font": "Ffont Custom",
|
||||
"Remove the custom font": "Tynnwch y ffont arferiad",
|
||||
"LCD": "LCD",
|
||||
"Blue": "Glas"
|
||||
"Blue": "Glas",
|
||||
"Zen": "Zen"
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -226,5 +226,6 @@
|
|||
"Custom Font": "Custom Font",
|
||||
"Remove the custom font": "Remove the custom font",
|
||||
"LCD": "LCD",
|
||||
"Blue": "Blue"
|
||||
"Blue": "Blue",
|
||||
"Zen": "Zen"
|
||||
}
|
||||
|
|
|
@ -226,5 +226,6 @@
|
|||
"Custom Font": "Fuente personalizada",
|
||||
"Remove the custom font": "Eliminar la fuente personalizada",
|
||||
"LCD": "LCD",
|
||||
"Blue": "Azul"
|
||||
"Blue": "Azul",
|
||||
"Zen": "Zen"
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -226,5 +226,6 @@
|
|||
"Custom Font": "Cló Saincheaptha",
|
||||
"Remove the custom font": "Bain an cló saincheaptha",
|
||||
"LCD": "LCD",
|
||||
"Blue": "Gorm"
|
||||
"Blue": "Gorm",
|
||||
"Zen": "Zen"
|
||||
}
|
||||
|
|
|
@ -226,5 +226,6 @@
|
|||
"Custom Font": "कस्टम फ़ॉन्ट",
|
||||
"Remove the custom font": "कस्टम फ़ॉन्ट निकालें",
|
||||
"LCD": "LCD",
|
||||
"Blue": "नीला"
|
||||
"Blue": "नीला",
|
||||
"Zen": "जेन"
|
||||
}
|
||||
|
|
|
@ -226,5 +226,6 @@
|
|||
"Custom Font": "Carattere personalizzato",
|
||||
"Remove the custom font": "Rimuovi il carattere personalizzato",
|
||||
"LCD": "LCD",
|
||||
"Blue": "Blu"
|
||||
"Blue": "Blu",
|
||||
"Zen": "Zen"
|
||||
}
|
||||
|
|
|
@ -226,5 +226,6 @@
|
|||
"Custom Font": "カスタムフォント",
|
||||
"Remove the custom font": "カスタムフォントを削除する",
|
||||
"LCD": "液晶",
|
||||
"Blue": "青い"
|
||||
"Blue": "青い",
|
||||
"Zen": "禅"
|
||||
}
|
||||
|
|
|
@ -222,5 +222,6 @@
|
|||
"Custom Font": "Custom Font",
|
||||
"Remove the custom font": "Remove the custom font",
|
||||
"LCD": "LCD",
|
||||
"Blue": "Blue"
|
||||
"Blue": "Blue",
|
||||
"Zen": "Zen"
|
||||
}
|
||||
|
|
|
@ -226,5 +226,6 @@
|
|||
"Custom Font": "Fonte Personalizada",
|
||||
"Remove the custom font": "Remova a fonte personalizada",
|
||||
"LCD": "LCD",
|
||||
"Blue": "Azul"
|
||||
"Blue": "Azul",
|
||||
"Zen": "Zen"
|
||||
}
|
||||
|
|
|
@ -226,5 +226,6 @@
|
|||
"Custom Font": "Пользовательский шрифт",
|
||||
"Remove the custom font": "Удалить пользовательский шрифт",
|
||||
"LCD": "ЖК",
|
||||
"Blue": "синий"
|
||||
"Blue": "синий",
|
||||
"Zen": "Zen"
|
||||
}
|
||||
|
|
|
@ -225,5 +225,6 @@
|
|||
"Custom Font": "自定义字体",
|
||||
"Remove the custom font": "删除自定义字体",
|
||||
"LCD": "液晶显示器",
|
||||
"Blue": "蓝色"
|
||||
"Blue": "蓝色",
|
||||
"Zen": "禅"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue