From ab5f9a0dd8a33f42b2cd9ddcc3a13a22f26e03eb Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Wed, 20 Apr 2022 15:58:10 +0300 Subject: [PATCH 1/3] refactor: optimize IconHome icon --- .../docusaurus-theme-classic/src/theme/IconHome/index.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/docusaurus-theme-classic/src/theme/IconHome/index.tsx b/packages/docusaurus-theme-classic/src/theme/IconHome/index.tsx index 8afdbc31defc..cb208b8fc48f 100644 --- a/packages/docusaurus-theme-classic/src/theme/IconHome/index.tsx +++ b/packages/docusaurus-theme-classic/src/theme/IconHome/index.tsx @@ -8,15 +8,11 @@ import React from 'react'; import type {Props} from '@theme/IconHome'; -export default function IconDarkMode(props: Props): JSX.Element { +export default function IconHome(props: Props): JSX.Element { return ( - Date: Wed, 20 Apr 2022 16:03:00 +0300 Subject: [PATCH 2/3] Increase icon size --- .../src/theme/DocBreadcrumbs/styles.module.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/docusaurus-theme-classic/src/theme/DocBreadcrumbs/styles.module.css b/packages/docusaurus-theme-classic/src/theme/DocBreadcrumbs/styles.module.css index dcdcf466b47a..db381eaaa6e0 100644 --- a/packages/docusaurus-theme-classic/src/theme/DocBreadcrumbs/styles.module.css +++ b/packages/docusaurus-theme-classic/src/theme/DocBreadcrumbs/styles.module.css @@ -12,6 +12,6 @@ .icon { vertical-align: middle; - height: 1rem; - width: 1rem; + height: 1.1rem; + width: 1.1rem; } From ae472f57a9335f2e2043a6c4bda3be9c55462bc9 Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Wed, 20 Apr 2022 16:14:31 +0300 Subject: [PATCH 3/3] Fix lint --- .../docusaurus-theme-classic/src/theme/IconHome/index.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/docusaurus-theme-classic/src/theme/IconHome/index.tsx b/packages/docusaurus-theme-classic/src/theme/IconHome/index.tsx index cb208b8fc48f..0a2b75918351 100644 --- a/packages/docusaurus-theme-classic/src/theme/IconHome/index.tsx +++ b/packages/docusaurus-theme-classic/src/theme/IconHome/index.tsx @@ -10,9 +10,7 @@ import type {Props} from '@theme/IconHome'; export default function IconHome(props: Props): JSX.Element { return ( - +