tweakpane-plugin-chromatic
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

Tweakpane plugin chromatic

Color palette viewer for Tweakpane.

tweakpane-plugin-chromatic

Installation

Browser

<script src="tweakpane.min.js"></script>
<script src="tweakpane-plugin-chromatic.min.js"></script>
<script>
  const pane = new Tweakpane.Pane();
  pane.registerPlugin(TweakpaneChromaticPlugin);
</script>

Package

import {Pane} from 'tweakpane';
import * as ChromaticPlugin from 'tweakpane-plugin-chromatic';

const pane = new Pane();
pane.registerPlugin(ChromaticPlugin);

Usage

pane.addBlade({
  view: 'chromatic',
  label: 'palette',
  colors: ['red', 'blue', 'green']
});

Package Sidebar

Install

npm i tweakpane-plugin-chromatic

Weekly Downloads

1

Version

0.0.3

License

MIT

Unpacked Size

45.6 kB

Total Files

10

Last publish

Collaborators

  • brunoimbrizi