Line a baking sheet with parchment paper.
Melt the dark chocolate, stir in half the peppermint extract, and spread it evenly on the sheet.
Chill until just set, about 10 minutes.
Melt the white chocolate, stir in the remaining peppermint extract, and pour it over the dark layer.
Scatter crushed candy canes over the white chocolate while it is still soft.
Refrigerate until completely firm, about 20 minutes.
Break into irregular shards to serve.