Add css var for the color of the icon

This commit is contained in:
2022-03-14 00:22:46 +01:00
parent 2dc72fc5e2
commit 49bfcedc72
2 changed files with 2 additions and 2 deletions

View File

@@ -65,7 +65,7 @@ class TpCheckbox extends Inert(ControlState(FormElement(LitElement))) {
}
static get checkedIcon() {
return svg`<path d="M9,20.42L2.79,14.21L5.62,11.38L9,14.77L18.88,4.88L21.71,7.71L9,20.42Z" />`;
return svg`<path fill="var(--tp-checkbox-icon-color)" d="M9,20.42L2.79,14.21L5.62,11.38L9,14.77L18.88,4.88L21.71,7.71L9,20.42Z" />`;
}
static get properties() {