Merge branch 'SableClient:dev' into feat/ui-for-commands

This commit is contained in:
Felice D'Angelo authored and GitHub committed 2026-03-10 23:46:32 +01:00
commit c51efba8f9
5 files changed
+13 -3

No files matched your search

@@ -0,0 +1,7 @@
---
default: patch
---
# "Underline Links" setting no longer affects the entire app
The "Underline Links" accessibility setting was incorrectly applying link underlines globally, including to buttons in the Lobby and Message Search in spaces. It is now scoped to only the areas where it's relevant, which is chat messages, user bios, and room descriptions. The setting description in Appearance has been updated to reflect this.
@@ -29,7 +29,7 @@ export const RoomTopicViewer = as<
<Icon src={Icons.Cross} />
</IconButton>
</Header>
<Scroll className={css.ModalScroll} size="300" hideTrack>
<Scroll data-room-topic className={css.ModalScroll} size="300" hideTrack>
<Box className={css.ModalContent} direction="Column" gap="100">
<Text size="T300" className={css.ModalTopic} priority="400">
<Linkify options={LINKIFY_OPTS}>{scaleSystemEmoji(topic)}</Linkify>
@@ -180,6 +180,7 @@ function UserExtendedSection({
{bioContent && (
<Scroll
data-profile-bio
direction="Vertical"
variant="SurfaceVariant"
visibility="Always"
@@ -305,7 +305,7 @@ function ThemeSettings() {
<SequenceCard className={SequenceCardStyle} variant="SurfaceVariant" direction="Column">
<SettingTile
title="Underline Links"
description="Always show underlines on links in chat."
description="Always show underlines on links in chat, bios and room descriptions."
after={<Switch variant="Primary" value={underlineLinks} onChange={setUnderlineLinks} />}
/>
</SequenceCard>
+3 -1
View File
@@ -177,7 +177,9 @@ pre {
/* Accessibility Overrides :D */
.force-underline-links a {
.force-underline-links [data-message-id] a:not([data-mention-id]),
.force-underline-links [data-profile-bio] a,
.force-underline-links [data-room-topic] a {
text-decoration: underline !important;
text-decoration-thickness: 1px;
text-underline-offset: 2px;