You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my nuxt project I have a custom sans fontFamily in my tailwind config that is getting applied to the UI of my Histoire but not to my components in the stories.
Might be related to #667, I tried setting setupFile option in histoire.config.ts to a file histoire.setup.ts that imports my css (which imports the font) either among with tailwind.config.ts and tailwing.config.js both as export default as well as module.export.
Reproduction
Install a font from fontsource and set it as the 'sans' font in the extend->theme->fontFamily of tailwind config or just set it to something like 'Impact' to test how it is applied.
Describe the bug
In my nuxt project I have a custom
sans
fontFamily in my tailwind config that is getting applied to the UI of my Histoire but not to my components in the stories.Might be related to #667, I tried setting
setupFile
option inhistoire.config.ts
to a filehistoire.setup.ts
that imports my css (which imports the font) either among withtailwind.config.ts
andtailwing.config.js
both asexport default
as well asmodule.export
.Reproduction
Install a font from fontsource and set it as the 'sans' font in the extend->theme->fontFamily of tailwind config or just set it to something like
'Impact'
to test how it is applied.System Info
System: OS: macOS 14.3 CPU: (10) arm64 Apple M1 Pro Memory: 506.94 MB / 32.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 21.5.0 - /opt/homebrew/bin/node Yarn: 1.22.19 - /opt/homebrew/bin/yarn npm: 10.2.4 - /opt/homebrew/bin/npm pnpm: 7.6.0 - ~/Library/pnpm/pnpm Browsers: Brave Browser: 121.1.62.162 Chrome: 121.0.6167.160 Edge: 117.0.2045.40 Safari: 17.3
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: