Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix app theming #1888

Merged
merged 5 commits into from
Apr 13, 2023
Merged

Fix app theming #1888

merged 5 commits into from
Apr 13, 2023

Conversation

Janpot
Copy link
Member

@Janpot Janpot commented Apr 13, 2023

Noticed this when trying to upgrade mui-public to latest toolpad

  • Remove theme provider and cssbaseline from _app as it is shared between production app and editor

@Janpot Janpot added the core Infrastructure work going on behind the scenes label Apr 13, 2023
@Janpot Janpot added bug 🐛 Something doesn't work regression A bug, but worse and removed bug 🐛 Something doesn't work labels Apr 13, 2023
@Janpot
Copy link
Member Author

Janpot commented Apr 13, 2023

Merging so I can release it

@Janpot Janpot merged commit 4b498b2 into master Apr 13, 2023
@Janpot Janpot deleted the fix-theming branch April 13, 2023 16:28
@@ -22,6 +22,8 @@ test('can change between light and dark themes', async ({ page }) => {

await expect(canvasBodyLocator).toHaveCSS('background-color', 'rgb(255, 255, 255)');

await editorModel.themeEditor.getByRole('button', { name: 'Add theme' }).click();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could also call this file editor.spec.ts or something if it helps tell it apart from prod.spec.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Infrastructure work going on behind the scenes regression A bug, but worse
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants