From cddb3401fac4e9152b5945e8f9c99d35dc6cb705 Mon Sep 17 00:00:00 2001 From: zhengqi zhang <770166635@qq.com> Date: Tue, 9 Jul 2024 21:31:35 +0800 Subject: [PATCH] Support dark mode --- .../AdditionalInfo/AdditionalInfo.module.css | 2 -- .../Content/AdditionalInfo/AdditionalInfo.tsx | 4 ++-- .../Content/Category/Category.module.css | 3 --- .../Tooling/Content/Category/Category.tsx | 7 +++++- .../Tooling/Content/Content.module.css | 2 +- src/components/Tooling/Content/Content.tsx | 4 ++-- .../Tooling/Content/List/List.module.css | 5 ++-- src/components/Tooling/Content/List/List.tsx | 24 ++++++++++++------- .../Tooling/Content/Search/SearchInput.tsx | 3 --- src/content/config.ts | 4 +++- .../developers/tooling-deployed-on-scroll.mdx | 1 + src/content/tools/en/aave.mdx | 2 +- src/content/tools/en/eas.mdx | 23 +++++++++++------- .../tools/en/fake-data/alchemy-pay.mdx | 2 +- src/content/tools/en/fake-data/bware-labs.mdx | 2 +- src/content/tools/en/fake-data/chainlink.mdx | 2 +- src/content/tools/en/fake-data/chainstack.mdx | 2 +- src/content/tools/en/fake-data/dune.mdx | 2 +- .../tools/en/fake-data/espresso-systems.mdx | 2 +- src/content/tools/en/fake-data/etherspot.mdx | 2 +- src/content/tools/en/fake-data/openocean.mdx | 2 +- src/content/tools/en/fake-data/quick-node.mdx | 2 +- .../tools/en/fake-data/search-on-dora.mdx | 2 +- src/content/tools/en/safe.mdx | 2 +- src/content/tools/en/uniswap.mdx | 2 +- src/layouts/MainLayout.astro | 6 ++++- 26 files changed, 66 insertions(+), 48 deletions(-) diff --git a/src/components/Tooling/Content/AdditionalInfo/AdditionalInfo.module.css b/src/components/Tooling/Content/AdditionalInfo/AdditionalInfo.module.css index a34b1e976..b2dd66711 100644 --- a/src/components/Tooling/Content/AdditionalInfo/AdditionalInfo.module.css +++ b/src/components/Tooling/Content/AdditionalInfo/AdditionalInfo.module.css @@ -17,7 +17,6 @@ display: none; } .infoBox { - background: #fff; padding: 18px 20px; width: 100%; } @@ -27,7 +26,6 @@ } .title { - color: #101010; font-size: 18px; font-style: normal; font-weight: 600; diff --git a/src/components/Tooling/Content/AdditionalInfo/AdditionalInfo.tsx b/src/components/Tooling/Content/AdditionalInfo/AdditionalInfo.tsx index 05329fe3d..40d515d7c 100644 --- a/src/components/Tooling/Content/AdditionalInfo/AdditionalInfo.tsx +++ b/src/components/Tooling/Content/AdditionalInfo/AdditionalInfo.tsx @@ -37,8 +37,8 @@ const AdditionalInfo = ({ data, selectedTool, onClose }) => { {status === Status.HAS_ADDITIONAL_INFO && ( -