CSS Variables
--padding
--fontSize
Here’s the main structure of Chatter. This can all be pulled from inspecting the app, but this is a bit easier, right?
id:chatBoundary
This contains the whole app, so used for broad changes.
CSS Variables
--padding
--fontSize
class:chatBubble
Each chat message comes through as a bubble. Specific CSS variables related to the user that has sent the message will be applied to each bubble, which you could overwrite. See more about that in the next section
Text flow and wrapping is annoyingly tricky in CSS, so beware that any changes could mess up multi-line chat messages.
animHeight
is needed for animations, so would not recommend applying anything to that unless you are specifically writing custom animations.
CSS Variables
--animTime
--animEase
--userCol
--shadowCol
--animHeight
class:divider
The divider symbol between user and message, :
by default. To change, target the :before
psudeo-element and change the content
CSS value.
id:chatBackground
Very self-explanitory. Does not contain any chat data.
Could be replaced with images, gradients, or other custom designs.
CSS Variables
--bgColour