01 - Preheat oven to 350°F. Line two baking sheets with parchment paper.
02 - In a medium bowl, whisk together the flour, baking powder, baking soda, and salt until evenly distributed.
03 - In a large bowl using an electric mixer, beat the softened butter, granulated sugar, and brown sugar on medium speed until light and fluffy, about 2-3 minutes.
04 - Beat in the egg, vanilla extract, and cotton candy flavoring until well combined and smooth.
05 - Gradually add the dry ingredient mixture to the wet ingredients, mixing on low speed until just combined. Do not overmix.
06 - Divide the dough evenly into two bowls. Add pink gel food coloring to one bowl and blue to the other, folding gently until pastel shades are achieved.
07 - Pinch off a small piece from each colored dough and gently press them together to form a swirled ball. Place on the prepared baking sheets spaced about 2 inches apart. Optionally, roll each ball in sprinkles before placing on the sheet.
08 - Bake for 9 to 11 minutes, until the edges are just set and the centers appear slightly underbaked.
09 - Let the cookies rest on the baking sheet for 5 minutes, then transfer to a wire cooling rack to cool completely.