Skip to content

v1.3.0: Critters, Cosmos, Folk and Doodle

Choose a tag to compare

@marvelousdev99 marvelousdev99 released this 30 Nov 07:50
· 1 commit to main since this release
34d9abd

Opaline 1.3.0

The four new styles: Critters, Cosmos, Folk and Doodle

Four new styles, a status badge and a gummy finish. Every 1.2 seed and option set renders the same bytes, and the new styles and values appear only when you set them.

New styles

  • Critters are 19 soft vinyl-toy animals. Set animal, and coat: 'palette' to colour the fur from the seed.
  • Cosmos has 15 glowing space objects. Set object, tone for a colour theme, and shape for a night-sky tile.
  • Folk draws people, head and shoulders. Doodle draws only the face, in lines. Both have 18 expressions, 11 colour looks through scheme, and a square tile that shape: 'none' removes.

New options

  • Every style takes status: online, away, busy or offline. With title or alt the label reads Ada (away). The badge is not drawn below 20px.
  • finish: 'gummy' works on Morph, Gradient, Pip, Clay and Critters. Plush takes material instead: gummy, flat or soft.
  • These values can be set by name and are never drawn by a seed: eight expressions, nine Gradient form outlines, the Morph families star, drop and bloom, five Pip forms, a Clay ghost body with fox and mouse ears, and four Plush hats.
  • LookOptions in the core is one props type with every option of every style.

Changed

  • Bundles for the older styles are larger, because the new faces, the gummy finish, Gradient forms and the status badge ship with every style. Core + Morph is 6.61 KB gzipped, up from 4.91 KB. Making them optional is planned for 1.4.
  • Expression, Family, Finish, Accessory, PipForm and Clay body and ears take new values. A switch that covers every value, or a Record<Expression, …>, needs the new keys.

Improved

  • Every wrapper takes every new style and option. React, Vue and Svelte groups pass each member's status, and a status on the group goes to members that have none.
  • Cosmos tone also takes a numeric string, so tone="1" works as a plain attribute in Vue and Angular.
  • The docs site is redesigned: type a name and the page takes its colour. Try the new styles in the playground.

Full changelog: v1.2.0...v1.3.0