Preheat oven to 350 degrees Fahrenheit and line two baking sheets with parchment paper.
Beat softened butter and granulated sugar together until smooth and creamy.
Add egg yolk and pure vanilla extract, beating until completely incorporated.
Whisk flour, dark cocoa powder, and fine sea salt in a small bowl.
Stir dry mixture into butter base until soft chocolate dough forms.
Roll dough into one-inch balls and place two inches apart on prepared baking sheets.
Press thumb or end of wooden spoon into each ball twice at angles to create heart indentations.
Spoon half teaspoon of seedless raspberry preserves into each heart indentation.
Bake for ten to twelve minutes until cookie edges are set.
Cool cookies completely on baking sheets, then dust lightly with powdered sugar.