Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Include CSS reset in published bundle #368

Open
penx opened this issue Feb 4, 2022 · 0 comments
Open

Include CSS reset in published bundle #368

penx opened this issue Feb 4, 2022 · 0 comments

Comments

@penx
Copy link

penx commented Feb 4, 2022

Part of the CSS reset styles.css is important in order for some components to render correctly (e.g. an icon within a button needs the SVG to be display: block).

This file is not currently included in the published bundle.

I notice that you currently reimplement this reset when the design system is used, e.g.

https://github.com/radix-ui/website/blob/8b967e9506182ffb721eaaa2344fcd11f9f17310/pages/_app.tsx#L15-L50

I think it would be good to include most of the contents of the styles.css (i.e. without the next js specifics) in the published bundle so that it could optionally be used directly without re implementing the reset.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant