From 40c1f3d0443407f15fc78c6faa6c6699ba2e28d3 Mon Sep 17 00:00:00 2001 From: kalfada Date: Tue, 5 Nov 2024 17:09:45 +0200 Subject: [PATCH] fix: update bringweb3 package --- .../chrome/content-scripts/bringInject.js | 12 ++++++++++++ packages/yoroi-extension/package-lock.json | 8 ++++---- packages/yoroi-extension/package.json | 4 ++-- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/packages/yoroi-extension/chrome/content-scripts/bringInject.js b/packages/yoroi-extension/chrome/content-scripts/bringInject.js index b5e3fdedd5..324db921fb 100644 --- a/packages/yoroi-extension/chrome/content-scripts/bringInject.js +++ b/packages/yoroi-extension/chrome/content-scripts/bringInject.js @@ -13,6 +13,7 @@ const darkTheme = { // Popup popupBg: "#15171F", popupShadow: "0px 6px 20px 0px rgba(0, 0, 0, 0.10), 0px 1px 8px 0px rgba(0, 0, 0, 0.06)", + xBtnFC: "#E1E6F5", // Primary button primaryBtnBg: "#4B6DDE", primaryBtnFS: "16px", @@ -32,7 +33,11 @@ const darkTheme = { // Markdown markdownBg: "#15171F", markdownFS: "14px", + markdownFW: "400", markdownFC: "#E1E6F5", + markdownTitleFS: "14px", + markdownTitleFW: "500", + markdownTitleFC: "#E1E6F5", markdownBorderW: "1px", markdownRadius: "8px", markdownBorderC: "#262A38", @@ -59,6 +64,7 @@ const darkTheme = { detailsAmountFC: "#7892E8", detailsAmountFW: "500", // Overlay + overlayWaitingBg: "#15171F", overlayBg: "#1F232ECC", overlayFS: "16px", overlayFW: "400", @@ -107,6 +113,7 @@ const lightTheme = { // Popup popupBg: "#FFFFFF", popupShadow: "0px 6px 20px 0px rgba(0, 0, 0, 0.10), 0px 1px 8px 0px rgba(0, 0, 0, 0.06)", + xBtnFC: "#242838", // Primary button primaryBtnBg: "#4B6DDE", primaryBtnFC: "#FFFFFF", @@ -126,7 +133,11 @@ const lightTheme = { // Markdown markdownBg: "#FFFFFF", markdownFS: "14px", + markdownFW: "400", markdownFC: "#242838", + markdownTitleFS: "14px", + markdownTitleFW: "500", + markdownTitleFC: "#242838", markdownBorderW: "1px", markdownRadius: "8px", markdownBorderC: "#DCE0E9", @@ -153,6 +164,7 @@ const lightTheme = { detailsAmountFC: "#4B6DDE", detailsAmountFW: "500", // Overlay + overlayWaitingBg: "#FFFFFF", overlayBg: "#0000007A", overlayFS: "16px", overlayFW: "400", diff --git a/packages/yoroi-extension/package-lock.json b/packages/yoroi-extension/package-lock.json index 4beea61af6..fb2e352e39 100644 --- a/packages/yoroi-extension/package-lock.json +++ b/packages/yoroi-extension/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@amplitude/analytics-browser": "^2.1.3", "@babel/preset-typescript": "^7.24.7", - "@bringweb3/chrome-extension-kit": "^1.1.9", + "@bringweb3/chrome-extension-kit": "^1.1.12", "@cardano-foundation/ledgerjs-hw-app-cardano": "7.1.3", "@emotion/react": "^11.4.1", "@emotion/styled": "^11.3.0", @@ -2138,9 +2138,9 @@ "dev": true }, "node_modules/@bringweb3/chrome-extension-kit": { - "version": "1.1.9", - "resolved": "https://registry.npmjs.org/@bringweb3/chrome-extension-kit/-/chrome-extension-kit-1.1.9.tgz", - "integrity": "sha512-zYMOmbm80zBZZAd6LZmgavrZyIgEmFkGoZdXU5PCx1krSscBDGPaa9jkXBjgGO0r6kY6L8Uxr2taOtQdmYP+YQ==" + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/@bringweb3/chrome-extension-kit/-/chrome-extension-kit-1.1.12.tgz", + "integrity": "sha512-secOPnTvymcbYzpKIXNftbChrejURnjIFPo3crh6QKK+61y2Fz4eGlNnfzwasaX5ZXscXztIUV4cSVZH8xbFnQ==" }, "node_modules/@cardano-foundation/ledgerjs-hw-app-cardano": { "version": "7.1.3", diff --git a/packages/yoroi-extension/package.json b/packages/yoroi-extension/package.json index 3708661a39..2848be5819 100644 --- a/packages/yoroi-extension/package.json +++ b/packages/yoroi-extension/package.json @@ -150,7 +150,7 @@ "dependencies": { "@amplitude/analytics-browser": "^2.1.3", "@babel/preset-typescript": "^7.24.7", - "@bringweb3/chrome-extension-kit": "^1.1.9", + "@bringweb3/chrome-extension-kit": "^1.1.12", "@cardano-foundation/ledgerjs-hw-app-cardano": "7.1.3", "@emotion/react": "^11.4.1", "@emotion/styled": "^11.3.0", @@ -171,12 +171,12 @@ "@svgr/webpack": "5.5.0", "@vespaiach/axios-fetch-adapter": "^0.3.1", "@yoroi/exchange": "2.0.1", + "@yoroi/explorers": "^1.0.2", "@yoroi/portfolio": "1.0.3", "@yoroi/resolver": "2.0.2", "@yoroi/staking": "^1.5.1", "@yoroi/swap": "1.5.2", "@yoroi/types": "1.5.8", - "@yoroi/explorers": "^1.0.2", "assert": "2.1.0", "async-await-queue": "2.1.4", "axios": "0.21.1",