Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync images and color styles under a single setting #1236

Open
FFFFFF opened this issue Jan 3, 2025 · 3 comments
Open

Sync images and color styles under a single setting #1236

FFFFFF opened this issue Jan 3, 2025 · 3 comments

Comments

@FFFFFF
Copy link

FFFFFF commented Jan 3, 2025

Hello everyone,

Thank you to all who keep the repository running and who are helping find the answers.

Could someone suggest solutions for the following cases:

  • Set a color for elements in <ComplicationSlot/> depending on the selected item in <ListConfiguration/>. The case: Set the color for <Font> and [COMPLICATION.MONOCHROMATIC_IMAGE] depending on the background image.
  • Set the @resource (change the image) for <HourHand>, <MinuteHand/>, <Image/> based on the selected <ListConfiguration/>. The case: Change the image depending on the background image.
  • Set the @resource for <Image/>, <HourHand>, <MinuteHand/> based on the selected <ColorConfiguration/>. The case: Change the image depending on the selected color style.

<ListConfiguration/> and <ColorConfiguration/> complements each other, but I haven't found them collaborating at 100%. Imagine you want to change the color (or/and shape) for analog hands (or any other images) after the background image has been changed by a user in the watch settings. Controlling the theme elements through the single setting in the menu seems impossible. You need to create two or more settings. A user could not know the relations between all settings. And the change could not be worth a separate setting in the menu (while imperfect from the visual point of view).

A quick solution might be checking attributes in [CONFIGURATION.themeColor.<some attr>]. I can not find the documentation for the object.

The long-run solution is to configure variables as an element (<VarableConfiguration/>) and use it "down the road" in elements and attributes as [CONFIGURATION.VarableConfiguration.variable1].

Could someone involved in the project underline the cons and pros of the suggested?

@gondwanasoft
Copy link

A WFF Google Chat has just been started. You may get answers there. It's invite-only at the moment. If you're interested in joining, let me know a Google account email address for you.

@gondwanasoft
Copy link

@FFFFFF You should have received an email or two about the chat. If not, try this.

@garanj
Copy link
Contributor

garanj commented Jan 8, 2025

Thanks for this issue - we've a couple of open feature requests for item 1 and 2, though I can't comment on if and when these will be accepted.

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

No branches or pull requests

3 participants