Font_family don't work for me with google fonts #2077
franvillalba72
announced in
General
Replies: 3 comments 2 replies
-
Hi Fran, I have the same problem. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi are you also attaching a style sheet with the google font? See how we do it in Reflex web: STYLESHEETS = [
"https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&family=IBM+Plex+Mono:ital,wght@0,500;0,600;1,600&display=swap",
] from pcweb import styles
...
# Create the app.
app = rx.App(
stylesheets=styles.STYLESHEETS,
...
) |
Beta Was this translation helpful? Give feedback.
2 replies
-
i did was download and install the font it on my pc, now i can visualize |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
the font_family prop doesn't work for me when put a google font.
I don't know how to put a google font in my app.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions