johnfactotum / foliate

Read e-books in style
https://johnfactotum.github.io/foliate/
GNU General Public License v3.0
6.43k stars 296 forks source link

how to change the theme from dark to light. #1348

Closed ahmad9059 closed 4 months ago

ahmad9059 commented 4 months ago

Question: I want to change theme from dark to light how to do that there is no option to select theme and I am using the archlinux with hyprland and gtk . Dark is my default theme . image

also I follow these steps did not work

How to use custom themes? The themes can be configured from the menu. This is the recommended way.

If you want to manually edit themes, you can edit the file /home/user/.config/com.github.johnfactotum.Foliate/themes.json (or create the file if does not already exists). If you're using the flatpak version, the file should be placed in ~/.var/app/com.github.johnfactotum.Foliate/config/com.github.johnfactotum.Foliate.

Note that since v2.0, the underlying settings now store the colors directly, instead of referencing the themes. So you can change the theme with dconf-editor or, from the command line, with gsettings, without needing to modify themes.json at all. The themes from themes.json merely provide a way to quickly switch color schemes from the GUI.

greed-d commented 3 months ago

Hey sorry for necrobumping but did you find how to change theme and font in hyprland?

Bai-Chiang commented 3 weeks ago

I'm using Sway and flatpak version. To force Foliate use light theme I added GTK_THEME=Adwaita:light environment variable in Flatseal.