diff --git a/.changeset/reduce-mention-highlight-opacity.md b/.changeset/reduce-mention-highlight-opacity.md new file mode 100644 index 000000000..85cb022c3 --- /dev/null +++ b/.changeset/reduce-mention-highlight-opacity.md @@ -0,0 +1,5 @@ +--- +default: patch +--- + +Reduced the opacity of mention highlight backgrounds to be less visually intrusive while remaining noticeable. diff --git a/src/app/components/message/layout/layout.css.ts b/src/app/components/message/layout/layout.css.ts index a027af3df..9928f15e6 100644 --- a/src/app/components/message/layout/layout.css.ts +++ b/src/app/components/message/layout/layout.css.ts @@ -67,11 +67,11 @@ const HighlightVariant = styleVariants({ const NotifyHighlightVariant = styleVariants({ silent: { - backgroundColor: color.Secondary.Container, + backgroundColor: `color-mix(in srgb, ${color.Secondary.Container} 25%, transparent)`, boxShadow: `inset ${config.borderWidth.B700} 0 0 ${color.Secondary.ContainerLine}`, }, loud: { - backgroundColor: color.Warning.Container, + backgroundColor: `color-mix(in srgb, ${color.Warning.Container} 25%, transparent)`, boxShadow: `inset ${config.borderWidth.B700} 0 0 ${color.Warning.ContainerLine}`, }, });