Skip to content

add new css root variable as mud attribute #17

@saberpooyan

Description

@saberpooyan

Hi i'm going to add some property attributes to mud palette so I created new class as you can see in the picture:
Capture1
and then I used that in PresetThemes.cs class like this
Capture2
Now as a result I can see my property in c# code but I can't use it as a CSS variable like this var(--mud-palette-ForegroundColor).
How can i solve this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions