| 1 |
import { colord, AnyColor } from 'colord'; |
| 2 |
import { Attributes } from '../../../types'; |
| 3 |
|
| 4 |
export const HeadlightsMuted = ({ |
| 5 |
textColor, |
| 6 |
bgColor, |
| 7 |
}: Partial<Attributes>) => ( |
| 8 |
<span |
| 9 |
style={{ |
| 10 |
display: 'block', |
| 11 |
padding: '16px 0 0 16px', |
| 12 |
marginBottom: '-1px', |
| 13 |
width: '100%', |
| 14 |
textAlign: 'left', |
| 15 |
backgroundColor: bgColor, |
| 16 |
}}> |
| 17 |
<svg |
| 18 |
xmlns="http://www.w3.org/2000/svg" |
| 19 |
width={54} |
| 20 |
height={14} |
| 21 |
viewBox="0 0 54 14"> |
| 22 |
<g fill="none" fillRule="evenodd" transform="translate(1 1)"> |
| 23 |
<circle |
| 24 |
cx="6" |
| 25 |
cy="6" |
| 26 |
r="6" |
| 27 |
fill={colord(textColor as AnyColor) |
| 28 |
.alpha(0.2) |
| 29 |
.toHex()} |
| 30 |
stroke={colord(textColor as AnyColor) |
| 31 |
.alpha(0.3) |
| 32 |
.toHex()} |
| 33 |
strokeWidth=".5"></circle> |
| 34 |
<circle |
| 35 |
cx="26" |
| 36 |
cy="6" |
| 37 |
r="6" |
| 38 |
fill={colord(textColor as AnyColor) |
| 39 |
.alpha(0.2) |
| 40 |
.toHex()} |
| 41 |
stroke={colord(textColor as AnyColor) |
| 42 |
.alpha(0.3) |
| 43 |
.toHex()} |
| 44 |
strokeWidth=".5"></circle> |
| 45 |
<circle |
| 46 |
cx="46" |
| 47 |
cy="6" |
| 48 |
r="6" |
| 49 |
fill={colord(textColor as AnyColor) |
| 50 |
.alpha(0.2) |
| 51 |
.toHex()} |
| 52 |
stroke={colord(textColor as AnyColor) |
| 53 |
.alpha(0.3) |
| 54 |
.toHex()} |
| 55 |
strokeWidth=".5"></circle> |
| 56 |
</g> |
| 57 |
</svg> |
| 58 |
</span> |
| 59 |
); |
| 60 |
|