ui fixes
This commit is contained in:
parent
c3b156fdb5
commit
30dbe00f1c
8
package-lock.json
generated
8
package-lock.json
generated
@ -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": {
|
||||||
|
|||||||
@ -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",
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
BIN
src/lib/images/uw_x_stocknear.jpg
Normal file
BIN
src/lib/images/uw_x_stocknear.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 109 KiB |
2
src/lib/images/uw_x_stocknear.jpg:Zone.Identifier
Normal file
2
src/lib/images/uw_x_stocknear.jpg:Zone.Identifier
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
[ZoneTransfer]
|
||||||
|
ZoneId=3
|
||||||
@ -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") {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user