Change color of private messages


#1

For some time I borrowed @ChrisBeach’s snippet that was

And then I tried to use it as a theme component, you may find the result here:

Repository link
https://framagit.org/oca/discourse-theme-colored-private-messages


What it does

It changes the appearance of the page when a private message is being read:

  • the head banner color (with a gradient),
  • the font color,
  • the background color,
  • the title color,
  • by adding some text after reply.

All these changes are optional and can be toggled with their on/off setting.
The main «private messages» color can also be changed with a setting.

For tweaking precisely the different colors, one can edit the top part of the css file.