From b807013acea76779beaedf7aa0d8175a15b7a1b6 Mon Sep 17 00:00:00 2001 From: Serhii Kulykov Date: Tue, 31 Oct 2023 13:48:27 +0200 Subject: [PATCH] fix: use correct indeterminate checkmark property name (#6713) --- packages/checkbox/theme/lumo/vaadin-checkbox-styles.js | 2 +- packages/vaadin-lumo-styles/style.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/checkbox/theme/lumo/vaadin-checkbox-styles.js b/packages/checkbox/theme/lumo/vaadin-checkbox-styles.js index cf97d5448e..a880650a61 100644 --- a/packages/checkbox/theme/lumo/vaadin-checkbox-styles.js +++ b/packages/checkbox/theme/lumo/vaadin-checkbox-styles.js @@ -79,7 +79,7 @@ registerStyles( /* Indeterminate checkmark */ :host([indeterminate]) [part='checkbox']::after { - content: var(--vaadin-checkbox-checkmark-char-intermediate, ''); + content: var(--vaadin-checkbox-checkmark-char-indeterminate, ''); opacity: 1; top: 45%; height: 10%; diff --git a/packages/vaadin-lumo-styles/style.js b/packages/vaadin-lumo-styles/style.js index 0616f8d0f5..4d8ef00e7c 100644 --- a/packages/vaadin-lumo-styles/style.js +++ b/packages/vaadin-lumo-styles/style.js @@ -56,7 +56,7 @@ const globals = css` --vaadin-checkbox-background-hover: var(--lumo-contrast-30pct); --vaadin-checkbox-border-radius: var(--lumo-border-radius-s); --vaadin-checkbox-checkmark-char: var(--lumo-icons-checkmark); - --vaadin-checkbox-checkmark-char-intermediate: ''; + --vaadin-checkbox-checkmark-char-indeterminate: ''; --vaadin-checkbox-checkmark-color: var(--lumo-primary-contrast-color); --vaadin-checkbox-checkmark-size: calc(var(--vaadin-checkbox-size) + 2px); --vaadin-checkbox-label-color: var(--lumo-body-text-color);