Bug 463786 - Feature request: Dark Mode in Tokodon for non-plasma users
Summary: Feature request: Dark Mode in Tokodon for non-plasma users
Status: RESOLVED FIXED
Alias: None
Product: Tokodon
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-03 17:25 UTC by 318bcb
Modified: 2023-01-03 23:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 318bcb 2023-01-03 17:25:41 UTC
SUMMARY
***
Currently, the only way to get dark mode on Tokodon is to set Plasma to a dark theme.  This option doesn't work if the user is using a gtk-based desktop, or if the user wishes to use a light-themed desktop but a dark-themed Tokodon.  

I believe there should be an option to use breeze-dark colors independently of the desktop theme, similar to Kate and Okular.  Such an option would make Tokodon accessible to people who need dark mode but aren't using Plasma.
***


STEPS TO REPRODUCE
1. Use a gtk-based desktop 
2. Attempt to set Tokodon to use dark background and light text 

OBSERVED RESULT
There is no way to switch Tokodon to use any sort of dark theme.

EXPECTED RESULT
There should be an option similar to other KDE apps to use breeze-dark colors.
Comment 1 Bug Janitor Service 2023-01-03 21:03:19 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/tokodon/-/merge_requests/111
Comment 2 Carl Schwan 2023-01-03 23:05:39 UTC
Git commit 592c3cc199cac7199ea083e8c23c8bec6284a26b by Carl Schwan, on behalf of Joshua Goins.
Committed on 03/01/2023 at 22:58.
Pushed by carlschwan into branch 'master'.

Add color scheme option to general settings

M  +7    -0    src/CMakeLists.txt
A  +46   -0    src/colorschemer.cpp     [License: LGPL(v2.1+)]
A  +27   -0    src/colorschemer.h     [License: LGPL(v2.1+)]
M  +3    -0    src/config.kcfg
A  +25   -0    src/content/ui/Settings/ColorScheme.qml     [License: LGPL(v2.0+)]
M  +21   -0    src/content/ui/Settings/GeneralCard.qml
M  +12   -0    src/main.cpp
M  +1    -0    src/resources.qrc

https://invent.kde.org/network/tokodon/commit/592c3cc199cac7199ea083e8c23c8bec6284a26b