0.0.3 • Published 11 months ago

tweakpane-plugin-chromatic v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

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']
});
0.0.3

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago