From c01afd7e450f9440239aa636d3e6e1baa3d59302 Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Sun, 6 Apr 2025 12:51:39 +0200 Subject: [PATCH] bugfixing ipo --- src/lib/components/IPOChart.svelte | 6 ++--- src/routes/ipos/+layout.svelte | 4 +-- src/routes/ipos/+page.svelte | 7 ++--- src/routes/ipos/news/+page.svelte | 2 +- src/routes/ipos/statistics/+page.svelte | 6 ++--- src/routes/options-calculator/+page.svelte | 31 +++++++++++++++++----- 6 files changed, 35 insertions(+), 21 deletions(-) diff --git a/src/lib/components/IPOChart.svelte b/src/lib/components/IPOChart.svelte index 7b7dcb18..fc91d626 100644 --- a/src/lib/components/IPOChart.svelte +++ b/src/lib/components/IPOChart.svelte @@ -120,14 +120,14 @@ categories: months, gridLineWidth: 0, labels: { - style: { color: $mode === "light" ? "black" : "white" }, + style: { color: $mode === "light" ? "#545454" : "white" }, }, }, yAxis: { gridLineWidth: 1, gridLineColor: $mode === "light" ? "#e5e7eb" : "#111827", labels: { - style: { color: $mode === "light" ? "black" : "white" }, + style: { color: $mode === "light" ? "#545454" : "white" }, }, title: { text: null }, opposite: true, @@ -159,7 +159,7 @@ color: $mode === "light" ? "black" : "white", style: { fontSize: "13px", - fontWeight: "bold", + fontWeight: "", }, formatter: function () { return this.y; diff --git a/src/routes/ipos/+layout.svelte b/src/routes/ipos/+layout.svelte index 5212faaf..d26546df 100644 --- a/src/routes/ipos/+layout.svelte +++ b/src/routes/ipos/+layout.svelte @@ -40,7 +40,7 @@ path: "/ipos/statistics", }, { - title: "IPO News", + title: "News", path: "/ipos/news", }, ]; @@ -100,7 +100,7 @@ {#if activeIdx === 0}