0.0.8 • Published 6 years ago

react-design-tools v0.0.8

Weekly downloads
10
License
MIT
Repository
github
Last release
6 years ago

react-design-tools

Tools for making pixel-perfect designs with React

Demo

Edit 6vr85vjq1k

screenshot

Using

PaletteLookup

const colors = {
  primary: "#336699",
  secondary: "#cccccc",
  skyBlue: "#3399cc"
}

<PaletteLookup palette={colors} />

See this gist for a way to parse SCSS variables into ES modules.

DiffTool

import designImgUrl from "./design.png"

// dimensions, currently required (may be able to extract them in a future release)
const w = 500;
const h = 250;

<DiffTool imgUrl={designImgUrl} imgHeight={h} imgWidth={w}>
  <MyComponent />
</Difftool>

License

MIT

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago