01 - Preheat oven to 350°F. Line two baking sheets with parchment paper.
02 - Whisk flour, cocoa powder, baking soda, and salt together in a medium bowl.
03 - In a large bowl, beat softened butter and granulated sugar until light and fluffy. Blend in egg until incorporated.
04 - Add buttermilk and vanilla extract to the creamed mixture. Gradually blend in dry ingredients, mixing until batter is smooth.
05 - Drop 24 equal rounds of batter onto prepared baking sheets, spacing each 2 inches apart.
06 - Bake for 10–12 minutes until cakes are set and spring back when touched lightly. Remove and cool completely on a rack.
07 - Beat softened butter until creamy. Add powdered sugar, marshmallow creme, vanilla, and salt. Beat until light and fluffy.
08 - Divide filling evenly into three bowls. Keep one portion white, tint another with red food coloring, and the last with blue.
09 - Pipe or spoon colored filling onto the flat side of half the cakes. Place remaining cakes on top to assemble sandwiches.
10 - Roll filling edges in patriotic sprinkles or pipe colored frosting on top for a festive finish.