Features
Full release notes here: https://github.com/zaytri/slime2/releases/tag/0.2.0
- 8 classes have been added to
base.css
that can be used onmain
inbase.html
to alter if the chat is listed vertically or horizontally, and which corner messages appear fromvertical-top-left
vertical-top-right
vertical-bottom-left
(default)vertical-bottom-right
horizontal-top-left
horizontal-top-right
horizontal-bottom-left
horizontal-bottom-right
- Dynamic emote sizes have been added!
- Small if the message contains any text
- Medium if the message contains multiple emotes and no text
- Large if the message is just a single emote
- If you would like to disable this feature, remove the class
dynamic-emote-sizes
frommain
inbase.html
- Theme development support!
- I mostly coded this out for my own theme development, but if you'd like to utilize it, I wrote an entire guide for that here: https://github.com/zaytri/slime2#readme
- You could also just directly edit the release
base.*
files and use those for theme development, but by directly using this repo, you gain these added benefits:- Hot reloading! (Every time you save a change, the page automatically updates without you having to manually refresh)
- Storing your token as a hidden environmental variable, rather than directly in
TOKEN.js
, where you need to remember to remove it before sharing your theme - Automatically inserting the slime2 version and your theme name into your theme's HTML file
- Some base theme stylings were changed, notably the user portion now has a background, using the user's color.
Before | After |
Full release notes here: https://github.com/zaytri/slime2/releases/tag/0.2.0