Skip to content

Conversation

nicoburns
Copy link
Collaborator

Support for directly specifying style attributes on elements (rather than passing a string to the style property):

div {
    color: "red"
 }

Mostly implemented, but needs testing and blocked on a resolution to DioxusLabs/dioxus#4389.

@nicoburns nicoburns force-pushed the individual-style-properties branch from 97b3779 to 3d56d0f Compare August 12, 2025 13:50
@nicoburns nicoburns changed the title Support Dioxus style attributes Style property setters Aug 12, 2025
@nicoburns nicoburns force-pushed the individual-style-properties branch 2 times, most recently from e86a824 to b2ee82b Compare August 12, 2025 14:18
Add the ability to set individual inline style properties

Signed-off-by: Nico Burns <[email protected]>
@nicoburns nicoburns force-pushed the individual-style-properties branch from b2ee82b to e1a079c Compare August 12, 2025 14:21
@nicoburns nicoburns merged commit 208e598 into main Aug 12, 2025
11 checks passed
@nicoburns nicoburns deleted the individual-style-properties branch August 29, 2025 15:46
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