Add UI-based color and font customization#11
Merged
Conversation
- Add default color constants in const.py for light and dark modes - Update TidePlotManager to accept custom_colors and font parameters - Use higher contrast defaults (darker red/blue) for light mode - Create new example (10-custom-colors) with documentation - Update README.md with new customization options Co-authored-by: ALArvi019 <5780489+ALArvi019@users.noreply.github.com>
Co-authored-by: ALArvi019 <5780489+ALArvi019@users.noreply.github.com>
…r text Co-authored-by: ALArvi019 <5780489+ALArvi019@users.noreply.github.com>
Co-authored-by: ALArvi019 <5780489+ALArvi019@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Improve text color contrast in light theme
Add customizable text colors and fonts for tide plots
Dec 12, 2025
- Add color picker for light/dark mode colors (high tide, low tide, tide line, text) - Add font size sliders for title, labels, and axis - Settings accessible via Configure in Devices & Services - Update documentation with customization instructions and screenshot Fixes #10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds the ability to customize colors and font sizes directly from the Home Assistant UI, addressing the request for better contrast and larger fonts.
Features
Changes
config_flow.py: Added new options flow step with RGB color pickers and font size sliders__init__.py: Pass custom colors and font sizes to TidePlotManagerconst.py: Added configuration constants and improved default color schemesstrings.json: Added UI translations for customization optionsmanifest.json: Version bump to 1.1.6Screenshot
Fixes #10