Skip to content

Commit

Permalink
fix: make Lumo font custom properties work for vaadin-select (#7296) (#…
Browse files Browse the repository at this point in the history
…7300)

Co-authored-by: Serhii Kulykov <iamkulykov@gmail.com>
  • Loading branch information
vaadin-bot and web-padawan authored Apr 4, 2024
1 parent 612df29 commit 1f0a72e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/select/theme/lumo/vaadin-select-styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const select = css`
}
[part='input-field'] ::slotted([slot='value']) {
font-weight: 500;
font-weight: var(--vaadin-input-field-value-font-weight, 500);
}
[part='input-field'] ::slotted([slot='value']:not([placeholder])) {
Expand Down Expand Up @@ -79,6 +79,7 @@ registerStyles(
min-height: var(--_lumo-selected-item-height);
padding-top: var(--_lumo-selected-item-padding);
padding-bottom: var(--_lumo-selected-item-padding);
font-size: inherit;
}
::slotted(*:hover) {
Expand Down

0 comments on commit 1f0a72e

Please sign in to comment.