fix(trading): add bg color to depth chart labels to clarify numbers (#6096)

This commit is contained in:
Matthew Russell 2024-03-26 13:19:49 +00:00 committed by GitHub
parent cd4b0e508e
commit 6d4d0d548e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 5 deletions

View File

@ -111,6 +111,8 @@ html [data-theme='light'] {
--pennant-color-volume-buy: theme(colors.market.green.DEFAULT);
--pennant-color-volume-sell: theme(colors.market.red.DEFAULT);
--pennant-background-label-color: theme(colors.vega.clight.600);
}
html [data-theme='dark'] {
@ -132,6 +134,7 @@ html [data-theme='dark'] {
--pennant-color-volume-buy: theme(colors.market.green.600);
--pennant-color-volume-sell: theme(colors.market.red.DEFAULT);
--pennant-background-label-color: theme(colors.vega.cdark.600);
}
/**

View File

@ -77,7 +77,7 @@
"jsondiffpatch": "^0.4.1",
"lodash": "^4.17.21",
"next": "13.3.0",
"pennant": "^1.16.2",
"pennant": "^1.17.0",
"react": "18.2.0",
"react-copy-to-clipboard": "5.1.0",
"react-dom": "18.2.0",

View File

@ -18374,10 +18374,10 @@ pend@~1.2.0:
resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50"
integrity sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==
pennant@^1.16.2:
version "1.16.2"
resolved "https://registry.yarnpkg.com/pennant/-/pennant-1.16.2.tgz#5c6a63a2beda07ff86f7e33400d8570c171ac479"
integrity sha512-/n1GzSWZFlgYCfSZubmZA2eiIoOvZPJJP9RKc/u2pOIPlp5Bn2Lq5uKyAT9bvjh/YDQtMhBKf92Q6DxJEDnJNw==
pennant@^1.17.0:
version "1.17.0"
resolved "https://registry.yarnpkg.com/pennant/-/pennant-1.17.0.tgz#dee8ea466e086ad8a296b08943b3cb85087e618d"
integrity sha512-sXU3Uko0lvXfs/gcJOH2o0jUuu0kIHXKZJS0HbsT/Ify7Cr8QoyJG4syHbQovlhEIAwQr4jYHJXTCcoFsnRsdQ==
dependencies:
"@babel/runtime" "^7.13.10"
"@d3fc/d3fc-technical-indicator" "^8.0.1"