A
Alokaiβ€’10mo ago
jlazaro135

Typography plugin does not work

Hello everyone!! I am starting to learn about Nuxt and Storefront ui (also not very familiar to Tailwind), I am using the component block for banners, the Hero one indeed. The point is that I tried to load the typography plugin as doc say, but for some reason it is not working. I checked the package.json and @storefront-ui/typography is present in it. I have a tailwind.config with the configuration you can see on the picture and it is placed in the root of the project. Could anyone give me any clue? Thanks in advance!
No description
3 Replies
rohrig
rohrigβ€’10mo ago
Hi @jlazaro135 πŸ‘‹ , can you show me your tailwind.config.ts and an example of where you're using alternate typography?
jlazaro135
jlazaro135β€’10mo ago
Hello @.rohrig , I think I've just found the issue, I was trying to access to a named class 'typography-display-1' (pointed in the docs), but apparently it is does not exists, but this does not mean plugin does not work since other classes such as 'typography-headline-1' works πŸ˜“
rohrig
rohrigβ€’10mo ago
Thanks for the feedback. I've created an internal ticket to improve this doc