I have the below CSS in my Lightning web component.
.customBox {
height: 30px;
min-width: 30px;
}
I updated that to the below design tokens.
.customBox {
height: var(--lwc-heightInput, 1.875rem);
min-width: var(--lwc-heightInput, 1.875rem);
}
Now I tried to save the component but it wouldn't save and gives the below error.
No TOKEN named heightInput found
So what is the problem here? Is the token wrong or it does not work in LWC?