From f1834dda44e7b86d2561e319b86ae88ac41dfd48 Mon Sep 17 00:00:00 2001 From: Stas Leshchina <66851165+Sorizen@users.noreply.github.com> Date: Mon, 19 Aug 2024 17:48:50 +0300 Subject: [PATCH] fix/prod build (#85) * fixes for prod build * fixes after review --- src/common/AppButton.vue | 2 +- src/common/AppTabs.vue | 2 +- src/common/InfoBar.vue | 2 +- src/common/InfoCard.vue | 4 +- src/common/InfoDashboard/index.vue | 17 ++- src/composables/use-pool.ts | 117 +++++++++++------- src/forms/DepositForm.vue | 4 +- src/pages/HomePage/views/PublicPoolView.vue | 2 +- .../Mor20Ecosystem/ProtocolCreationPage.vue | 2 + src/styles/_app-colors.scss | 2 + src/styles/variables.scss | 2 + src/types/erc1967-proxy.types.ts | 1 + 12 files changed, 102 insertions(+), 55 deletions(-) diff --git a/src/common/AppButton.vue b/src/common/AppButton.vue index f23d7c9..80b9e87 100644 --- a/src/common/AppButton.vue +++ b/src/common/AppButton.vue @@ -390,7 +390,7 @@ $button-transition: var(--transition-duration-fast) --app-button-flat-text-focused: var(--primary-main); --app-button-flat-text-active: var(--primary-main); - --app-button-flat-border: #{toRem(1)} solid #494949; + --app-button-flat-border: #{toRem(1)} solid var(--border-tertiary-main); --app-button-flat-border-hover: #{toRem(1)} solid var(--primary-main); --app-button-flat-border-focused: var(--app-button-flat-border-hover); --app-button-flat-border-active: var(--app-button-flat-border-hover); diff --git a/src/common/AppTabs.vue b/src/common/AppTabs.vue index 346f97e..9b79636 100644 --- a/src/common/AppTabs.vue +++ b/src/common/AppTabs.vue @@ -54,7 +54,7 @@ const updateTab = (tab: Tab) => { display: grid; place-items: center; padding: toRem(16) toRem(24); - border: toRem(1) solid #494949; + border: toRem(1) solid var(--border-tertiary-main); color: $color; cursor: pointer; transition: var(--transition-duration-fast) var(--transition-timing-default); diff --git a/src/common/InfoBar.vue b/src/common/InfoBar.vue index 8fc00da..4b7336b 100644 --- a/src/common/InfoBar.vue +++ b/src/common/InfoBar.vue @@ -114,7 +114,7 @@ withDefaults( display: grid; grid-gap: toRem(8); padding-top: toRem(16); - border-top: toRem(2) solid #494949; + border-top: toRem(2) solid var(--border-tertiary-main); @include respond-to(medium) { margin-top: toRem(16); diff --git a/src/common/InfoCard.vue b/src/common/InfoCard.vue index 0c1230f..a24c061 100644 --- a/src/common/InfoCard.vue +++ b/src/common/InfoCard.vue @@ -163,7 +163,7 @@ withDefaults( .info-card__footer { display: flex; align-items: center; - border-top: toRem(1) solid #494949; + border-top: toRem(1) solid var(--border-tertiary-main); } .info-card .info-card__show-more-btn { @@ -173,7 +173,7 @@ withDefaults( .info-card__edit-btn-wrp { flex-basis: toRem(111); - border-left: toRem(1) solid #494949; + border-left: toRem(1) solid var(--border-tertiary-main); } .info-card .info-card__edit-btn { diff --git a/src/common/InfoDashboard/index.vue b/src/common/InfoDashboard/index.vue index 63bcd59..267afe2 100644 --- a/src/common/InfoDashboard/index.vue +++ b/src/common/InfoDashboard/index.vue @@ -53,7 +53,11 @@ /> -