Skip to content

Make Theme extensible - #40

Open
dannynorth wants to merge 4 commits into
joshdholtz:mainfrom
dannynorth:extensible-theme
Open

Make Theme extensible#40
dannynorth wants to merge 4 commits into
joshdholtz:mainfrom
dannynorth:extensible-theme

Conversation

@dannynorth

Copy link
Copy Markdown

This makes Theme extensible, like SwiftUI's Environment. It holds an infinite number of values that are located based on a type. Users can create their own ThemeKey-conforming values and extend the Theme, which allows them to customize information in their own custom ContentItems.

dannynorth added 4 commits May 2, 2023 13:24
This makes `Theme` extensible, like SwiftUI's Environment. It holds an infinite number of values that are located based on a type. Users can create their own `ThemeKey`-conforming values and extend the `Theme`, which allows them to customize information in their own custom ContentItems.
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