Skip to content

v1.4.0: Moji, Inkwell, Isometric and Contour

Latest

Choose a tag to compare

@marvelousdev99 marvelousdev99 released this 03 Dec 09:46

Opaline 1.4.0

The four new styles: Moji, Inkwell, Isometric and Contour

Four new styles and Angular group options. Packages: @inlaylab/opaline, -react, -vue, -svelte, -angular and -element 1.4.0.

New

  • Moji (@inlaylab/opaline/moji): bright cartoon people. Set hair (23), outfit (15) and expression. Sits on a circle by default; shape: 'none' draws the person alone.
  • Inkwell (@inlaylab/opaline/inkwell): ink-line people with a splash of colour. Set hair (27), glasses, mouth (25), prop and expression. Sits on a square tile by default.
  • Isometric (@inlaylab/opaline/isometric): little block characters. Set body (12), topper, prop, pattern, expression and palette. Sits on a square tile by default.
  • Contour (@inlaylab/opaline/contour): a contour map of a made-up land, in the seed's hue. Set terrain: layers, island, lakes or thermal. Every browser draws the same contours.
  • Moji, Inkwell and Isometric share 26 expressions, from calm and grin to wow and oops.
  • Skin tone in Moji and Inkwell is chosen separately, so it never depends on hair, clothes, props or expression.
  • LookOptions and every wrapper take the new styles and options.

Improvements

  • The Angular group takes shape: 'none' and passes every per-style option to its members, as the React, Vue and Svelte groups do.
  • Older styles have slightly smaller bundles, with the same output. Gzipped: core + morph 6.61 → 6.56 KB, core + gradient 7.42 → 7.38 KB, core + clay 7.60 → 7.56 KB, core + plush 8.88 → 8.83 KB.
  • The docs site shows all fifteen styles, and the playground has controls for every new option.

Full changelog: v1.3.0...v1.4.0