With two slightly cakey sugar cookie layers (one chocolate, one vanilla), a pink glaze made of fresh berries, and a touch of almond extract, these bars are reminiscent of both rainbow cookies and Neapolitan ice cream. (While Neapolitan is typically strawberry, we’ve opted for raspberry here.) Pretty enough to serve at a holiday party (especially if you garnish with sprinkles!), they’re also sturdy enough to ship to a friend across state lines, too. Thanks to Sarah Kieffer, whose idea for Neapolitan Sugar Cookies inspired this recipe.
To make the sugar cookie dough: Weigh your flour; or measure it by gently spooning it into a cup, then sweeping off any excess. In a medium bowl, whisk the flour, baking soda, and salt until well-combined.
In a large bowl or the bowl of a stand mixer fitted with the flat beater attachment, beat the butter on low speed until smooth, about 2 minutes. Scrape down the sides of the bowl, add the sugars, and beat on low speed until well-combined but not necessarily fluffy, about 2 minutes. Scrape down the sides of the bowl, add the egg and extracts, and beat until well-combined, about 1 minute. Add the sour cream and beat to fully incorporate, another 30 seconds. Add the flour mixture and pulse the mixer to incorporate it slowly until just combined.
Transfer half of the sugar cookie dough (about 390g) to a medium bowl and set aside. Add the cocoa to the remaining dough in the mixer and beat just until combined (finish by hand with a spatula if any dry spots remain).
Use damp hands or a cookie scoop to dollop the chocolate dough all over the bottom of the prepared pan. Use damp hands to press it into an even layer.
Dollop the reserved vanilla dough all over the top of the chocolate dough, again using damp hands to press it into an even layer. For the neatest surface, use an offset spatula or the straight side of a bowl scraper to smooth out the surface.
Bake the sugar cookie bars for 35 to 40 minutes, until the surface is barely golden brown and a paring knife or toothpick inserted into the center comes out clean. Transfer the pan to a wire rack until cool enough to handle. Remove bars from the pan and allow to cool completely.
To make the raspberry topping: Place the raspberries in a fine mesh strainer set over a medium bowl. Use a flexible spatula or the back of a spoon to smash and press the berries through the strainer to get as much juice as possible. Discard the solids or reserve them for another use.
Gradually mix in 1 cup (113g) of the confectioners’ sugar, stirring until smooth. Slowly add the additional 1/4 cup (27g) confectioners’ sugar as needed until you reach a thick but pourable consistency (similar to honey); when you drizzle it back into the bowl, the lines should hold for at least a few seconds. Whisk in the vanilla and salt.
Pour the glaze over the cooled bars and spread it all the way to the edges; an offset spatula is a helpful tool here. (For the most even coating, use a spoon to drizzle glaze on areas that have risen near the edges of the pan before glazing the center.) Top the sugar cookie bars with sprinkles, if desired. Set aside to allow the glaze to set.
Once glaze has set, slice the sugar cookie bars into pieces. We like cutting these bars into 24 small slices using a 6 x 4 pattern.
Storage instructions: Store sugar cookie bars well-wrapped at room temperature for up to 4 days. Freeze unglazed bars for up to 6 months. Thaw before topping.