Make the dough: In a large bowl, beat the softened butter and sugar until creamy and well combined.
Add the egg and vanilla and beat until completely combined.
In a separate bowl, whisk together the flour, baking powder and salt.
Gradually stir the dry ingredients into the butter mixture until the dough is smooth.
Divide the dough in half. Shape each half into a flat disk, wrap tightly in plastic wrap and refrigerate for at least 2 to 3 hours (the dough can stay in the fridge up to 5 days).
When ready to bake, heat the oven to 350°F (175°C). Line a baking sheet with parchment paper, or leave it ungreased.
Generously flour a clean work surface. Roll out one disk to ⅛ inch thick for thin, crispy cookies or ¼ inch thick for thick, soft cookies, adding flour above and below the dough as needed so it doesn't stick. If the dough cracks, let it sit at room temperature for 10 to 15 minutes, then continue.
Cut out your shapes and place them on the baking sheet at least 1 inch apart.
Bake for 8 to 10 minutes, until the edges just begin to turn light golden. Smaller cookies need a little less time and larger cookies a little more.
Let the cookies cool completely on the baking sheet before decorating.
Make the icing: In a medium bowl, stir together the sifted powdered sugar, 2 Tbsp of the milk, the corn syrup and the vanilla until combined.
If the icing is too thick, add more milk about 1 teaspoon at a time until it is thick but pipeable. It's ready when icing drizzled from the whisk holds its shape for several seconds. If it gets too thin, add more powdered sugar.
To color the icing, divide it into separate bowls and stir in gel food coloring.
Transfer the icing to a piping bag fitted with a tip, or to a zip-top bag with a small corner snipped off.
Pipe the icing onto the cooled cookies and add sprinkles or candies if you like.
Let the icing harden for several hours before stacking, serving or storing the cookies.