Skip to content

Commit 24e6aa7

Browse files
authored
fix: use correct color for readonly password-field reveal button (#10429)
1 parent 9be020a commit 24e6aa7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/password-field/src/styles/vaadin-password-field-base-styles.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,8 @@ export const passwordFieldStyles = css`
1414
outline: none;
1515
--vaadin-input-field-border-color: inherit;
1616
}
17+
18+
:host([readonly]) [part~='reveal-button'] {
19+
color: var(--vaadin-input-field-button-text-color, var(--vaadin-text-color-secondary));
20+
}
1721
`;
33 Bytes
Loading

0 commit comments

Comments
 (0)