Skip to content

Commit

Permalink
fix: use currentColor in Unsplash logo svg
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan authored Aug 17, 2022
1 parent fda952b commit 2345b02
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/components/Icon.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
import React from 'react'
import styled from 'styled-components'

const Svg = styled.svg`
transform: scale(0.8);
`

export default function UnsplashIcon() {
return (
<svg role="img" viewBox="0 0 24 24" width="1em" height="1em">
<Svg role="img" viewBox="0 0 24 24" width="1em" height="1em" fill="currentColor">
<title />
<path d="M7.5 6.75V0h9v6.75h-9zm9 3.75H24V24H0V10.5h7.5v6.75h9V10.5z" />
</svg>
</Svg>
)
}

0 comments on commit 2345b02

Please sign in to comment.