Skip to content

Commit

Permalink
User colors
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaserlang committed Oct 31, 2024
1 parent 5cd883f commit 0a747fb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tbot/web/ui/live_chat/components/render_message.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,16 @@ export function RenderMessage({ msg }) {

function fixColor(color) {
switch (color) {
case "#0000ff":
return "#8b58ff";
case "#0000FF":
return "#8b58FF";
case "#8A2BE2":
return "#8b58ff";
return "#8B58FF";
case "#000000":
return "#7A7A7A";
case "#3A2B2B":
return "#877587";
case "#893939":
return "#B7625F";
default:
return color;
}
Expand Down

0 comments on commit 0a747fb

Please sign in to comment.