stackotter/swift-cross-ui

[AppKitBackend] Implement foregroundColor modifier

stackotter opened this issue · 2 comments

We'll need to figure out how to cascade styles through the AppKit view hierarchy. Similarly to what Lorenzo faced with WinUIBackend, this seems to be a little tricky since it's not really how the framework is intended to be used.

This will likely be best addressed by allowing modifiers to be propagated down the view graph and given to all backend methods so that modifiers like foregroundColor can be applied directly to leaf widgets instead of relying on the underlying UI frameworks having cascading styles.