Skip to content

Feature: Extended user theme customization support - #2144

Merged
billz merged 2 commits into
masterfrom
feat/branding-config
Aug 17, 2026
Merged

billz merged 2 commits into
masterfrom
feat/branding-config

Conversation

@billz

@billz billz commented Aug 7, 2026

Copy link
Copy Markdown
Member

This adds two new settings to config.php to enable dynamic theme customization.

define('RASPI_BRAND_ICON', '');
define('RASPI_BRAND_COLOR', '#2b8080');

For example, a Switchberry theme may be applied simply by adding the following:

define('RASPI_BRAND_TEXT', 'Switchberry');
define('RASPI_BRAND_ICON', 'fas fa-clock');
define('RASPI_BRAND_COLOR', '#df7618');

This renders a gradient background and form elements on the login template from a single color value:

Switchberry login

The remaining templates are themed with the selected fa icon and brand color:

themed templates

@billz
billz merged commit 7bd6f95 into master Aug 17, 2026
3 checks passed
@billz
billz deleted the feat/branding-config branch August 17, 2026 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant