Azuken
AAlokai
•Created by Azuken on 2/19/2024 in #🙋|general-help
Unable to override default font family
Found the issue...
I tried multiple times to add the
heading
prop from VSF documentation, in several places in Tailwind config without success. It was a typo issue from the doc (found by searching in source code: https://github.com/vuestorefront/storefront-ui/blob/v2-develop/packages/sfui/typography/index.ts), it may be good to update the code accordingly.
Here is a working tailwind.config.ts
example:
5 replies
AAlokai
•Created by Azuken on 2/19/2024 in #🙋|general-help
Unable to override default font family
Seems to be related to
font-body
class, in <Body />
component ; when I removed this class, theme overriding (by Tailwind) is working.
But typography-
classes are not working anymore, so this is not a solution..
(FYI I started my project with VSF boilerplate here https://github.com/vuestorefront/storefront-nuxt3-boilerplate)5 replies
AAlokai
•Created by Azuken on 2/19/2024 in #🙋|general-help
Unable to override default font family
Oh, and I've indeed imported my fonts in
assets/style.scss
:
(Fonts are properly loaded, if I change font family from chome devtools it works)5 replies