How it works: Tailwind config file sans: 'BeautifulQueen' links to your css name font-family: 'BeautifulQueen' and it uses your src source of your font file location. The problem is that the Windows' default emoji font, Segoe UI Emoji, has the 26 country flag letter codepoints the country flags are composed of, but has only letters representing them, so the flags will always be rendered as the Segoe UI Emoji letters unless an application explicitly declares that another Emoji Font is to be preferred. Sans is tailwind's default font name, you are overriding the first font to your custom font. You only need the fontFamily and sans line. font-serif base */Ĭonst defaultTheme = require("tailwindcss/defaultTheme") In order to modify the Tailwind Preflight configuration, you can make use of to extend the base as below /* When you install Tailwind CSS following the official guide, the default font-family that applies to the HTML element of your project corresponds to the font-sans utility class, as below (Preflight) font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |