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

Common Issue #1 - Font not coming as in the design #1

Open
prakhart111 opened this issue Dec 26, 2023 · 1 comment
Open

Common Issue #1 - Font not coming as in the design #1

prakhart111 opened this issue Dec 26, 2023 · 1 comment
Labels

Comments

@prakhart111
Copy link
Contributor

prakhart111 commented Dec 26, 2023

There might be cases where the fonts that you would've applied might not be showing in the final output, especially the CodeSandbox part.

In the given example, the hero section heading has a standard Times New Roman instead of a TacticSans font that I had applied originally in Figma.

Design Screenshot

Output Screenshot

Design File link : <>

Output CodeSandBox Link: https://codesandbox.io/embed/g7rc5d?fontsize=14&hidenavigation=1&theme=dark

@prakhart111
Copy link
Contributor Author

This is because either the font is not available on google fonts or it's showing "Missing Font" in figma itself.

More about this here: https://github.com/dualiteindia/.github/blob/main/documentation.md

To solve this, you can manually add font family in your code, like this: https://www.w3schools.com/css/css3_fonts.asp

@brocode101 brocode101 changed the title Common issue1 - Font is not same as in design? Common Issue #1 - Font not coming as in the design Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant