-
Notifications
You must be signed in to change notification settings - Fork 2
Theming
Dorian Zedler edited this page Feb 2, 2023
·
8 revisions
The linuxmuster-linbo-gui comes with a small theming engine. Through this, the user can adjust colors and icons.
To create your own theme, follow these steps:
- Create a folder for the theme in
/srv/linbo/gui/themes/mytheme, wheremythemeis the name of the theme - Create a config in
/srv/linbo/gui/themes/mytheme/theme.conf - Add the parameter
Themeto the[LINBO]section of the start.conf where the value is the name of your theme. eg:Theme = mytheme - Place all icons you refer to in your config file in
/srv/linbo/gui/themes/mytheme.
- There are currently two sections:
[colors]and[icons] - In these sections you can override default values of colors and icons. Available keys are:
-
[colors]:- Please note: all colors are automatically calculated from
primary,accentandtext, so in practice you should only have to change those three. primaryaccenttextbackgroundelevatedbackgroundlinetoolbuttondisabledtoolbutton
- Please note: all colors are automatically calculated from
-
[icons]:- Please note:
- The default icons can be found here: https://github.com/linuxmuster/linuxmuster-linbo-gui/tree/master/resources/icons
- Only SVG icons are supported!
brandtopbrandbottombackcancellogoutrebootsettingsshutdownoverlaycheckedoverlaypressedoverlayhoveredoverlaykeyboardfocusoverlaystartoverlaysyncoverlayreinstalloverlayimagedefaultosdesktopnetworkstartstartlegacysyncsynclegacyreinstallreinstalllegacyimageuploaduploadlegacypartitionregisterterminalcheckboxcheckedcheckboxuncheckedradiobuttoncheckedradiobuttonuncheckedradiobuttondisabled
- Please note:
-
- example:
- A fully setup theme can be found here: https://github.com/linuxmuster/linuxmuster-linbo-gui/tree/master/fakeroot/gui/themes/red-and-white
[colors]
text=#000000
primary=#ffffff
accent=#ff0000
[icons]
brandtop=top.svg
brandbottom=bottom.svg
checkboxchecked=checkBoxChecked.svg
radiobuttonchecked=radioButtonChecked.svg
overlaykeyboardfocus=overlayKeyboardFocus.svg