effitask
effitask copied to clipboard
Can't get dark theme to be enabled
(Thanks for reporting an issue to Effitask! If you haven't already read the contributor guidelines, Please do that now, then procede to fill out the details below.)
What are the minimum necessary steps to reproduce this issue?
- install dependencies (debian) - apt install libgtk-3-dev
- git clone the repo
- set GTK_THEME="x:dark"
- make
- make install PREFIX=$HOME/.local
- set TODO_DIR, TODO_FILE, DONE_FILE
- run effitask
What happens?
effitask uses light theme
What were you expecting to happen?
for effitask to use the dark theme
Please paste any error or log messages here
(if long, you can link to a gist)
Any other details
I use LXQT so maybe that is part of the reason? However in src/application/widget.rs I logged out that it should be using the dark theme:
if let Ok(theme) = std::env::var("GTK_THEME") {
+ println!("GTK_THEME {}", theme);
if theme.ends_with(":dark") {
+ println!("should use dark theme!");
stylesheet = "style_dark.css";
}
$ effitask
GTK_THEME x:dark
should use dark theme!
Can you post a screenshot?
The dark stylesheet is small and only adjust background colors. The other changes are made by the theme itself.
@sanpii Aha I see, I didn't realize.
