diff --git a/src/background.ts b/src/background.ts index 8473e2b..3e09c5b 100644 --- a/src/background.ts +++ b/src/background.ts @@ -9,7 +9,7 @@ import { retrieveLanguage } from "./retrievers/languageRetriever"; import { retrieveVisibility } from "./retrievers/visibilityRetriever"; import { State } from "./types/State"; import { BlockIndicator } from "./decorators/BlockIndicator"; -import { BTSIndicator } from "./decorators/BTSIndicator"; +import { PriceCheckerIndicator } from "./decorators/PriceCheckerIndicator"; const state: State = { visible: true, @@ -26,7 +26,7 @@ const sponsoredProductListHandler = new SponsoredProductListHandler(state); const sponsoredFBTHandler = new SponsoredFBTHandler(state); const blockIndicator = new BlockIndicator(state); -const btsIndicator = new BTSIndicator(state); +const btsIndicator = new PriceCheckerIndicator(state); (function () { async function initializer() { diff --git a/src/css/style.css b/src/css/style.css index 1507b47..cfe8c3a 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -53,7 +53,7 @@ text-black { color: red !important; } -.bts-outline { +.price-checker-outline { border: 1px solid var(--color-border-neutral-default) !important; border-radius: 16px !important; padding: 20px 24px !important; diff --git a/src/decorators/BTSIndicator.ts b/src/decorators/PriceCheckerIndicator.ts similarity index 98% rename from src/decorators/BTSIndicator.ts rename to src/decorators/PriceCheckerIndicator.ts index 8a1b715..7f354d7 100644 --- a/src/decorators/BTSIndicator.ts +++ b/src/decorators/PriceCheckerIndicator.ts @@ -6,7 +6,7 @@ interface LowestPriceData { unformatted: number; } -export class BTSIndicator { +export class PriceCheckerIndicator { private state: State; private btsPrice: number | undefined = undefined; private lowestPriceData: LowestPriceData | undefined = undefined; @@ -126,7 +126,7 @@ export class BTSIndicator { ? "info-label-positive" : "info-label-negative"; - priceIndication.classList.add("display-padding", "inline-flex-row", "bts-outline", status); + priceIndication.classList.add("display-padding", "inline-flex-row", "price-checker-outline", status); colFlex.classList.add("inline-flex-col"); const icon = document.createElement("div");