From 3c73e524d626f8008a739dfa61b02f5c09b4a6ce Mon Sep 17 00:00:00 2001 From: Weronika Olejniczak Date: Tue, 12 Nov 2024 12:03:37 +0100 Subject: [PATCH 1/2] fix(docusaurus-theme): fill Codesandbox icon with currentColor --- .../codesandbox_icon/codesandbox_icon.tsx | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/packages/docusaurus-theme/src/components/codesandbox_icon/codesandbox_icon.tsx b/packages/docusaurus-theme/src/components/codesandbox_icon/codesandbox_icon.tsx index 9e3737b2c19..f9987873d86 100644 --- a/packages/docusaurus-theme/src/components/codesandbox_icon/codesandbox_icon.tsx +++ b/packages/docusaurus-theme/src/components/codesandbox_icon/codesandbox_icon.tsx @@ -1,7 +1,16 @@ -export const CodeSandboxIcon = () => ( - - +import { HTMLAttributes } from 'react'; + +type Props = HTMLAttributes; + +export const CodeSandboxIcon = (props: Props) => ( + + ); From 18a416a21b311efd9ef6cfeda430007a4e94d034 Mon Sep 17 00:00:00 2001 From: Weronika Olejniczak Date: Tue, 12 Nov 2024 12:05:04 +0100 Subject: [PATCH 2/2] chore(website): fix typo in the README file --- packages/website/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/website/README.md b/packages/website/README.md index a474577b61b..67b75f33ffd 100644 --- a/packages/website/README.md +++ b/packages/website/README.md @@ -72,7 +72,7 @@ to have version-specific search experience without the need to run a search server. Because the search index is generated in build time, it means that -searching is not possible when running the development sever. +searching is not possible when running the development server. Please refer to the [Building the website](#building-the-website) section to learn how to build the documentation site locally and serve it to use local search.