Can you use mixin as a default style for a tag?

Is it possible to use a mixin as a default style for a tag? If not, that would be a nice feature :slightly_smiling_face: I was thinking of creating our typography set as mixins, so it’s not tied to any specific HTML tag and can be used everywhere, but it would be nice to use those mixins directly as default styles. Unless someone has better suggestions on how to set up typography :smile:

1 Like

Hi @spicy_lamprey , that isn’t currently supported, but makes sense - will find the request with the team. Currently a bit of duplication will be required here.

(One thing you can do which will help is you can define tokens and use them from both the mixing and the default style.)

Thanks, I’ll do that for the time being :+1: