- Notifications
You must be signed in to change notification settings - Fork928
Commit0536a14
authored
chore: fix storybook fonts (#988)
Summary:Configures storybook with MUI themes as according to theirdocumentation. We were previously not aligned with their example.See:https://storybook.js.org/addons/@react-theming/storybook-addonDetails:- configure a providerFn for MUI with CssBaseline. We were previouslymissing the CssBaseline implementation, causing the inconsistency.Impact:Resolves inconsistency between Storybook and production. I had testedthe Tabpanel in production vs Storybook. In storybook, the font hadfallen back to Times New Roman, whereas in production it had fallen backto Inter. This was because of CssBaseline being configured as a child ofThemeProvider.Resolves:#9141 parent6edd7cb commit0536a14
1 file changed
+9
-1
lines changedLines changed: 9 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
1 | 2 |
| |
2 | 3 |
| |
3 | 4 |
| |
| |||
6 | 7 |
| |
7 | 8 |
| |
8 | 9 |
| |
9 |
| - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
10 | 18 |
| |
11 | 19 |
| |
12 | 20 |
| |
|
0 commit comments
Comments
(0)