Skip to content

Commit abe6b8d

Browse files
authored
Merge pull request #401 from sachin-dul/fix/reduce-mention-highlight-opacity
fix: reduce mention highlight background opacity
2 parents 1e46dd6 + 826554a commit abe6b8d

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
default: patch
3+
---
4+
5+
Reduced the opacity of mention highlight backgrounds to be less visually intrusive while remaining noticeable.

src/app/components/message/layout/layout.css.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@ const HighlightVariant = styleVariants({
6767

6868
const NotifyHighlightVariant = styleVariants({
6969
silent: {
70-
backgroundColor: color.Secondary.Container,
70+
backgroundColor: `color-mix(in srgb, ${color.Secondary.Container} 25%, transparent)`,
7171
boxShadow: `inset ${config.borderWidth.B700} 0 0 ${color.Secondary.ContainerLine}`,
7272
},
7373
loud: {
74-
backgroundColor: color.Warning.Container,
74+
backgroundColor: `color-mix(in srgb, ${color.Warning.Container} 25%, transparent)`,
7575
boxShadow: `inset ${config.borderWidth.B700} 0 0 ${color.Warning.ContainerLine}`,
7676
},
7777
});

0 commit comments

Comments
 (0)