-
Notifications
You must be signed in to change notification settings - Fork 1
/
defaults.go
24 lines (19 loc) · 2.02 KB
/
defaults.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package avatar
const defaultBody = `
<g>
<path fill="{skin}" d="M99.6,116.1c-1.1-8.1-7.5-12.9-14.2-17-6.2-3.8-11.3-7.6-12.3-11.4-.1-.7-.1-5,.2-7.1,1.1-.9,2.2-2,3.5-3.4,1.4-1.6,2.7-3.7,3.9-6,1.2,.2,3.7-1.2,5.2-3.9,1.9-3.5,1.4-8.3,.4-9.4-.5-.5-1.4-.1-2.2,.3,.3-3.5,.4-7.2,.1-11.3-1-14.3-11.3-18.2-20.2-18.2s-19,3.9-20.2,18.2c-.3,4.1-.3,7.8,.1,11.3-.8-.5-1.7-.8-2.2-.3-1,1-1.6,5.9,.4,9.4,1.5,2.6,4,4.1,5.2,3.9,1.1,2.3,2.3,4.4,3.9,6,1.2,1.3,2.3,2.4,3.5,3.4,.2,1.9,.3,6.3,.3,6.3-.4,4.1-5.8,8-12.4,12.1s-13,8.9-14.2,17c-1.1,8.1-1.4,12-1.4,12H101c0,.1-.2-3.8-1.4-11.9Z" />
<path fill="{skin_shadow}" d="M64,67.5s-1.4-.1-2.3-.6c0,0,.4,1.8,2.3,1.9,1.9-.2,2.3-1.9,2.3-1.9-.9,.5-2.3,.6-2.3,.6Z" />
<path fill="{skin_shadow}" opacity="0.2" d="M43.9,58.2c-.8-.5-1.7-.8-2.2-.3-1,1-1.6,5.9,.4,9.4,1.5,2.6,4,4.1,5.2,3.9-1.69-4.35-2.93-8.68-3.4-13Z" />
<path fill="{skin_shadow}" opacity="0.2" d="M84.1,58.2c-.16,4.14-1.55,8.52-3.4,13,1.2,.2,3.7-1.2,5.2-3.9,1.9-3.5,1.4-8.3,.4-9.4-.5-.5-1.4-.1-2.2,.3Z" />
<path fill="{skin_shadow}" opacity="0.2" d="M73.05,86.64c-.03-1.59,.02-4.45,.25-6.05-3.7,3.2-6.9,4.1-9.5,4.1s-5.44-.89-9.09-4.01c0,0,0,0,0,0,.1,1.02,.18,2.68,.23,4.02,9.07,5.28,18.12,2.44,18.11,1.93Z" />
</g>`
const defaultSticker = `<path fill="{text}" d="M62.39,89.12l-16.89,8.88c-2.54,1.33-5.51-.82-5.02-3.65l3.23-18.8c.19-1.12-.18-2.27-1-3.06l-13.66-13.32c-2.05-2-.92-5.49,1.92-5.9l18.88-2.74c1.13-.16,2.1-.87,2.61-1.89l8.44-17.11c1.27-2.57,4.94-2.57,6.21,0l8.44,17.11c.5,1.02,1.48,1.73,2.61,1.89l18.88,2.74c2.84,.41,3.97,3.9,1.92,5.9l-13.66,13.32c-.82,.79-1.19,1.94-1,3.06l3.23,18.8c.48,2.83-2.48,4.98-5.02,3.65l-16.89-8.88c-1.01-.53-2.21-.53-3.22,0Z"/>`
var defaultHairColor = hairColorType{Color{Hex, "#3a3b40"}, Color{Hex, "#202123"}, Color{Hex, "#4c4d51"}}
var defaultSkinColor = skinColorType{Color{Hex, "#ffd2b5"}, Color{Hex, "#604d42"}}
var defaultPalette = paletteType{
shape: Color{Hex, "#c9c9c9"},
text: Color{Hex, "#03071e"},
dress: Color{Hex, "#575756"},
dressShadow: Color{Hex, "#03071e"},
decorator: Color{Hex, "#ae2012"},
}