c8r / x0

Document & develop React components without breaking a sweat

Home Page:https://compositor.io/x0/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consider removing wrapping div and styles

pascalduez opened this issue · comments

Hi,

first and foremost thanks, this project is great and much needed.

I noticed there is a wrapping div around the App.

<div class="sc-bxivhb dUiVDW">

Also some styling applied:

* {
    box-sizing: border-box;
}

.dUiVDW {
    font-family: system-ui, sans-serif;
}

Ideally I would really like not to have any default styling injected, especially the box-sizing thing, which with time I stopped forcing.

Would it be an option to remove those by default, or provide a way to remove them?

EDIT: which basically boil down to not wrapping with RebassProvider in entry.js :)

Related to #87 - I’m working on a better setup that should allow for completely unstyled setups