From 32453e7a80b1f7d2246a66cf63acfaefd0cec575 Mon Sep 17 00:00:00 2001 From: pk Date: Sat, 2 Sep 2023 00:16:48 +0200 Subject: [PATCH] Fixes. --- package.json | 2 +- tp-radio.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 3eea7aa..39e64b3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tp/tp-radio", - "version": "1.0.0", + "version": "1.1.0", "description": "", "main": "tp-radio.js", "scripts": { diff --git a/tp-radio.js b/tp-radio.js index e94a876..a8f9b55 100644 --- a/tp-radio.js +++ b/tp-radio.js @@ -27,7 +27,7 @@ class TpRadio extends Inert(ControlState(FormElement(LitElement))) { align-items: center; justify-content: center; border: solid 1px var(--tp-radio-color, #000); - background: #fff; + background: var(--tp-radio-bg, #fff); border-radius: 100%; width: var(--tp-radio-width, 18px); height: var(--tp-radio-height, 18px); @@ -35,7 +35,7 @@ class TpRadio extends Inert(ControlState(FormElement(LitElement))) { .dot { 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); height: calc(var(--tp-radio-height, 18px) - 4px); }