solfaces 2.3.2 → 2.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/agent/index.cjs +13 -13
- package/dist/agent/index.js +3 -3
- package/dist/agent/mcp-server.cjs +24 -14
- package/dist/{chunk-PCSRDAWQ.cjs → chunk-375DBADY.cjs} +20 -14
- package/dist/chunk-375DBADY.cjs.map +1 -0
- package/dist/{chunk-MYUSB4LA.js → chunk-C44YBK6V.js} +20 -14
- package/dist/chunk-C44YBK6V.js.map +1 -0
- package/dist/{chunk-2KW35VRI.js → chunk-EFN2CSAI.js} +3 -3
- package/dist/{chunk-2KW35VRI.js.map → chunk-EFN2CSAI.js.map} +1 -1
- package/dist/{chunk-W2U6ITMR.cjs → chunk-FYZJEEBJ.cjs} +8 -4
- package/dist/chunk-FYZJEEBJ.cjs.map +1 -0
- package/dist/{chunk-T7HEUW2O.cjs → chunk-G4VYNQII.cjs} +6 -6
- package/dist/{chunk-T7HEUW2O.cjs.map → chunk-G4VYNQII.cjs.map} +1 -1
- package/dist/{chunk-O2IIBSQH.js → chunk-N4AP5NEL.js} +4 -4
- package/dist/{chunk-O2IIBSQH.js.map → chunk-N4AP5NEL.js.map} +1 -1
- package/dist/{chunk-BI3GHRKQ.cjs → chunk-QVCF45AC.cjs} +12 -12
- package/dist/{chunk-BI3GHRKQ.cjs.map → chunk-QVCF45AC.cjs.map} +1 -1
- package/dist/{chunk-N5GDLCCL.js → chunk-VWYO6SVB.js} +8 -4
- package/dist/chunk-VWYO6SVB.js.map +1 -0
- package/dist/core/index.cjs +30 -30
- package/dist/core/index.js +2 -2
- package/dist/index.cjs +37 -37
- package/dist/index.js +4 -4
- package/dist/react/index.cjs +23 -19
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.js +9 -5
- package/dist/react/index.js.map +1 -1
- package/dist/solfaces.cdn.global.js +2 -2
- package/dist/solfaces.cdn.global.js.map +1 -1
- package/dist/themes/index.cjs +15 -15
- package/dist/themes/index.js +1 -1
- package/dist/vanilla/index.cjs +6 -6
- package/dist/vanilla/index.js +2 -2
- package/package.json +1 -1
- package/python/solfaces.py +8 -5
- package/dist/chunk-MYUSB4LA.js.map +0 -1
- package/dist/chunk-N5GDLCCL.js.map +0 -1
- package/dist/chunk-PCSRDAWQ.cjs.map +0 -1
- package/dist/chunk-W2U6ITMR.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,144 +1,144 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
3
|
+
var chunkG4VYNQII_cjs = require('./chunk-G4VYNQII.cjs');
|
|
4
|
+
var chunkQVCF45AC_cjs = require('./chunk-QVCF45AC.cjs');
|
|
5
|
+
var chunkFYZJEEBJ_cjs = require('./chunk-FYZJEEBJ.cjs');
|
|
6
|
+
var chunk375DBADY_cjs = require('./chunk-375DBADY.cjs');
|
|
7
7
|
var chunkYGD7EQEX_cjs = require('./chunk-YGD7EQEX.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "renderSolFacePNG", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkG4VYNQII_cjs.renderSolFacePNG; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "renderSolFacePNGBrowser", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkG4VYNQII_cjs.renderSolFacePNGBrowser; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "renderSolFacePNGDataURL", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkG4VYNQII_cjs.renderSolFacePNGDataURL; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "SOLFACE_TOOLS", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkQVCF45AC_cjs.SOLFACE_TOOLS; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "handleToolCall", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkQVCF45AC_cjs.handleToolCall; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "BG_COLORS", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkFYZJEEBJ_cjs.BG_COLORS; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "EYE_COLORS", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkFYZJEEBJ_cjs.EYE_COLORS; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "HAIR_COLORS", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkFYZJEEBJ_cjs.HAIR_COLORS; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "SKIN_COLORS", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkFYZJEEBJ_cjs.SKIN_COLORS; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "agentAppearancePrompt", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkFYZJEEBJ_cjs.agentAppearancePrompt; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "blend", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkFYZJEEBJ_cjs.blend; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "contrastRatio", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkFYZJEEBJ_cjs.contrastRatio; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "darken", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkFYZJEEBJ_cjs.darken; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "deriveSkinColors", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkFYZJEEBJ_cjs.deriveSkinColors; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "describeAppearance", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkFYZJEEBJ_cjs.describeAppearance; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "describeTraits", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkFYZJEEBJ_cjs.describeTraits; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "effectiveAccessory", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkFYZJEEBJ_cjs.effectiveAccessory; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "generateTraits", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkFYZJEEBJ_cjs.generateTraits; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "getTraitLabels", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkFYZJEEBJ_cjs.getTraitLabels; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "hexToRgb", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkFYZJEEBJ_cjs.hexToRgb; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "lighten", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkFYZJEEBJ_cjs.lighten; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "luminance", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkFYZJEEBJ_cjs.luminance; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "mergeTheme", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkFYZJEEBJ_cjs.mergeTheme; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "renderSolFaceBase64", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkFYZJEEBJ_cjs.renderSolFaceBase64; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "renderSolFaceDataURI", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkFYZJEEBJ_cjs.renderSolFaceDataURI; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "renderSolFaceSVG", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkFYZJEEBJ_cjs.renderSolFaceSVG; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "resolveTheme", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkFYZJEEBJ_cjs.resolveTheme; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "rgbToHex", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkFYZJEEBJ_cjs.rgbToHex; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "solFaceAltText", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkFYZJEEBJ_cjs.solFaceAltText; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "traitHash", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkFYZJEEBJ_cjs.traitHash; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "PRESET_THEMES", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunk375DBADY_cjs.PRESET_THEMES; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "createTheme", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunk375DBADY_cjs.createTheme; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "getPresetTheme", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunk375DBADY_cjs.getPresetTheme; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "ADJECTIVES", {
|
|
144
144
|
enumerable: true,
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { renderSolFacePNG, renderSolFacePNGBrowser, renderSolFacePNGDataURL } from './chunk-
|
|
2
|
-
export { SOLFACE_TOOLS, handleToolCall } from './chunk-
|
|
3
|
-
export { BG_COLORS, EYE_COLORS, HAIR_COLORS, SKIN_COLORS, agentAppearancePrompt, blend, contrastRatio, darken, deriveSkinColors, describeAppearance, describeTraits, effectiveAccessory, generateTraits, getTraitLabels, hexToRgb, lighten, luminance, mergeTheme, renderSolFaceBase64, renderSolFaceDataURI, renderSolFaceSVG, resolveTheme, rgbToHex, solFaceAltText, traitHash } from './chunk-
|
|
4
|
-
export { PRESET_THEMES, createTheme, getPresetTheme } from './chunk-
|
|
1
|
+
export { renderSolFacePNG, renderSolFacePNGBrowser, renderSolFacePNGDataURL } from './chunk-EFN2CSAI.js';
|
|
2
|
+
export { SOLFACE_TOOLS, handleToolCall } from './chunk-N4AP5NEL.js';
|
|
3
|
+
export { BG_COLORS, EYE_COLORS, HAIR_COLORS, SKIN_COLORS, agentAppearancePrompt, blend, contrastRatio, darken, deriveSkinColors, describeAppearance, describeTraits, effectiveAccessory, generateTraits, getTraitLabels, hexToRgb, lighten, luminance, mergeTheme, renderSolFaceBase64, renderSolFaceDataURI, renderSolFaceSVG, resolveTheme, rgbToHex, solFaceAltText, traitHash } from './chunk-VWYO6SVB.js';
|
|
4
|
+
export { PRESET_THEMES, createTheme, getPresetTheme } from './chunk-C44YBK6V.js';
|
|
5
5
|
export { ADJECTIVES, NOUNS, SOLNAMES_VERSION, deriveIdentity, deriveName, isValidSolName, parseSolName } from './chunk-UTT764K6.js';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
package/dist/react/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFYZJEEBJ_cjs = require('../chunk-FYZJEEBJ.cjs');
|
|
4
4
|
var chunkYGD7EQEX_cjs = require('../chunk-YGD7EQEX.cjs');
|
|
5
5
|
var react = require('react');
|
|
6
6
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -291,12 +291,16 @@ function Accessory({ ai, accessoryColor: _accessoryColor, glassesColor, earringC
|
|
|
291
291
|
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "19", y1: "31", x2: "14", y2: "29" }),
|
|
292
292
|
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "45", y1: "31", x2: "50", y2: "29" })
|
|
293
293
|
] });
|
|
294
|
-
case 9:
|
|
294
|
+
case 9: {
|
|
295
|
+
const bandBase = chunkFYZJEEBJ_cjs.lighten(skinColor, 0.3);
|
|
296
|
+
const bandPad = chunkFYZJEEBJ_cjs.lighten(skinColor, 0.4);
|
|
297
|
+
const bandDot = chunkFYZJEEBJ_cjs.darken(skinColor, 0.1);
|
|
295
298
|
return /* @__PURE__ */ jsxRuntime.jsxs("g", { children: [
|
|
296
|
-
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "38", y: "38", width: "9", height: "4.5", rx: "1.2", fill:
|
|
297
|
-
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "39.5", y: "38.5", width: "6", height: "3.5", rx: "0.8", fill:
|
|
298
|
-
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "42.5", cy: "40.25", r: "0.5", fill:
|
|
299
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "38", y: "38", width: "9", height: "4.5", rx: "1.2", fill: bandBase, transform: "rotate(-15 42 40)" }),
|
|
300
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "39.5", y: "38.5", width: "6", height: "3.5", rx: "0.8", fill: bandPad, transform: "rotate(-15 42 40)" }),
|
|
301
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "42.5", cy: "40.25", r: "0.5", fill: bandDot, transform: "rotate(-15 42 40)" })
|
|
299
302
|
] });
|
|
303
|
+
}
|
|
300
304
|
case 10:
|
|
301
305
|
return /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "23", y1: "24.8", x2: "23.8", y2: "29.2", stroke: skinColor, strokeWidth: "1.3", strokeLinecap: "butt" });
|
|
302
306
|
case 11:
|
|
@@ -437,21 +441,21 @@ function SolFace({
|
|
|
437
441
|
...rest
|
|
438
442
|
}) {
|
|
439
443
|
const traits = react.useMemo(
|
|
440
|
-
() =>
|
|
444
|
+
() => chunkFYZJEEBJ_cjs.generateTraits(walletAddress, traitOverrides),
|
|
441
445
|
[walletAddress, traitOverrides]
|
|
442
446
|
);
|
|
443
447
|
const detailOpt = detailProp ?? "auto";
|
|
444
448
|
const full = detailOpt === "full" || detailOpt === "auto" && size >= 48;
|
|
445
449
|
const flat = theme?.flat ?? false;
|
|
446
|
-
const skinColors = theme?.skinColors ??
|
|
447
|
-
const eyeColors = theme?.eyeColors ??
|
|
448
|
-
const hairColors = theme?.hairColors ??
|
|
449
|
-
const bgColors = theme?.bgColors ??
|
|
450
|
+
const skinColors = theme?.skinColors ?? chunkFYZJEEBJ_cjs.SKIN_COLORS;
|
|
451
|
+
const eyeColors = theme?.eyeColors ?? chunkFYZJEEBJ_cjs.EYE_COLORS;
|
|
452
|
+
const hairColors = theme?.hairColors ?? chunkFYZJEEBJ_cjs.HAIR_COLORS;
|
|
453
|
+
const bgColors = theme?.bgColors ?? chunkFYZJEEBJ_cjs.BG_COLORS;
|
|
450
454
|
const skin = colorOverrides?.skin ?? skinColors[traits.skinColor % skinColors.length];
|
|
451
455
|
const eyeCol = colorOverrides?.eyes ?? eyeColors[traits.eyeColor % eyeColors.length];
|
|
452
456
|
const hairCol = colorOverrides?.hair ?? hairColors[traits.hairColor % hairColors.length];
|
|
453
457
|
const bgCol = colorOverrides?.bg ?? bgColors[traits.bgColor % bgColors.length];
|
|
454
|
-
const derived = react.useMemo(() =>
|
|
458
|
+
const derived = react.useMemo(() => chunkFYZJEEBJ_cjs.deriveSkinColors(skin), [skin]);
|
|
455
459
|
const bgOpacity = theme?.bgOpacity ?? 1;
|
|
456
460
|
const bgRadius = theme?.bgRadius ?? 4;
|
|
457
461
|
const browColor = colorOverrides?.eyebrow ?? theme?.eyebrowColor ?? derived.browColor;
|
|
@@ -459,8 +463,8 @@ function SolFace({
|
|
|
459
463
|
const lipColor = colorOverrides?.mouth ?? theme?.mouthColor ?? derived.lipColor;
|
|
460
464
|
const eyeWhite = colorOverrides?.eyeWhite ?? theme?.eyeWhiteColor ?? derived.eyeWhiteAdapted;
|
|
461
465
|
const glassesColor = theme?.glassesColor ?? "#4a4a5a";
|
|
462
|
-
const earringColor = theme?.earringColor ??
|
|
463
|
-
const headbandColor = theme?.headbandColor ??
|
|
466
|
+
const earringColor = theme?.earringColor ?? chunkFYZJEEBJ_cjs.blend(skin, "#d4a840", 0.4);
|
|
467
|
+
const headbandColor = theme?.headbandColor ?? chunkFYZJEEBJ_cjs.blend(hairCol, "#c04040", 0.5);
|
|
464
468
|
const accColor = colorOverrides?.accessory ?? theme?.accessoryColor ?? derived.accessoryColor;
|
|
465
469
|
const earFillFinal = theme?.earColor ?? derived.earFill;
|
|
466
470
|
const lidFinal = theme?.lidColor ?? derived.lidColor;
|
|
@@ -471,7 +475,7 @@ function SolFace({
|
|
|
471
475
|
const cheekColor = theme?.cheekColor ?? derived.cheekColor;
|
|
472
476
|
const cheekOpacity = theme?.cheekOpacity ?? derived.cheekOpacity;
|
|
473
477
|
const hi = traits.hairStyle % 10;
|
|
474
|
-
const ai =
|
|
478
|
+
const ai = chunkFYZJEEBJ_cjs.effectiveAccessory(traits);
|
|
475
479
|
const blinkEnabled = !!enableBlink;
|
|
476
480
|
const blinkDuration = typeof enableBlink === "object" ? enableBlink.duration ?? 4 : 4;
|
|
477
481
|
const blinkDelay = typeof enableBlink === "object" ? enableBlink.delay ?? 0 : 0;
|
|
@@ -479,14 +483,14 @@ function SolFace({
|
|
|
479
483
|
const bgFill = flat ? bgCol : `url(#${id}bg)`;
|
|
480
484
|
const skinFill = flat ? skin : `url(#${id}sg)`;
|
|
481
485
|
if (theme?._pixel) {
|
|
482
|
-
const pixelSvg =
|
|
486
|
+
const pixelSvg = chunkFYZJEEBJ_cjs.renderSolFaceSVG(walletAddress, {
|
|
483
487
|
size,
|
|
484
488
|
theme: { ...theme, _pixel: false, _glass: false },
|
|
485
489
|
traitOverrides,
|
|
486
490
|
colorOverrides,
|
|
487
491
|
detail: detailProp
|
|
488
492
|
});
|
|
489
|
-
return /* @__PURE__ */ jsxRuntime.jsx(PixelWrapper, { svgString: pixelSvg, size, theme, alt:
|
|
493
|
+
return /* @__PURE__ */ jsxRuntime.jsx(PixelWrapper, { svgString: pixelSvg, size, theme, alt: chunkFYZJEEBJ_cjs.solFaceAltText(walletAddress) });
|
|
490
494
|
}
|
|
491
495
|
const svgElement = /* @__PURE__ */ jsxRuntime.jsxs(
|
|
492
496
|
"svg",
|
|
@@ -498,7 +502,7 @@ function SolFace({
|
|
|
498
502
|
className,
|
|
499
503
|
style: { display: "block", ...style },
|
|
500
504
|
role: "img",
|
|
501
|
-
"aria-label":
|
|
505
|
+
"aria-label": chunkFYZJEEBJ_cjs.solFaceAltText(walletAddress),
|
|
502
506
|
...rest,
|
|
503
507
|
children: [
|
|
504
508
|
!flat && /* @__PURE__ */ jsxRuntime.jsxs("defs", { children: [
|
|
@@ -508,8 +512,8 @@ function SolFace({
|
|
|
508
512
|
/* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "100%", stopColor: derived.skinLo })
|
|
509
513
|
] }),
|
|
510
514
|
/* @__PURE__ */ jsxRuntime.jsxs("linearGradient", { id: `${id}bg`, x1: "0", y1: "0", x2: "1", y2: "1", children: [
|
|
511
|
-
/* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "0%", stopColor:
|
|
512
|
-
/* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "100%", stopColor:
|
|
515
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "0%", stopColor: chunkFYZJEEBJ_cjs.lighten(bgCol, 0.12) }),
|
|
516
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "100%", stopColor: chunkFYZJEEBJ_cjs.darken(bgCol, 0.12) })
|
|
513
517
|
] }),
|
|
514
518
|
full && cheekEnabled && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
515
519
|
/* @__PURE__ */ jsxRuntime.jsxs("radialGradient", { id: `${id}glow`, cx: "0.5", cy: "0.28", r: "0.45", children: [
|