Skip to content

Conversation

martenbjork
Copy link
Contributor

Follow up to #7659.

The Polaris website's CSS is currently broken, since the website imports the full Polaris CSS as well as the site CSS. These stylesheets often collide. For instance, the site's font size is currently too small, since this is overridden by the Polaris CSS. In addition, this sends lots of unnecessary CSS to every visitor.

This PR moves the examples to Next.js 13's new app directory, which allows global styles to be imported for a subset of pages.

@martenbjork
Copy link
Contributor Author

Replaced with #8574

@martenbjork martenbjork closed this Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant