Skip to content

feat: add better theme initialization to dev-v5 #4201

@codymullins

Description

@codymullins

🙋 Feature Request

I'd like to be able to statically set the theme. If it picks up the attribute ahead of time, prefer that over the browser-prefers scheme. Example PR:

dev-v5...codymullins:fluentui-blazor:patch-1

🤔 Expected Behavior

see above

😯 Current Behavior

currently, you cannot easily set the theme, it is bound to whatever the browser tells you

💁 Possible Solution

see above

Metadata

Metadata

Assignees

No one assigned

    Labels

    v5For the next major version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions