This commit is contained in:
trading_peter 2023-09-02 00:16:48 +02:00
parent 59c098ef43
commit 32453e7a80
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@tp/tp-radio", "name": "@tp/tp-radio",
"version": "1.0.0", "version": "1.1.0",
"description": "", "description": "",
"main": "tp-radio.js", "main": "tp-radio.js",
"scripts": { "scripts": {

View File

@ -27,7 +27,7 @@ class TpRadio extends Inert(ControlState(FormElement(LitElement))) {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
border: solid 1px var(--tp-radio-color, #000); border: solid 1px var(--tp-radio-color, #000);
background: #fff; background: var(--tp-radio-bg, #fff);
border-radius: 100%; border-radius: 100%;
width: var(--tp-radio-width, 18px); width: var(--tp-radio-width, 18px);
height: var(--tp-radio-height, 18px); height: var(--tp-radio-height, 18px);
@ -35,7 +35,7 @@ class TpRadio extends Inert(ControlState(FormElement(LitElement))) {
.dot { .dot {
border-radius: 100%; border-radius: 100%;
background: var(--tp-radio-color, #000); background: var(--tp-radio-dot-color, var(--tp-radio-color, #000));
width: calc(var(--tp-radio-width, 18px) - 4px); width: calc(var(--tp-radio-width, 18px) - 4px);
height: calc(var(--tp-radio-height, 18px) - 4px); height: calc(var(--tp-radio-height, 18px) - 4px);
} }