joypixels / joypixels/emoji-toolkit

24 and 40 spriteSize in the js library.

Open
#66 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
473
Forks
47
PR merge metrics
No merged PRs in 30d

Description

Hello, thank you for the awesome emoji toolkit.

Just wondering if there will be a change in the js library anytime soon to support 24x24 and 40x40 sprites? As I dig into the code, when sprites are turned on, the spriteSize is just constrained with `'32'` and `'64'` and cannot be overridden during any transformation methods like `toImage`.

In the PHP package, the client config can be set that's why we were able to use sizes other than `'32'` and `'64'` and use the `'24'` and `'40'` sprites that are included in `emoji-assets`. Hoping this could be possible in the JS library too.

Another question also, is there any plan to support ESM?

Happy to provide a PR also.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.