From 1f0a72ef1b9df09b6ca20ec8c0a019821e46e9bc Mon Sep 17 00:00:00 2001 From: Vaadin Bot Date: Thu, 4 Apr 2024 14:08:45 +0200 Subject: [PATCH] fix: make Lumo font custom properties work for vaadin-select (#7296) (#7300) Co-authored-by: Serhii Kulykov --- packages/select/theme/lumo/vaadin-select-styles.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/select/theme/lumo/vaadin-select-styles.js b/packages/select/theme/lumo/vaadin-select-styles.js index 2a5c4d5676..7f77a2ab53 100644 --- a/packages/select/theme/lumo/vaadin-select-styles.js +++ b/packages/select/theme/lumo/vaadin-select-styles.js @@ -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])) { @@ -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) {