
a custom font here you are also removing the default I think what it is trying to say is that if you define You can change, add, or remove these by editing the theme.fontFamily section of your Tailwind config.
:max_bytes(150000):strip_icc()/Google_Fonts_02-7fefa28aa87b433783a037d8afdfe737.jpg)
Configuring tailwindcss to use the font - tailwind docs Customizing Font Familiesīy default, Tailwind provides three font family utilities: a cross-browser sans-serif stack, a cross-browser serif stack, and a cross-browser monospaced stack. Which way? According to this SO answer: mostly prefer link 2. Url('./fonts/poppins-v15-latin-regular.svg#Poppins') format('svg') /* Legacy iOS */ Url('./fonts/poppins-v15-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ Url('./fonts/poppins-v15-latin-regular.woff') format('woff'), /* Modern Browsers */ Url('./fonts/poppins-v15-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ Url('./fonts/poppins-v15-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ Src: url('./fonts/poppins-v15-latin-regular.eot') /* IE9 Compat Modes */ or by importing your fonts with declarations at the beginning of your CSS file: /* Example file: styles.css */ Tailwind doesn't do anything special to auto-import fonts or anything, so you need to import them the same way you would in a regular project, either by adding the Google stylesheet reference to the top of your HTML like this: Getting the font into the project (Reply by: Adam Wathan)

Need to ensure brand consistency and asset accessibility between departments? We can help your entire institution ace font management.

Want to share the font management software love throughout your institution? We also offer robust font management solutions to help higher learning ace their marketing goals. Getting inspired and going big with tools like Adobe Creative Cloud and Affinity? Choose a tool that solves font challenges and empowers you to focus on your actual designs. We create font management software that empowers you to use fonts more freely, quickly, and effectively in your work.įind your fonts easily, keep them organized, and compare options in any project with our font management software. But this isn’t achieved simply by finding a font you love. You can grab attention, clarify messaging, and emphasize importance with a little help from the right font. Fonts walk the fine line between text and imagery, making them the perfect tools to add emphasis to any document.
