Closed j2l closed 6 years ago
This is currently not clearly documented. I will try to improve that in the future.
The support for arbitrarily changing emojis is limited. The wwwassets/scripts/data.js
file contains the full layout configuration.
This file is generated by the PHP scripts in the res
folder (PHP is used because it doesn't require any additional dependency for these small scripts).
The config.json
file defines how the file is generated, see config.schema.json
for the exact layout.
The image files (svg) are stored in wwwassets/img
. They are copied from the twemoji repo. They are used in function of the defined fallback rules.
Now, concretely:
After that, you have to rebuild the data file, see the README in the res folder.
Thank you! I'll do that tomorrow.
It's a doc issue or I'm dumb 😄