01 - Preheat oven to 350°F. Line a baking sheet with parchment paper.
02 - Whisk together almond flour, erythritol, baking soda, and sea salt in a medium bowl.
03 - Beat softened butter until creamy. Add egg, peppermint extract, and vanilla extract; mix well.
04 - Gradually incorporate dry ingredients into wet ingredients until smooth dough forms.
05 - Divide dough in half. Add red gel food coloring to one half and knead until color is even.
06 - Roll small pieces of plain and colored dough into 5-inch ropes.
07 - Twist plain and colored ropes together, seal ends gently, and shape into candy canes or swirls. Arrange on baking sheet.
08 - Bake for 10 to 12 minutes until edges start to golden.
09 - Cool on baking sheet for 5 minutes, then transfer to wire rack to cool completely.