Skip to content

Conversation

hecrj
Copy link
Member

@hecrj hecrj commented Jan 21, 2024

This PR removes the Theme associated type in the Renderer trait and introduces a Theme generic type in Widget instead.

Additionally, this PR implements a new widget: Themer, which can be used to apply any given theme type to any subtree of the view tree.

@hecrj hecrj added improvement An internal improvement change labels Jan 21, 2024
@hecrj hecrj added this to the 0.12 milestone Jan 21, 2024
@hecrj hecrj added feature New feature or request widget addition labels Jan 21, 2024
@hecrj hecrj changed the title Convert Renderer::Theme to generic Widget type Themer widget Jan 21, 2024
@hecrj hecrj merged commit 416e002 into master Jan 22, 2024
@hecrj hecrj deleted the remove-associated-theme branch January 22, 2024 10:48
@hecrj hecrj mentioned this pull request Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addition change feature New feature or request improvement An internal improvement widget
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant