14 lines
562 B
JavaScript
14 lines
562 B
JavaScript
/**
|
|
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
*
|
|
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
* File: https://www.figma.com/file/YHb4ShTgmO8Lqhkz1plLfL
|
|
*/
|
|
export function onPostCreate({ prng, options, components, colors }) {
|
|
var _a;
|
|
// Ensure that the mouth remains visible. #132
|
|
if (((_a = components.facialHair) === null || _a === void 0 ? void 0 : _a.name) === 'beard' && colors.facialHair === colors.mouth) {
|
|
colors.mouth = '#ffffff33';
|
|
}
|
|
}
|