chore: 🚚 use iconify identifiers for icon names

This allows to distinguish icons from different packs and allows VS Code extensions to display the icon in the code editor
This commit is contained in:
Sebin Nyshkim 2025-06-23 18:56:51 +02:00
parent 166df1cff1
commit 2ac721058f
5 changed files with 76 additions and 76 deletions

View file

@ -221,54 +221,54 @@ const getTraits = (type) => {
switch (type) {
case 'general':
return [
{ icon: 'ruler', type: 'Tail Length', text: getTailLength() },
{ icon: 'shoe-prints', type: 'Walk', text: 'plantigrade' },
{ icon: 'info', type: 'Claws', text: 'sharp, hands & feet' },
{ icon: 'info', type: 'Nipples', text: 'yes' }
{ icon: 'fa6-solid:ruler', type: 'Tail Length', text: getTailLength() },
{ icon: 'fa6-solid:shoe-prints', type: 'Walk', text: 'plantigrade' },
{ icon: 'fa6-solid:info', type: 'Claws', text: 'sharp, hands & feet' },
{ icon: 'fa6-solid:info', type: 'Nipples', text: 'yes' }
];
case 'wings':
return [
{ icon: 'ruler', type: 'Wingspan', text: getWingspan() },
{ icon: 'feather', type: 'Arms', text: 2 },
{ icon: 'feather', type: 'Fingers', text: 3 },
{ icon: 'star', type: 'Special Features', text: 'talon on top' }
{ icon: 'fa6-solid:ruler', type: 'Wingspan', text: getWingspan() },
{ icon: 'fa6-solid:feather', type: 'Arms', text: 2 },
{ icon: 'fa6-solid:feather', type: 'Fingers', text: 3 },
{ icon: 'fa6-solid:star', type: 'Special Features', text: 'talon on top' }
];
case 'head':
return [
{ icon: 'eye', type: 'Pupils', text: 'round' },
{ icon: 'eye', type: 'Eyebrows', text: 'yellow spikes' },
{ icon: 'info', type: 'Cheeks', text: 'yellow spikes' },
{ icon: 'dragon', type: 'Horns', text: 'curved' },
{ icon: 'info', type: 'Hair', text: 'mid-long, mullet' },
{ icon: 'ear-listen', type: 'Ears', text: 'long, pointy, movable' },
{ icon: 'tooth', type: 'Teeth', text: 'sharp fangs' },
{ icon: 'face-grin-tongue', type: 'Tongue', text: 'pointy tip' }
{ icon: 'fa6-solid:eye', type: 'Pupils', text: 'round' },
{ icon: 'fa6-solid:eye', type: 'Eyebrows', text: 'yellow spikes' },
{ icon: 'fa6-solid:info', type: 'Cheeks', text: 'yellow spikes' },
{ icon: 'fa6-solid:dragon', type: 'Horns', text: 'curved' },
{ icon: 'fa6-solid:info', type: 'Hair', text: 'mid-long, mullet' },
{ icon: 'fa6-solid:ear-listen', type: 'Ears', text: 'long, pointy, movable' },
{ icon: 'fa6-solid:tooth', type: 'Teeth', text: 'sharp fangs' },
{ icon: 'fa6-solid:face-grin-tongue', type: 'Tongue', text: 'pointy tip' }
];
case 'muscle':
return [
{ icon: 'dumbbell', type: 'Build', text: 'muscular' },
{ icon: 'dumbbell', type: 'Pecs', text: 'big' },
{ icon: 'dumbbell', type: 'abs', text: 'defined' }
{ icon: 'fa6-solid:dumbbell', type: 'Build', text: 'muscular' },
{ icon: 'fa6-solid:dumbbell', type: 'Pecs', text: 'big' },
{ icon: 'fa6-solid:dumbbell', type: 'abs', text: 'defined' }
];
case 'naughty':
return [
{ icon: 'ruler', type: 'Length', text: `${penis.size} cm (${toInch(penis.size)})` },
{ icon: 'ruler', type: 'Girth', text: `${penis.girth} cm (${toInch(penis.girth)})` },
{ icon: 'shapes', type: 'Shape', text: penis.shape },
{ icon: 'maximize', type: 'Type', text: penis.type },
{ icon: 'star', type: 'Special Features', text: penis.special }
{ icon: 'fa6-solid:ruler', type: 'Length', text: `${penis.size} cm (${toInch(penis.size)})` },
{ icon: 'fa6-solid:ruler', type: 'Girth', text: `${penis.girth} cm (${toInch(penis.girth)})` },
{ icon: 'fa6-solid:shapes', type: 'Shape', text: penis.shape },
{ icon: 'fa6-solid:maximize', type: 'Type', text: penis.type },
{ icon: 'fa6-solid:star', type: 'Special Features', text: penis.special }
];
default:
return [
{ icon: 'cake-candles', type: 'Date of Birth', text: getDateOfBirth() },
{ icon: 'mars', type: 'Sex/Gender', text: `${gender} (${pronouns})` },
{ icon: 'ruler', type: 'Height', text: getHeight() },
{ icon: 'weight-hanging', type: 'Weight', text: getWeight() }
{ icon: 'fa6-solid:cake-candles', type: 'Date of Birth', text: getDateOfBirth() },
{ icon: 'fa6-solid:mars', type: 'Sex/Gender', text: `${gender} (${pronouns})` },
{ icon: 'fa6-solid:ruler', type: 'Height', text: getHeight() },
{ icon: 'fa6-solid:weight-hanging', type: 'Weight', text: getWeight() }
];
}
};