Branchwell

Inkspring / website / src / SplashMark.tsx

1// Inkspring brand splash mark — three ink-drop shapes from the master logo,
2// recolorable via the `color` prop (defaults to currentColor so it inherits
3// from the surrounding text).
4export function SplashMark({
5 size = 16,
6 color = 'currentColor',
7 title,
8}: {
9 size?: number;
10 color?: string;
11 title?: string;
12}) {
13 return (
14 <svg
15 className="inkspring-logo"
16 width={size}
17 height={size}
18 viewBox="1102 1124 1808 1789"
19 xmlns="http://www.w3.org/2000/svg"
20 role={title ? 'img' : 'presentation'}
21 aria-label={title}
22 aria-hidden={title ? undefined : true}
23 style={{ display: 'inline-block', flexShrink: 0 }}
24 >
25 <g transform="translate(0, 4000) scale(1, -1)" fill={color}>
26 <path d="M2115 2866 c-168 -43 -296 -194 -357 -421 -31 -116 -31 -367 0 -512 51 -237 164 -500 302 -706 35 -53 65 -95 67 -94 1 1 -8 40 -19 87 -29 118 -31 377 -4 500 37 169 83 267 227 481 54 80 113 177 131 215 29 62 32 79 33 164 0 79 -4 102 -22 136 -63 119 -223 185 -358 150z m26 -126 c12 -7 19 -21 19 -40 0 -23 -14 -41 -68 -90 -85 -76 -134 -139 -183 -238 -22 -42 -39 -72 -40 -67 -8 103 22 223 79 311 73 110 138 153 193 124z" />
27 <path d="M1264 2326 c-85 -37 -148 -131 -159 -237 -22 -200 141 -508 380 -719 148 -130 370 -243 540 -274 l39 -8 -80 84 c-187 195 -284 397 -339 708 -44 250 -63 305 -129 378 -68 75 -172 103 -252 68z m46 -156 c8 -16 6 -38 -11 -97 -17 -62 -20 -96 -17 -174 2 -56 0 -95 -5 -92 -16 10 -54 106 -67 166 -22 106 11 217 65 217 14 0 29 -8 35 -20z" />
28 <path d="M2604 2215 c-213 -48 -377 -320 -408 -675 l-5 -65 24 47 c62 118 181 194 389 247 65 17 137 39 160 49 181 81 196 290 26 374 -66 32 -117 39 -186 23z m90 -65 c30 -11 35 -45 9 -58 -10 -5 -43 -12 -73 -15 -30 -4 -82 -20 -116 -37 -34 -16 -64 -30 -68 -30 -4 0 6 16 21 35 34 43 94 84 148 101 50 16 49 16 79 4z" />
29 <path d="M2445 1516 c-78 -35 -111 -117 -76 -189 52 -107 216 -116 275 -16 20 34 23 107 7 138 -34 63 -140 98 -206 67z" />
30 </g>
31 </svg>
32 );
33}