Skip to content

Commit

Permalink
small tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
mltejera committed Nov 7, 2024
1 parent b95dfd6 commit 10c3de0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 7 additions & 1 deletion apps/public-docsite-v9/src/Concepts/Theming.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,9 @@ export const customLightTheme: Theme = {

### Extending theme with new tokens

It's often useful to extend the base set of tokens from Fluent UI.
It's often useful for an app to extend the base set of tokens from Fluent UI.

⚠ Components in this repo should _not_ do this.

⚠ Warning that adding more tokens adds more CSS variables which can effect run time performance as each DOM Node carries all the tokens.

Expand Down Expand Up @@ -168,3 +170,7 @@ const useStyles = makeStyles({
```
```

```
```
4 changes: 3 additions & 1 deletion docs/react-v9/contributing/patterns/extending-tokens.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
It's often useful to extend the base set of tokens from Fluent UI.
It's often useful for an app to extend the base set of tokens from Fluent UI.

⚠ Components in this repo should _not_ do this.

⚠ Warning that adding more tokens adds more CSS variables which can effect run time performance as each DOM Node carries all the tokens.

Expand Down

0 comments on commit 10c3de0

Please sign in to comment.