Skip to content

Commit 8d46800

Browse files
authored
refactor: update readonly and disabled input field surface color (#10373)
1 parent b9f1674 commit 8d46800

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/aura/src/components/input-container.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,12 @@ vaadin-message-input:not([readonly], [disabled]) {
1919
box-shadow: 0 2px 1px -1px hsla(0, 0%, 0%, 0.04);
2020
}
2121

22+
[readonly]::part(input-field) {
23+
--aura-surface-opacity: 0;
24+
}
25+
2226
[disabled]::part(input-field) {
23-
--aura-surface-opacity: 0.5;
24-
--aura-surface-level: 1;
27+
--vaadin-input-field-background: var(--vaadin-background-container);
2528
}
2629

2730
::part(field-button) {

0 commit comments

Comments
 (0)