diff --git a/img/banner_indymediamodern.png b/img/banner_indymediamodern.png new file mode 100644 index 000000000..b15610311 Binary files /dev/null and b/img/banner_indymediamodern.png differ diff --git a/img/icons/indymediamodern/add.png b/img/icons/indymediamodern/add.png new file mode 100644 index 000000000..2825bc6d4 Binary files /dev/null and b/img/icons/indymediamodern/add.png differ diff --git a/img/icons/indymediamodern/avatar_news.png b/img/icons/indymediamodern/avatar_news.png new file mode 100644 index 000000000..87e0996ef Binary files /dev/null and b/img/icons/indymediamodern/avatar_news.png differ diff --git a/img/icons/indymediamodern/bookmark.png b/img/icons/indymediamodern/bookmark.png new file mode 100644 index 000000000..ceeab6fc7 Binary files /dev/null and b/img/icons/indymediamodern/bookmark.png differ diff --git a/img/icons/indymediamodern/bookmark_inactive.png b/img/icons/indymediamodern/bookmark_inactive.png new file mode 100644 index 000000000..446f099f6 Binary files /dev/null and b/img/icons/indymediamodern/bookmark_inactive.png differ diff --git a/img/icons/indymediamodern/calendar.png b/img/icons/indymediamodern/calendar.png new file mode 100644 index 000000000..fd51c4eb5 Binary files /dev/null and b/img/icons/indymediamodern/calendar.png differ diff --git a/img/icons/indymediamodern/calendar_notify.png b/img/icons/indymediamodern/calendar_notify.png new file mode 100644 index 000000000..c364c3109 Binary files /dev/null and b/img/icons/indymediamodern/calendar_notify.png differ diff --git a/img/icons/indymediamodern/delete.png b/img/icons/indymediamodern/delete.png new file mode 100644 index 000000000..80c16b1d2 Binary files /dev/null and b/img/icons/indymediamodern/delete.png differ diff --git a/img/icons/indymediamodern/dm.png b/img/icons/indymediamodern/dm.png new file mode 100644 index 000000000..92de16880 Binary files /dev/null and b/img/icons/indymediamodern/dm.png differ diff --git a/img/icons/indymediamodern/download.png b/img/icons/indymediamodern/download.png new file mode 100644 index 000000000..e915ed305 Binary files /dev/null and b/img/icons/indymediamodern/download.png differ diff --git a/img/icons/indymediamodern/edit.png b/img/icons/indymediamodern/edit.png new file mode 100644 index 000000000..0a7e76fcc Binary files /dev/null and b/img/icons/indymediamodern/edit.png differ diff --git a/img/icons/indymediamodern/edit_notify.png b/img/icons/indymediamodern/edit_notify.png new file mode 100644 index 000000000..9b063fafb Binary files /dev/null and b/img/icons/indymediamodern/edit_notify.png differ diff --git a/img/icons/indymediamodern/like.png b/img/icons/indymediamodern/like.png new file mode 100644 index 000000000..bfca24d4b Binary files /dev/null and b/img/icons/indymediamodern/like.png differ diff --git a/img/icons/indymediamodern/like_inactive.png b/img/icons/indymediamodern/like_inactive.png new file mode 100644 index 000000000..3db64d621 Binary files /dev/null and b/img/icons/indymediamodern/like_inactive.png differ diff --git a/img/icons/indymediamodern/links.png b/img/icons/indymediamodern/links.png new file mode 100644 index 000000000..1050303be Binary files /dev/null and b/img/icons/indymediamodern/links.png differ diff --git a/img/icons/indymediamodern/logorss.png b/img/icons/indymediamodern/logorss.png new file mode 100644 index 000000000..c5fad44cb Binary files /dev/null and b/img/icons/indymediamodern/logorss.png differ diff --git a/img/icons/indymediamodern/logout.png b/img/icons/indymediamodern/logout.png new file mode 100644 index 000000000..1fda9af43 Binary files /dev/null and b/img/icons/indymediamodern/logout.png differ diff --git a/img/icons/indymediamodern/mute.png b/img/icons/indymediamodern/mute.png new file mode 100644 index 000000000..7afde3692 Binary files /dev/null and b/img/icons/indymediamodern/mute.png differ diff --git a/img/icons/indymediamodern/new.png b/img/icons/indymediamodern/new.png new file mode 100644 index 000000000..c6c834eb8 Binary files /dev/null and b/img/icons/indymediamodern/new.png differ diff --git a/img/icons/indymediamodern/newpost.png b/img/icons/indymediamodern/newpost.png new file mode 100644 index 000000000..badf188e1 Binary files /dev/null and b/img/icons/indymediamodern/newpost.png differ diff --git a/img/icons/indymediamodern/newswire.png b/img/icons/indymediamodern/newswire.png new file mode 100644 index 000000000..ccc771bb3 Binary files /dev/null and b/img/icons/indymediamodern/newswire.png differ diff --git a/img/icons/indymediamodern/pagedown.png b/img/icons/indymediamodern/pagedown.png new file mode 100644 index 000000000..6c3a35c5f Binary files /dev/null and b/img/icons/indymediamodern/pagedown.png differ diff --git a/img/icons/indymediamodern/pageup.png b/img/icons/indymediamodern/pageup.png new file mode 100644 index 000000000..172b49295 Binary files /dev/null and b/img/icons/indymediamodern/pageup.png differ diff --git a/img/icons/indymediamodern/person.png b/img/icons/indymediamodern/person.png new file mode 100644 index 000000000..0241ae867 Binary files /dev/null and b/img/icons/indymediamodern/person.png differ diff --git a/img/icons/indymediamodern/prev.png b/img/icons/indymediamodern/prev.png new file mode 100644 index 000000000..8eac85532 Binary files /dev/null and b/img/icons/indymediamodern/prev.png differ diff --git a/img/icons/indymediamodern/publish.png b/img/icons/indymediamodern/publish.png new file mode 100644 index 000000000..2917ae876 Binary files /dev/null and b/img/icons/indymediamodern/publish.png differ diff --git a/img/icons/indymediamodern/qrcode.png b/img/icons/indymediamodern/qrcode.png new file mode 100644 index 000000000..933a2671c Binary files /dev/null and b/img/icons/indymediamodern/qrcode.png differ diff --git a/img/icons/indymediamodern/repeat.png b/img/icons/indymediamodern/repeat.png new file mode 100644 index 000000000..b8051eff0 Binary files /dev/null and b/img/icons/indymediamodern/repeat.png differ diff --git a/img/icons/indymediamodern/repeat_inactive.png b/img/icons/indymediamodern/repeat_inactive.png new file mode 100644 index 000000000..77eb79245 Binary files /dev/null and b/img/icons/indymediamodern/repeat_inactive.png differ diff --git a/img/icons/indymediamodern/reply.png b/img/icons/indymediamodern/reply.png new file mode 100644 index 000000000..5e87222e7 Binary files /dev/null and b/img/icons/indymediamodern/reply.png differ diff --git a/img/icons/indymediamodern/rss3.png b/img/icons/indymediamodern/rss3.png new file mode 100644 index 000000000..83521cd1b Binary files /dev/null and b/img/icons/indymediamodern/rss3.png differ diff --git a/img/icons/indymediamodern/scope_blog.png b/img/icons/indymediamodern/scope_blog.png new file mode 100644 index 000000000..15d9fbc06 Binary files /dev/null and b/img/icons/indymediamodern/scope_blog.png differ diff --git a/img/icons/indymediamodern/scope_dm.png b/img/icons/indymediamodern/scope_dm.png new file mode 100644 index 000000000..19cbb72c8 Binary files /dev/null and b/img/icons/indymediamodern/scope_dm.png differ diff --git a/img/icons/indymediamodern/scope_event.png b/img/icons/indymediamodern/scope_event.png new file mode 100644 index 000000000..2ad0a0ce4 Binary files /dev/null and b/img/icons/indymediamodern/scope_event.png differ diff --git a/img/icons/indymediamodern/scope_followers.png b/img/icons/indymediamodern/scope_followers.png new file mode 100644 index 000000000..c51236bdf Binary files /dev/null and b/img/icons/indymediamodern/scope_followers.png differ diff --git a/img/icons/indymediamodern/scope_public.png b/img/icons/indymediamodern/scope_public.png new file mode 100644 index 000000000..2b9de67e2 Binary files /dev/null and b/img/icons/indymediamodern/scope_public.png differ diff --git a/img/icons/indymediamodern/scope_question.png b/img/icons/indymediamodern/scope_question.png new file mode 100644 index 000000000..b17c775af Binary files /dev/null and b/img/icons/indymediamodern/scope_question.png differ diff --git a/img/icons/indymediamodern/scope_reminder.png b/img/icons/indymediamodern/scope_reminder.png new file mode 100644 index 000000000..785f673b4 Binary files /dev/null and b/img/icons/indymediamodern/scope_reminder.png differ diff --git a/img/icons/indymediamodern/scope_report.png b/img/icons/indymediamodern/scope_report.png new file mode 100644 index 000000000..910f7046d Binary files /dev/null and b/img/icons/indymediamodern/scope_report.png differ diff --git a/img/icons/indymediamodern/scope_share.png b/img/icons/indymediamodern/scope_share.png new file mode 100644 index 000000000..b0cbe4216 Binary files /dev/null and b/img/icons/indymediamodern/scope_share.png differ diff --git a/img/icons/indymediamodern/scope_unlisted.png b/img/icons/indymediamodern/scope_unlisted.png new file mode 100644 index 000000000..aa315e363 Binary files /dev/null and b/img/icons/indymediamodern/scope_unlisted.png differ diff --git a/img/icons/indymediamodern/search.png b/img/icons/indymediamodern/search.png new file mode 100644 index 000000000..98504a8f5 Binary files /dev/null and b/img/icons/indymediamodern/search.png differ diff --git a/img/icons/indymediamodern/showhide.png b/img/icons/indymediamodern/showhide.png new file mode 100644 index 000000000..3b1376675 Binary files /dev/null and b/img/icons/indymediamodern/showhide.png differ diff --git a/img/icons/indymediamodern/unmute.png b/img/icons/indymediamodern/unmute.png new file mode 100644 index 000000000..eb9af71d2 Binary files /dev/null and b/img/icons/indymediamodern/unmute.png differ diff --git a/img/icons/indymediamodern/vote.png b/img/icons/indymediamodern/vote.png new file mode 100644 index 000000000..c810092b0 Binary files /dev/null and b/img/icons/indymediamodern/vote.png differ diff --git a/img/image_indymediamodern.png b/img/image_indymediamodern.png new file mode 100644 index 000000000..6c28873b4 Binary files /dev/null and b/img/image_indymediamodern.png differ diff --git a/img/left_col_image_indymediamodern.png b/img/left_col_image_indymediamodern.png new file mode 100644 index 000000000..d663454b0 Binary files /dev/null and b/img/left_col_image_indymediamodern.png differ diff --git a/img/search_banner_indymediamodern.png b/img/search_banner_indymediamodern.png new file mode 100644 index 000000000..bbcc9d233 Binary files /dev/null and b/img/search_banner_indymediamodern.png differ diff --git a/theme.py b/theme.py index be8a2b6cb..4d229932d 100644 --- a/theme.py +++ b/theme.py @@ -25,7 +25,7 @@ def getThemesList() -> []: and to lookup function names """ return ('Default', 'Blue', 'Hacker', 'Henge', 'HighVis', - 'IndymediaClassic', + 'IndymediaClassic', 'IndymediaModern', 'LCD', 'Light', 'Night', 'Purple', 'Solidaric', 'Starlight', 'Zen') @@ -903,6 +903,69 @@ def setThemeLight(baseDir: str): setFullWidthTimelineButtonHeader(baseDir, False) +def setThemeIndymediaModern(baseDir: str): + name = 'indymediamodern' + themeParams = { + "publish-button-background": "#25408f", + "publish-button-text": "white", + "hashtag-background-color": "lightblue", + "focus-color": "grey", + "font-size-button-mobile": "26px", + "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)", + "column-left-color": "#e6ebf0", + "main-bg-color": "#e6ebf0", + "main-bg-color-dm": "#e3dbf0", + "link-bg-color": "#e6ebf0", + "main-bg-color-reply": "#e0dbf0", + "main-bg-color-report": "#e3dbf0", + "main-header-color-roles": "#ebebf0", + "main-fg-color": "#2d2c37", + "column-left-fg-color": "#2d2c37", + "border-color": "#c0cdd9", + "main-link-color": "#2a2c37", + "main-link-color-hover": "#aa2c37", + "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": "'ElectrumADFExp-Regular'", + "*src": "url('./fonts/ElectrumADFExp-Regular.otf') format('opentype')" + } + bgParams = { + "login": "jpg", + "follow": "jpg", + "options": "jpg", + "search": "jpg" + } + setThemeFromDict(baseDir, name, themeParams, bgParams) + setNewswirePublishAsIcon(baseDir, False) + setFullWidthTimelineButtonHeader(baseDir, True) + + def setThemeSolidaric(baseDir: str): name = 'solidaric' themeParams = { diff --git a/translations/ar.json b/translations/ar.json index 525334281..8935e9b25 100644 --- a/translations/ar.json +++ b/translations/ar.json @@ -288,6 +288,7 @@ "Autogenerated Content Warnings": "تحذيرات المحتوى المُنشأ تلقائيًا", "Indymedia": "Indymedia", "IndymediaClassic": "Indymedia Classic", + "IndymediaModern": "Indymedia Modern", "Hashtag Blocked": "Hashtag محظور", "This is a blogging instance": "هذا مثال على المدونات", "Edit Links": "تحرير الارتباطات", diff --git a/translations/ca.json b/translations/ca.json index 3055d9fc4..71994ecb4 100644 --- a/translations/ca.json +++ b/translations/ca.json @@ -288,6 +288,7 @@ "Autogenerated Content Warnings": "Advertiments de contingut autogenerats", "Indymedia": "Indymedia", "IndymediaClassic": "Indymedia Classic", + "IndymediaModern": "Indymedia Modern", "Hashtag Blocked": "Hashtag bloquejat", "This is a blogging instance": "Aquesta és una instància de blocs", "Edit Links": "Edita els enllaços", diff --git a/translations/cy.json b/translations/cy.json index f0d54d3e0..472a1bbc5 100644 --- a/translations/cy.json +++ b/translations/cy.json @@ -288,6 +288,7 @@ "Autogenerated Content Warnings": "Rhybuddion Cynnwys Autogenerated", "Indymedia": "Indymedia", "IndymediaClassic": "Indymedia Classic", + "IndymediaModern": "Indymedia Modern", "Hashtag Blocked": "Hashtag wedi'i Blocio", "This is a blogging instance": "Dyma enghraifft blogio", "Edit Links": "Golygu Dolenni", diff --git a/translations/de.json b/translations/de.json index 82e4bb31b..7a4973e3d 100644 --- a/translations/de.json +++ b/translations/de.json @@ -288,6 +288,7 @@ "Autogenerated Content Warnings": "Warnungen vor automatisch generierten Inhalten", "Indymedia": "Indymedia", "IndymediaClassic": "Indymedia Classic", + "IndymediaModern": "Indymedia Modern", "Hashtag Blocked": "Hashtag blockiert", "This is a blogging instance": "Dies ist eine Blogging-Instanz", "Edit Links": "Links bearbeiten", diff --git a/translations/en.json b/translations/en.json index 58e7c1be4..25130fd47 100644 --- a/translations/en.json +++ b/translations/en.json @@ -288,6 +288,7 @@ "Autogenerated Content Warnings": "Autogenerated Content Warnings", "Indymedia": "Indymedia", "IndymediaClassic": "Indymedia Classic", + "IndymediaModern": "Indymedia Modern", "Hashtag Blocked": "Hashtag Blocked", "This is a blogging instance": "This is a blogging instance", "Edit Links": "Edit Links", diff --git a/translations/es.json b/translations/es.json index 58c3321f7..5b794aa06 100644 --- a/translations/es.json +++ b/translations/es.json @@ -288,6 +288,7 @@ "Autogenerated Content Warnings": "Advertencias de contenido generado automáticamente", "Indymedia": "Indymedia", "IndymediaClassic": "Indymedia Classic", + "IndymediaModern": "Indymedia Modern", "Hashtag Blocked": "Hashtag bloqueada", "This is a blogging instance": "Esta es una instancia de blogs", "Edit Links": "Editar enlaces", diff --git a/translations/fr.json b/translations/fr.json index 6b5f4ab29..4c78e7b6c 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -288,6 +288,7 @@ "Autogenerated Content Warnings": "Avertissements de contenu générés automatiquement", "Indymedia": "Indymedia", "IndymediaClassic": "Indymedia Classic", + "IndymediaModern": "Indymedia Modern", "Hashtag Blocked": "Hashtag bloqué", "This is a blogging instance": "Ceci est une instance de blog", "Edit Links": "Modifier les liens", diff --git a/translations/ga.json b/translations/ga.json index 4e13676c6..42b58e4c8 100644 --- a/translations/ga.json +++ b/translations/ga.json @@ -288,6 +288,7 @@ "Autogenerated Content Warnings": "Rabhaidh Ábhar Uathghinte", "Indymedia": "Indymedia", "IndymediaClassic": "Indymedia Classic", + "IndymediaModern": "Indymedia Modern", "Hashtag Blocked": "Hashtag Blocáilte", "This is a blogging instance": "Seo sampla blagála", "Edit Links": "Cuir Naisc in eagar", diff --git a/translations/hi.json b/translations/hi.json index 598bcb9b4..9bec2ccb7 100644 --- a/translations/hi.json +++ b/translations/hi.json @@ -288,6 +288,7 @@ "Autogenerated Content Warnings": "स्वतः प्राप्त सामग्री चेतावनी", "Indymedia": "Indymedia", "IndymediaClassic": "Indymedia Classic", + "IndymediaModern": "Indymedia Modern", "Hashtag Blocked": "हैशटैग अवरुद्ध", "This is a blogging instance": "यह एक ब्लॉगिंग उदाहरण है", "Edit Links": "लिंक संपादित करें", diff --git a/translations/it.json b/translations/it.json index 3a0ba71dd..8bb110a01 100644 --- a/translations/it.json +++ b/translations/it.json @@ -288,6 +288,7 @@ "Autogenerated Content Warnings": "Avvisi sui contenuti generati automaticamente", "Indymedia": "Indymedia", "IndymediaClassic": "Indymedia Classic", + "IndymediaModern": "Indymedia Modern", "Hashtag Blocked": "Hashtag bloccato", "This is a blogging instance": "Questa è un'istanza di blog", "Edit Links": "Modifica collegamenti", diff --git a/translations/ja.json b/translations/ja.json index da071d8d4..45b90b573 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -288,6 +288,7 @@ "Autogenerated Content Warnings": "自動生成されたコンテンツの警告", "Indymedia": "Indymedia", "IndymediaClassic": "Indymedia Classic", + "IndymediaModern": "Indymedia Modern", "Hashtag Blocked": "ハッシュタグがブロックされました", "This is a blogging instance": "これはブログのインスタンスです", "Edit Links": "リンクの編集", diff --git a/translations/oc.json b/translations/oc.json index c61041323..f67af022e 100644 --- a/translations/oc.json +++ b/translations/oc.json @@ -284,6 +284,7 @@ "Autogenerated Content Warnings": "Autogenerated Content Warnings", "Indymedia": "Indymedia", "IndymediaClassic": "Indymedia Classic", + "IndymediaModern": "Indymedia Modern", "Hashtag Blocked": "Hashtag Blocked", "This is a blogging instance": "This is a blogging instance", "Edit Links": "Edit Links", diff --git a/translations/pt.json b/translations/pt.json index 43b001692..e3280b6d9 100644 --- a/translations/pt.json +++ b/translations/pt.json @@ -288,6 +288,7 @@ "Autogenerated Content Warnings": "Avisos de conteúdo gerado automaticamente", "Indymedia": "Indymedia", "IndymediaClassic": "Indymedia Classic", + "IndymediaModern": "Indymedia Modern", "Hashtag Blocked": "Hashtag bloqueada", "This is a blogging instance": "Esta é uma instância de blog", "Edit Links": "Editar Links", diff --git a/translations/ru.json b/translations/ru.json index 8e06fcf1d..33eb0805b 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -288,6 +288,7 @@ "Autogenerated Content Warnings": "Автоматические предупреждения о содержании", "Indymedia": "Indymedia", "IndymediaClassic": "Indymedia Classic", + "IndymediaModern": "Indymedia Modern", "Hashtag Blocked": "Хештег заблокирован", "This is a blogging instance": "Это экземпляр блога", "Edit Links": "Редактировать ссылки", diff --git a/translations/zh.json b/translations/zh.json index 76a24bfce..57d8b21e0 100644 --- a/translations/zh.json +++ b/translations/zh.json @@ -288,6 +288,7 @@ "Autogenerated Content Warnings": "自动生成的内容警告", "Indymedia": "Indymedia", "IndymediaClassic": "Indymedia Classic", + "IndymediaModern": "Indymedia Modern", "Hashtag Blocked": "标签被阻止", "This is a blogging instance": "这是一个博客实例", "Edit Links": "编辑连结",