diff --git a/img/banner_night.png b/img/banner_night.png new file mode 100644 index 000000000..301f9b3ea Binary files /dev/null and b/img/banner_night.png differ diff --git a/img/icons/night/add.png b/img/icons/night/add.png new file mode 100644 index 000000000..02a632a51 Binary files /dev/null and b/img/icons/night/add.png differ diff --git a/img/icons/night/bookmark.png b/img/icons/night/bookmark.png new file mode 100644 index 000000000..a59954329 Binary files /dev/null and b/img/icons/night/bookmark.png differ diff --git a/img/icons/night/bookmark_inactive.png b/img/icons/night/bookmark_inactive.png new file mode 100644 index 000000000..698025b0e Binary files /dev/null and b/img/icons/night/bookmark_inactive.png differ diff --git a/img/icons/night/calendar.png b/img/icons/night/calendar.png new file mode 100644 index 000000000..6d5789c3a Binary files /dev/null and b/img/icons/night/calendar.png differ diff --git a/img/icons/night/calendar_notify.png b/img/icons/night/calendar_notify.png new file mode 100644 index 000000000..2917457f5 Binary files /dev/null and b/img/icons/night/calendar_notify.png differ diff --git a/img/icons/night/delete.png b/img/icons/night/delete.png new file mode 100644 index 000000000..9904774e3 Binary files /dev/null and b/img/icons/night/delete.png differ diff --git a/img/icons/night/dm.png b/img/icons/night/dm.png new file mode 100644 index 000000000..c0493f82e Binary files /dev/null and b/img/icons/night/dm.png differ diff --git a/img/icons/night/download.png b/img/icons/night/download.png new file mode 100644 index 000000000..3a9605ab7 Binary files /dev/null and b/img/icons/night/download.png differ diff --git a/img/icons/night/edit.png b/img/icons/night/edit.png new file mode 100644 index 000000000..c07dc2dec Binary files /dev/null and b/img/icons/night/edit.png differ diff --git a/img/icons/night/like.png b/img/icons/night/like.png new file mode 100644 index 000000000..7f52fde66 Binary files /dev/null and b/img/icons/night/like.png differ diff --git a/img/icons/night/like_inactive.png b/img/icons/night/like_inactive.png new file mode 100644 index 000000000..352e949b9 Binary files /dev/null and b/img/icons/night/like_inactive.png differ diff --git a/img/icons/night/mute.png b/img/icons/night/mute.png new file mode 100644 index 000000000..5fe808e0f Binary files /dev/null and b/img/icons/night/mute.png differ diff --git a/img/icons/night/new.png b/img/icons/night/new.png new file mode 100644 index 000000000..adf189eb4 Binary files /dev/null and b/img/icons/night/new.png differ diff --git a/img/icons/night/newpost.png b/img/icons/night/newpost.png new file mode 100644 index 000000000..3bc33deb8 Binary files /dev/null and b/img/icons/night/newpost.png differ diff --git a/img/icons/night/pagedown.png b/img/icons/night/pagedown.png new file mode 100644 index 000000000..da7b236d8 Binary files /dev/null and b/img/icons/night/pagedown.png differ diff --git a/img/icons/night/pageup.png b/img/icons/night/pageup.png new file mode 100644 index 000000000..8adf6a8b8 Binary files /dev/null and b/img/icons/night/pageup.png differ diff --git a/img/icons/night/person.png b/img/icons/night/person.png new file mode 100644 index 000000000..d2854247b Binary files /dev/null and b/img/icons/night/person.png differ diff --git a/img/icons/night/prev.png b/img/icons/night/prev.png new file mode 100644 index 000000000..daa14c763 Binary files /dev/null and b/img/icons/night/prev.png differ diff --git a/img/icons/night/repeat.png b/img/icons/night/repeat.png new file mode 100644 index 000000000..6d30da410 Binary files /dev/null and b/img/icons/night/repeat.png differ diff --git a/img/icons/night/repeat_inactive.png b/img/icons/night/repeat_inactive.png new file mode 100644 index 000000000..59ec9d794 Binary files /dev/null and b/img/icons/night/repeat_inactive.png differ diff --git a/img/icons/night/reply.png b/img/icons/night/reply.png new file mode 100644 index 000000000..0f8a361b9 Binary files /dev/null and b/img/icons/night/reply.png differ diff --git a/img/icons/night/rss.png b/img/icons/night/rss.png new file mode 100644 index 000000000..533453fc7 Binary files /dev/null and b/img/icons/night/rss.png differ diff --git a/img/icons/night/rss3.png b/img/icons/night/rss3.png new file mode 100644 index 000000000..83521cd1b Binary files /dev/null and b/img/icons/night/rss3.png differ diff --git a/img/icons/night/scope_blog.png b/img/icons/night/scope_blog.png new file mode 100644 index 000000000..59713257c Binary files /dev/null and b/img/icons/night/scope_blog.png differ diff --git a/img/icons/night/scope_dm.png b/img/icons/night/scope_dm.png new file mode 100644 index 000000000..7c485959c Binary files /dev/null and b/img/icons/night/scope_dm.png differ diff --git a/img/icons/night/scope_followers.png b/img/icons/night/scope_followers.png new file mode 100644 index 000000000..2e420954c Binary files /dev/null and b/img/icons/night/scope_followers.png differ diff --git a/img/icons/night/scope_public.png b/img/icons/night/scope_public.png new file mode 100644 index 000000000..7f8633ff0 Binary files /dev/null and b/img/icons/night/scope_public.png differ diff --git a/img/icons/night/scope_question.png b/img/icons/night/scope_question.png new file mode 100644 index 000000000..a811b21c6 Binary files /dev/null and b/img/icons/night/scope_question.png differ diff --git a/img/icons/night/scope_report.png b/img/icons/night/scope_report.png new file mode 100644 index 000000000..7fbd60b74 Binary files /dev/null and b/img/icons/night/scope_report.png differ diff --git a/img/icons/night/scope_share.png b/img/icons/night/scope_share.png new file mode 100644 index 000000000..07fe95502 Binary files /dev/null and b/img/icons/night/scope_share.png differ diff --git a/img/icons/night/scope_unlisted.png b/img/icons/night/scope_unlisted.png new file mode 100644 index 000000000..b3ce02e69 Binary files /dev/null and b/img/icons/night/scope_unlisted.png differ diff --git a/img/icons/night/search.png b/img/icons/night/search.png new file mode 100644 index 000000000..6d3b05c83 Binary files /dev/null and b/img/icons/night/search.png differ diff --git a/img/icons/night/showhide.png b/img/icons/night/showhide.png new file mode 100644 index 000000000..32be2848c Binary files /dev/null and b/img/icons/night/showhide.png differ diff --git a/img/icons/night/unmute.png b/img/icons/night/unmute.png new file mode 100644 index 000000000..5ddfc4e82 Binary files /dev/null and b/img/icons/night/unmute.png differ diff --git a/img/image_night.png b/img/image_night.png new file mode 100644 index 000000000..ce7b85431 Binary files /dev/null and b/img/image_night.png differ diff --git a/theme.py b/theme.py index 0576831f7..54fd4256c 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', 'Zen') + 'LCD', 'Light', 'Night', 'Purple', 'Zen') def setThemeInConfig(baseDir: str, name: str) -> bool: @@ -180,6 +180,27 @@ def setThemeBlue(baseDir: str): setThemeFromDict(baseDir, 'blue', themeParams) +def setThemeNight(baseDir: str): + removeTheme(baseDir) + setThemeInConfig(baseDir, 'night') + themeParams = { + "main-bg-color": "#0f0d10", + "text-entry-background": "#0f0d10", + "link-bg-color": "#0f0d10", + "main-fg-color": "#7961ab", + "border-color": "#7961ab", + "main-bg-color-reply": "#0f0d10", + "main-bg-color-report": "#0f0d10", + "day-number2": "#0f0d10", + "hashtag-vertical-spacing3": "100px", + "hashtag-vertical-spacing4": "150px", + "time-vertical-align": "-10px", + "*font-family": "'SundownerRegular'", + "*src": "url('./fonts/SundownerRegular.ttf') format('truetype')" + } + setThemeFromDict(baseDir, 'night', themeParams) + + def setThemeZen(baseDir: str): removeTheme(baseDir) setThemeInConfig(baseDir, 'zen')