diff --git a/img/banner_solidaric.png b/img/banner_solidaric.png new file mode 100644 index 00000000..39e16f05 Binary files /dev/null and b/img/banner_solidaric.png differ diff --git a/img/icons/light/calendar_notify.png b/img/icons/light/calendar_notify.png index a8bb393b..c364c310 100644 Binary files a/img/icons/light/calendar_notify.png and b/img/icons/light/calendar_notify.png differ diff --git a/img/icons/light/person.png b/img/icons/light/person.png index d68b26f6..0241ae86 100644 Binary files a/img/icons/light/person.png and b/img/icons/light/person.png differ diff --git a/img/icons/light/repeat.png b/img/icons/light/repeat.png index ee4932be..e2daf808 100644 Binary files a/img/icons/light/repeat.png and b/img/icons/light/repeat.png differ diff --git a/img/icons/solidaric/add.png b/img/icons/solidaric/add.png new file mode 100644 index 00000000..c1949509 Binary files /dev/null and b/img/icons/solidaric/add.png differ diff --git a/img/icons/solidaric/bookmark.png b/img/icons/solidaric/bookmark.png new file mode 100644 index 00000000..793ffb3a Binary files /dev/null and b/img/icons/solidaric/bookmark.png differ diff --git a/img/icons/solidaric/bookmark_inactive.png b/img/icons/solidaric/bookmark_inactive.png new file mode 100644 index 00000000..c8a943d0 Binary files /dev/null and b/img/icons/solidaric/bookmark_inactive.png differ diff --git a/img/icons/solidaric/calendar.png b/img/icons/solidaric/calendar.png new file mode 100644 index 00000000..7d951c55 Binary files /dev/null and b/img/icons/solidaric/calendar.png differ diff --git a/img/icons/solidaric/calendar_notify.png b/img/icons/solidaric/calendar_notify.png new file mode 100644 index 00000000..c364c310 Binary files /dev/null and b/img/icons/solidaric/calendar_notify.png differ diff --git a/img/icons/solidaric/delete.png b/img/icons/solidaric/delete.png new file mode 100644 index 00000000..51cd1539 Binary files /dev/null and b/img/icons/solidaric/delete.png differ diff --git a/img/icons/solidaric/dm.png b/img/icons/solidaric/dm.png new file mode 100644 index 00000000..b0c3497f Binary files /dev/null and b/img/icons/solidaric/dm.png differ diff --git a/img/icons/solidaric/download.png b/img/icons/solidaric/download.png new file mode 100644 index 00000000..25820d8b Binary files /dev/null and b/img/icons/solidaric/download.png differ diff --git a/img/icons/solidaric/edit.png b/img/icons/solidaric/edit.png new file mode 100644 index 00000000..d29dd278 Binary files /dev/null and b/img/icons/solidaric/edit.png differ diff --git a/img/icons/solidaric/like.png b/img/icons/solidaric/like.png new file mode 100644 index 00000000..843103d0 Binary files /dev/null and b/img/icons/solidaric/like.png differ diff --git a/img/icons/solidaric/like_inactive.png b/img/icons/solidaric/like_inactive.png new file mode 100644 index 00000000..7dfca322 Binary files /dev/null and b/img/icons/solidaric/like_inactive.png differ diff --git a/img/icons/solidaric/mute.png b/img/icons/solidaric/mute.png new file mode 100644 index 00000000..01baf469 Binary files /dev/null and b/img/icons/solidaric/mute.png differ diff --git a/img/icons/solidaric/new.png b/img/icons/solidaric/new.png new file mode 100644 index 00000000..c6c834eb Binary files /dev/null and b/img/icons/solidaric/new.png differ diff --git a/img/icons/solidaric/newpost.png b/img/icons/solidaric/newpost.png new file mode 100644 index 00000000..c17d082a Binary files /dev/null and b/img/icons/solidaric/newpost.png differ diff --git a/img/icons/solidaric/pagedown.png b/img/icons/solidaric/pagedown.png new file mode 100644 index 00000000..ae671efd Binary files /dev/null and b/img/icons/solidaric/pagedown.png differ diff --git a/img/icons/solidaric/pageup.png b/img/icons/solidaric/pageup.png new file mode 100644 index 00000000..d32dbdc3 Binary files /dev/null and b/img/icons/solidaric/pageup.png differ diff --git a/img/icons/solidaric/person.png b/img/icons/solidaric/person.png new file mode 100644 index 00000000..07196aab Binary files /dev/null and b/img/icons/solidaric/person.png differ diff --git a/img/icons/solidaric/prev.png b/img/icons/solidaric/prev.png new file mode 100644 index 00000000..cbbbc241 Binary files /dev/null and b/img/icons/solidaric/prev.png differ diff --git a/img/icons/solidaric/qrcode.png b/img/icons/solidaric/qrcode.png new file mode 100644 index 00000000..933a2671 Binary files /dev/null and b/img/icons/solidaric/qrcode.png differ diff --git a/img/icons/solidaric/repeat.png b/img/icons/solidaric/repeat.png new file mode 100644 index 00000000..e2daf808 Binary files /dev/null and b/img/icons/solidaric/repeat.png differ diff --git a/img/icons/solidaric/repeat_inactive.png b/img/icons/solidaric/repeat_inactive.png new file mode 100644 index 00000000..3dc7f25e Binary files /dev/null and b/img/icons/solidaric/repeat_inactive.png differ diff --git a/img/icons/solidaric/reply.png b/img/icons/solidaric/reply.png new file mode 100644 index 00000000..325ae10e Binary files /dev/null and b/img/icons/solidaric/reply.png differ diff --git a/img/icons/solidaric/rss.png b/img/icons/solidaric/rss.png new file mode 100644 index 00000000..533453fc Binary files /dev/null and b/img/icons/solidaric/rss.png differ diff --git a/img/icons/solidaric/rss3.png b/img/icons/solidaric/rss3.png new file mode 100644 index 00000000..83521cd1 Binary files /dev/null and b/img/icons/solidaric/rss3.png differ diff --git a/img/icons/solidaric/scope_blog.png b/img/icons/solidaric/scope_blog.png new file mode 100644 index 00000000..d98c0e89 Binary files /dev/null and b/img/icons/solidaric/scope_blog.png differ diff --git a/img/icons/solidaric/scope_dm.png b/img/icons/solidaric/scope_dm.png new file mode 100644 index 00000000..902a85cf Binary files /dev/null and b/img/icons/solidaric/scope_dm.png differ diff --git a/img/icons/solidaric/scope_followers.png b/img/icons/solidaric/scope_followers.png new file mode 100644 index 00000000..e09c4501 Binary files /dev/null and b/img/icons/solidaric/scope_followers.png differ diff --git a/img/icons/solidaric/scope_public.png b/img/icons/solidaric/scope_public.png new file mode 100644 index 00000000..e6e70ade Binary files /dev/null and b/img/icons/solidaric/scope_public.png differ diff --git a/img/icons/solidaric/scope_question.png b/img/icons/solidaric/scope_question.png new file mode 100644 index 00000000..84693269 Binary files /dev/null and b/img/icons/solidaric/scope_question.png differ diff --git a/img/icons/solidaric/scope_reminder.png b/img/icons/solidaric/scope_reminder.png new file mode 100644 index 00000000..62c6c06c Binary files /dev/null and b/img/icons/solidaric/scope_reminder.png differ diff --git a/img/icons/solidaric/scope_report.png b/img/icons/solidaric/scope_report.png new file mode 100644 index 00000000..87deb9dc Binary files /dev/null and b/img/icons/solidaric/scope_report.png differ diff --git a/img/icons/solidaric/scope_share.png b/img/icons/solidaric/scope_share.png new file mode 100644 index 00000000..616ceb42 Binary files /dev/null and b/img/icons/solidaric/scope_share.png differ diff --git a/img/icons/solidaric/scope_unlisted.png b/img/icons/solidaric/scope_unlisted.png new file mode 100644 index 00000000..cf6d9728 Binary files /dev/null and b/img/icons/solidaric/scope_unlisted.png differ diff --git a/img/icons/solidaric/search.png b/img/icons/solidaric/search.png new file mode 100644 index 00000000..18b7b05d Binary files /dev/null and b/img/icons/solidaric/search.png differ diff --git a/img/icons/solidaric/showhide.png b/img/icons/solidaric/showhide.png new file mode 100644 index 00000000..8dc2308d Binary files /dev/null and b/img/icons/solidaric/showhide.png differ diff --git a/img/icons/solidaric/unmute.png b/img/icons/solidaric/unmute.png new file mode 100644 index 00000000..eb9af71d Binary files /dev/null and b/img/icons/solidaric/unmute.png differ diff --git a/img/image_solidaric.png b/img/image_solidaric.png new file mode 100644 index 00000000..96e32a10 Binary files /dev/null and b/img/image_solidaric.png differ diff --git a/img/login_background_solidaric.jpg b/img/login_background_solidaric.jpg new file mode 100644 index 00000000..2e9cb2b4 Binary files /dev/null and b/img/login_background_solidaric.jpg differ diff --git a/img/search_banner_solidaric.png b/img/search_banner_solidaric.png new file mode 100644 index 00000000..d9f5b9c4 Binary files /dev/null and b/img/search_banner_solidaric.png differ diff --git a/theme.py b/theme.py index 49cdd8d5..66d8400d 100644 --- a/theme.py +++ b/theme.py @@ -25,7 +25,8 @@ def getThemesList() -> []: and to lookup function names """ return ('Default', 'Blue', 'Hacker', 'Henge', 'HighVis', - 'LCD', 'Light', 'Night', 'Purple', 'Starlight', 'Zen') + 'LCD', 'Light', 'Night', 'Purple', 'Solidaric', + 'Starlight', 'Zen') def setThemeInConfig(baseDir: str, name: str) -> bool: @@ -302,7 +303,7 @@ def setThemeNight(baseDir: str): "place-color": "#7961ab", "event-color": "#7961ab", "event-background": "#333", - "*font-family": "'CheGuevaraTextSans-Regular'", + "*font-family": "'solidaric'", "*src": fontStr } bgParams = { @@ -696,6 +697,60 @@ def setThemeLight(baseDir: str): setThemeFromDict(baseDir, name, themeParams, bgParams) +def setThemeSolidaric(baseDir: str): + name = 'solidaric' + themeParams = { + "font-size-button-mobile": "36px", + "font-size": "32px", + "font-size2": "26px", + "font-size3": "40px", + "font-size4": "24px", + "font-size5": "22px", + "rgba(0, 0, 0, 0.5)": "rgba(0, 0, 0, 0.0)", + "main-bg-color": "white", + "main-bg-color-dm": "#ddd", + "link-bg-color": "#e6ebf0", + "main-bg-color-reply": "#ddd", + "main-bg-color-report": "#ddd", + "main-header-color-roles": "#ebebf0", + "main-fg-color": "#2d2c37", + "border-color": "#c0cdd9", + "main-link-color": "#2a2c37", + "title-color": "#2a2c37", + "main-visited-color": "#232c37", + "text-entry-foreground": "#111", + "text-entry-background": "white", + "font-color-header": "black", + "dropdown-fg-color": "#222", + "dropdown-fg-color-hover": "#222", + "dropdown-bg-color": "white", + "dropdown-bg-color-hover": "lightgrey", + "color: #FFFFFE;": "color: black;", + "calendar-bg-color": "#e6ebf0", + "lines-color": "darkblue", + "day-number": "black", + "day-number2": "#282c37", + "place-color": "black", + "event-color": "#282c37", + "today-foreground": "white", + "today-circle": "red", + "event-background": "lightblue", + "event-foreground": "white", + "title-text": "#282c37", + "title-background": "#ccc", + "gallery-text-color": "black", + "*font-family": "'solidaric'", + "*src": "url('./fonts/solidaric.woff2') format('woff2')" + } + bgParams = { + "login": "jpg", + "follow": "jpg", + "options": "jpg", + "search": "jpg" + } + setThemeFromDict(baseDir, name, themeParams, bgParams) + + def setThemeImages(baseDir: str, name: str) -> None: """Changes the profile background image and banner to the defaults