Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Fix chat user color variable
Gabe Kangas4d4a6e91cd37
diff --git a/web/components/chat/ChatContainer/ChatContainer.tsx b/web/components/chat/ChatContainer/ChatContainer.tsxindex 6e7e541981..9deceba914 100644--- a/web/components/chat/ChatContainer/ChatContainer.tsx+++ b/web/components/chat/ChatContainer/ChatContainer.tsx@@ -33,7 +33,7 @@ export default function ChatContainer(props: Props) {const getNameChangeViewForMessage = (message: NameChangeEvent) => {const { oldName, user } = message;const { displayName, displayColor } = user;- const color = `var(--theme-user-colors-${displayColor})`;+ const color = `var(--theme-color-users-${displayColor})`;return (<div className={s.nameChangeView}>diff --git a/web/components/chat/ChatModerationActionMenu/ChatModerationDetailsModal.tsx b/web/components/chat/ChatModerationActionMenu/ChatModerationDetailsModal.tsxindex 98fb5ae5c7..234533183b 100644--- a/web/components/chat/ChatModerationActionMenu/ChatModerationDetailsModal.tsx+++ b/web/components/chat/ChatModerationActionMenu/ChatModerationDetailsModal.tsx@@ -86,7 +86,7 @@ const ConnectedClient = ({ client }: { client: Client }) => {// eslint-disable-next-line react/prop-typesconst UserColorBlock = ({ color }) => {- const bg = `var(--theme-user-colors-${color})`;+ const bg = `var(--theme-color-users-${color})`;return (<Row justify="space-around" align="middle"><Col span={12}>Color</Col>diff --git a/web/components/chat/ChatUserMessage/ChatUserMessage.tsx b/web/components/chat/ChatUserMessage/ChatUserMessage.tsxindex affd16c38d..229aa378d9 100644--- a/web/components/chat/ChatUserMessage/ChatUserMessage.tsx+++ b/web/components/chat/ChatUserMessage/ChatUserMessage.tsx@@ -32,7 +32,7 @@ export default function ChatUserMessage({const { id: messageId, body, user, timestamp } = message;const { id: userId, displayName, displayColor } = user;- const color = `var(--theme-user-colors-${displayColor})`;+ const color = `var(--theme-color-users-${displayColor})`;const formattedTimestamp = `Sent ${formatTimestamp(timestamp)}`;const [formattedMessage, setFormattedMessage] = useState<string>(body);