RocketChat / feature-requests

This repository is used to track Rocket.Chat feature requests and discussions. Click here to open a new feature request.
21 stars 9 forks source link

Role-Tag Customization (Colors) #753

Open Valiantiam opened 7 years ago

Valiantiam commented 7 years ago

Looking for a simple and direct way to customize roles colors within the chat. This would let us make some roles show as a different color without having to develop custom CSS (which I'm not to sure is even possible with the current way the tags are setup, but I'm not a css expert)

Thanks.

andreas-it-dev commented 6 years ago

fwiw, as a workaround, you could go to admin -> layout -> custom-css and use selectors like:

[data-role="Owner"] { background-color: red; }

for each role you have...

theorenck commented 5 years ago

Hi @Valiantiam we are planning a big overhaul regarding layout & colors customization for the long-term. Right now PRs are welcomed. Thanks for your contributions!

davidschulze commented 4 years ago

fwiw, as a workaround, you could go to admin -> layout -> custom-css and use selectors like:

[data-role="Owner"] { background-color: red; }

for each role you have...

Hi Andreas @awunder , I tried it but it doesn't work. Nothing changes :( Am I doing something wrong? I copy & pasted [data-role="Owner"] { background-color: red; } and put it into the Custom CSS field and saved. Ist there some syntax missing?

Thanks for your reply!

soulserkut commented 1 year ago

[data-role="Owner"] { background-color: red; } this doesn't work at all I dont think they are linked