From 9f4b44c0d7f330ab0959c45f3a282901103b1833 Mon Sep 17 00:00:00 2001 From: Karolina Kosiorowska Date: Tue, 10 Dec 2024 12:07:34 +0100 Subject: [PATCH] Update naming for themes in the dApp --- ...TVLProgress.ts => acreTVLProgressTheme.ts} | 0 dapp/src/theme/{Alert.ts => alertTheme.ts} | 0 dapp/src/theme/{Button.ts => buttonTheme.ts} | 0 dapp/src/theme/{Card.ts => cardTheme.ts} | 0 .../{CloseButton.ts => closeButtonTheme.ts} | 0 .../theme/{Countdown.ts => countdownTheme.ts} | 0 ...encyBalance.ts => currencyBalanceTheme.ts} | 0 dapp/src/theme/{Drawer.ts => drawerTheme.ts} | 0 dapp/src/theme/{Footer.ts => footerTheme.ts} | 0 .../theme/{FormError.ts => formErrorTheme.ts} | 0 .../theme/{FormLabel.ts => formLabelTheme.ts} | 0 dapp/src/theme/{Form.ts => formTheme.ts} | 0 .../src/theme/{Heading.ts => headingTheme.ts} | 0 dapp/src/theme/index.ts | 44 +++++++++---------- dapp/src/theme/{Input.ts => inputTheme.ts} | 0 dapp/src/theme/{Link.ts => linkTheme.ts} | 0 dapp/src/theme/{Modal.ts => modalTheme.ts} | 0 .../theme/{Progress.ts => progressTheme.ts} | 0 .../theme/{Skeleton.ts => skeletonTheme.ts} | 0 .../src/theme/{Spinner.ts => spinnerTheme.ts} | 0 dapp/src/theme/{Tag.ts => tagTheme.ts} | 0 ...anceInput.ts => tokenBalanceInputTheme.ts} | 0 .../src/theme/{Tooltip.ts => tooltipTheme.ts} | 0 23 files changed, 22 insertions(+), 22 deletions(-) rename dapp/src/theme/{AcreTVLProgress.ts => acreTVLProgressTheme.ts} (100%) rename dapp/src/theme/{Alert.ts => alertTheme.ts} (100%) rename dapp/src/theme/{Button.ts => buttonTheme.ts} (100%) rename dapp/src/theme/{Card.ts => cardTheme.ts} (100%) rename dapp/src/theme/{CloseButton.ts => closeButtonTheme.ts} (100%) rename dapp/src/theme/{Countdown.ts => countdownTheme.ts} (100%) rename dapp/src/theme/{CurrencyBalance.ts => currencyBalanceTheme.ts} (100%) rename dapp/src/theme/{Drawer.ts => drawerTheme.ts} (100%) rename dapp/src/theme/{Footer.ts => footerTheme.ts} (100%) rename dapp/src/theme/{FormError.ts => formErrorTheme.ts} (100%) rename dapp/src/theme/{FormLabel.ts => formLabelTheme.ts} (100%) rename dapp/src/theme/{Form.ts => formTheme.ts} (100%) rename dapp/src/theme/{Heading.ts => headingTheme.ts} (100%) rename dapp/src/theme/{Input.ts => inputTheme.ts} (100%) rename dapp/src/theme/{Link.ts => linkTheme.ts} (100%) rename dapp/src/theme/{Modal.ts => modalTheme.ts} (100%) rename dapp/src/theme/{Progress.ts => progressTheme.ts} (100%) rename dapp/src/theme/{Skeleton.ts => skeletonTheme.ts} (100%) rename dapp/src/theme/{Spinner.ts => spinnerTheme.ts} (100%) rename dapp/src/theme/{Tag.ts => tagTheme.ts} (100%) rename dapp/src/theme/{TokenBalanceInput.ts => tokenBalanceInputTheme.ts} (100%) rename dapp/src/theme/{Tooltip.ts => tooltipTheme.ts} (100%) diff --git a/dapp/src/theme/AcreTVLProgress.ts b/dapp/src/theme/acreTVLProgressTheme.ts similarity index 100% rename from dapp/src/theme/AcreTVLProgress.ts rename to dapp/src/theme/acreTVLProgressTheme.ts diff --git a/dapp/src/theme/Alert.ts b/dapp/src/theme/alertTheme.ts similarity index 100% rename from dapp/src/theme/Alert.ts rename to dapp/src/theme/alertTheme.ts diff --git a/dapp/src/theme/Button.ts b/dapp/src/theme/buttonTheme.ts similarity index 100% rename from dapp/src/theme/Button.ts rename to dapp/src/theme/buttonTheme.ts diff --git a/dapp/src/theme/Card.ts b/dapp/src/theme/cardTheme.ts similarity index 100% rename from dapp/src/theme/Card.ts rename to dapp/src/theme/cardTheme.ts diff --git a/dapp/src/theme/CloseButton.ts b/dapp/src/theme/closeButtonTheme.ts similarity index 100% rename from dapp/src/theme/CloseButton.ts rename to dapp/src/theme/closeButtonTheme.ts diff --git a/dapp/src/theme/Countdown.ts b/dapp/src/theme/countdownTheme.ts similarity index 100% rename from dapp/src/theme/Countdown.ts rename to dapp/src/theme/countdownTheme.ts diff --git a/dapp/src/theme/CurrencyBalance.ts b/dapp/src/theme/currencyBalanceTheme.ts similarity index 100% rename from dapp/src/theme/CurrencyBalance.ts rename to dapp/src/theme/currencyBalanceTheme.ts diff --git a/dapp/src/theme/Drawer.ts b/dapp/src/theme/drawerTheme.ts similarity index 100% rename from dapp/src/theme/Drawer.ts rename to dapp/src/theme/drawerTheme.ts diff --git a/dapp/src/theme/Footer.ts b/dapp/src/theme/footerTheme.ts similarity index 100% rename from dapp/src/theme/Footer.ts rename to dapp/src/theme/footerTheme.ts diff --git a/dapp/src/theme/FormError.ts b/dapp/src/theme/formErrorTheme.ts similarity index 100% rename from dapp/src/theme/FormError.ts rename to dapp/src/theme/formErrorTheme.ts diff --git a/dapp/src/theme/FormLabel.ts b/dapp/src/theme/formLabelTheme.ts similarity index 100% rename from dapp/src/theme/FormLabel.ts rename to dapp/src/theme/formLabelTheme.ts diff --git a/dapp/src/theme/Form.ts b/dapp/src/theme/formTheme.ts similarity index 100% rename from dapp/src/theme/Form.ts rename to dapp/src/theme/formTheme.ts diff --git a/dapp/src/theme/Heading.ts b/dapp/src/theme/headingTheme.ts similarity index 100% rename from dapp/src/theme/Heading.ts rename to dapp/src/theme/headingTheme.ts diff --git a/dapp/src/theme/index.ts b/dapp/src/theme/index.ts index 4c306df41..1f9a0e74e 100644 --- a/dapp/src/theme/index.ts +++ b/dapp/src/theme/index.ts @@ -1,5 +1,4 @@ import { extendTheme } from "@chakra-ui/react" -import { buttonTheme } from "./Button" import { colors, fonts, @@ -8,27 +7,28 @@ import { styles, zIndices, } from "./utils" -import { drawerTheme } from "./Drawer" -import { modalTheme } from "./Modal" -import { cardTheme } from "./Card" -import { tooltipTheme } from "./Tooltip" -import { headingTheme } from "./Heading" -import { currencyBalanceTheme } from "./CurrencyBalance" -import { tokenBalanceInputTheme } from "./TokenBalanceInput" -import { inputTheme } from "./Input" -import { alertTheme } from "./Alert" -import { formTheme } from "./Form" -import { formLabelTheme } from "./FormLabel" -import { formErrorTheme } from "./FormError" -import { tagTheme } from "./Tag" -import { spinnerTheme } from "./Spinner" -import { linkTheme } from "./Link" -import { skeletonTheme } from "./Skeleton" -import { closeButtonTheme } from "./CloseButton" -import { progressTheme } from "./Progress" -import { countdownTheme } from "./Countdown" -import { footerTheme } from "./Footer" -import { acreTVLProgressTheme } from "./AcreTVLProgress" +import { acreTVLProgressTheme } from "./acreTVLProgressTheme" +import { alertTheme } from "./alertTheme" +import { buttonTheme } from "./buttonTheme" +import { cardTheme } from "./cardTheme" +import { closeButtonTheme } from "./closeButtonTheme" +import { countdownTheme } from "./countdownTheme" +import { currencyBalanceTheme } from "./currencyBalanceTheme" +import { drawerTheme } from "./drawerTheme" +import { footerTheme } from "./footerTheme" +import { formErrorTheme } from "./formErrorTheme" +import { formLabelTheme } from "./formLabelTheme" +import { formTheme } from "./formTheme" +import { headingTheme } from "./headingTheme" +import { inputTheme } from "./inputTheme" +import { linkTheme } from "./linkTheme" +import { modalTheme } from "./modalTheme" +import { progressTheme } from "./progressTheme" +import { skeletonTheme } from "./skeletonTheme" +import { spinnerTheme } from "./spinnerTheme" +import { tagTheme } from "./tagTheme" +import { tokenBalanceInputTheme } from "./tokenBalanceInputTheme" +import { tooltipTheme } from "./tooltipTheme" const defaultTheme = { // TODO: Remove when dark mode is ready diff --git a/dapp/src/theme/Input.ts b/dapp/src/theme/inputTheme.ts similarity index 100% rename from dapp/src/theme/Input.ts rename to dapp/src/theme/inputTheme.ts diff --git a/dapp/src/theme/Link.ts b/dapp/src/theme/linkTheme.ts similarity index 100% rename from dapp/src/theme/Link.ts rename to dapp/src/theme/linkTheme.ts diff --git a/dapp/src/theme/Modal.ts b/dapp/src/theme/modalTheme.ts similarity index 100% rename from dapp/src/theme/Modal.ts rename to dapp/src/theme/modalTheme.ts diff --git a/dapp/src/theme/Progress.ts b/dapp/src/theme/progressTheme.ts similarity index 100% rename from dapp/src/theme/Progress.ts rename to dapp/src/theme/progressTheme.ts diff --git a/dapp/src/theme/Skeleton.ts b/dapp/src/theme/skeletonTheme.ts similarity index 100% rename from dapp/src/theme/Skeleton.ts rename to dapp/src/theme/skeletonTheme.ts diff --git a/dapp/src/theme/Spinner.ts b/dapp/src/theme/spinnerTheme.ts similarity index 100% rename from dapp/src/theme/Spinner.ts rename to dapp/src/theme/spinnerTheme.ts diff --git a/dapp/src/theme/Tag.ts b/dapp/src/theme/tagTheme.ts similarity index 100% rename from dapp/src/theme/Tag.ts rename to dapp/src/theme/tagTheme.ts diff --git a/dapp/src/theme/TokenBalanceInput.ts b/dapp/src/theme/tokenBalanceInputTheme.ts similarity index 100% rename from dapp/src/theme/TokenBalanceInput.ts rename to dapp/src/theme/tokenBalanceInputTheme.ts diff --git a/dapp/src/theme/Tooltip.ts b/dapp/src/theme/tooltipTheme.ts similarity index 100% rename from dapp/src/theme/Tooltip.ts rename to dapp/src/theme/tooltipTheme.ts