Preheat oven to 375°F. Set aside baking sheets. Do not use parchment paper - bake the cookies directly on the baking sheets.
In the bowl of a stand mixer fitted with the paddle attachment, beat the butter, sugar, and salt together until light and fluffy, about 3 minutes.
1 cup unsalted butter, ⅔ cup granulated sugar, 1 teaspoon kosher salt
Add the egg yolks, one at a time, mixing well after each addition.
3 large egg yolks
Add the vanilla and almond extracts, beating just until incorporated.
½ teaspoon pure vanilla extract, ½ teaspoon almond extract
Turn off the mixer and add the flour. With the mixer on low speed, fold in the flour just until all flour has been incorporated.
2½ cups all-purpose flour
Follow the directions for your cookie press to form the cookies onto the baking sheets. Decorate with sprinkles and sugars, if desired.
Sprinkles and sanding sugars
Bake for 8-10 minutes.
Transfer cookies to a wire rack to completely cool.