refactor: ♻️ move clothing data into App.vue template

This commit is contained in:
Marcus Mietz 2020-08-26 19:12:59 +02:00
parent ce817e59f1
commit e0f67441bd
2 changed files with 5 additions and 107 deletions

View file

@ -28,46 +28,7 @@ export default {
special: "ridged",
size: 20, // cm
girth: 5 // cm
},
clothingStyles: [
{
name: "Warm Weather",
clothes: [
"Loose Tank Top",
"Short shorts (knee-long) with dangling bands",
"Sweater/Hoodie tied around waist",
"Sneakers (Air Jordan style)"
]
},
{
name: "Cold Weather",
clothes: [
"Coat",
"Checkered scarf with short cords",
"Hoodie",
"Loose Jeans",
"Boots"
]
},
{
name: "Workout",
clothes: [
"Sleeveless Hoodie (hood goes on) OR Tank Top",
"Fingerless Gloves",
"Apple Watch (fitness tracking)",
"Short Shorts",
"(barefoot)"
]
},
{
name: "Lazy Boy Style",
clothes: [
"(topless)",
"tracksuit pants (optional)",
"Undies (jockstrap/boxer briefs)"
]
}
]
}
};
},
@ -103,10 +64,10 @@ export default {
const colors = {
headers: ["Body Part", "Color (hex)", "Color"],
data: [
["Primary Scale Color", this.colors.scalesPrimary],
["Secondary Scale Color", this.colors.scalesSecondary],
["Primary Hair Color", this.colors.hairPrimary],
["Secondary Hair Color", this.colors.hairSecondary],
["Scale Color", this.colors.scalesPrimary],
["Chestplate Color", this.colors.scalesSecondary],
["Hair Color", this.colors.hairPrimary],
["Hair Streaks", this.colors.hairSecondary],
["Eyes", this.colors.eyes],
["Facial Spikes", this.colors.eyebrows],
["Horns/Claws/Nipples", this.colors.horns],