From 94dd5b95163161f55cbeff9a4522ae34950b3a0a Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Sun, 30 Mar 2025 13:41:38 +0200 Subject: [PATCH] ui fixes --- src/lib/components/AnalystEstimate.svelte | 4 +- .../DarkPool/HistoricalVolume.svelte | 4 +- src/lib/components/DarkPool/PriceLevel.svelte | 4 +- .../components/DarkPool/RealtimeTrade.svelte | 2 +- src/lib/components/FailToDeliver.svelte | 4 +- src/lib/components/FinancialChart.svelte | 4 +- src/lib/components/IPOChart.svelte | 2 +- src/lib/components/Input.svelte | 4 +- .../components/Options/ContractLookup.svelte | 2 +- .../components/Options/GreekByExpiry.svelte | 4 +- .../components/Options/GreekByStrike.svelte | 4 +- .../components/Options/GreekExposure.svelte | 4 +- .../Options/OpenInterestByExpiry.svelte | 4 +- .../Options/OpenInterestByStrike.svelte | 4 +- src/lib/components/Options/TickerFlow.svelte | 2 +- .../components/Options/UnusualActivity.svelte | 6 +- src/lib/components/Options/Volatility.svelte | 4 +- src/lib/components/RatingsChart.svelte | 4 +- src/lib/components/ShareHolders.svelte | 2 +- src/lib/components/Sidecard.svelte | 2 +- src/lib/components/Table/TableHeader.svelte | 2 +- src/routes/etf/[tickerID]/+page.svelte | 2 +- src/routes/index/[tickerID]/+page.svelte | 2 +- src/routes/ipos/statistics/+page.svelte | 2 +- src/routes/market-flow/+page.svelte | 2 +- .../market-flow/sector-flow/+page.svelte | 4 +- src/routes/potus-tracker/+page.svelte | 2 +- src/routes/pricing/+page.svelte | 11 +- src/routes/profile/+page.svelte | 26 ++- src/routes/stocks/[tickerID]/+page.svelte | 4 +- .../stocks/[tickerID]/forecast/+page.svelte | 215 +++++++++++------- .../[tickerID]/forecast/ai/+page.svelte | 63 ++--- .../stocks/[tickerID]/history/+page.svelte | 13 +- .../[tickerID]/metrics/[slug]/+page.svelte | 2 +- .../[tickerID]/profile/employees/+page.svelte | 32 +-- .../statistics/market-cap/+page.svelte | 4 +- .../statistics/revenue/+page.svelte | 2 +- src/routes/update-password/+page.svelte | 37 +-- 38 files changed, 269 insertions(+), 226 deletions(-) diff --git a/src/lib/components/AnalystEstimate.svelte b/src/lib/components/AnalystEstimate.svelte index 98d76bb9..4c08cbbc 100644 --- a/src/lib/components/AnalystEstimate.svelte +++ b/src/lib/components/AnalystEstimate.svelte @@ -381,7 +381,7 @@ }, yAxis: { gridLineWidth: 1, - gridLineColor: $mode === "light" ? "#d1d5dc" : "#111827", + gridLineColor: $mode === "light" ? "#e5e7eb" : "#111827", labels: { style: { color: $mode === "light" ? "black" : "white" }, }, @@ -525,7 +525,7 @@ }, yAxis: { gridLineWidth: 1, - gridLineColor: $mode === "light" ? "#d1d5dc" : "#111827", + gridLineColor: $mode === "light" ? "#e5e7eb" : "#111827", labels: { style: { color: $mode === "light" ? "black" : "white" }, }, diff --git a/src/lib/components/DarkPool/HistoricalVolume.svelte b/src/lib/components/DarkPool/HistoricalVolume.svelte index 1d1558a6..7711bcb6 100644 --- a/src/lib/components/DarkPool/HistoricalVolume.svelte +++ b/src/lib/components/DarkPool/HistoricalVolume.svelte @@ -105,7 +105,7 @@ }, labels: { style: { - color: $mode === "light" ? "black" : "white", + color: $mode === "light" ? "#545454" : "white", }, distance: 20, // Increases space between label and axis formatter: function () { @@ -121,7 +121,7 @@ yAxis: [ { gridLineWidth: 1, - gridLineColor: $mode === "light" ? "#d1d5dc" : "#111827", + gridLineColor: $mode === "light" ? "#e5e7eb" : "#111827", labels: { enabled: false, }, diff --git a/src/lib/components/DarkPool/PriceLevel.svelte b/src/lib/components/DarkPool/PriceLevel.svelte index 961505a2..d5aabd85 100644 --- a/src/lib/components/DarkPool/PriceLevel.svelte +++ b/src/lib/components/DarkPool/PriceLevel.svelte @@ -53,7 +53,7 @@ }, labels: { style: { - color: $mode === "light" ? "black" : "white", + color: $mode === "light" ? "#545454" : "white", }, distance: 10, // Increases space between label and axis formatter: function () { @@ -67,7 +67,7 @@ }, opposite: true, gridLineWidth: 1, - gridLineColor: $mode === "light" ? "#d1d5dc" : "#111827", + gridLineColor: $mode === "light" ? "#e5e7eb" : "#111827", tickPositioner: function () { const positions = []; const info = this.getExtremes(); diff --git a/src/lib/components/DarkPool/RealtimeTrade.svelte b/src/lib/components/DarkPool/RealtimeTrade.svelte index 57945b9f..5424db86 100644 --- a/src/lib/components/DarkPool/RealtimeTrade.svelte +++ b/src/lib/components/DarkPool/RealtimeTrade.svelte @@ -110,7 +110,7 @@ title: { text: null }, labels: { style: { color: $mode === "light" ? "black" : "white" } }, gridLineWidth: 1, - gridLineColor: $mode === "light" ? "#d1d5dc" : "#111827", + gridLineColor: $mode === "light" ? "#e5e7eb" : "#111827", opposite: true, }, { diff --git a/src/lib/components/FailToDeliver.svelte b/src/lib/components/FailToDeliver.svelte index 70a2e111..d2bf251b 100644 --- a/src/lib/components/FailToDeliver.svelte +++ b/src/lib/components/FailToDeliver.svelte @@ -162,7 +162,7 @@ yAxis: [ { gridLineWidth: 1, - gridLineColor: $mode === "light" ? "#d1d5dc" : "#111827", + gridLineColor: $mode === "light" ? "#e5e7eb" : "#111827", labels: { enabled: false, }, @@ -173,7 +173,7 @@ }, { gridLineWidth: 1, - gridLineColor: $mode === "light" ? "#d1d5dc" : "#111827", + gridLineColor: $mode === "light" ? "#e5e7eb" : "#111827", labels: { enabled: false, }, diff --git a/src/lib/components/FinancialChart.svelte b/src/lib/components/FinancialChart.svelte index 181ee454..03c1d8f8 100644 --- a/src/lib/components/FinancialChart.svelte +++ b/src/lib/components/FinancialChart.svelte @@ -60,7 +60,7 @@ }, labels: { style: { - color: $mode === "light" ? "black" : "white", + color: $mode === "light" ? "#545454" : "white", }, rotation: -45, distance: 10, // Increases space between label and axis @@ -68,7 +68,7 @@ }, yAxis: { gridLineWidth: 1, - gridLineColor: $mode === "light" ? "#d1d5dc" : "#111827", + gridLineColor: $mode === "light" ? "#e5e7eb" : "#111827", labels: { style: { color: $mode === "light" ? "black" : "white" }, formatter: function () { diff --git a/src/lib/components/IPOChart.svelte b/src/lib/components/IPOChart.svelte index 384804e5..7b7dcb18 100644 --- a/src/lib/components/IPOChart.svelte +++ b/src/lib/components/IPOChart.svelte @@ -125,7 +125,7 @@ }, yAxis: { gridLineWidth: 1, - gridLineColor: $mode === "light" ? "#d1d5dc" : "#111827", + gridLineColor: $mode === "light" ? "#e5e7eb" : "#111827", labels: { style: { color: $mode === "light" ? "black" : "white" }, }, diff --git a/src/lib/components/Input.svelte b/src/lib/components/Input.svelte index fc5565db..3d31100a 100644 --- a/src/lib/components/Input.svelte +++ b/src/lib/components/Input.svelte @@ -61,8 +61,8 @@ {#if errors} -