johnfactotum / foliate

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

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

Closed ahmad9059 closed 1 week ago

ahmad9059 commented 1 week 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.