The component comes with an embedded background shown above. This can be changed in the settings. It’s recommend to use an svg pattern. This website has some for free.
You can also choose the bubble colours and the background behind the pattern, or disable the pattern altogether.
If you leave either light or dark setting empty, the bubbles will default to secondary and tertiary-low. If you leave the background colour empty, it will default to primary-high.
You can choose different background and bubble colours for dark mode.
To avoid having to change the background-pattern it’s using a background-blend in dark mode.
For best results, choose a light-coloured pattern which works nicely in light mode, and it should be automatically muted in dark mode (unfortunately not on all devices – see below).
Known issues
The timestamps for your own messages are differently placed than for other peoples messages
one suggestion,
possible to let everyone to change their own background image ?
and the default circuit SVG is rendered differently on iphone and android dark theme
on iphone, the lines looks more bright, not as the example in the doc post… not sure why…
I would guess that is really difficult and if it can be done it needs a plugin. But I don’t remember any plugin that gives an option to users adjust such things. It would be nice, though. But it could lead to UX nightmare too when preferences are here, there and everywhere.
An user can’t even tune toolbox of composer and that would be an important feature.
Yes unfortunately that’s a whole other league. If the interest is ever big enough for this skin in general, I’d love to expand on this but for now that’s not happening.
Oh yeah, that’s easy enough. Can make an update for that.
I’ve added a setting to disable the pattern completely.
The dark-mode issues on Iphone are due to a bug in safari, which prevents the background-mode-blend property from working when the background-repeat is used… Quite annoying and I don’t have a workaround yet.
It might come down to two separate uploads for dark/light mode, which isn’t elegant at all.
Either way, I’d recommend for now to use it without the pattern, if you’re on Iphone and use your device in dark mode.
Okay thanks I will attempt it, I use the Kodular Community Theme and it same icon show in topics I reply to, I wonder if this is part of the theme specifically. I’ll go ask the dev now.
The previous the background was applied to the .chat-messages-container and on scroll my background would move with the messages this way it stays in the back.
I notice there was two instances of .chat-messages-container in the mobile chat which caused this replication on the background.
Hi, it appears that the chat background is no longer visible in the chat, i’m not seeing the css being added to the chat container anymore. I’m currently using version 3.3.0.beta2