Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

histoire is overriding custom font #754

Open
6 tasks done
DarynH opened this issue Aug 28, 2024 · 0 comments
Open
6 tasks done

histoire is overriding custom font #754

DarynH opened this issue Aug 28, 2024 · 0 comments
Labels
to triage This issue needs to be triaged

Comments

@DarynH
Copy link

DarynH commented Aug 28, 2024

Describe the bug

When using histoire build we don't see our custom font. It seems to be overwritten by this rule

html {
    font-size: 1rem;
    font-family: 'Noto Sans Display', system-ui, sans-serif;
}

This does not happen when we use histoire dev.

We are using Vue3, Shadcn, tailwind.

We have tried various approaches to fix it, including importing css from within histoire.setup.ts.

Any ideas on how to solve this?

Reproduction

This only happens using histoire build and not histoire dev.
Therefore I am not sure how to provide a reproduction.

System Info

tailwindcss: ^3.4.3,
histoire: ^0.17.17,
vite:  ^5.2.0"
Vue 3

Used Package Manager

npm

Validations

@DarynH DarynH added the to triage This issue needs to be triaged label Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to triage This issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant