Skip to content

Commit

Permalink
fix: use correct indeterminate checkmark property name (#6713)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan authored Oct 31, 2023
1 parent c0560b6 commit b807013
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/checkbox/theme/lumo/vaadin-checkbox-styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -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%;
Expand Down
2 changes: 1 addition & 1 deletion packages/vaadin-lumo-styles/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b807013

Please sign in to comment.