Skip to content

Add foregroundColor environment support to components#62

Open
wwdc14yh wants to merge 2 commits into
lkzhao:mainfrom
wwdc14yh:master
Open

Add foregroundColor environment support to components#62
wwdc14yh wants to merge 2 commits into
lkzhao:mainfrom
wwdc14yh:master

Conversation

@wwdc14yh
Copy link
Copy Markdown
Contributor

@wwdc14yh wwdc14yh commented Nov 8, 2025

Introduces ForegroundColorEnvironmentKey to enable environment-based foreground color for components. Updates Image and Text components to use foregroundColor from the environment, allowing consistent tinting and styling. Adds usage examples and a new Label utility to demonstrate foregroundColor and font environment integration.
iShot_2025-11-09_00 33 48
image

Introduces ForegroundColorEnvironmentKey to enable environment-based foreground color for components. Updates Image and Text components to use foregroundColor from the environment, allowing consistent tinting and styling. Adds usage examples and a new Label utility to demonstrate foregroundColor and font environment integration.
foreground color environment -> Foreground color environment
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