mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-11 09:13:57 -04:00
Add a note about how to create dark and light icons in a custom theme
This commit is contained in:
parent
0c7caac263
commit
2a56eaa2c7
@ -121,6 +121,11 @@ icons. You can upload that to the calibre forum at `Mobileread
|
|||||||
<https://www.mobileread.com/forums/forumdisplay.php?f=166>`__ and then I will
|
<https://www.mobileread.com/forums/forumdisplay.php?f=166>`__ and then I will
|
||||||
make your theme available via calibre's builtin icon theme system.
|
make your theme available via calibre's builtin icon theme system.
|
||||||
|
|
||||||
|
As of calibre 6, you can have custom icons for light and dark mode. Simply
|
||||||
|
create two versions of the icon and name the files with the suffix
|
||||||
|
``-for-dark-theme`` and ``-for-light-theme``. For example,
|
||||||
|
``modified-for-dark-theme.png`` and ``modified-for-light-theme.png``. Then
|
||||||
|
calibre will automatically use the appropriate icon based on the current theme.
|
||||||
|
|
||||||
Customizing calibre with plugins
|
Customizing calibre with plugins
|
||||||
--------------------------------
|
--------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user