Skip to content

Fix unreadable custom settings in Homebridge night mode - #124

Merged
pponce merged 2 commits into
masterfrom
fix/night-theme-contrast
Sep 11, 2026
Merged

pponce merged 2 commits into
masterfrom
fix/night-theme-contrast

Conversation

@pponce

@pponce pponce commented Sep 11, 2026

Copy link
Copy Markdown
Owner

Homebridge's night theme can leave Bootstrap's --bs-body-color set to dark text. The custom settings root used that variable, making labels and descriptions unreadable against the dark iframe background.

This change inherits the host text color and adds scoped night-theme colors for fields, placeholders, disabled values, help text, tables, buttons, and borders. It follows Homebridge's forwarded theme classes, including when the operating system uses the opposite appearance.

Browser regression checks load representative Bootstrap/Homebridge iframe styles after the plugin CSS, measure text and field-border contrast, switch between light/night themes, and check mobile width. CI results are pending at PR creation.

Configuration and device-control behavior are unchanged. This PR does not publish a release.

@pponce
pponce merged commit 902e273 into master Sep 11, 2026
5 checks passed
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