Add css var for the color of the icon
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user