Skip to content

Project: Work on Theme extensibility #20905

@khmakoto

Description

@khmakoto

Problem

We have had multiple partner asks for an ability to extend our Theme definition with extra tokens of their own creation. We currently have no way of doing this and restrict everyone to only use the tokens we define.

Tracked also in #20900

Appetite

1-2 weeks for initial implementation of Shift's RFC and exploration of what is left to do after that.

Solution

Shift has written a great RFC in #20651 to remove functional style rules from makeStyles and replace them with imports from the theme/tokens itself that would solve most if not all of this problem. The goal of this project is to drive that RFC to completion and implement it. And then to investigate if there are any pieces left for Theme extensibility to work after this is done.

Risks (Rabbit holes)

If the RFC does not get enough traction, it might be hard to finish this work during the specified time-frame.

Out of scope (No-gos)

  • Whatever work is left to do after the implementation of this initial RFC.
  • Moving makeStyles out of @fluentui.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions