Skip to content

Commit cc5094b

Browse files
authored
fix: reduce opacity of black text (#10346)
* fix: reduce opacity of black text * test: update screenshots
1 parent 274507c commit cc5094b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
2 Bytes
Loading

packages/avatar/src/styles/vaadin-avatar-base-styles.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ export const avatarStyles = css`
6868
6969
:host([has-color-index]) {
7070
background-color: var(--vaadin-avatar-user-color);
71-
color: oklch(from var(--vaadin-avatar-user-color) clamp(0, (0.62 - l) * 1000, 1) 0 0);
71+
color: oklch(
72+
from var(--vaadin-avatar-user-color) clamp(0, (0.62 - l) * 1000, 1) 0 0 / clamp(0.8, (0.62 - l) * 1000, 1)
73+
);
7274
}
7375
7476
:host([has-color-index])::before {

0 commit comments

Comments
 (0)