> A set of lightweight and accessible React component written in typescript and emotion.
npm install pebble-web> A set of lightweight and accessible React component written in typescript and emotion.
```
yarn add pebble-web
First of all you will need to install the fonts and icons used by the Design System.
Make sure the below code is executed at the very beginning.
The easier way is to use the cdn:
`html`
rel="stylesheet"
href="https://unpkg.com/pebble-shared@[version]/dist/pebble.css"
/>
:boom: Warning: Pebble adds box-sizing: border-box by default to every element by using inherit.content-box
If you have some elements whose children which need default box-sizing you can reset it's box-sizing to
Pebble intends to have a very small footprint while maintaining performance.
This, however, comes at a cost of supporting only modern browsers. If you need to support legacy browsers, you would need to add polyfills.
`html`
`html``
Pebble is fully tree shakeable with this rollup config present in tests.
//TODO Create config and tests for webpack as well.
We use Chromaticqa for visual regression testing and it is awesome.
MIT