Incorrect text styles in dev mode

In design mode, the text style is displayed as H4, in Dev Mode it is displayed as H3. How can this be fixed?

Hey Anastasia,
Sorry to hear this is happening! This looks odd, I can’t replicate on my end. When I applied any text style such as H3, in Dev Mode , it displayed the right text style (H3).

Can you try first to clear out your cache (here the steps how to do it) and force-quit in your browser or desktop app to see if that helps?

If this doesn’t help, I’d like our team to investigate further. If you are hesitant to share your file publicly here, please reach out directly to the support team with a copy of your file: here
Our technical team can have a look at it
Be sure to use your Figma account email, include a link to the file, and share it with so they can take a closer look. Thank you!