mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-29 18:27:56 +02:00
refactor: improve IconHome icon (#7215)
* refactor: optimize IconHome icon * Increase icon size * Fix lint
This commit is contained in:
parent
44ebe73e50
commit
1ba5bf66b2
2 changed files with 4 additions and 10 deletions
|
@ -12,6 +12,6 @@
|
|||
|
||||
.icon {
|
||||
vertical-align: middle;
|
||||
height: 1rem;
|
||||
width: 1rem;
|
||||
height: 1.1rem;
|
||||
width: 1.1rem;
|
||||
}
|
||||
|
|
|
@ -8,15 +8,9 @@
|
|||
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 (
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
height="24"
|
||||
width="24"
|
||||
viewBox="0 0 24 24"
|
||||
{...props}>
|
||||
<path d="M0 0h24v24H0V0z" fill="none" />
|
||||
<svg viewBox="0 0 24 24" {...props}>
|
||||
<path
|
||||
d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z"
|
||||
fill="currentColor"
|
||||
|
|
Loading…
Add table
Reference in a new issue