Skip to content
This repository was archived by the owner on Aug 11, 2026. It is now read-only.

0.2.0

Choose a tag to compare

@finnvoor finnvoor released this 23 Jun 10:05
· 32 commits to main since this release
6715a04

What's new

Preferred emoji skin tone

Emo.suggestions(for:) now accepts an optional skinTone to request a preferred skin tone for skin-tone-capable emoji. The model predicts the default (yellow) presentation; this is applied as post-processing.

try await Emo.suggestions(for: "go for a run", limit: 1, skinTone: .medium) // 🏃🏽
  • New EmojiSkinTone enum: .default, .light, .mediumLight, .medium, .mediumDark, .dark.
  • New String.applyingSkinTone() helper, handling ZWJ sequences and existing modifiers/VS16.
  • Defaults to .default (no modifier) — fully backwards compatible.