printer_select: support custom icons #1240

This commit is contained in:
alfrix committed 2024-04-26 07:36:52 -03:00
1 parent 4588ed537a
commit 3d241cecb4
3 files changed
+29 -2

No files matched your search

+14 -1
View File
@@ -1,6 +1,19 @@
# Theming
To create a custom theme, create a folder in: _${KlipperScreen_Directory}/styles/_
## Custom printer select icons
When multiple printers are configured, their icons can be customized by placing an icon in:
_${KlipperScreen_Directory}/styles/printers/_
* The name of the icon must be the exact printer name configured in KlipperScreen.conf
* The format should be svg or png.
## Custom themes
To create a custom theme, create a folder in:
_${KlipperScreen_Directory}/styles/_
The folder name will be the theme name, in that folder create another folder named `images` this is where the icons should be placed.
The icons must be SVG files with specific names that are defined in the code, use the default theme as a reference for the names or check the code.