Change color of public room icon (#30390)

* feat: change color of public room icon

* test: update room avatar snapshot

* test(e2E): update screenshots
This commit is contained in:
Florian Duros
2025-07-23 15:56:26 +02:00
committed by GitHub
parent dcbba5ea9d
commit 7bfb9818f6
5 changed files with 4 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

@@ -135,7 +135,7 @@ function getAvatarDecoration(decoration: AvatarBadgeDecoration, presence: Presen
width="16px"
height="16px"
className="mx_RoomAvatarView_icon"
color="var(--cpd-color-icon-tertiary)"
color="var(--cpd-color-icon-info-primary)"
aria-label={_t("room|header|room_is_public")}
/>
);

View File

@@ -286,7 +286,8 @@ export default function RoomHeader({
<PublicIcon
width="16px"
height="16px"
className="mx_RoomHeader_icon text-secondary"
className="mx_RoomHeader_icon"
color="var(--cpd-color-icon-info-primary)"
aria-label={_t("common|public_room")}
/>
</Tooltip>

View File

@@ -93,7 +93,7 @@ exports[`<RoomAvatarView /> should render a public room decoration 1`] = `
<svg
aria-label="This room is public"
class="mx_RoomAvatarView_icon"
color="var(--cpd-color-icon-tertiary)"
color="var(--cpd-color-icon-info-primary)"
fill="currentColor"
height="16px"
viewBox="0 0 24 24"