This commit is contained in:
MuslemRahimi 2024-12-27 00:08:58 +01:00
parent c3b156fdb5
commit 30dbe00f1c
6 changed files with 26 additions and 14 deletions

8
package-lock.json generated
View File

@ -37,7 +37,7 @@
"compression": "^1.7.4", "compression": "^1.7.4",
"d3-hierarchy": "^3.1.2", "d3-hierarchy": "^3.1.2",
"d3-sankey": "^0.12.3", "d3-sankey": "^0.12.3",
"daisyui": "^4.12.22", "daisyui": "^4.12.23",
"date-fns": "^3.6.0", "date-fns": "^3.6.0",
"date-fns-tz": "^3.1.3", "date-fns-tz": "^3.1.3",
"date-picker-svelte": "^2.12.0", "date-picker-svelte": "^2.12.0",
@ -4982,9 +4982,9 @@
} }
}, },
"node_modules/daisyui": { "node_modules/daisyui": {
"version": "4.12.22", "version": "4.12.23",
"resolved": "https://registry.npmjs.org/daisyui/-/daisyui-4.12.22.tgz", "resolved": "https://registry.npmjs.org/daisyui/-/daisyui-4.12.23.tgz",
"integrity": "sha512-HDLWbmTnXxhE1MrMgSWjVgdRt+bVYHvfNbW3GTsyIokRSqTHonUTrxV3RhpPDjGIWaHt+ELtDCTYCtUFgL2/Nw==", "integrity": "sha512-EM38duvxutJ5PD65lO/AFMpcw+9qEy6XAZrTpzp7WyaPeO/l+F/Qiq0ECHHmFNcFXh5aVoALY4MGrrxtCiaQCQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {

View File

@ -35,7 +35,7 @@
"compression": "^1.7.4", "compression": "^1.7.4",
"d3-hierarchy": "^3.1.2", "d3-hierarchy": "^3.1.2",
"d3-sankey": "^0.12.3", "d3-sankey": "^0.12.3",
"daisyui": "^4.12.22", "daisyui": "^4.12.23",
"date-fns": "^3.6.0", "date-fns": "^3.6.0",
"date-fns-tz": "^3.1.3", "date-fns-tz": "^3.1.3",
"date-picker-svelte": "^2.12.0", "date-picker-svelte": "^2.12.0",

View File

@ -657,7 +657,7 @@
class="td text-sm sm:text-[1rem] {displayedData[index]?.put_call === class="td text-sm sm:text-[1rem] {displayedData[index]?.put_call ===
'Calls' 'Calls'
? 'text-[#00FC50]' ? 'text-[#00FC50]'
: 'text-[#FF2F1F]'} text-start" : 'text-[#c44536]'} text-start"
> >
{displayedData[index]?.put_call} {displayedData[index]?.put_call}
</div> </div>
@ -701,8 +701,9 @@
<div <div
style="justify-content: center;" style="justify-content: center;"
class="td text-sm sm:text-[1rem] text-start {displayedData[index] class="td text-sm sm:text-[1rem] uppercase text-start {displayedData[
?.option_activity_type === 'Sweep' index
]?.option_activity_type === 'Sweep'
? 'text-[#C6A755]' ? 'text-[#C6A755]'
: 'text-[#976DB7]'}" : 'text-[#976DB7]'}"
> >
@ -711,12 +712,21 @@
<div <div
style="justify-content: center;" style="justify-content: center;"
class="td text-sm sm:text-[1rem] text-start text-[#C6A755]" class="td text-sm sm:text-[1rem] uppercase text-start {[
'At Ask',
'Above Ask',
]?.includes(displayedData[index]?.execution_estimate)
? 'text-[#C8A32D]'
: ['At Bid', 'Below Bid']?.includes(
displayedData[index]?.execution_estimate,
)
? 'text-[#8F82FE]'
: 'text-[#A98184]'}"
> >
{displayedData[index]?.execution_estimate?.replace( {displayedData[index]?.execution_estimate
"At Midpoint", ?.replace("At", "")
"Midpoint", ?.replace("Above", "")
)} ?.replace("Midpoint", "Mid")}
</div> </div>
<div <div

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

View File

@ -0,0 +1,2 @@
[ZoneTransfer]
ZoneId=3

View File

@ -658,7 +658,7 @@ export function abbreviateNumberWithColor(number, addDollarSign = false, color =
if (color) { if (color) {
if (suffix === "K") { if (suffix === "K") {
suffix = '<span class="font-semibold text-blue-600">K</span>'; suffix = '<span class="font-semibold text-[#8F82FE]">K</span>';
} else if (suffix === "M") { } else if (suffix === "M") {
suffix = '<span class="font-semibold text-[#C8A32D]">M</span>'; suffix = '<span class="font-semibold text-[#C8A32D]">M</span>';
} else if (suffix === "B") { } else if (suffix === "B") {