2021-12-21 18:50:19 +01:00
|
|
|
import React from 'react'
|
2021-12-27 14:30:10 +01:00
|
|
|
import { path } from '../icons/freesewing.js'
|
|
|
|
import colors from 'tailwindcss/colors'
|
2021-12-21 18:50:19 +01:00
|
|
|
|
2021-12-26 16:43:35 +01:00
|
|
|
const strokes = {
|
2021-12-21 19:29:28 +01:00
|
|
|
light: colors.neutral[300],
|
|
|
|
dark: colors.neutral[800],
|
|
|
|
hax0r: colors.lime[700],
|
|
|
|
lgbtq: colors.neutral[500],
|
|
|
|
trans: colors.neutral[500],
|
2021-12-21 18:50:19 +01:00
|
|
|
}
|
|
|
|
let step = 0
|
|
|
|
|
2022-06-09 13:35:06 +02:00
|
|
|
const Logo = ({ className='w-20 h-20', theme='light', stroke=false }) => {
|
2021-12-21 18:50:19 +01:00
|
|
|
const svgProps = {
|
|
|
|
xmlns: 'http://www.w3.org/2000/svg',
|
2022-06-09 13:35:06 +02:00
|
|
|
viewBox: '1 0 25 25',
|
2021-12-21 18:50:19 +01:00
|
|
|
className: className
|
|
|
|
}
|
|
|
|
return (
|
|
|
|
<svg {...svgProps}>
|
2021-12-21 19:29:28 +01:00
|
|
|
<defs>
|
2021-12-27 17:33:31 +01:00
|
|
|
<path id="react-logo" d={path} />
|
2021-12-21 19:29:28 +01:00
|
|
|
</defs>
|
2021-12-27 17:33:31 +01:00
|
|
|
<use xlinkHref="#react-logo" fill="none" stroke={stroke || strokes[theme]} strokeWidth="0.5"/>
|
2022-06-09 13:35:06 +02:00
|
|
|
<use xlinkHref="#react-logo" fill="currentColor" stroke="none"/>
|
2021-12-21 18:50:19 +01:00
|
|
|
</svg>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
export default Logo
|