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

Suggestion for an app-configurable special kind of theme #21

Closed
DivineDominion opened this issue Jul 21, 2017 · 2 comments
Closed

Suggestion for an app-configurable special kind of theme #21

DivineDominion opened this issue Jul 21, 2017 · 2 comments

Comments

@DivineDominion
Copy link
Collaborator

In macOS apps, users may want to tweak the look and feel of the application while it is running; pickers for background color, text color, font family, and text size, for example.

While it might be possible to store this as a JSON file and feed it back to the app, I think it'd be nice to have a dynamic Theme and Style with mutable properties which you can more directly bind to the settings pane. They would trigger layout updates on changes and expose the same public interface as static themes. (To realize this, I guess one will need a common Theme protocol and then both StaticTheme and DynamicTheme or similar; name suggestions would be welcome :))

While this in theory might be useful for iOS too, I think serializing the app settings as JSON into the user defaults works just as well. You switch between view controller scenes anyway, so there's less need for live updates. Which brings up the question: should this be part of the iOS target at all?

@ruddfawcett
Copy link
Owner

I think that live configuration sounds like an awesome idea.

@ruddfawcett
Copy link
Owner

Closed by #59.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants