Some issues with default styles by tag

Hey gents! The new Default Style by tag, variant, and screen size is SINCERELY appreciated. This will save a ton of time.

That said, there are a few things to report:

  1. the h3 tag doesn’t render the dark variant color on the artboard
  2. none of the color properties are being rendered on the dark variant in preview.

Screen Shot 2022-02-10 at 3.02.19 PM.png

oops! Sorry, we don’t actually support using non-screen variants for default styles yet… It’s a bug that you were able to configure it :sweat_smile:

For now you can instead use a color token in your default style for h3, and let the color token value vary based on your Dark variant

I see. I suppose that would work if users named their color tokens more abstract concepts like “Primary Text Color”, instead of the actual color name.

I’ll eagerly await the support for user created Global Variants.

You guys are doing amazing work. Keep it up

Note that you can define tokens in terms of other tokens, so you can have your color named tokens like Grey300, and then a Primary Text Color that is Grey300

I just tried that! Thank you