refactor: improve IconHome icon (#7215)

* refactor: optimize IconHome icon

* Increase icon size

* Fix lint
This commit is contained in:
Alexey Pyltsyn 2022-04-20 16:34:13 +03:00 committed by GitHub
parent 44ebe73e50
commit 1ba5bf66b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 10 deletions

View file

@ -12,6 +12,6 @@
.icon {
vertical-align: middle;
height: 1rem;
width: 1rem;
height: 1.1rem;
width: 1.1rem;
}

View file

@ -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"