Add a var for the icon color.

This commit is contained in:
trading_peter 2025-02-07 11:33:19 +01:00
parent 402d7cff2f
commit 038a1f4cf8
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@tp/tp-checkbox",
"version": "1.0.8",
"version": "1.0.9",
"description": "",
"main": "tp-checkbox.js",
"scripts": {

View File

@ -39,6 +39,7 @@ class TpCheckbox extends Inert(ControlState(FormElement(LitElement))) {
tp-icon {
--tp-icon-width: var(--tp-checkbox-width, 18px);
--tp-icon-height: var(--tp-checkbox-height, 18px);
--tp-icon-color: var(--tp-checkbox-icon-color, #000);
}
.wrap {