Add a var for the icon color.
This commit is contained in:
parent
402d7cff2f
commit
038a1f4cf8
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@tp/tp-checkbox",
|
"name": "@tp/tp-checkbox",
|
||||||
"version": "1.0.8",
|
"version": "1.0.9",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "tp-checkbox.js",
|
"main": "tp-checkbox.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -39,6 +39,7 @@ class TpCheckbox extends Inert(ControlState(FormElement(LitElement))) {
|
|||||||
tp-icon {
|
tp-icon {
|
||||||
--tp-icon-width: var(--tp-checkbox-width, 18px);
|
--tp-icon-width: var(--tp-checkbox-width, 18px);
|
||||||
--tp-icon-height: var(--tp-checkbox-height, 18px);
|
--tp-icon-height: var(--tp-checkbox-height, 18px);
|
||||||
|
--tp-icon-color: var(--tp-checkbox-icon-color, #000);
|
||||||
}
|
}
|
||||||
|
|
||||||
.wrap {
|
.wrap {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user